Seems to happen almost exactly 30 Minutes after being idle in Kodi - so means no constant network activity. Last playback on Kodi was 30 minutes earlier (playback was done right after a reboot and movie ran for about 2h) and input was switched back to the TV shortly after playback ended.
May 28 20:59:39 Vero kernel: CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_DISASSOC_IND
May 28 20:59:39 Vero kernel: link down if wlan0 may call cfg80211_disconnected. event : 12, reason=33 from 44:4e:6d:7b:9d:38
May 28 20:59:39 Vero kernel: wl_iw_event: Link Down with BSSID=44:4E:6D:7B:9D:38
May 28 20:59:39 Vero kernel: CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK
May 28 20:59:39 Vero kernel: cfg80211: Calling CRDA for country: DE
May 28 20:59:39 Vero wpa_supplicant[486]: wlan0: CTRL-EVENT-DISCONNECTED bssid=44:4e:6d:7b:9d:38 reason=33
May 28 20:59:39 Vero connmand[406]: wlan0 {RX} 3968369 packets 1416475915 bytes
May 28 20:59:39 Vero kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
May 28 20:59:39 Vero connmand[406]: wlan0 {TX} 2089403 packets 151337585 bytes
May 28 20:59:39 Vero connmand[406]: wlan0 {update} flags 102403 <UP,LOWER_UP>
May 28 20:59:39 Vero connmand[406]: wlan0 {newlink} index 3 address 44:2C:05:9D:3D:92 mtu 1500
May 28 20:59:39 Vero connmand[406]: wlan0 {newlink} index 3 operstate 5
May 28 20:59:39 Vero avahi-daemon[408]: Withdrawing address record for 192.168.100.50 on wlan0.
May 28 20:59:39 Vero avahi-daemon[408]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 192.168.100.50.
May 28 20:59:39 Vero avahi-daemon[408]: Interface wlan0.IPv4 no longer relevant for mDNS.
May 28 20:59:39 Vero connmand[406]: wlan0 {del} address 192.168.100.50/24 label wlan0
May 28 20:59:39 Vero connmand[406]: wlan0 {del} route 192.168.100.0 gw 0.0.0.0 scope 253
May 28 20:59:39 Vero connmand[406]: ipconfig state 7 ipconfig method 1
May 28 20:59:39 Vero wpa_supplicant[486]: wlan0: Trying to associate with f0:b0:14:4f:86:d2 (SSID=‘moria’ freq=5180 MHz)
May 28 20:59:39 Vero connmand[406]: ipconfig state 2 ipconfig method 1
May 28 20:59:39 Vero kernel: Connectting with f0:b0:14:4f:86:d2 channel (36) ssid “moria”, len (5)
May 28 20:59:39 Vero wpa_supplicant[486]: wlan0: CTRL-EVENT-ASSOC-REJECT bssid=f0:b0:14:4f:86:d2 status_code=34
May 28 20:59:39 Vero kernel: connect failed event=0 e->status 1 e->reason 0
May 28 20:59:39 Vero kernel: CFG80211-ERROR) wl_bss_connect_done : Report connect result - connection failed
May 28 20:59:39 Vero connmand[406]: ipconfig state 7 ipconfig method 1
May 28 20:59:39 Vero connmand[406]: ipconfig state 7 ipconfig method 1
May 28 20:59:41 Vero ntpd[887]: Deleting interface #3 wlan0, 192.168.100.50#123, interface stats: received=737, sent=739, dropped=0, active_time=9153 secs
May 28 20:59:41 Vero ntpd[887]: 141.82.25.201 local addr 192.168.100.50 →
May 28 20:59:41 Vero ntpd[887]: 80.151.232.87 local addr 192.168.100.50 →
May 28 20:59:41 Vero ntpd[887]: 188.68.53.92 local addr 192.168.100.50 →
May 28 20:59:41 Vero ntpd[887]: 213.172.105.106 local addr 192.168.100.50 →
May 28 20:59:41 Vero ntpd[887]: 78.46.102.180 local addr 192.168.100.50 →
May 28 20:59:41 Vero ntpd[887]: 5.199.135.170 local addr 192.168.100.50 →
May 28 20:59:41 Vero ntpd[887]: 46.38.241.30 local addr 192.168.100.50 →
May 28 20:59:41 Vero ntpd[887]: 5.9.83.106 local addr 192.168.100.50 →
May 28 20:59:41 Vero ntpd[887]: 37.120.189.254 local addr 192.168.100.50 →
May 28 20:59:41 Vero ntpd[887]: 185.194.140.199 local addr 192.168.100.50 →
May 28 20:59:41 Vero ntpd[887]: 212.18.3.19 local addr 192.168.100.50 →
This time it reconnected. Only difference, I had an active SSH sessions open (journalctl -f) and even re-joined the 5GHz Network compared to loosing it completely.
But it should not get that “Link down” from CFG80211 in the first place. I couldn’t find any meaningful information what the “WLC_E_DISASSOC_IND” and “WLC_E_LINK” messages mean. Googling just leads to driver on GitHub basically.
No DHCP directly involved. That happend about 6 mins later…
Vero:
May 28 21:05:47 Vero connmand[406]: ipconfig state 2 ipconfig method 1
May 28 21:05:47 Vero wpa_supplicant[486]: wlan0: Trying to associate with 44:4e:6d:7b:9d:38 (SSID=‘moria’ freq=5180 MHz)
May 28 21:05:47 Vero kernel: Connectting with 44:4e:6d:7b:9d:38 channel (36) ssid “moria”, len (5)
May 28 21:05:47 Vero wpa_supplicant[486]: wlan0: Associated with 44:4e:6d:7b:9d:38
May 28 21:05:47 Vero kernel: wl_iw_event: Link UP with BSSID=44:4E:6D:7B:9D:38
May 28 21:05:47 Vero kernel: wl_bss_connect_done succeeded with 44:4e:6d:7b:9d:38
May 28 21:05:47 Vero kernel: wl_bss_connect_done succeeded with 44:4e:6d:7b:9d:38
May 28 21:05:47 Vero wpa_supplicant[486]: wlan0: WPA: Key negotiation completed with 44:4e:6d:7b:9d:38 [PTK=CCMP GTK=CCMP]
May 28 21:05:47 Vero wpa_supplicant[486]: wlan0: CTRL-EVENT-CONNECTED - Connection to 44:4e:6d:7b:9d:38 completed [id=0 id_str=]
May 28 21:05:47 Vero wpa_supplicant[486]: bgscan simple: Failed to enable signal strength monitoring
May 28 21:05:47 Vero connmand[406]: wlan0 {RX} 3968371 packets 1416476169 bytes
May 28 21:05:47 Vero connmand[406]: wlan0 {TX} 2089408 packets 151338531 bytes
May 28 21:05:47 Vero connmand[406]: wlan0 {update} flags 102467 <UP,RUNNING,LOWER_UP>
May 28 21:05:47 Vero connmand[406]: wlan0 {newlink} index 3 address 44:2C:05:9D:3D:92 mtu 1500
May 28 21:05:47 Vero connmand[406]: wlan0 {newlink} index 3 operstate 6
May 28 21:05:47 Vero connmand[406]: ipconfig state 3 ipconfig method 1
May 28 21:05:47 Vero avahi-daemon[408]: Joining mDNS multicast group on interface wlan0.IPv4 with address 192.168.100.50.
May 28 21:05:47 Vero avahi-daemon[408]: New relevant interface wlan0.IPv4 for mDNS.
May 28 21:05:47 Vero avahi-daemon[408]: Registering new address record for 192.168.100.50 on wlan0.IPv4.
May 28 21:05:47 Vero connmand[406]: Setting domainname to cuttingroomfloor.net
May 28 21:05:47 Vero connmand[406]: wlan0 {add} address 192.168.100.50/24 label wlan0 family 2
May 28 21:05:47 Vero connmand[406]: wlan0 {add} route 192.168.100.0 gw 0.0.0.0 scope 253
May 28 21:05:47 Vero connmand[406]: wlan0 {add} route 192.168.100.1 gw 0.0.0.0 scope 253
May 28 21:05:47 Vero connmand[406]: wlan0 {add} route 0.0.0.0 gw 192.168.100.1 scope 0
May 28 21:05:47 Vero connmand[406]: wlan0 {add} route 212.227.81.55 gw 192.168.100.1 scope 0
May 28 21:05:49 Vero ntpd[887]: Listen normally on 5 wlan0 192.168.100.50:123
May 28 21:05:54 Vero connmand[406]: wlan0 {del} route 212.227.81.55 gw 192.168.100.1 scope 0
DHCPD:
May 28 21:05:47 pi dhcpd[605]: DHCPREQUEST for 192.168.100.50 from 44:2c:05:9d:3d:92 via eth0
May 28 21:05:47 pi dhcpd[605]: DHCPACK on 192.168.100.50 to 44:2c:05:9d:3d:92 via eth0
May 28 21:05:47 pi dhcpd[605]: Added new forward map from Vero.cuttingroomfloor.net to 192.168.100.50
May 28 21:05:47 pi dhcpd[605]: Added reverse map from 50.100.168.192.100.168.192.in-addr.arpa to Vero.cuttingroomfloor.net
Then the Vero keeps going on with HDMITX stuff from the Kernel about a minute later. I assume my mother turned off the TV here, which would make sense for any HDMI stuff. Just remotely looking at the box right now, so don’t know exactly what happened over there.
Despite the error message from the driver (???), I could theorize why it may have lost the connection. This is a mesh setup and the Vero is not allowed to connect to all present APs (it is only allowed on the one that is closest to it and has the strongest 5 GHz signal an best throughput in general). And it might have tried to access a different one, couldn’t and just stopped (doesn’t explain why it couldn’t rejoin manually though). But again, this setup is there for a long time and was working out fine. It’s pretty much standard anyway. Nothing fancy here. No issues in the last 12 months.
So question would be what these CFG80211 Errors actually mean to find out what might not be working. Any ideas?
Will try to reproduce tomorrow. Play something at my mothers place, switch to TV and just having SSH open without doing anything (as it was the last time when it failed, this time I had the syslog open basically).
For now I leave the box as it is and wait what happens…
Vero Logs - in case you care: https://paste.osmc.tv/pufuzewire