misc/156321: ahdemo doesn't work with if_ath

Lyubomir Grigorov nm.knife at gmail.com
Sun Apr 10 21:00:20 UTC 2011

>Number:         156321
>Category:       misc
>Synopsis:       ahdemo doesn't work with if_ath
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 10 21:00:19 UTC 2011
>Originator:     Lyubomir Grigorov
>Release:        8.2
FreeBSD  8.2-STABLE FreeBSD 8.2-STABLE #1: Fri Apr  1 19:44:47 PDT 2011     root@:/usr/obj/usr/src/sys/X60KERNEL  i386
ahdemo does not work with if_ath properly. Cannot sniff or inject packets when attempting - it just returns to promp without any output.

Monitor mode is fine, but it can only sniff, no inject.

I used a PCMCIA card: DWL-G650
$ sudo ifconfig wlan0 create wlandev ath0 wlanmode ahdemo 
$ sudo ifconfig wlan0 channel 6 up
$ sudo airodump-ng wlan0

$sudo aireplay-ng -9 wlan0
People claim to have gotten if_ath to work with ahdemo, but for me it just enters mode ahdemo and can't sniff or inject.


More information about the freebsd-bugs mailing list