No network connection despite wifi connection is active

Hello, the hosts connected through wifi to my Omnia Turris, sometimes experience network connection being “stuck” despite wifi connection still being connected.
The router is not able to ping the computer, and the computer is not able to ping the router
On my computer (wifi connected) if I start tcpdump I can only see ARP traffic.
I need some help in investigating what can be the cause. The only way for the computers to restore the network connection is to disconnect the wifi connection and reconnect.
In this use case, 192.168.1.1 is the Omnia Turris IP address and 192.168.1.18 is the computer IP address
192.168.122.201 is a libvirt/qemu VM running in the computer

root@turris:/tmp/log# ping 192.168.1.18
PING 192.168.1.18 (192.168.1.18) 56(84) bytes of data.
From 192.168.1.1 icmp_seq=1 Destination Host Unreachable
From 192.168.1.1 icmp_seq=2 Destination Host Unreachable
From 192.168.1.1 icmp_seq=3 Destination Host Unreachable

Omania Turris dmesg is full of

[2873296.703291] br-lan: port 5(lan4) entered blocking state
[2873296.708716] br-lan: port 5(lan4) entered forwarding state
[2873308.369268] mv88e6085 f1072004.mdio-mii:10 lan4: Link is Down
[2873308.375251] br-lan: port 5(lan4) entered disabled state
[2873311.259072] mv88e6085 f1072004.mdio-mii:10 lan4: Link is Up - 1Gbps/Full - flow control rx/tx
[2873311.267834] br-lan: port 5(lan4) entered blocking state
[2873311.273252] br-lan: port 5(lan4) entered forwarding state
[2873321.773928] mv88e6085 f1072004.mdio-mii:10 lan4: Link is Down
[2873321.779921] br-lan: port 5(lan4) entered disabled state
[2873391.571096] mv88e6085 f1072004.mdio-mii:10 lan4: Link is Up - 1Gbps/Full - flow control rx/tx
[2873391.579849] br-lan: port 5(lan4) entered blocking state
[2873391.585276] br-lan: port 5(lan4) entered forwarding state

Omania Turris messages contains

