OpenWrt 断网记录及原因分析

大致情况

某天晚上使用平板访问 emby 服务, 电影看了一小半, 发现卡住了
随后便发现网络也断了, OpenWrt 无法 ping 通, 管理页同样无法登录
想着等它自己恢复以便查看下系统日志, 没想半个多小时还是没法访问的状态
最后只能断电重启

隔天同样经历多次断网再重启的烦人经历, 后 这里不知道具体做了啥网络操作了... 发现也会有网络断掉但是 OpenWrt 还能被访问的情况, 这时只需重新点击上网接口的“连接”即可恢复网络

可能原因

目前判断或许是
访问emby导致
但是 emby 跟其它大流量服务有何区别呢?
网上找到类似的帖子(关于N1断网的折腾记), 但是貌似也没说出啥二六十二来

至少目前来看, 恢复网络正常后, 没有访问 emby 服务, 目前运行正常

系统日志

### 断网日志1
Sun May 21 09:36:30 2023 kern.err kernel: [37502.987523] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
Sun May 21 09:36:38 2023 daemon.notice netifd: Network device 'eth0' link is down
Sun May 21 09:36:38 2023 daemon.notice netifd: Interface 'lan' has link connectivity loss
Sun May 21 09:36:38 2023 daemon.notice ttyd[14426]: [2023/05/21 09:36:38:1475] N: rops_handle_POLLIN_netlink: DELADDR
Sun May 21 09:36:38 2023 daemon.notice ttyd[14426]: [2023/05/21 09:36:38:1477] N: rops_handle_POLLIN_netlink: DELADDR
Sun May 21 09:36:38 2023 daemon.info avahi-daemon[4240]: Interface eth0.IPv6 no longer relevant for mDNS.
Sun May 21 09:36:38 2023 daemon.info avahi-daemon[4240]: Leaving mDNS multicast group on interface eth0.IPv6 with address fdf1:ac53:abfb::1.
Sun May 21 09:36:38 2023 kern.info kernel: [37510.379467] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
Sun May 21 09:36:38 2023 kern.info kernel: [37510.606026] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.2009087f:00] driver [RTL8211F Gigabit Ethernet] (irq=35)
Sun May 21 09:36:39 2023 kern.info kernel: [37512.129972] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
Sun May 21 09:36:39 2023 kern.info kernel: [37512.133793] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
Sun May 21 09:36:39 2023 kern.info kernel: [37512.140538] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rgmii link mode
Sun May 21 09:36:39 2023 daemon.info avahi-daemon[4240]: Interface eth0.IPv4 no longer relevant for mDNS.
Sun May 21 09:36:39 2023 daemon.info avahi-daemon[4240]: Leaving mDNS multicast group on interface eth0.IPv4 with address 10.0.0.1.
Sun May 21 09:36:39 2023 daemon.info avahi-daemon[4240]: Withdrawing address record for fdf1:ac53:abfb::1 on eth0.
Sun May 21 09:36:39 2023 daemon.info avahi-daemon[4240]: Withdrawing address record for 10.0.0.1 on eth0.
Sun May 21 09:36:39 2023 daemon.info avahi-daemon[4240]: Joining mDNS multicast group on interface eth0.IPv4 with address 10.0.0.1.
Sun May 21 09:36:39 2023 daemon.info avahi-daemon[4240]: New relevant interface eth0.IPv4 for mDNS.
Sun May 21 09:36:39 2023 daemon.info avahi-daemon[4240]: Registering new address record for 10.0.0.1 on eth0.IPv4.
Sun May 21 09:36:41 2023 daemon.err netdata[11377]: heartbeat missed 8000136 monotonic microseconds
Sun May 21 09:36:42 2023 kern.info kernel: [37515.104572] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
Sun May 21 09:36:42 2023 kern.info kernel: [37515.111047] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Sun May 21 09:36:42 2023 daemon.notice netifd: Network device 'eth0' link is up
Sun May 21 09:36:42 2023 daemon.notice netifd: Interface 'lan' has link connectivity
Sun May 21 09:36:43 2023 daemon.info avahi-daemon[4240]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::5ca7:96ff:fe17:7c32.
Sun May 21 09:36:43 2023 daemon.info avahi-daemon[4240]: New relevant interface eth0.IPv6 for mDNS.
Sun May 21 09:36:43 2023 daemon.info avahi-daemon[4240]: Registering new address record for fe80::5ca7:96ff:fe17:7c32 on eth0.*.
Sun May 21 09:36:51 2023 daemon.err zerotier-one[15670]: sendto: Network unreachable

