Get Atheros AR5007EG or AR242x wireless cards (may be other models) working in Ubuntu 8.10 (Intrepid Ibex)

This tutorial will explain how to Atheros AR5007EG or AR242x wireless cards working in Ubuntu 8.10 (Intrepid Ibex).First you need to compile latest ath5k driver using the following procedure.Use one of the following method.

Preparing your system

sudo aptitude install build-essential

This will install all the required compilers.

Method 1

Now you need to download the latest wireless drivers from here using the following command

wget http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2

Now you have compat-wireless-2.6.tar.bz2 file you need to extract this file using the following command from the terminal

sudo tar -jxvf compat-wireless-2.6.tar.bz2

Move to the directory you extracted in terminal

cd directoryname

Run the following commands

make

sudo make install


sudo make unload


sudo make load

Uninstall drivers

If you want to uninstall cd in to the wireless drivers directory path and use the following commands

sudo make unload

sudo make uninstall

Method 2

if you are on Intrepid and still cannot use wifi with an Atheros card , you need to do two things, 1) install linux-backport-modules and 2) blacklist ath_pci and ath_hal.

To install the backport modules, just search for it on Synaptic or use apt-get or aptitude, it’s called linux-backports-modules-intrepid. Then on System/Administration/Hardware Drivers make sure Atheros driver is activated.

sudo aptitude install linux-backports-modules-intrepid

For Jaunty Users run the following comamnd

sudo apt-get install linux-backports-modules-jaunty

To blacklist the old modules, do this:

gksudo gedit /etc/modprobe.d/blacklist

And add the following lines At the bottom of the file save and exit

        blacklist ath_hal
        blacklist ath_pci

Now you need to reboot your system.

IF after this steps you still cannot make it work, you probably have something left still blacklisting ath5k, thus making it not to load. You should search all the files on /etc/modprobe.d for all lines that had:

blacklist ath5k

And add a # before the start of the line, thus making it into a comment so the above one becomes

        # blacklist ath5k

Save and exit the file

I hope this help for some one to fix their wireless problem.

0 comments: