REMEMBER TO FOLLOW THIS TO THE TEETH AND DOUBLE CHECK THE COMMANDS BEFORE YOU HIT THE ENTER KEY.My disclaimer is that this worked fine on my machine. This is the way I got it to work on my machine. There might be many different ways to do it but this one worked fine for me. I take no responsibility if this breaks in any way. I really don't believe that it will. but I just wanted to let everyone know
***For the most up-to-date guide please visit my blog. This version located here at the forums is out o date and will be updated soon****
EDIT: OK, Good news for everyone . After some testing. This way of installing the drivers work on both Hardy and Intrepid. Just follow the guide below as you would. In this guide I will add a few extra steps to get it to work on Intrepid. I will highlight them in red. Watch for them, the ones in RED are ONLY FOR INTREPID. So follow the guide and ignore the RED entries if you are on hardy. if you are on Intrepid make sure to run the RED as well as the rest of the guide. If you have any questions or need traditional help. please leave a comment on this thread.
1. First things first,make sure all the repos are enabled:
From there make sure you uncomment anything that starts with "deb" in there. So changer it from "#deb" to "deb" Something along thoes lines. To exit and save hit "CTRL+X" the answer "YES" to do you want to save, then finally hit "ENTER".
sudo nano /etc/apt/sources.list
2. Make sure you have all the latest updates:
And answer yes to any thing it wants to install. Wait till it is complete and reboot.
sudo apt-get update && sudo apt-get upgrade
3. Now the fun part. Install the build tools to compile and install the Madwifi drivers:
4. Now install the kernel headers for your architecture. I have only tested this on X86 and I know it works,but for 64-Bit systems I just have not had the time to test it. This below command will install the headers based on what ever your current type of kernel is installed. By default the generic kernel is installed.
sudo apt-get install build-essential libssl-dev
FOR HARDY OR INTREPID Thanks kevdog!:
5. Next we install subversion. Learn more about subversion here.
sudo apt-get install linux-headers-`uname -r`
6. No we get the subversion driver package.
sudo apt-get install subversion
sudo svn checkout http://svn.madwifi-project.org/madwifi/trunk/ madwifi-ng
*NOTE* Now for the rest of the commands, we need to run them as root. Open a terminal and type this:
7. Move yourself to the newley created "madwifi-ng" directory.
8.Blacklist ATH Drivers
echo "" >> /etc/modprobe.d/blacklist
echo "#Remove To Install MadWIFI Drivers" >> /etc/modprobe.d/blacklist
echo "blacklist ath9k" >> /etc/modprobe.d/blacklist
8. Build the installer and install it
echo "blacklist ath5k" >> /etc/modprobe.d/blacklist
9. After that is complete we have one final step and that is to add the module "ath_pci" to the /etc/modules file.
make && make install
Save and close.
echo ath_pci >> /etc/modules
That is it. You should have nice new drivers now installed to power your wireless card.
AGAIN IF YOU HAVE ANY QUESTIONS PLEASE CONTACT ME OR PM ME OR USE THE COMMENTS BELOW
Reboot and check NetworkManager to see if you can see any wireless networks.
Hope this help you as it helped me.