### 断网日志2
Sun May 21 10:09:34 2023 kern.err kernel: [39486.399687] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
Sun May 21 10:09:34 2023 daemon.notice netifd: Network device 'eth0' link is down
Sun May 21 10:09:34 2023 daemon.notice netifd: Interface 'lan' has link connectivity loss
Sun May 21 10:09:40 2023 daemon.info avahi-daemon[4240]: Interface eth0.IPv6 no longer relevant for mDNS.
Sun May 21 10:09:40 2023 daemon.info avahi-daemon[4240]: Leaving mDNS multicast group on interface eth0.IPv6 with address fe80::5ca7:96ff:fe17:7c32.
Sun May 21 10:09:40 2023 daemon.notice ttyd[14426]: [2023/05/21 10:09:40:5233] N: rops_handle_POLLIN_netlink: DELADDR
Sun May 21 10:09:40 2023 kern.info kernel: [39492.729498] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
Sun May 21 10:09:40 2023 kern.info kernel: [39492.963602] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.2009087f:00] driver [RTL8211F Gigabit Ethernet] (irq=35)
Sun May 21 10:09:42 2023 kern.info kernel: [39494.504903] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
Sun May 21 10:09:42 2023 kern.info kernel: [39494.508730] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
Sun May 21 10:09:42 2023 kern.info kernel: [39494.515461] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rgmii link mode
Sun May 21 10:09:42 2023 daemon.info avahi-daemon[4240]: Interface eth0.IPv4 no longer relevant for mDNS.
Sun May 21 10:09:42 2023 daemon.info avahi-daemon[4240]: Leaving mDNS multicast group on interface eth0.IPv4 with address 10.0.0.1.
Sun May 21 10:09:42 2023 daemon.info avahi-daemon[4240]: Withdrawing address record for fe80::5ca7:96ff:fe17:7c32 on eth0.
Sun May 21 10:09:42 2023 daemon.info avahi-daemon[4240]: Withdrawing address record for 10.0.0.1 on eth0.
Sun May 21 10:09:42 2023 daemon.info avahi-daemon[4240]: Joining mDNS multicast group on interface eth0.IPv4 with address 10.0.0.1.
Sun May 21 10:09:42 2023 daemon.info avahi-daemon[4240]: New relevant interface eth0.IPv4 for mDNS.
Sun May 21 10:09:42 2023 daemon.info avahi-daemon[4240]: Registering new address record for 10.0.0.1 on eth0.IPv4.
Sun May 21 10:09:43 2023 daemon.err netdata[11377]: heartbeat missed 6000084 monotonic microseconds
Sun May 21 10:09:45 2023 kern.info kernel: [39497.469927] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
Sun May 21 10:09:45 2023 kern.info kernel: [39497.477898] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Sun May 21 10:09:45 2023 daemon.notice netifd: Network device 'eth0' link is up
Sun May 21 10:09:45 2023 daemon.notice netifd: Interface 'lan' has link connectivity
Sun May 21 10:09:47 2023 daemon.info avahi-daemon[4240]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::5ca7:96ff:fe17:7c32.
Sun May 21 10:09:47 2023 daemon.info avahi-daemon[4240]: New relevant interface eth0.IPv6 for mDNS.
Sun May 21 10:09:47 2023 daemon.info avahi-daemon[4240]: Registering new address record for fe80::5ca7:96ff:fe17:7c32 on eth0.*.
Sun May 21 10:09:47 2023 daemon.err zerotier-one[15670]: sendto: Network unreachable
posted @ 2023-05-22 09:05  tfel-ypoc  阅读(1815)  评论(0编辑  收藏  举报