I have been running a snapshot of openwrt 22.03.05 on x86/x64 hardware where at certain times connectivity to the WAN is lost for 1 or 2 minutes and then resumes. This does not happen when I set it to tp link c80 as the router. My suspicion is in the RTL 8153-USB 3.0 interface (the system recognizes it as r8152) that is used to connect to the modem. Here is the event log:
Sat May 13 00:59:52 2023 daemon.notice netifd: Network device 'eth1' link is down
Sat May 13 00:59:52 2023 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sat May 13 00:59:52 2023 daemon.notice netifd: Interface 'wan' has link connectivity loss
Sat May 13 00:59:52 2023 daemon.notice netifd: Interface 'wan6' has lost the connection
Sat May 13 00:59:52 2023 daemon.info dnsmasq[1]: reading /tmp/resolv.conf.d/resolv.conf.auto
Sat May 13 00:59:52 2023 kern.info kernel: [ 6525.598629] r8152 7-1:1.0 eth1: carrier off
Sat May 13 00:59:52 2023 daemon.info dnsmasq[1]: using nameserver 1.1.1.1#53
Sat May 13 00:59:52 2023 daemon.info dnsmasq[1]: using nameserver 1.0.0.1#53
Sat May 13 00:59:52 2023 daemon.info dnsmasq[1]: using only locally-known addresses for test
Sat May 13 00:59:52 2023 daemon.info dnsmasq[1]: using only locally-known addresses for onion
Sat May 13 00:59:52 2023 daemon.info dnsmasq[1]: using only locally-known addresses for localhost
Sat May 13 00:59:52 2023 daemon.info dnsmasq[1]: using only locally-known addresses for local
Sat May 13 00:59:52 2023 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Sat May 13 00:59:52 2023 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Sat May 13 00:59:52 2023 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Sat May 13 00:59:52 2023 daemon.info dnsmasq[1]: read /etc/hosts - 4 addresses
Sat May 13 00:59:52 2023 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Sat May 13 00:59:52 2023 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 1 addresses
Sat May 13 00:59:52 2023 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Sat May 13 01:00:19 2023 daemon.warn dnsmasq[1]: Maximum number of concurrent DNS queries reached (max: 150)
Sat May 13 01:00:29 2023 daemon.warn dnsmasq[1]: Maximum number of concurrent DNS queries reached (max: 150)
Sat May 13 01:00:30 2023 daemon.notice netifd: Network device 'eth1' link is up
Sat May 13 01:00:30 2023 daemon.notice netifd: Interface 'wan6' has link connectivity
Sat May 13 01:00:30 2023 daemon.notice netifd: Interface 'wan' has link connectivity
Sat May 13 01:00:30 2023 kern.info kernel: [ 6563.884231] r8152 7-1:1.0 eth1: carrier on
Sat May 13 01:00:35 2023 daemon.warn dnsmasq[1]: Maximum number of concurrent DNS queries reached (max: 150)
Sat May 13 01:01:20 2023 daemon.warn dnsmasq[1]: Maximum number of concurrent DNS queries reached (max: 150)
Sat May 13 01:01:33 2023 daemon.warn dnsmasq[1]: Maximum number of concurrent DNS queries reached (max: 150)
Sat May 13 01:01:41 2023 daemon.notice netifd: Interface 'wan6' is now up
Sat May 13 01:01:41 2023 daemon.info dnsmasq[1]: reading /tmp/resolv.conf.d/resolv.conf.auto
Sat May 13 01:01:41 2023 daemon.info dnsmasq[1]: using nameserver 1.1.1.1#53
Sat May 13 01:01:41 2023 daemon.info dnsmasq[1]: using nameserver 1.0.0.1#53
Sat May 13 01:01:41 2023 daemon.info dnsmasq[1]: using nameserver 2606:4700::1111#53
Sat May 13 01:01:41 2023 daemon.info dnsmasq[1]: using nameserver 2606:4700:4700::1001#53
Sat May 13 01:01:41 2023 daemon.info dnsmasq[1]: using only locally-known addresses for test
Sat May 13 01:01:41 2023 daemon.info dnsmasq[1]: using only locally-known addresses for onion
Sat May 13 01:01:41 2023 daemon.info dnsmasq[1]: using only locally-known addresses for localhost
Sat May 13 01:01:41 2023 daemon.info dnsmasq[1]: using only locally-known addresses for local
Sat May 13 01:01:41 2023 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Sat May 13 01:01:41 2023 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Sat May 13 01:01:41 2023 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Sat May 13 01:01:41 2023 user.notice firewall: Reloading firewall due to ifup of wan6 (eth1)
Sat May 13 01:01:42 2023 daemon.notice miniupnpd[14678]: shutting down MiniUPnPd
Sat May 13 01:01:42 2023 daemon.notice miniupnpd[12112]: HTTP listening on port 5000
Sat May 13 01:01:42 2023 daemon.notice miniupnpd[12112]: HTTP IPv6 address given to control points : [fd0c:b2f5:e00d::1]
Sat May 13 01:01:42 2023 daemon.notice miniupnpd[12112]: Listening for NAT-PMP/PCP traffic on port 5351
Sat May 13 01:01:42 2023 user.notice nlbwmon: Reloading nlbwmon due to ifup of wan6 (eth1)
Sat May 13 01:01:42 2023 daemon.err nlbwmon[12211]: The netlink receive buffer size of 524288 bytes will be capped to 212992 bytes
Sat May 13 01:01:42 2023 daemon.err nlbwmon[12211]: by the kernel. The net.core.rmem_max sysctl limit needs to be raised to
Sat May 13 01:01:42 2023 daemon.err nlbwmon[12211]: at least 524288 in order to sucessfully set the desired receive buffer size!
Sat May 13 01:02:11 2023 daemon.warn dnsmasq[1]: possible DNS-rebind attack detected: dns.msftncsi.com
This dongle works normally in Windows. Any idea what might be happening to have so much instability in openwrt?