R2S LAN 口灯经常熄灭,获取不到网络

2023-09-12 11:16:30 +08:00
 okrfuse

R2S 用了一个多月了,遇到了以下问题,使用的是 5V2A 魅族的手机充电器

  1. 只能刷友善的固件以及 iStoreOS 固件。其他固件开机上电 LAN 口灯不亮,无法分配 ip 地址;
  2. 刷了 iStoreOS 固件,每隔几个小时,LAN 口灯都会熄灭,并且分配不到 ip ;
  3. 互换端口后,物理 LAN 口还是会熄灭,同时无法联网;

不知道是 LAN 口物理问题还是其他什么问题,有遇到的吗,如何解决这个问题呢?冥冥中感觉是机器有问题

1971 次点击
所在节点    OpenWrt
20 条回复
1KTN90lKW9gVJ9vX
2023-09-12 11:18:50 +08:00
连续通电了几天,昨天晚上我的 r2s lan 口也一样,拔了电源重新通电才恢复,
lincanbin
2023-09-12 11:28:46 +08:00
接触不良?
okrfuse
2023-09-12 11:39:09 +08:00
@lincanbin 不晓得,端口互换后还是不行,就感觉不是固件问题了
okrfuse
2023-09-12 11:40:06 +08:00
@hemingcn 这东西真是极其不稳定,但是网上很少有人反馈不稳定,可能是我成了幸运儿罢
paw0323
2023-09-12 11:43:32 +08:00
@okrfuse 换个电源试试?排除一下供电问题。
leetcode2020
2023-09-12 15:04:30 +08:00
我用 5V3A 的电源,3 年多了一直很稳定
lcdtyph
2023-09-12 15:09:05 +08:00
看着像什么环回检测呢,是不是 lan 侧的网络拓扑有问题
joker8ren
2023-09-12 16:24:16 +08:00
俺也一样 过一段时间就断网 抽风
yoa1q7y
2023-09-12 16:30:46 +08:00
https://openwrt.ai/?target=rockchip%2Farmv8&id=friendlyarm_nanopi-r2s

我用的这个自己定制的,非常稳定,连续一个多月没管了
yinmin
2023-09-12 20:30:46 +08:00
5V2A 电源不足,换个大的。r2s 跑 armbian 很稳,再装 docker 可以跑蛮多应用。
okrfuse
2023-09-13 09:25:03 +08:00
@leetcode2020 换成 5V3A 的,但是刷其他固件同样开机 lan 口不亮,只能刷 iStoreOS
okrfuse
2023-09-13 09:25:35 +08:00
@joker8ren 感觉是良品率问题吧,排除电源后也找不出其他问题了
okrfuse
2023-09-13 09:25:49 +08:00
@yoa1q7y 好的,我尝试一下
okrfuse
2023-09-13 09:27:49 +08:00
@yinmin 电源不足无法驱动 lan 口吗,但是我换成 5V3A 的电源,刷 1988 ,骷髅头的,都是 lan 口灯不上,无法进入后台,只能刷 iStoreOS ,很奇怪
yinmin
2023-09-13 09:34:47 +08:00
@okrfuse #14 https://www.armbian.com/ 下载 debian 镜像试试。如果 armbian 还是有问题,可能硬件是有问题。
yinmin
2023-09-13 09:37:46 +08:00
你的局域网还有其他类似设备吗? r2s 好像是不固化 mac 地址的,会不会有类似设备 mac 地址冲突?
okrfuse
2023-09-13 09:48:37 +08:00
@yinmin 没有设备,因为一直折腾,就让它连电脑网口了,我先尝试一下 armbian
okrfuse
2023-09-13 15:46:34 +08:00
物理 LAN 口有不行了,赶紧去看日志,由于我互换了端口,看到的是 WAN 口,

// 从 15:26:14 开始