Sep 13 13:55:01 turris crond[29484]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
Sep 13 13:55:01 turris crond[29485]: (root) CMD (/usr/bin/notifier)
Sep 13 13:55:01 turris crond[29482]: (root) CMDEND (/usr/bin/rainbow_button_sync.sh)
Sep 13 13:55:01 turris crond[29483]: (root) CMDOUT (There is no message to send.)
Sep 13 13:55:01 turris crond[29483]: (root) CMDEND (/usr/bin/notifier)
Sep 13 15:55:35 turris dnsmasq-dhcp[5707]: DHCPREQUEST(br-lan) 192.168.1.18 mac_censored 
Sep 13 15:55:35 turris dnsmasq-dhcp[5707]: DHCPACK(br-lan) 192.168.1.18 mac_censored x1-gm
Sep 13 13:56:01 turris crond[29574]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
Sep 13 13:56:01 turris crond[29573]: (root) CMDEND (/usr/bin/rainbow_button_sync.sh)
Sep 13 15:56:36 turris dnsmasq-dhcp[5707]: DHCPREQUEST(br-lan) 192.168.1.18 mac_censored 
Sep 13 15:56:36 turris dnsmasq-dhcp[5707]: DHCPACK(br-lan) 192.168.1.18 mac_censored x1-gm
Sep 13 13:57:01 turris crond[29640]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
Sep 13 13:57:01 turris crond[29639]: (root) CMDEND (/usr/bin/rainbow_button_sync.sh)
Sep 13 15:57:36 turris dnsmasq-dhcp[5707]: DHCPREQUEST(br-lan) 192.168.1.18 mac_censored 
Sep 13 15:57:36 turris dnsmasq-dhcp[5707]: DHCPACK(br-lan) 192.168.1.18 mac_censored x1-gm
Sep 13 13:57:46 turris hostapd: wlan1: AP-STA-DISCONNECTEDmac_censored
Sep 13 13:57:46 turris hostapd: wlan1: STAmac_censored IEEE 802.11: disassociated
Sep 13 13:57:47 turris hostapd: wlan1: STAmac_censored IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Sep 13 13:58:01 turris crond[29706]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
Sep 13 13:58:01 turris crond[29705]: (root) CMDEND (/usr/bin/rainbow_button_sync.sh)
Sep 13 15:58:37 turris dnsmasq-dhcp[5707]: DHCPREQUEST(br-lan) 192.168.1.18 mac_censored 
Sep 13 15:58:37 turris dnsmasq-dhcp[5707]: DHCPACK(br-lan) 192.168.1.18 mac_censored x1-gm
Sep 13 13:59:01 turris crond[29775]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
Sep 13 13:59:01 turris crond[29774]: (root) CMDEND (/usr/bin/rainbow_button_sync.sh)
Sep 13 15:59:37 turris dnsmasq-dhcp[5707]: DHCPREQUEST(br-lan) 192.168.1.18 mac_censored 
Sep 13 15:59:37 turris dnsmasq-dhcp[5707]: DHCPACK(br-lan) 192.168.1.18 mac_censored x1-gm
Sep 13 14:00:01 turris crond[29843]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
Sep 13 14:00:01 turris crond[29846]: (root) CMD (/usr/bin/updater-supervisor -d --autorun --rand-sleep --no-network-fail)
Sep 13 14:00:01 turris crond[29844]: (root) CMD (/usr/bin/notifier)
Sep 13 14:00:01 turris crond[29841]: (root) CMDEND (/usr/bin/rainbow_button_sync.sh)
Sep 13 14:00:01 turris crond[29842]: (root) CMDOUT (There is no message to send.)
Sep 13 14:00:01 turris crond[29842]: (root) CMDEND (/usr/bin/notifier)
Sep 13 14:00:02 turris updater-supervisor: Suspending updater start for 6329 seconds
Sep 13 14:00:02 turris crond[29840]: (root) CMDEND (/usr/bin/updater-supervisor -d --autorun --rand-sleep --no-network-fail)
Sep 13 16:00:38 turris dnsmasq-dhcp[5707]: DHCPREQUEST(br-lan) 192.168.1.18 mac_censored 
Sep 13 16:00:38 turris dnsmasq-dhcp[5707]: DHCPACK(br-lan) 192.168.1.18 mac_censored x1-gm
Sep 13 14:01:01 turris crond[29938]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
Sep 13 14:01:01 turris crond[29937]: (root) CMDEND (/usr/bin/rainbow_button_sync.sh)
Sep 13 16:01:38 turris dnsmasq-dhcp[5707]: DHCPREQUEST(br-lan) 192.168.1.18 mac_censored 
Sep 13 16:01:38 turris dnsmasq-dhcp[5707]: DHCPACK(br-lan) 192.168.1.18 mac_censored x1-gm
Sep 13 14:02:01 turris crond[30004]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
Sep 13 14:02:01 turris crond[30003]: (root) CMDEND (/usr/bin/rainbow_button_sync.sh)
Sep 13 16:02:38 turris dnsmasq-dhcp[5707]: DHCPREQUEST(br-lan) 192.168.1.18 mac_censored 
Sep 13 16:02:38 turris dnsmasq-dhcp[5707]: DHCPACK(br-lan) 192.168.1.18 mac_censored x1-gm
Sep 13 14:03:01 turris crond[30069]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
Sep 13 14:03:01 turris crond[30068]: (root) CMDEND (/usr/bin/rainbow_button_sync.sh)
Sep 13 16:03:39 turris dnsmasq-dhcp[5707]: DHCPREQUEST(br-lan) 192.168.1.18 mac_censored 
Sep 13 16:03:39 turris dnsmasq-dhcp[5707]: DHCPACK(br-lan) 192.168.1.18 mac_censored x1-gm
Sep 13 14:04:01 turris crond[30136]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
Sep 13 14:04:01 turris crond[30135]: (root) CMDEND (/usr/bin/rainbow_button_sync.sh)
Sep 13 16:04:40 turris dnsmasq-dhcp[5707]: DHCPREQUEST(br-lan) 192.168.1.18 mac_censored 
Sep 13 16:04:40 turris dnsmasq-dhcp[5707]: DHCPACK(br-lan) 192.168.1.18 mac_censored x1-gm
Sep 13 14:05:01 turris crond[30203]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
Sep 13 14:05:01 turris crond[30204]: (root) CMD (/usr/bin/notifier)
Sep 13 14:05:01 turris crond[30201]: (root) CMDEND (/usr/bin/rainbow_button_sync.sh)
Sep 13 14:05:01 turris crond[30202]: (root) CMDOUT (There is no message to send.)
Sep 13 14:05:01 turris crond[30202]: (root) CMDEND (/usr/bin/notifier)
Sep 13 16:05:40 turris dnsmasq-dhcp[5707]: DHCPREQUEST(br-lan) 192.168.1.18 mac_censored 
Sep 13 16:05:40 turris dnsmasq-dhcp[5707]: DHCPACK(br-lan) 192.168.1.18 mac_censored x1-gm
Sep 13 14:06:01 turris crond[30293]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
Sep 13 14:06:01 turris crond[30292]: (root) CMDEND (/usr/bin/rainbow_button_sync.sh)
Sep 13 16:06:41 turris dnsmasq-dhcp[5707]: DHCPREQUEST(br-lan) 192.168.1.18 mac_censored 
Sep 13 16:06:41 turris dnsmasq-dhcp[5707]: DHCPACK(br-lan) 192.168.1.18 mac_censored x1-gm
Sep 13 14:07:01 turris crond[30365]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
Sep 13 14:07:01 turris crond[30364]: (root) CMDEND (/usr/bin/rainbow_button_sync.sh)
Sep 13 16:07:42 turris dnsmasq-dhcp[5707]: DHCPREQUEST(br-lan) 192.168.1.18 mac_censored 
Sep 13 16:07:42 turris dnsmasq-dhcp[5707]: DHCPACK(br-lan) 192.168.1.18 mac_censored x1-gm
Sep 13 14:08:01 turris crond[30433]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
Sep 13 14:08:01 turris crond[30432]: (root) CMDEND (/usr/bin/rainbow_button_sync.sh)
Sep 13 14:08:08 turris sshd[30422]: Accepted password for root from 192.168.1.3 port 49208 ssh2
Sep 13 16:08:43 turris dnsmasq-dhcp[5707]: DHCPREQUEST(br-lan) 192.168.1.18 mac_censored 
Sep 13 16:08:43 turris dnsmasq-dhcp[5707]: DHCPACK(br-lan) 192.168.1.18 mac_censored x1-gm
Sep 13 14:09:01 turris crond[30508]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
Sep 13 14:09:01 turris crond[30507]: (root) CMDEND (/usr/bin/rainbow_button_sync.sh)
Sep 13 16:09:05 turris dnsmasq-dhcp[5707]: DHCPDISCOVER(br-lan) 192.168.1.18 mac_censored 
Sep 13 16:09:05 turris dnsmasq-dhcp[5707]: DHCPOFFER(br-lan) 192.168.1.18 mac_censored 
Sep 13 16:09:05 turris dnsmasq-dhcp[5707]: DHCPREQUEST(br-lan) 192.168.1.18 mac_censored 
Sep 13 16:09:05 turris dnsmasq-dhcp[5707]: DHCPACK(br-lan) 192.168.1.18 mac_censored x1-gm
Sep 13 14:09:05 turris /dhcp_host_domain_ng.py: DHCP update hostname [x1-gm,192.168.1.18]
Sep 13 14:09:05 turris /dhcp_host_domain_ng.py: Refresh kresd leases
Sep 13 14:10:01 turris crond[30590]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
Sep 13 14:10:01 turris crond[30591]: (root) CMD (/usr/bin/notifier)
Sep 13 14:10:01 turris crond[30588]: (root) CMDEND (/usr/bin/rainbow_button_sync.sh)
Sep 13 14:10:01 turris crond[30589]: (root) CMDOUT (There is no message to send.)
Sep 13 14:10:01 turris crond[30589]: (root) CMDEND (/usr/bin/notifier)

