Preparing your system
sudo aptitude install build-essential
This will install all the required compilers.
Now you need to download the latest wireless drivers from here using the following command
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
Run the following commands
sudo make install
sudo make unload
sudo make load
If you want to uninstall cd in to the wireless drivers directory path and use the following commands
sudo make unload
sudo make uninstall
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
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:
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.