debugging a Wifi association problem

Vladimir Botka vbotka at gmail.com
Thu Jul 18 07:12:03 UTC 2019


On Thu, 18 Jul 2019 08:20:33 +0200
Matthias Apitz <guru at unixarea.de> wrote:

> El día miércoles, julio 17, 2019 a las 11:13:14p. m. +0200, Vladimir Botka escribió:
> 
> > 
> > FreeBSD is not needed to analyse the the problem.  
> > Use whatever system is able
> > to set wifi card into the "monitor" mode and sniff the packets first. The
> > link below is complete how to do it
> > https://wiki.wireshark.org/CaptureSetup/WLAN
> > When you got the data analyse it with wireshark. The captured data might grow
> > fast.    
> > >
> > > I only have FreeBSD laptops (and an older Ubuntu) and the question was
> > > not if FreeBSD is needed, but if FreeBSD is *able* to capture Wifi.
> > 
> > Yes. FreeBSD is able to capture Wifi. Find below the link to the BSD chapter.
> > https://wiki.wireshark.org/CaptureSetup/WLAN#A.2ABSD
> 
> # wireshark -i wlan0 -I
> The capture session could not be initiated on interface 'wlan0' (That
> device doesn't support monitor mode). # ifconfig wlan0 monitor
> does not help and does nos say anything.
>
> # ifconfig wlan0
> wlan0: flags=48843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,MONITOR> metric 0
> mtu 1500 ...
> Any ideas?

You've successfully set MONITOR mode of wlan0. Use tcpdump to capture packets.
https://www.freebsd.org/cgi/man.cgi?tcpdump(1)
When you got the data analyse it with wireshark. The captured data might grow
fast.    


Cheers,

	-vlado
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-wireless/attachments/20190718/a5e91bb2/attachment.sig>


More information about the freebsd-wireless mailing list