Replies: 2 comments 2 replies
-
Update and additional infos about my problem: For me it seems like the "problem" is caused in states.py in this section:
In verbose mode comitup.log says "connected_timeout comparing SSID to SSID", where both SSID is my home-wifi-ssid. Then it seems the wpa.check_wpa restarts the AP. If i comment the line |
Beta Was this translation helpful? Give feedback.
-
Sorry for the delay. This is a hack I added 4 years ago. AP mode was eventually failing, I could not reliably detect the failure, and restarting wpa_supplicant fixed the problem. The call you disabled causes wpa_supplicant to be restarted every 5 minutes. It's better if the application didn't have to do that. I'd be interested to know if you have any issues with the AP staying up more than a couple of days. Note - I've noticed that I am getting kicked off of my Zero running in appliance mode, but it is less than once every 5 minutes. So it is not every time. |
Beta Was this translation helpful? Give feedback.
-
Hello and thanks for the great work, comitup is just what i was looking for.
Everything is running as desired, but in appliance mode wlan0/ap is restarted every 6 minutes, which leads to connection interruptions for the clients.
Here is an excerpt from the logs:
Jul 22 15:15:58 maximegalon wpa_supplicant[430]: wlan0: interface state ENABLED->DISABLED
Jul 22 15:15:58 maximegalon wpa_supplicant[430]: wlan0: AP-DISABLED
Jul 22 15:15:58 maximegalon kernel: ieee80211 phy0: brcmf_vif_set_mgmt_ie: vndr ie set error : -52
Jul 22 15:15:58 maximegalon kernel: ieee80211 phy0: brcmf_vif_set_mgmt_ie: vndr ie set error : -52
Jul 22 15:15:58 maximegalon wpa_supplicant[430]: wlan0: CTRL-EVENT-DISCONNECTED bssid=e4:5f:01:f7:33:bd reason=3 locally_generated=1
Jul 22 15:15:58 maximegalon comitup[4310]: OK
Jul 22 15:15:58 maximegalon NetworkManager[372]: <info> [1690031758.5411] device (wlan0): supplicant interface state: completed -> disconnected
Jul 22 15:15:58 maximegalon NetworkManager[372]: <info> [1690031758.5413] device (p2p-dev-wlan0): supplicant management interface state: completed -> disconnected
Jul 22 15:15:58 maximegalon comitup[4312]: OK
Jul 22 15:15:58 maximegalon wpa_supplicant[430]: Using interface wlan0 with hwaddr e4:5f:01:f7:33:bd and ssid "BabyWifiVpn"
Jul 22 15:15:58 maximegalon wpa_supplicant[430]: wlan0: interface state UNINITIALIZED->ENABLED
Jul 22 15:15:58 maximegalon wpa_supplicant[430]: wlan0: AP-ENABLED
Jul 22 15:15:58 maximegalon wpa_supplicant[430]: wlan0: CTRL-EVENT-CONNECTED - Connection to e4:5f:01:f7:33:bd completed [id=0 id_str=]
Jul 22 15:15:58 maximegalon NetworkManager[372]: <info> [1690031758.6442] device (wlan0): supplicant interface state: disconnected -> completed
Jul 22 15:15:58 maximegalon NetworkManager[372]: <info> [1690031758.6443] device (p2p-dev-wlan0): supplicant management interface state: disconnected -> completed
Is this behavior intended? If not, is there a known fix?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions