Dr. Feelgood
March 15th, 2009, 06:58 AM
Before I get started I'm using Hardy 8.04 with a Dlink AirPlus DWL-G510 PCI card with an Atheros AR2413 chipset
I've recently decided to play around with aircrack-ng which requires me to update and patch my madwifi driver. I attempted to do this with the directions they provided on their site:
ifconfig ath0 down
ifconfig wifi0 down
svn -r 3925 checkout http://svn.madwifi-project.org/madwifi/trunk/ madwifi-ng
cd madwifi-ng
wget http://patches.aircrack-ng.org/madwifi-ng-r3925.patch
patch -N -p 0 -i madwifi-ng-r3925.patch
./scripts/madwifi-unload
make
make install
depmod -ae
modprobe ath_pci
I used these instructions verbatim with the exception that I had to add 'sudo' a few times. Everything seemed to go fine until I checked 'modinfo ath_pci':
filename: /lib/modules/2.6.24-19-generic/net/ath_pci.ko
license: Dual BSD/GPL
version: svn r3916
description: Support for Atheros 802.11 wireless LAN cards.
author: Errno Consulting, Sam Leffler
srcversion: 8ABF446081459912D675AA0
alias: pci:v0000168Cd00009013sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000024sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000023sv*sd*bc*sc*i*
alias: pci:v0000168Cd0000001Dsv*sd*bc*sc*i*
alias: pci:v0000168Cd0000001Csv*sd*bc*sc*i*
alias: pci:v0000168Cd0000001Bsv*sd*bc*sc*i*
alias: pci:v0000168Cd0000001Asv*sd*bc*sc*i*
alias: pci:v0000168Cd00000019sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000018sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000017sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000016sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000015sv*sd*bc*sc*i*
alias: pci:v0000168Cd0000101Asv*sd*bc*sc*i*
alias: pci:v0000168Cd00001014sv*sd*bc*sc*i*
alias: pci:v000010B7d00000013sv*sd*bc*sc*i*
alias: pci:v0000A727d00000013sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000013sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000012sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000007sv*sd*bc*sc*i*
depends: ath_hal,wlan
vermagic: 2.6.24-19-generic SMP mod_unload 586
parm: beacon_cal:int
parm: countrycode:Override default country code. Default is 0. (int)
parm: maxvaps:Maximum VAPs. Default is 4. (int)
parm: outdoor:Enable/disable outdoor use. Default is 0. (int)
parm: xchanmode:Enable/disable extended channel mode. (int)
parm: rfkill:Enable/disable RFKILL capability. Default is 0. (int)
parm: hal_tpc:Disables manual per-packet transmit power control and lets this be managed by the HAL. Default is OFF. (int)
parm: autocreate:Create ath device in [sta|ap|wds|adhoc|ahdemo|monitor] mode. defaults to sta, use 'none' to disable (charp)
parm: ratectl:Rate control algorithm [amrr|minstrel|onoe|sample], defaults to 'sample' (charp)
parm: intmit:Enable interference mitigation by default. Default is 0. (int)
parm: ath_debug:Load-time driver debug output enable (int)
parm: ieee80211_debug:Load-time 802.11 debug output enable (int)
As you can see it still says I'm using revision 3916. Although I didn't save the output from the update (I'll do it again and list it if it helps), it clearly stated that it had downloaded r3952, the latest revision. I'm just wondering what I'm missing to get the driver updated. I already checked packet injection (the reason why I am doing this) and it does not work, so the patched driver was definitely not implemented. Probably a stupid oversight somewhere on my part but any help is appreciated. Thanks in advance
I've recently decided to play around with aircrack-ng which requires me to update and patch my madwifi driver. I attempted to do this with the directions they provided on their site:
ifconfig ath0 down
ifconfig wifi0 down
svn -r 3925 checkout http://svn.madwifi-project.org/madwifi/trunk/ madwifi-ng
cd madwifi-ng
wget http://patches.aircrack-ng.org/madwifi-ng-r3925.patch
patch -N -p 0 -i madwifi-ng-r3925.patch
./scripts/madwifi-unload
make
make install
depmod -ae
modprobe ath_pci
I used these instructions verbatim with the exception that I had to add 'sudo' a few times. Everything seemed to go fine until I checked 'modinfo ath_pci':
filename: /lib/modules/2.6.24-19-generic/net/ath_pci.ko
license: Dual BSD/GPL
version: svn r3916
description: Support for Atheros 802.11 wireless LAN cards.
author: Errno Consulting, Sam Leffler
srcversion: 8ABF446081459912D675AA0
alias: pci:v0000168Cd00009013sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000024sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000023sv*sd*bc*sc*i*
alias: pci:v0000168Cd0000001Dsv*sd*bc*sc*i*
alias: pci:v0000168Cd0000001Csv*sd*bc*sc*i*
alias: pci:v0000168Cd0000001Bsv*sd*bc*sc*i*
alias: pci:v0000168Cd0000001Asv*sd*bc*sc*i*
alias: pci:v0000168Cd00000019sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000018sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000017sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000016sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000015sv*sd*bc*sc*i*
alias: pci:v0000168Cd0000101Asv*sd*bc*sc*i*
alias: pci:v0000168Cd00001014sv*sd*bc*sc*i*
alias: pci:v000010B7d00000013sv*sd*bc*sc*i*
alias: pci:v0000A727d00000013sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000013sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000012sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000007sv*sd*bc*sc*i*
depends: ath_hal,wlan
vermagic: 2.6.24-19-generic SMP mod_unload 586
parm: beacon_cal:int
parm: countrycode:Override default country code. Default is 0. (int)
parm: maxvaps:Maximum VAPs. Default is 4. (int)
parm: outdoor:Enable/disable outdoor use. Default is 0. (int)
parm: xchanmode:Enable/disable extended channel mode. (int)
parm: rfkill:Enable/disable RFKILL capability. Default is 0. (int)
parm: hal_tpc:Disables manual per-packet transmit power control and lets this be managed by the HAL. Default is OFF. (int)
parm: autocreate:Create ath device in [sta|ap|wds|adhoc|ahdemo|monitor] mode. defaults to sta, use 'none' to disable (charp)
parm: ratectl:Rate control algorithm [amrr|minstrel|onoe|sample], defaults to 'sample' (charp)
parm: intmit:Enable interference mitigation by default. Default is 0. (int)
parm: ath_debug:Load-time driver debug output enable (int)
parm: ieee80211_debug:Load-time 802.11 debug output enable (int)
As you can see it still says I'm using revision 3916. Although I didn't save the output from the update (I'll do it again and list it if it helps), it clearly stated that it had downloaded r3952, the latest revision. I'm just wondering what I'm missing to get the driver updated. I already checked packet injection (the reason why I am doing this) and it does not work, so the patched driver was definitely not implemented. Probably a stupid oversight somewhere on my part but any help is appreciated. Thanks in advance