This is an old revision of the document!
This page only deals with the net80211 version of the madwifi-ng driver. For the mac80211 ath5k version see the mac80211 page. To understand the differences, see mac80211 versus ieee80211 stacks write-up.
If you have a new kernel that supports mac80211 and includes the new ath5k driver then you MUST blacklist it otherwise the net80211 version of the module below will not work. See blacklisting mac80211 driver version below.
ifconfig ath0 down ifconfig wifi0 down svn -r 3480 checkout http://svn.madwifi.org/madwifi/trunk/ madwifi-ng wget http://patches.aircrack-ng.org/madwifi-ng-r3386v3.patch cd madwifi-ng patch -Np1 -i ../madwifi-ng-r3386v3.patch ./scripts/madwifi-unload make make install depmod -ae modprobe ath_pci
Support for Atheros chipID 0x0024 (rev 01) 802.11b/g/n cards (AR5008).
The new cards are now (experimentally) supported in trunk. The above code will cause them to work!
These are relevant links on the madwifi-ng.org site:
The following links are tarballs already containing everything needed:
If you have the file ath5k.ko in the /lib/modules directory tree then you have two options to blacklist it. Failure to do this will mean that the ieee80211 madwifi-ng module described on this page will fail to work properly. Here are the options:
/lib/modules/k#/kernel/drivers/net/wireless/ath5k/ath5k.ko to a safe place. The “k#” and/or other parts of the path will be different for your distribution/system. Use “locate ath5k.ko” or “find /lib/modules -name *ath5k*” to find the full path. After moving it, do “depmod -ae”.
In both cases, reboot your system afterwards.
If you change the rate while capturing packets, airodump-ng will stall. There are two possible workarounds:
If you system contains a mini-PCI wireless card, there are some known issues and solutions. See the Madwifi-ng Mini-PCI page for a description of the known problems and solutions.