Frequent freezes (Linksys MR8300 on ver. 24.10.0)

Hi folks,

I started using the router in December 2024. It is a Linksys MR8300, and I am using fresh install of 24.10.0 version. I have noticed that sometimes the router will stop responding to a device and causing internet outage for that device ranging from a few seconds to a minute. When that happens, other devices seem connecting fine. logread and dmesg don't show any weird records. uptime doesn't reset. The temperature seems cool all the time. I suspected that it was due to syn flood protection, so I disabled it, but the freezes still happen every once a while. Need a little guidance on how I can continue troubleshooting. I will upload logs or screenshots if needed.

Thanks
Chuck

Hi.
Have you checked this thread ? On 24.10 this device experiments high CPU usage, and this can be the cause of your freezes. I suggest you fallback temporary on 23.05 and check if you still have the same issue. I have this device and still keep it on 23.05.

Thanks @badulesia . I don't see CPU spike when the freeze happens. Also, it affects only some of the clients at a time. So the symptoms don't really match. But, trying 23.05.5 is probably the right move. I will keep you posted.

Bad news! After downgrading to 23.05.5, the issue is still here. I don't think I should say it is freezing, because when it happens, it only blocks some of the machines. It almost feels like somehow it is rate-limiting some machines. @badulesia Any guidance will be appreciated.

Are the faulty devices wired or in wifi ? If wifi, check the link speed.

WIFI is disabled on the device. Just LAN traffic.

That's indeed weird: with 23.05.5 this devices rocks. With 24.10.0 there is a LAN to LAN issue as described in the previous thread.
Please share your configuration files (in /etc/config/) : network, firewall, dhcp, wireless. Redact any private data.

/etc/config/dhcp


config dnsmasq
	option domainneeded '1'
	option localise_queries '1'
	option rebind_protection '0'
	option local '/lan/'
	option domain 'lan'
	option expandhosts '1'
	option cachesize '1000'
	option authoritative '1'
	option readethers '1'
	option leasefile '/tmp/dhcp.leases'
	option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
	option localservice '1'
	option ednspacket_max '1232'

config dhcp 'lan'
	option interface 'lan'
	option start '258'
	option limit '253'
	option leasetime '12h'
	option dhcpv4 'server'
	list ra_flags 'managed-config'
	list ra_flags 'other-config'

config dhcp 'wan'
	option interface 'wan'
	option ignore '1'

config odhcpd 'odhcpd'
	option maindhcp '0'
	option leasefile '/tmp/hosts/odhcpd'
	option leasetrigger '/usr/sbin/odhcpd-update'
	option loglevel '4'

/etc/config/firewall


config defaults
	option input 'REJECT'
	option output 'ACCEPT'
	option forward 'REJECT'
	option flow_offloading '1'
	option flow_offloading_hw '1'

config zone
	option name 'lan'
	option input 'ACCEPT'
	option output 'ACCEPT'
	option forward 'ACCEPT'
	list network 'lan'

config zone
	option name 'wan'
	option input 'REJECT'
	option output 'ACCEPT'
	option forward 'REJECT'
	option masq '1'
	option mtu_fix '1'
	list network 'wan'

config forwarding
	option src 'lan'
	option dest 'wan'

config rule
	option name 'Allow-DHCP-Renew'
	option src 'wan'
	option proto 'udp'
	option dest_port '68'
	option target 'ACCEPT'
	option family 'ipv4'

config rule
	option name 'Allow-Ping'
	option src 'wan'
	option proto 'icmp'
	option icmp_type 'echo-request'
	option family 'ipv4'
	option target 'ACCEPT'

config rule
	option name 'Allow-IGMP'
	option src 'wan'
	option proto 'igmp'
	option family 'ipv4'
	option target 'ACCEPT'

config rule
	option name 'Allow-DHCPv6'
	option src 'wan'
	option proto 'udp'
	option dest_port '546'
	option family 'ipv6'
	option target 'ACCEPT'

config rule
	option name 'Allow-MLD'
	option src 'wan'
	option proto 'icmp'
	option src_ip 'fe80::/10'
	list icmp_type '130/0'
	list icmp_type '131/0'
	list icmp_type '132/0'
	list icmp_type '143/0'
	option family 'ipv6'
	option target 'ACCEPT'

config rule
	option name 'Allow-ICMPv6-Input'
	option src 'wan'
	option proto 'icmp'
	list icmp_type 'echo-request'
	list icmp_type 'echo-reply'
	list icmp_type 'destination-unreachable'
	list icmp_type 'packet-too-big'
	list icmp_type 'time-exceeded'
	list icmp_type 'bad-header'
	list icmp_type 'unknown-header-type'
	list icmp_type 'router-solicitation'
	list icmp_type 'neighbour-solicitation'
	list icmp_type 'router-advertisement'
	list icmp_type 'neighbour-advertisement'
	option limit '1000/sec'
	option family 'ipv6'
	option target 'ACCEPT'

config rule
	option name 'Allow-ICMPv6-Forward'
	option src 'wan'
	option dest '*'
	option proto 'icmp'
	list icmp_type 'echo-request'
	list icmp_type 'echo-reply'
	list icmp_type 'destination-unreachable'
	list icmp_type 'packet-too-big'
	list icmp_type 'time-exceeded'
	list icmp_type 'bad-header'
	list icmp_type 'unknown-header-type'
	option limit '1000/sec'
	option family 'ipv6'
	option target 'ACCEPT'

config rule
	option name 'Allow-IPSec-ESP'
	option src 'wan'
	option dest 'lan'
	option proto 'esp'
	option target 'ACCEPT'

config rule
	option name 'Allow-ISAKMP'
	option src 'wan'
	option dest 'lan'
	option dest_port '500'
	option proto 'udp'
	option target 'ACCEPT'

/etc/config/network

config interface 'loopback'
	option device 'lo'
	option proto 'static'
	option ipaddr '127.0.0.1'
	option netmask '255.0.0.0'

config globals 'globals'

config device
	option name 'br-lan'
	option type 'bridge'
	list ports 'lan1'
	list ports 'lan2'
	list ports 'lan3'
	list ports 'lan4'

config device
	option name 'lan1'
	option macaddr 'e8:9f:80:16:68:31'

config device
	option name 'lan2'
	option macaddr 'e8:9f:80:16:68:31'

config device
	option name 'lan3'
	option macaddr 'e8:9f:80:16:68:31'

config device
	option name 'lan4'
	option macaddr 'e8:9f:80:16:68:31'

config interface 'lan'
	option device 'br-lan'
	option proto 'static'
	option ipaddr '192.168.0.1'
	option netmask '255.255.0.0'
	option ip6assign '60'

config device
	option name 'wan'
	option macaddr 'e8:9f:80:16:68:30'

config interface 'wan'
	option device 'wan'
	option proto 'dhcp'

I hope there is a way I can get more logs about insight of the kernel and network layer.

How can DHCP manages an IP starting at .258 ?

Have you think about checking if the culprit devices have IPv6 enabled/disabled ?

192.168.0.0 + 258 = 192.168.1.2, so that's how DHCP interpret the start. I am using /16 mask. Yes, IPv6 is disabled.

It never occurred to me that this was possible.

In this case option netmask '255.0.0.0' is not correct.

How many devices do you use when the issue appear?

the 255.0.0.0 netmask is for look back interface. The lan interface uses 255.255.0.0. I have about a few dozen devices on my network. But, I don't think the netmask is giving me trouble.

Please focus on truth, your configs say ip6 is quite alive and kicking

1 Like

That's what I feared. Honestly with such much devices, it may be hard to tell if the issue is SW related (config) or HW (a device behaving bersek). You have made unconventionnal settings, why don't you stick to a /24 subnet ?

Ok, counted again. It is about 30 devices. I don't think it is that hard to handle the traffic. I switched back to my orbi RBR20, it worked perfectly. It just doesn't have the feature and versatility that openwrt offers. It is pretty disappointing. Maybe I will buy another device.