computer dmesg

[lun set 12 15:56:48 2022] e1000e 0000:00:1f.6 enp0s31f6: NIC Link is Down
[lun set 12 15:56:48 2022] iwlmei 0000:00:16.0-censurato: Couldn't allocate the shared memory: -95
[lun set 12 15:56:48 2022] iwlmei: probe of 0000:00:16.0-censurato failed with error -95
[lun set 12 15:56:48 2022] mei_hdcp 0000:00:16.0-censurato: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[lun set 12 15:56:52 2022] wlp0s20f3: authenticate with mac_censurato
[lun set 12 15:56:52 2022] wlp0s20f3: bad VHT capabilities, disabling VHT
[lun set 12 15:56:52 2022] wlp0s20f3: Invalid HE elem, Disable HE
[lun set 12 15:56:52 2022] wlp0s20f3: 80 MHz not supported, disabling VHT
[lun set 12 15:56:52 2022] wlp0s20f3: send auth to mac_censurato (try 1/3)
[lun set 12 15:56:52 2022] wlp0s20f3: authenticated
[lun set 12 15:56:52 2022] wlp0s20f3: associate with mac_censurato (try 1/3)
[lun set 12 15:56:52 2022] wlp0s20f3: RX AssocResp from mac_censurato (capab=0x431 status=0 aid=6)
[lun set 12 15:56:52 2022] wlp0s20f3: associated
[lun set 12 15:56:52 2022] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20f3: link becomes ready
[lun set 12 16:08:58 2022] wlp0s20f3: deauthenticating from mac_censurato by local choice (Reason: 3=DEAUTH_LEAVING)
[lun set 12 16:09:00 2022] wlp0s20f3: authenticate with mac_censurato
[lun set 12 16:09:00 2022] wlp0s20f3: bad VHT capabilities, disabling VHT
[lun set 12 16:09:00 2022] wlp0s20f3: Invalid HE elem, Disable HE
[lun set 12 16:09:00 2022] wlp0s20f3: 80 MHz not supported, disabling VHT
[lun set 12 16:09:00 2022] wlp0s20f3: send auth to mac_censurato (try 1/3)
[lun set 12 16:09:00 2022] wlp0s20f3: authenticated
[lun set 12 16:09:00 2022] wlp0s20f3: associate with mac_censurato (try 1/3)
[lun set 12 16:09:00 2022] wlp0s20f3: RX AssocResp from mac_censurato (capab=0x431 status=0 aid=6)
[lun set 12 16:09:00 2022] wlp0s20f3: associated
[lun set 12 16:09:00 2022] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20f3: link becomes ready
[lun set 12 16:49:38 2022] systemd[1]: systemd v250.8-1.fc36 running in system mode (+PAM +AUDIT +SELINUX -APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN -IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[lun set 12 16:49:38 2022] systemd[1]: Detected architecture x86-64.
[lun set 12 16:49:39 2022] systemd[1]: LSM BPF program attached
[lun set 12 16:49:39 2022] systemd-sysv-generator[712178]: SysV service '/etc/rc.d/init.d/livesys' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[lun set 12 16:49:39 2022] systemd-sysv-generator[712178]: SysV service '/etc/rc.d/init.d/livesys-late' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[lun set 12 16:50:16 2022] SELinux:  Converting 755 SID table entries...
[lun set 12 16:50:16 2022] SELinux:  policy capability network_peer_controls=1
[lun set 12 16:50:16 2022] SELinux:  policy capability open_perms=1
[lun set 12 16:50:16 2022] SELinux:  policy capability extended_socket_class=1
[lun set 12 16:50:16 2022] SELinux:  policy capability always_check_network=0
[lun set 12 16:50:16 2022] SELinux:  policy capability cgroup_seclabel=1
[lun set 12 16:50:16 2022] SELinux:  policy capability nnp_nosuid_transition=1
[lun set 12 16:50:16 2022] SELinux:  policy capability genfs_seclabel_symlinks=1
[lun set 12 16:50:16 2022] SELinux:  policy capability ioctl_skip_cloexec=0
[lun set 12 16:52:44 2022] systemd-sysv-generator[745322]: SysV service '/etc/rc.d/init.d/livesys' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[lun set 12 16:52:44 2022] systemd-sysv-generator[745322]: SysV service '/etc/rc.d/init.d/livesys-late' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[lun set 12 19:39:07 2022] device wlp0s20f3 entered promiscuous mode
[lun set 12 19:39:24 2022] device wlp0s20f3 left promiscuous mode
[lun set 12 19:40:20 2022] device wlp0s20f3 entered promiscuous mode
[lun set 12 19:40:23 2022] device wlp0s20f3 left promiscuous mode
[lun set 12 19:40:26 2022] device wlp0s20f3 entered promiscuous mode
[lun set 12 19:40:32 2022] device wlp0s20f3 left promiscuous mode
[lun set 12 19:40:35 2022] device wlp0s20f3 entered promiscuous mode
[lun set 12 19:41:26 2022] device wlp0s20f3 left promiscuous mode

computer messages

Router OS is TurrisOS 5.4.3

Thank you

Are you using VLANs? If yes, this might be the ARP-related DSA bug TOS (4, 5 and 6) is currently suffering from.
Workaround: use only eth2 (wan) for VLAN-enabled traffic (for full set of information do a search on this forum), as eth2 does not trigger DSA.

The only thing I have changed from stock configuration is adding a Wireguard network.
Can you please tell me how I could check if this can be involved into triggering the bug?
Thank you

I am unfortunately not experienced in ARP. But the bug I was referring to is as far as I know only triggered by DSA/VLANs, which are not active by default, so my guessing was wrong, Sry.