Date: Wed, 20 Oct 2010 08:31:57 +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: <20101020083156.GA57472@FreeBSD.org> In-Reply-To: <AANLkTikBhtpTRitvyA3i8g7AzSj_CY8a3s8HQjgiXWbF@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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 19, 2010 Bernhard Schmidt wrote: > Alexey Dokuchaev <danfe@freebsd.org> wrote: > > Not sure if this is a driver or ifconfig(8) problem, but after I -mediaopt > > monitor, ifconfig(8) still reports it in media line: > > > > media: IEEE 802.11 Wireless Ethernet autoselect <monitor> > > > > However, as I said, scan list gets populated, which suggests ifconfig(8) > > is getting something wrong. Doing -mediaopt monitor the second time > > "knocks" ifconfig(8) though. > > I can't reproduce that on my stable/7 setup, neither in 'UP' nor in 'DOWN' > state. Can you post the exact command sequence you've used? The output > differs though.. > > # ifconfig iwi0 mediaopt monitor > # ifconfig iwi0 up > # ifconfig iwi0 | grep media > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect <monitor>) > # ifconfig iwi0 -mediaopt monitor > # ifconfig iwi0 | grep media > media: IEEE 802.11 Wireless Ethernet autoselect This scenario works. But try it out after aircrack-ng tools, which set (P)PROMISC mode on the card (and do not clear it after exit, but in my understanding this should not affect monitor mode and its indication, no?). ./danfe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101020083156.GA57472>