WiFi hotspot keeps dropping

D'Arcy Cain darcy at druid.net
Thu Jun 18 23:37:05 UTC 2020


I have set up my FreeBSD box as a gateway.  It used to work fine but
suddenly my hotspot keeps failing.  It drops a few times a day.
Restarting hostapd gets it back up again but I really want to keep it
up.  I am running FreeBSD 12.1-RELEASE-p1 GENERIC  amd64.  My WiFi card is:

  ath0 at pci0:1:0:0: class=0x028000 card=0x30a4168c chip=0x002e168c
rev=0x01 hdr=0x00
    vendor     = 'Qualcomm Atheros'
    device     = 'AR9287 Wireless Network Adapter (PCI-Express)'
    class      = network

It is a HP running Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz on 2 quads
and 16GB of memory.

From my rc.conf:

# Internal wifi network
wlans_ath0=wlan0
create_args_wlan0="wlanmode hostap"
ifconfig_wlan0="inet 192.168.225.1 netmask 0xffffff00 ssid druid"
hostapd_enable=YES
DHCPD_INTERFACES="$DHCPD_INTERFACES wlan0"

If I can't keep it running can someone suggest a system test I can do to
decide that hostapd needs to be restarted?

One thing I found was lots of log entries like this:

ath0: stuck beacon; resetting (bmiss count 4)

From reading up on that it seems that it is just a cosmetic warning.
Could this be an indication of something that is killing the hotspot?

Thanks for any insight.

-- 
D'Arcy J.M. Cain <darcy at 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 at VybeNetworks.com, VoIP: sip:darcy at druid.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20200618/3983fad8/attachment.sig>


More information about the freebsd-net mailing list