debugging a Wifi association problem

Serge Semenenko serge.a1 at gmail.com
Thu Jul 18 11:07:27 UTC 2019


 -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)

чт, 18 июл. 2019 г. в 13:41, Matthias Apitz <guru at unixarea.de>:

> El día jueves, julio 18, 2019 a las 12:04:27p. m. +0200, Matthias Apitz
> escribió:
>
> > 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 at c720-r342378:~ # uname -a
> > FreeBSD c720-r342378 13.0-CURRENT FreeBSD 13.0-CURRENT GENERIC  amd64
> > root at 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, ✉ guru at unixarea.de, http://www.unixarea.de/
> +49-176-38902045
> Public GnuPG key: http://www.unixarea.de/key.pub
> _______________________________________________
> freebsd-wireless at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe at freebsd.org
> "
>


More information about the freebsd-wireless mailing list