I am testing OpenWrt 21.02 RC4 (a custom build with wpad-mesh-wolfssl and non CT drivers, based on this commit) a mesh router connected to:
- an ADSL router via ethernet
- another mesh router 802.11s mesh mode
The internet connection is quite intermittent some times and when debugging the logs I found out this on the router:
Tue Aug 3 15:10:37 2021 kern.info kernel: [40216.869351] mt7530 mdio-bus:1f lan1: Link is Up - 100Mbps/Full - flow control off
Tue Aug 3 15:10:54 2021 kern.info kernel: [40234.277374] mt7530 mdio-bus:1f lan1: Link is Down
Tue Aug 3 15:10:57 2021 kern.info kernel: [40237.349616] mt7530 mdio-bus:1f lan1: Link is Up - 100Mbps/Full - flow control off
Tue Aug 3 15:16:01 2021 kern.info kernel: [40541.482137] mt7530 mdio-bus:1f lan1: Link is Down
Tue Aug 3 15:16:04 2021 kern.info kernel: [40544.554338] mt7530 mdio-bus:1f lan1: Link is Up - 100Mbps/Full - flow control off
Tue Aug 3 15:19:01 2021 kern.info kernel: [40720.685006] mt7530 mdio-bus:1f lan1: Link is Down
Tue Aug 3 15:19:04 2021 kern.info kernel: [40723.757134] mt7530 mdio-bus:1f lan1: Link is Up - 100Mbps/Full - flow control off
Tue Aug 3 15:26:21 2021 kern.info kernel: [41161.011397] mt7530 mdio-bus:1f lan1: Link is Down
Tue Aug 3 15:26:24 2021 kern.info kernel: [41164.083598] mt7530 mdio-bus:1f lan1: Link is Up - 100Mbps/Full - flow control off
Tue Aug 3 15:27:45 2021 kern.info kernel: [41244.980612] mt7530 mdio-bus:1f lan1: Link is Down
Tue Aug 3 15:27:47 2021 kern.info kernel: [41247.028811] mt7530 mdio-bus:1f lan1: Link is Up - 100Mbps/Full - flow control off
This can go on for hours and when it starts it happens roughly between every 4 to 6 minutes.
Anyone can hint at what may be causing it?
The fact that it's happening intermittently and every 4 to 6 minutes seems to be some kind of bug which is triggered by something to me.
Network config of the mesh router:
config interface 'lan'
option type 'bridge'
option ifname 'lan1 lan2'
option ip6assign '60'
option proto 'dhcp'
option stp '1'
option ageing_time '600'
option forward_delay '4'
option hello_time '4'
option priority '4001'
Mesh config of the router:
config wifi-iface 'wifi_mesh0'
option device 'radio0'
option ifname 'mesh0'
option mode 'mesh'
option encryption 'psk2+ccmp'
option key '**********'
option mesh_id '*********'
option network 'lan'
option mesh_gate_announcements '1'
option mesh_fwding '1'
option mesh_rssi_threshold '-80'
option mesh_hwmp_rootmode '4'
config wifi-iface 'wifi_mesh1'
option device 'radio1'
option ifname 'mesh1'
option mode 'mesh'
option encryption 'psk2+ccmp'
option key '**********'
option mesh_id '*********'
option network 'lan'
option mesh_gate_announcements '1'
option mesh_fwding '1'
option mesh_rssi_threshold '-80'
option mesh_hwmp_rootmode '4'
The other mesh nodes are similarly configured, priority
on the bridge is 5000
and they do not have mesh_gate_announcements
nor mesh_hwmp_rootmode
.
Thanks in advance to anyone who will help out.
Edit:
I found recent commens in two different posts which seem to be using master/openwrt 21.02 rc and have a similar issue: