Monitor mode not working for iwi(4) on 7.X

Alexey Dokuchaev danfe at FreeBSD.org
Tue Nov 16 08:01:34 UTC 2010


On Wed, Oct 20, 2010 at 07:15:19PM +0200, Bernhard Schmidt wrote:
> # kldload if_iwi
> # aireplay-ng -9 iwi0
> # ifconfig iwi0
> iwi0: flags=28943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,PPROMISC>
> metric 0 mtu 1500
>         media: IEEE 802.11 Wireless Ethernet autoselect (autoselect <monitor>)
> # ifconfig iwi0 -mediaopt monitor
> # ifconfig iwi0
> iwi0: flags=28943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,PPROMISC>
> metric 0 mtu 1500
>         media: IEEE 802.11 Wireless Ethernet autoselect

Sorry for belated reply, had ENOTIME for a while.  :-(  What happens if
you run airodump-ng iwi0 instead of aireplay-ng in this test?  For me it
gives this on today's 7-STABLE (userland and kernel in sync):

# kldload if_iwi
# airodump-ng iwi0
^C
# ifconfig iwi0
iwi0: flags=28903<UP,BROADCAST,PROMISC,SIMPLEX,MULTICAST,PPROMISC> metric 0 mtu 1500
        ether 00:16:6f:b2:61:51
        media: IEEE 802.11 Wireless Ethernet autoselect <monitor>
        status: no carrier		     ^^^^^^^^^^^^^^^^^^^^
        ssid "" channel 6 (2437 MHz 11g)
        authmode OPEN privacy OFF scanvalid 60 bgscan bgscanintvl 300
        bgscanidle 250 roam:rssi11g 7 roam:rate11g 5 protmode CTS
# ifconfig iwi0 -mediaopt monitor
# ifconfig iwi0
iwi0: flags=28903<UP,BROADCAST,PROMISC,SIMPLEX,MULTICAST,PPROMISC> metric 0 mtu 1500
        ether 00:16:6f:b2:61:51
        media: IEEE 802.11 Wireless Ethernet autoselect <monitor> (autoselect)
        status: no carrier		     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        ssid "" channel 11 (2462 MHz 11g)
        authmode OPEN privacy OFF scanvalid 60 bgscan bgscanintvl 300
        bgscanidle 250 roam:rssi11g 7 roam:rate11g 5 protmode CTS
# ifconfig iwi0 -mediaopt monitor
# ifconfig iwi0
iwi0: flags=28903<UP,BROADCAST,PROMISC,SIMPLEX,MULTICAST,PPROMISC> metric 0 mtu 1500
        ether 00:16:6f:b2:61:51
        media: IEEE 802.11 Wireless Ethernet autoselect
        status: no carrier		     ^^^^^^^^^^
        ssid "" channel 11 (2462 MHz 11g)
        authmode OPEN privacy OFF bmiss 10 scanvalid 60 bgscan
        bgscanintvl 300 bgscanidle 250 roam:rssi11g 7 roam:rate11g 5
        protmode CTS

Underlined text also looks strange...

./danfe


More information about the freebsd-net mailing list