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>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/ygcdkd_dpAw3wo+iDyueBhF Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 18 Jul 2019 08:20:33 +0200 Matthias Apitz <guru@unixarea.de> wrote: > El d=C3=ADa mi=C3=A9rcoles, julio 17, 2019 a las 11:13:14p. m. +0200, Vla= dimir Botka escribi=C3=B3: >=20 > >=20 > > FreeBSD is not needed to analyse the the problem. =20 > > Use whatever system is able > > to set wifi card into the "monitor" mode and sniff the packets first. T= he > > 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 migh= t grow > > fast. =20 > > > > > > 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. > >=20 > > Yes. FreeBSD is able to capture Wifi. Find below the link to the BSD ch= apter. > > https://wiki.wireshark.org/CaptureSetup/WLAN#A.2ABSD >=20 > # 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=3D48843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,MONITOR> metr= ic 0 > mtu 1500 ... > Any ideas? You've successfully set MONITOR mode of wlan0. Use tcpdump to capture packe= ts. https://www.freebsd.org/cgi/man.cgi?tcpdump(1) When you got the data analyse it with wireshark. The captured data might gr= ow fast. =20 Cheers, -vlado --Sig_/ygcdkd_dpAw3wo+iDyueBhF Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----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----- --Sig_/ygcdkd_dpAw3wo+iDyueBhF--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190718091157.774c697b>