-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 <[email protected]>: > 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@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, ✉ [email protected], http://www.unixarea.de/ > +49-176-38902045 > Public GnuPG key: http://www.unixarea.de/key.pub > _______________________________________________ > [email protected] mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "[email protected] > " > _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "[email protected]"
