***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****
http://nmbechdol.com/2008/09/18/installing-madwifi-drivers-ubuntu/
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.
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
1. First things first,make sure all the repos are enabled:
Code:
sudo nano /etc/apt/sources.list
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".
2. Make sure you have all the latest updates:
Code:
sudo apt-get update && sudo apt-get upgrade
And answer yes to any thing it wants to install. Wait till it is complete and reboot.
3. Now the fun part. Install the build tools to compile and install the Madwifi drivers:
Code:
sudo apt-get install build-essential libssl-dev
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.
FOR HARDY OR INTREPID Thanks kevdog!:
Code:
sudo apt-get install linux-headers-`uname -r`
5. Next we install subversion. Learn more about subversion here.
Code:
sudo apt-get install subversion
6. No we get the subversion driver package.
Code:
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
Code:
echo "" >> /etc/modprobe.d/blacklist
Code:
echo "#Remove To Install MadWIFI Drivers" >> /etc/modprobe.d/blacklist
Code:
echo "blacklist ath9k" >> /etc/modprobe.d/blacklist
Code:
echo "blacklist ath5k" >> /etc/modprobe.d/blacklist
8. Build the installer and install it
Code:
make && make install
9. After that is complete we have one final step and that is to add the module "ath_pci" to the /etc/modules file.
Code:
echo ath_pci >> /etc/modules
Save and close.
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.
Bookmarks