Wed Sep 13 15:07:54 2023 user.info : luci: accepted login on /admin/quickstart for root from 192.168.100.204
Wed Sep 13 15:26:14 2023 kern.warn kernel: [102319.580474] xhci-hcd xhci-hcd.0.auto: xHCI host not responding to stop endpoint command.
Wed Sep 13 15:26:14 2023 kern.warn kernel: [102319.580507] xhci-hcd xhci-hcd.0.auto: USBSTS: 0x00000000
Wed Sep 13 15:26:14 2023 kern.err kernel: [102319.607407] xhci-hcd xhci-hcd.0.auto: xHCI host controller not responding, assume dead
Wed Sep 13 15:26:14 2023 kern.err kernel: [102319.608198] xhci-hcd xhci-hcd.0.auto: HC died; cleaning up
Wed Sep 13 15:26:14 2023 kern.info kernel: [102319.608869] usb 4-1: USB disconnect, device number 2
Wed Sep 13 15:26:14 2023 kern.err kernel: [102319.609651] r8152 4-1:1.0 eth1: get_registers -110
Wed Sep 13 15:26:14 2023 kern.warn kernel: [102319.609863] r8152 4-1:1.0 eth1: Tx status -108
Wed Sep 13 15:26:14 2023 kern.warn kernel: [102319.610130] r8152 4-1:1.0 eth1: Tx status -108
Wed Sep 13 15:26:14 2023 kern.warn kernel: [102319.610154] r8152 4-1:1.0 eth1: Tx status -108
Wed Sep 13 15:26:14 2023 kern.warn kernel: [102319.610176] r8152 4-1:1.0 eth1: Tx status -108
Wed Sep 13 15:26:14 2023 daemon.err netdata[9232]: Cannot refresh interface eth1 carrier state by reading '/sys/class/net/eth1/carrier'. Stop updating it.
Wed Sep 13 15:26:14 2023 daemon.notice ttyd[15089]: rops_handle_POLLIN_netlink: DELADDR
Wed Sep 13 15:26:14 2023 daemon.info avahi-daemon[4246]: Interface eth1.IPv6 no longer relevant for mDNS.
Wed Sep 13 15:26:14 2023 daemon.info avahi-daemon[4246]: Leaving mDNS multicast group on interface eth1.IPv6 with address fe80::a8ac:ccff:fed4:33a0.
Wed Sep 13 15:26:14 2023 daemon.notice ttyd[15089]: rops_handle_POLLIN_netlink: DELADDR
Wed Sep 13 15:26:14 2023 daemon.err netdata[9232]: Cannot refresh interface eth1 speed by reading '/sys/class/net/eth1/speed'. Will not update its speed anymore.
Wed Sep 13 15:26:14 2023 daemon.notice netifd: Interface 'wan' is now down
Wed Sep 13 15:26:14 2023 daemon.notice netifd: Interface 'wan' is setting up now
Wed Sep 13 15:26:14 2023 daemon.info avahi-daemon[4246]: Interface eth1.IPv4 no longer relevant for mDNS.
Wed Sep 13 15:26:14 2023 daemon.info avahi-daemon[4246]: Leaving mDNS multicast group on interface eth1.IPv4 with address 172.28.146.98.
Wed Sep 13 15:26:14 2023 daemon.info avahi-daemon[4246]: Withdrawing address record for fe80::a8ac:ccff:fed4:33a0 on eth1.
Wed Sep 13 15:26:14 2023 daemon.info avahi-daemon[4246]: Withdrawing address record for **.**.**.**(光猫 ip 此处人为马赛克) on eth1.
Wed Sep 13 15:26:14 2023 daemon.notice netifd: Interface 'wan' is now up
Wed Sep 13 15:26:14 2023 daemon.notice netifd: Network device 'eth1' link is down
Wed Sep 13 15:26:14 2023 daemon.notice netifd: Interface 'wan' has link connectivity loss
Wed Sep 13 15:26:14 2023 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Wed Sep 13 15:26:14 2023 daemon.debug ModemManager[18879]: hotplug: event reported: action=remove, name=eth1, subsystem=net
Wed Sep 13 15:26:14 2023 daemon.err netdata[9232]: heartbeat missed 4000166 monotonic microseconds
Wed Sep 13 15:26:14 2023 daemon.info netdata[9232]: Initializing file /var/cache/netdata/ip.inerrors/main.db.
Wed Sep 13 15:26:14 2023 daemon.info netdata[9232]: Initializing file /var/cache/netdata/ip.inerrors/InNoRoutes.db.
Wed Sep 13 15:26:14 2023 daemon.info netdata[9232]: Initializing file /var/cache/netdata/ip.inerrors/InTruncatedPkts.db.
Wed Sep 13 15:26:14 2023 daemon.info netdata[9232]: Initializing file /var/cache/netdata/ip.inerrors/InCsumErrors.db.
Wed Sep 13 15:26:14 2023 daemon.err odhcp6c[4989]: Failed to send SOLICIT message to ff02::1:2 (Network unreachable)
Wed Sep 13 15:26:14 2023 daemon.notice netifd: Interface 'wan6' is now down
Wed Sep 13 15:26:15 2023 user.notice firewall: Reloading firewall due to ifup of wan (eth1)
Wed Sep 13 15:26:16 2023 user.notice nlbwmon: Reloading nlbwmon due to ifup of wan (eth1)
Wed Sep 13 15:26:18 2023 user.notice ddns-scripts[19949]: myddns_ipv4: PID '19949' started at 2023-09-13 15:26
Wed Sep 13 15:26:18 2023 user.warn ddns-scripts[19949]: myddns_ipv4: Service section disabled!
Wed Sep 13 15:26:18 2023 user.warn ddns-scripts[19949]: myddns_ipv4: Stopped - TERMINATE
Wed Sep 13 15:26:18 2023 user.warn ddns-scripts[19949]: myddns_ipv4: PID '19949' exit WITH ERROR '1' at 2023-09-13 15:26
Wed Sep 13 15:26:45 2023 user.info : luci: accepted login on /admin/quickstart for root from 192.168.100.204
boshok
199 天前
@okrfuse #18 遇到了一模一样的问题,请问 OP 最后是怎么解决的?
okrfuse
192 天前
@boshok 没有解决,咸鱼出掉了,又买了二手的 nuc

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/972973

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX