AR242x Internet Kubuntu

How to get Atheros AR242x wireless to work.

Windows drivers are here

Aug 18 2008: This is a The old version and this solution isn’t recommended anymore please use: the solution in my new post it’s been tested by me and it works.

If you own the same laptop as I do, a Toshiba A205-S5825, then you probably have the same problem, if you are using Hardy or Gutsy with the newest Kernel(2.6.24-19-generic) or older, the wireless doesn’t work out of the box.

It cost me about an hour to solve this mainly because no one knew anything about this particular chipset.

So here is the solution for the AR242x. If you have a chipset in the A5700 series then this could work for you too.

The solution is quite simple and only takes you a couple of minutes to apply and then you can use your wireless.

For this How to you do need wired internet to the computer.

Disclaimer:
The Package we’re about to use is as far as I know in beta.  Installing this package might make your installation of Kubuntu(or Ubuntu) unstable.  I am not responsible for any problems that arise after installing this package.  But do feel free to post a comment for help if something doesn’t work right I will respond back and try to work with you to fix it.  I am NOT responsible for damage to hardware as a result of applying anything you find on this website.

First let’s make sure your computer uses the same chipset(or something similar) run in terminal:

lspci | grep Atheros

If the result is as follows or something similar then you are able to use this fix.

05:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)

If the result of the command ran is nothing the you don’t have an Atheros chipset and your read on this page stops here. Please go to the forums on Ubuntu and Kubuntu there is a big community there to help you solve your problem or try Google.

Thanks to Ubuntugeek for providing the primer for this post.

Here is the difference between the how to’s:

Before we start we need to make sure that already installed modules are not “in use”. Click on the Kubuntu start button go to system and click on the “Hardware Drivers Manager” this is where you will find all proprietary drivers. But we’re looking for everything that has Atheros in it. Tick the box behind of “Atheros Hardware Access Layer(HAL)” and “Support for Atheros 802.11 wireless LAN cards” and restart the computer.

In Terminal go to your desktop:

cd ~/Desktop

Then download the Madwifi driver needed for this How to:

wget -c http://undiff.com/wp-content/madwifi-ng-r2756+ar5007.tar.gz

Untar the Image file(don’t worry it will create a new folder):

tar xvf madwifi-ng-r2756+ar5007.tar.gz

Go into the just created dir:

cd madwifi-ng-r2756+ar5007

Because we are going to compile from source code we need to make sure the essentials to do so are installed.

sudo apt-get update && sudo aptitude install build-essential

Now run:

sudo make install
sudo modprobe ath_pci
sudo modprobe wlan_scan_sta

If you get any errors running the modprobe commands you probably forgot to switch off the modules in the first place go back to this and then try modprobe again.

Now the same as we did before:
Click on the Kubuntu start button go to system and click on the “Hardware Drivers Manager” this is where you will find all proprietary drivers. But we’re looking for everything that has Atheros in it. Tick the box in behind of “Atheros Hardware Access Layer(HAL)” and “Support for Atheros 802.11 wireless LAN cards” and restart the computer.

Now you have wireless.

Keep in mind that every time the Kernel gets updated you have to run these commands again:

sudo apt-get update && sudo aptitude install build-essential

Now run:

sudo make install
sudo modprobe ath_pci
sudo modprobe wlan_scan_sta

Off course in the madwifi folder. You might want to move the folder to your home folder because we’ll need it again after a Kernel update.

To get your wireless back up that is until they fix the problem in the Kernel and wireless works after restarting with the new Kernel.

If this page helped you out at all then please donate below. Donations will go towards the hosting cost for this website.

Thanks for donating.

6 Comments

  • bryce
    February 2, 2009 - 5:06 pm | Permalink

    tried 2wice , command starting with “make” doesnt work , mods are turned off and still wont work. lost please help.

  • marco pogi
    February 27, 2009 - 1:25 am | Permalink

    I’m also stuck in the make command. Pls help.

    marknt15@marknt15:~/Desktop/madwifi-0.9.4$ sudo make install
    sh scripts/find-madwifi-modules.sh 2.6.24-16-generic

    WARNING:
    It seems that there are modules left from previous MadWifi installations.
    If you are unistalling the MadWifi modules please press “r” to remove them.
    If you are installing new MadWifi modules, you should consider removing those
    already installed, or else you may experience problems during operation.
    Remove old modules?

    [l]ist, [r]emove, [i]gnore or e[x]it (l,r,i,[x]) ?
    r
    for i in ath/ ath_hal/ ath_rate/ net80211/; do
    make -C $i install || exit 1;
    done
    make[1]: Entering directory `/home/marknt15/Desktop/madwifi-0.9.4/ath’
    test -d //lib/modules/2.6.24-16-generic/net || mkdir -p //lib/modules/2.6.24-16-generic/net
    install ath_pci.ko //lib/modules/2.6.24-16-generic/net
    install: cannot stat `ath_pci.ko’: No such file or directory
    make[1]: *** [install] Error 1
    make[1]: Leaving directory `/home/marknt15/Desktop/madwifi-0.9.4/ath’
    make: *** [install-modules] Error 1

    • March 24, 2009 - 11:40 am | Permalink

      Please remove all instances of previous attempts of trying to get this to work. Then retry this fix.

      Thanks,
      [mad]Berry

  • ferial
    June 18, 2009 - 11:15 am | Permalink

    Nothin stopped, but I still don’t see my wireless connection..please help..thanks loads..:)

  • oscar grant
    November 7, 2010 - 8:27 am | Permalink

    tried 2wice , command starting with “make” doesnt work , mods are turned off and still wont work. lost please help.

  • Leave a Reply

    Your email address will not be published. Required fields are marked *

    Powered by: Wordpress