Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jul 2019 09:11:57 +0200
From:      Vladimir Botka <vbotka@gmail.com>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: debugging a Wifi association problem
Message-ID:  <20190718091157.774c697b@gmail.com>
In-Reply-To: <20190718062033.GA4802@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>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Thu, 18 Jul 2019 08:20:33 +0200
Matthias Apitz <guru@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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEbaThuYKQgbbmDrVkkNGZEo7UTwEFAl0wG70ACgkQkNGZEo7U
TwFNYQf/U/vEHVbP76JQRVEy2k4SCPuSE4fJcMEX1fN9M8++J4oz4jPKOu/sKFCT
9nwV5EJmjeOZiI+F3i93MG1LAnAfy9CO7ToHwW/HUDC3L06c1zQScLsToPnYBGvt
Khwm/dRnedUzE+P+gQ5Fgv0UVB20wfb9R5THKqW7F9uoJrgAelkyJvKSDKZPXe8A
zVrWKS5BwiAJNMO5/CLeGz2FIdBBS0FWnw0HWl/PvV1fEYnEZpzUIyZ2FcujD2NB
DtkOZTSr6wVUUEybJFnvQG9bHgzR3CKEPIeTPk6B9XFCVc3Fi9LtEcdAJLzPYIwa
Tbwsz4Cvzx5u6p5EL/KoGUjIMBdbTQ==
=54+k
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190718091157.774c697b>