Date: Thu, 18 Jul 2019 14:07:02 +0300 From: Serge Semenenko <serge.a1@gmail.com> To: Matthias Apitz <guru@unixarea.de> Cc: Adrian Chadd <adrian.chadd@gmail.com>, "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org> Subject: Re: debugging a Wifi association problem Message-ID: <CAFOmZk0K2AjGhHdSiWnKDcKfyg0F5Bwa5Q3PQqgVFM3kCCLT3A@mail.gmail.com> In-Reply-To: <20190718104142.GA2575@c720-r342378> 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> <20190718100427.GA2436@c720-r342378> <20190718104142.GA2575@c720-r342378>
next in thread | previous in thread | raw e-mail | index | archive | help
-L List the known data link types for the interface and exit. # tcpdump -ni wlan0 -L Data link types for wlan0 (use option -y to set): EN10MB (Ethernet) IEEE802_11_RADIO (802.11 plus radiotap header) =D1=87=D1=82, 18 =D0=B8=D1=8E=D0=BB. 2019 =D0=B3. =D0=B2 13:41, Matthias Ap= itz <guru@unixarea.de>: > El d=C3=ADa jueves, julio 18, 2019 a las 12:04:27p. m. +0200, Matthias Ap= itz > escribi=C3=B3: > > > El d=C3=ADa mi=C3=A9rcoles, julio 17, 2019 a las 11:45:49p. m. -0700, A= drian Chadd > escribi=C3=B3: > > > > > 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 promiscuou= s > > > 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 > > I compiled net/tcpdump to look into that and it supports: > > # /usr/local/sbin/tcpdump -ni wlan0 -y IEEE802_11_RADIO > > and the OpenBSD man page explains what IEEE802_11_RADIO is. I think, > Adrian, this was what you have in mind, correct? > > matthias > > > -- > Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ > +49-176-38902045 > Public GnuPG key: http://www.unixarea.de/key.pub > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.or= g > " >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFOmZk0K2AjGhHdSiWnKDcKfyg0F5Bwa5Q3PQqgVFM3kCCLT3A>