Wifi devices get no internet connection, wired works fine

I run two GL-MT6000 devices connected by the cable. One of the (192.168.1.1) is a router, the other (.254) runs as an AP.
Both run "OpenWrt 23.05.5 r24106-10cc5fcd00"

Recently wifi devices connected to .254 reported "Wifi has no internet access". Wired devices still had internet connection, I could login to the router and ping outside world. So br-lan interface had internet connectivity but wifi interfaces seem to stop forwarding.

That was solved by wifi down followed by wifi up.
Dmesg shows nothing interesting (first messages after boot appear as response to wifi down/wifi up commands).
logread has a lot of hostapd and dawn messages without anything abnormal.

This incident repeated after few days.

from wireless config:

config wifi-device 'radio1'
        option type 'mac80211'
        option path 'platform/soc/18000000.wifi+1'
        option channel '149'
        option band '5g'
        option htmode 'HE80'
        option cell_density '0'
        option country 'NL'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option ssid 'SSSS'
        option encryption 'sae-mixed'
        option bss_trainsition '1'
        option ieee80211k '1'
        option ieee80211w '1'
        #option ieee80211r '1' # macbook air sucks
        option ieee80211v '1'
        option key 'XXX'
        option mobility_domain '2128'
        option ft_psk_generate_local '1'

Would be thankful for any pointers.

all, or some ?

is never a good start.

  1. all devices connected to .254. Devices connected to .1 were fine.
    correction: all the devices I saw were on 5Gz band. Not sure if those on 2Gz were affected (those are mostly esp8266-based iot thingies). Nothing unusual in there logs but I've restarted wifi in a few minutes so that is not indicative.

  2. Not sure that's related. The wifi connection itself was fine, just no traffic (indicated by devices complaining "Wifi has no internet connection" or similar) Unfortunately there was a need to restore immediately so I didn't have time to dump what was going on the interfaces.

Had this again, this time was able to tcpdump at wifi. No traffic forwarded to/from br-lan interface, only broadcasts from wifi clients, no replies to pings to the br-lan.

Now enabled logging to external syslog host, hope something will pop up next time. @frollic

Remove all 802.11 k/v/r items and test again. (Remove from all APs)

If it doesn’t fix things, please post your complete configuration.

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

ubus call system board
cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall