
Originally Posted by
theberries
If you do an "iwconfig" you'll see a "wifi0" and an "ath0". According to the madwifi website (the drivers you're using), the ath0 is a VAP (virtual AP) that serves as the workhorse. You'll want to use ath0 for both sniffing and injecting.
Oh! nice, thanks for this little snipit.
Code:
toshiba ~ # wlanconfig ath0 destroy
toshiba ~ # wlanconfig ath0 create wlandev wifi0 wlanmode monitor
ath0
toshiba ~ # iwconfig ath0 mode monitor channel 6
toshiba ~ # ifconfig ath0 up
toshiba ~ # aireplay-ng --test -e WLAN -a 00:AA:BB:CC:DD:EE ath0
23:03:21 Trying broadcast probe requests...
23:03:22 No Answer...
23:03:22 Found 1 AP
23:03:22 Trying directed probe requests...
23:03:22 00:AA:BB:CC:DD:EE - channel: 6 - 'WLAN'
23:03:22 Ping (min/avg/max): 2.069ms/8.571ms/10.831ms
23:03:22 30/30: 100%
23:03:22 Injection is working!
Seeing that last line is very satisfying :-)
Now if only I could get ipwraw injecting!