hostap requires a daily restart on my device

Felix Rubio Dalmau felix at kngnt.org
Sat Dec 26 04:55:40 EST 2020


Hi everybody,

I have managed to set up hostap to run on a TP-Link USB NIC (Archer T3U, 2357:012d). I have to restart hostap almost everyday, because at some point either hostap or the NIC become unresponsive. I am running it right now with debug mode, but so far no meaningful messages have been generated. Besides, maybe it is related, I see that every minute is disconnecting and reconnecting the stations around. Is that expected behavior?

My configuration:
    ctrl_interface=/var/run/hostapd
    ctrl_interface_group=0
    interface=wl0
    driver=nl80211
    ssid=myhome
    wpa_passphrase=<hidden>
    wpa_key_mgmt=WPA-PSK
    rsn_pairwise=CCMP
    bridge=br0
    ap_max_inactivity=1200

    wpa=2
    auth_algs=1
    country_code=FR
    hw_mode=g

    ieee80211d=1
    ieee80211n=1
    require_ht=1
    wmm_enabled=1

    channel=10
    ht_capab=[SHORT-GI-40][HT40+][HT40-][DSSS_CCK-40]

Log where can be seen the per-minute disconnecting of a station (happens the same with any station in range):
    Dec 25 21:54:31 home hostapd[22540]: wl0: STA 06:13:1c:99:60:07 RADIUS: starting accounting session 78969B0A8C530F49
    Dec 25 21:54:31 home hostapd[22540]: wl0: STA 06:13:1c:99:60:07 WPA: pairwise key handshake completed (RSN)
    Dec 25 21:55:54 home hostapd[22540]: wl0: STA 06:13:1c:99:60:07 IEEE 802.11: disassociated
    Dec 25 21:56:00 home hostapd[22540]: wl0: STA 06:13:1c:99:60:07 IEEE 802.11: associated
    Dec 25 21:56:00 home hostapd[22540]: wl0: STA 06:13:1c:99:60:07 RADIUS: starting accounting session 2A63003CFB5E2F2F
    Dec 25 21:56:00 home hostapd[22540]: wl0: STA 06:13:1c:99:60:07 WPA: pairwise key handshake completed (RSN)
    Dec 25 21:56:19 home hostapd[22540]: wl0: STA 06:13:1c:99:60:07 IEEE 802.11: disassociated
    Dec 25 21:56:28 home hostapd[22540]: wl0: STA 06:13:1c:99:60:07 IEEE 802.11: associated
    Dec 25 21:56:28 home hostapd[22540]: wl0: STA 06:13:1c:99:60:07 RADIUS: starting accounting session FCCEDEF08E18D800
    Dec 25 21:56:28 home hostapd[22540]: wl0: STA 06:13:1c:99:60:07 WPA: pairwise key handshake completed (RSN)
    Dec 25 21:58:44 home hostapd[22540]: wl0: STA 06:13:1c:99:60:07 IEEE 802.11: disassociated
    Dec 25 21:59:00 home hostapd[22540]: wl0: STA 06:13:1c:99:60:07 IEEE 802.11: associated

Can somebody give me a hand?

Thank you for your time,
Felix





More information about the Hostap mailing list