Tuesday, 13 October 2009

Getting Madwifi Working (Ubuntu)

1.
Code:
sudo nano /etc/apt/sources.list
Uncomment anything that starts with "deb". Exit by pressing "CTRL+X" then answer "Yes". Finally hit "ENTER"

2.
Code:
sudo apt-get update && sudo apt-get upgrade
3.
Code:
sudo apt-get install build-essential libssl-dev
4.
Code:
sudo apt-get install linux-headers-`uname -r`
5.
Code:
sudo apt-get install subversion
6.
Code:
sudo -i
7.
Code:
sudo svn checkout http://svn.madwifi-project.org/madwifi/trunk/ madwifi-ng
8.
Code:
cd madwifi-ng
9.
Code:
echo "" >> /etc/modprobe.d/blacklist
10.
Code:
echo "#Remove To Install MadWIFI Drivers" >> /etc/modprobe.d/blacklist
11.
Code:
echo "blacklist ath9k" >> /etc/modprobe.d/blacklist
12.
Code:
echo "blacklist ath5k" >> /etc/modprobe.d/blacklist
13.
Code:
make && make install
14.
Code:
echo ath_pci >> /etc/modules
Restart your machine.

*******

Kernel updates of your system will kill your driver and will require a driver recompile. Just open a terminal and type in...
Code:
sudo -i
and repeat from step 8.

No comments:

Post a Comment