Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 2010 08:01:34 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Bernhard Schmidt <bschmidt@freebsd.org>
Cc:        net@freebsd.org
Subject:   Re: Monitor mode not working for iwi(4) on 7.X
Message-ID:  <20101116080134.GA19889@FreeBSD.org>
In-Reply-To: <AANLkTi=SGiwM4Gw7gDNqGv1wYSfCcKRxemjfFJC1P5Cd@mail.gmail.com>
References:  <4763016D.7060100@janh.de> <201010081944.50287.bschmidt@techwires.net> <20101009060239.GA88618@FreeBSD.org> <201010092046.41551.bschmidt@techwires.net> <20101010072730.GA91527@FreeBSD.org> <20101016124152.GA95535@FreeBSD.org> <AANLkTikBhtpTRitvyA3i8g7AzSj_CY8a3s8HQjgiXWbF@mail.gmail.com> <20101020083156.GA57472@FreeBSD.org> <AANLkTi=SGiwM4Gw7gDNqGv1wYSfCcKRxemjfFJC1P5Cd@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101116080134.GA19889>