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, ✉ g...@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-unsubscr...@freebsd.org"

Reply via email to