intel3945 ahdemo/monitor mode error "ifconfig: create: bad
value"
Adrian Chadd
adrian at freebsd.org
Sun Apr 10 20:36:53 UTC 2011
Thanks for testing that. can you please file two PRs:
* one saying that ahdemo doesn't work for if_ath, with some information
about your environment and how to reproduce it, and
* one say that ahdemo support for if_wpi doesn't exist?
Thanks!
Adrian
2011/4/11 Любомир Григоров <nm.knife at gmail.com>
> Here is my testing in detail. Please help me get injection in aircrack-ng
> working with either card, much appreciated.
> -------------------------------------------------------------
>
> ATHEROS
>
> $ sudo ifconfig wlan0 create wlandev ath0 wlanmode monitor
> $ sudo ifconfig wlan0 channel 6 up
> $ sudo tcpdump -ni wlan0 -y IEEE802_11_RADIO
>
> Captures.
>
> $ sudo airodump-ng wlan0
>
> Works.
>
> $ sudo aireplay-ng -9 wlan0
> 05:43:07 Trying broadcast probe requests...
> wi_write(): Permission denied
> wi_write(): Permission denied
> wi_write(): Permission denied
> 05:43:09 No Answer...
> 05:43:09 Found 4 APs
> 05:43:09 Trying directed probe requests...
> 05:43:09 00:1E:E5:5D:36:01 - channel: 6 - 'linksys'
> wi_write(): Permission denied
> wi_write(): Permission denied
>
> Injection test fails in monitor.
>
> $ sudo ifconfig wlan0 create wlandev ath0 wlanmode ahdemo
> $ sudo ifconfig wlan0 channel 6 up
> $ sudo airodump-ng wlan0
> $
>
> Doesn't work. So I can't sniff in ahdemo.
>
> $sudo aireplay-ng -9 wlan0
> $
>
> Injection test fails in ahdemo.
>
> INTEL 3945
>
> $ sudo ifconfig wlan0 create wlandev wpi0 wlanmode monitor
> $ sudo ifconfig wlan0 channel 6 up
> $ sudo tcpdump -ni wlan0 -y IEEE802_11_RADIO
>
> Captures.
>
> $ sudo airodump-ng wlan0
>
> Works.
>
> $ sudo aireplay-ng -9 wlan0
> 05:47:28 Trying broadcast probe requests...
> wi_write(): Permission denied
> wi_write(): Permission denied
> wi_write(): Permission denied
> 05:47:30 No Answer...
> 05:47:30 Found 3 APs
> 05:47:30 Trying directed probe requests...
> 05:47:30 00:14:95:B1:F8:A9 - channel: 6 - '2WIRE059'
> wi_write(): Permission denied
>
> Injection test fails in monitor.
>
> $ sudo ifconfig wlan0 create wlandev wpi0 wlanmode ahdemo
> ifconfig: SIOCIFCREATE2: Operation not supported
>
> No ahdemo in intel.
>
> --
> Lyubomir Grigorov (bgalakazam)
> _______________________________________________
> freebsd-wireless at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe at freebsd.org
> "
>
More information about the freebsd-wireless
mailing list