Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jul 2019 12:04:27 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        Adrian Chadd <adrian.chadd@gmail.com>
Cc:        Vladimir Botka <vbotka@gmail.com>, "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>
Subject:   Re: debugging a Wifi association problem
Message-ID:  <20190718100427.GA2436@c720-r342378>
In-Reply-To: <CAJ-Vmom-14SoMBH7xD0y=wZCAYqA3GWzOD=1ziGYRq7WsJtZfg@mail.gmail.com>
References:  <20190717053826.GA3090@c720-r342378> <20190717090543.4e0ac69f@gmail.com> <20190717173532.GA3766@c720-r342378> <20190717202602.397ca542@gmail.com> <20190717185324.GB2379@c720-r342378> <20190717231314.188da633@gmail.com> <20190718062033.GA4802@c720-r342378> <CAJ-Vmom-14SoMBH7xD0y=wZCAYqA3GWzOD=1ziGYRq7WsJtZfg@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

El día miércoles, julio 17, 2019 a las 11:45:49p. m. -0700, Adrian Chadd escribió:

> Hi!
> 
> So, you don't set the monitor flag like you do on linux. you create a
> monitor VAP instead or you just use tcpdump with the right flags.
> 
> Try:
> 
> tcpdump -ni wlan0 -y IEEE802_11_PROTO
> 
> That'll put the NIC into monitor mode on the current channel, even in
> station mode, and let you do normalt raffic as well as get promiscuous
> traffic into tcpdump.

Thanks, but:

root@c720-r342378:~ # uname -a
FreeBSD c720-r342378 13.0-CURRENT FreeBSD 13.0-CURRENT GENERIC  amd64
root@c720-r342378:~ # tcpdump -ni wlan0 -y IEEE802_11_PROTO
tcpdump: invalid data link type IEEE802_11_PROTO

(the system is from SVN r342378)

	matthias

-- 
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub


help

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