Installing Atheros Cards (madwifi-ng drivers)
NOTE: There are issues with the new 2.6.19 kernel, this build only works with the 2.6.18 kernel (see troubleshooting)
Download madwifi-0.9.2.1.tar.gz from http://madwifi.org/ to /root
Download madwifi-ng-r1886.patch from http://patches.aircrack-ng.org/madwifi-ng-r1886.patch to /root
tar zxvf madwifi-0.9.21.tar.gz
cd madwifi-0.9.2.1
ln -s /usr/src/kernels/2.6.18-1.2849.fc6-i686/include/config/i2o/config.h /usr/src/kernels/2.6.18-1.2849.fc6-i686/include/linux/config.h
NOTE: the above 'ln -s' command is all entered on the same line!
export KERNELPATH=/usr/src/kernels/2.6.18-2849.fc6-i686
NOTE: You may have to replace the kernel version listed above (2.6.18-1.2849.fc6-i686) to your particular version if you are running a different kernel version.
patch -Np1 -i ../madwifi-ng-r1886.patch
make
make install
If prompted:
If you are installing new MadWifi modules, you should consider removing those
already installed, or else you may experience problems during operation.
Remove old modules?
[l]ist, [r]emove, [i]gnore or e[x]it (l,r,i,[x]) ?
choose 'r' to remove
modprobe ath_pci
Installation is now complete.
iwconfig should now confirm the card is installed: wifi0 and ath0 (See madwifi-ng commands)
Providing kismet is installed, and configured correctly (See: Kismet Installation guide)
Kismet should start by typing: kismet
NOTE: ensure kismet.conf is configured correctly 'source=madwifi_b,wifi0,madwifi')
To set the card into monitor mode use either:
airmon-ng start ath0 [channel] from the aircrack-ng suite
or
ifconfig ath0 down
wlanconfig ath0 destroy
wlanconfig ath0 create wlandev wifi0 wlanmode monitor from the madwifi commands
[@more@]
沒有留言:
張貼留言