Date: Sat, 20 Jun 2020 06:06:38 -0400 From: D'Arcy Cain <darcy@druid.net> To: Adrian Chadd <adrian.chadd@gmail.com> Cc: FreeBSD Net <freebsd-net@freebsd.org> Subject: Re: WiFi hotspot keeps dropping Message-ID: <742710a7-7af0-6edb-d594-55d04f357bfc@druid.net> In-Reply-To: <CAJ-Vmo=yNcRg4wpwO1hiDkkog8ZHfx%2BZXaP59OERO0iYp3%2BuwQ@mail.gmail.com> References: <07f4e7f5-095e-e89e-2c55-d283ca62149c@druid.net> <CAJ-Vmo=yNcRg4wpwO1hiDkkog8ZHfx%2BZXaP59OERO0iYp3%2BuwQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --GsjfEOYsWMVpGJng7KaKBuTMUZGr0SLtL Content-Type: multipart/mixed; boundary="AsO5oMFulJynnjUuEuqVWw4KJudCIIBau" --AsO5oMFulJynnjUuEuqVWw4KJudCIIBau Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2020-06-19 12:13, Adrian Chadd wrote: > If I can't keep it running can someone suggest a system test I can = do to > decide that hostapd needs to be restarted? >=20 > So, you shouldn't need to restart hostapd after a stuck beacon. It > should recover. That was my understanding. > One thing I found was lots of log entries like this: >=20 > ath0: stuck beacon; resetting (bmiss count 4) >=20 > So there's plenty of reasons for a stuck beacon. I've mostly fixed the > programming problems and now it's typically really busy air.=C2=A0 > > From reading up on that it seems that it is just a cosmetic warning= =2E > Could this be an indication of something that is killing the hotspo= t? > > It's possible but it shouldn't be killing the interface. >=20 > What you could try is forcing a full reset every time the NIC needs to > reset. >=20 > sysctl dev.ath.0.hal.force_full_reset=3D1 I have done this. It still happened. Note that hostapd is still running when I restart it. > What I suggest you do is recompile your kernel/modules with the > following options: >=20 > IEEE80211_DEBUG > ATH_DEBUG > AH_DEBUG > ATH_DIAGAPI >=20 > Then you'll get access to a lot more debugging tools (ie, the stuff in > tools/tools/ath/) which we can use to diagnose what's going on. I like to run a generic kernel and use loadable modules so I don't compile my own kernel yet. I will try that if I can't fix it any other w= ay. --=20 D'Arcy J.M. Cain <darcy@druid.net> | Democracy is three wolves http://www.druid.net/darcy/ | and a sheep voting on +1 416 788 2246 (DoD#0082) (eNTP) | what's for dinner. IM: darcy@VybeNetworks.com, VoIP: sip:darcy@druid.net --AsO5oMFulJynnjUuEuqVWw4KJudCIIBau-- --GsjfEOYsWMVpGJng7KaKBuTMUZGr0SLtL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQQZ0YBgv7psnnP4U/HhAAd6d7lwwgUCXu3frgAKCRDhAAd6d7lw wpoxAP9+x5waDJScmCdQB6JRBL3ya4Dgv2Xq8s+KR0lfC/kgfAEA1Y5lcwg5Xnqo XEhbYrm4zvUz4xXZZbHtaf1LEsAxbQg= =00XV -----END PGP SIGNATURE----- --GsjfEOYsWMVpGJng7KaKBuTMUZGr0SLtL--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?742710a7-7af0-6edb-d594-55d04f357bfc>