Access point shows "running" although it has been stopped

Hi everybody!

On the wui configuration page wlanap.cgi, the access point shows “running” and also the green field, although the hostapd task has been stopped. The only difference between “running” and “stopped” is that in the case of “stop” no PID or used memory is displayed. And, of course, that the access point is not reachable - as expected.

Hope I’m not the only one. :thinking:

BR Wayne

The wlanap.cgi shows “running” if the wlancard is set to ap mode. Usually this is done by hostapd and set back if hostapd terminate. Sounds like hostapd is crashed on your system after switching the card to ap-mode.

1 Like

Hi Arne,

thank you for your time!

I was looking at the logs but can’t find any info about what is going wrong with hostapd. For me nothing to find in error_log and messages.

When stopping access point via wui button /var/log/messages says:

12:52:49 holmes kernel: ath10k_pci 0000:05:00.0: could not get mac80211 beacon
Apr  4 12:52:50 holmes last message repeated 9 times
Apr  4 12:52:52 holmes ntpd[3626]: Deleting interface #10 blue0, 192.168.3.1#123, interface stats: received=7, sent=7, dropped=0, active_time=330 secs
Apr  4 12:52:54 holmes kernel: ath10k_warn: 39 callbacks suppressed
Apr  4 12:52:54 holmes kernel: ath10k_pci 0000:05:00.0: could not get mac80211 beacon
Apr  4 12:52:55 holmes last message repeated 2 times
Apr  4 12:52:55 holmes kernel: ath10k_pci 0000:05:00.0: failed to flush transmit queue (skip 0 ar-state 1): 0
Apr  4 12:52:55 holmes kernel: ath10k_pci 0000:05:00.0: could not get mac80211 beacon
Apr  4 12:52:55 holmes last message repeated 5 times
Apr  4 12:52:59 holmes kernel: ath10k_warn: 40 callbacks suppressed
Apr  4 12:52:59 holmes kernel: ath10k_pci 0000:05:00.0: could not get mac80211 beacon
Apr  4 12:53:00 holmes last message repeated 3 times
Apr  4 12:53:00 holmes kernel: ath10k_pci 0000:05:00.0: failed to flush transmit queue (skip 0 ar-state 1): 0
Apr  4 12:53:00 holmes kernel: ath10k_pci 0000:05:00.0: could not get mac80211 beacon
Apr  4 12:53:00 holmes last message repeated 4 times
Apr  4 12:53:04 holmes kernel: ath10k_warn: 40 callbacks suppressed
Apr  4 12:53:04 holmes kernel: ath10k_pci 0000:05:00.0: could not get mac80211 beacon
Apr  4 12:53:05 holmes last message repeated 4 times
Apr  4 12:53:05 holmes kernel: ath10k_pci 0000:05:00.0: failed to flush transmit queue (skip 0 ar-state 1): 0
Apr  4 12:53:05 holmes kernel: ath10k_pci 0000:05:00.0: could not get mac80211 beacon
Apr  4 12:53:05 holmes last message repeated 3 times
Apr  4 12:53:10 holmes kernel: ath10k_warn: 40 callbacks suppressed
Apr  4 12:53:10 holmes kernel: ath10k_pci 0000:05:00.0: could not get mac80211 beacon
Apr  4 12:53:10 holmes last message repeated 5 times
Apr  4 12:53:10 holmes kernel: ath10k_pci 0000:05:00.0: failed to flush transmit queue (skip 0 ar-state 1): 0
Apr  4 12:53:10 holmes kernel: ath10k_pci 0000:05:00.0: could not get mac80211 beacon
Apr  4 12:53:10 holmes last message repeated 2 times
Apr  4 12:53:15 holmes kernel: ath10k_warn: 40 callbacks suppressed
Apr  4 12:53:15 holmes kernel: ath10k_pci 0000:05:00.0: could not get mac80211 beacon
Apr  4 12:53:15 holmes last message repeated 6 times
Apr  4 12:53:15 holmes kernel: ath10k_pci 0000:05:00.0: failed to flush transmit queue (skip 0 ar-state 1): 0
Apr  4 12:53:15 holmes kernel: ath10k_pci 0000:05:00.0: could not get mac80211 beacon
Apr  4 12:53:15 holmes kernel: ath10k_pci 0000:05:00.0: could not get mac80211 beacon
Apr  4 12:53:20 holmes kernel: ath10k_warn: 40 callbacks suppressed
Apr  4 12:53:20 holmes kernel: ath10k_pci 0000:05:00.0: could not get mac80211 beacon
Apr  4 12:53:20 holmes last message repeated 7 times
Apr  4 12:53:20 holmes kernel: ath10k_pci 0000:05:00.0: failed to flush transmit queue (skip 0 ar-state 1): 0
Apr  4 12:53:20 holmes kernel: ath10k_pci 0000:05:00.0: could not get mac80211 beacon
Apr  4 12:53:25 holmes kernel: ath10k_warn: 40 callbacks suppressed
Apr  4 12:53:25 holmes kernel: ath10k_pci 0000:05:00.0: could not get mac80211 beacon
Apr  4 12:53:25 holmes last message repeated 8 times
Apr  4 12:53:25 holmes kernel: ath10k_pci 0000:05:00.0: failed to flush transmit queue (skip 0 ar-state 1): 0
Apr  4 12:53:30 holmes kernel: ath10k_warn: 40 callbacks suppressed
Apr  4 12:53:30 holmes kernel: ath10k_pci 0000:05:00.0: could not get mac80211 beacon
Apr  4 12:53:30 holmes last message repeated 9 times
Apr  4 12:53:35 holmes kernel: ath10k_warn: 40 callbacks suppressed
Apr  4 12:53:35 holmes kernel: ath10k_pci 0000:05:00.0: could not get mac80211 beacon
Apr  4 12:53:36 holmes last message repeated 9 times
Apr  4 12:53:41 holmes kernel: ath10k_warn: 2 callbacks suppressed
Apr  4 12:53:41 holmes kernel: ath10k_pci 0000:05:00.0: failed to flush transmit queue (skip 0 ar-state 1): 0
Apr  4 12:53:41 holmes kernel: ath10k_pci 0000:05:00.0: DFS region 0x0 not supported, will trigger radar for every pulse
Apr  4 12:53:47 holmes monit[3780]: 'blue0' link down

In /var/log/hostapd/error_log there is no information about it.

Thy in advance for any help!

Hi again!

Sorry for bothering your time. After reboot it works as expected. Real noob failure: First reboot, then ask. :pensive:

Topic can be closed.

2 Likes