以太网在 Orange Pi 版本的 ubuntu jammy 上突然停止工作

以太网在 Orange Pi 版本的 ubuntu jammy 上突然停止工作

我使用 Orange pi Zero 2 作为家庭服务器/媒体中心,并使用 Orange pi 发布的 ubuntu jammy 版本。 (Orangepizero2_3.0.6_ubuntu_jammy_server_linux5.16.17)

几周前,当我在电视上观看存储在该服务器上的视频时,我的以太网连接停止工作。

如果更有经验的人能给我一些反馈,我将不胜感激。

我是一个非常基础的 Linux 用户,我尝试了在互联网上的各个论坛上找到的很多东西。不幸的是,到目前为止我还没有取得很大的成功。

我最终再次烧毁了我的 SD 卡以重新启动,即使这样也没有让我的以太网正常工作。这就是为什么我开始相信以太网控制器在使用大约 1 个月后就烧毁了..:(

我什至不确定哪些命令结果与此处显示相关,但无论如何我都会在下面复制其中的几个结果。

噗。

IP地址:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 02:00:1c:80:72:be brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 7c:d0:00:a7:ff:48 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.2/24 brd 192.168.1.255 scope global noprefixroute wlan0
       valid_lft forever preferred_lft forever
    inet6 fd00::f3ae:8f96:6433:6d9c/64 scope global temporary dynamic
       valid_lft 603357sec preferred_lft 84427sec
    inet6 fd00::d91e:8502:a93d:8181/64 scope global dynamic mngtmpaddr noprefixroute
       valid_lft 2591995sec preferred_lft 604795sec
    inet6 fe80::f360:4682:b70a:7bcd/64 scope link noprefixroute
       valid_lft forever preferred_lft forever

如果配置:

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 116  bytes 8892 (8.8 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 116  bytes 8892 (8.8 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.2  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fd00::f3ae:8f96:6433:6d9c  prefixlen 64  scopeid 0x0<global>
        inet6 fd00::d91e:8502:a93d:8181  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::f360:4682:b70a:7bcd  prefixlen 64  scopeid 0x20<link>
        ether 7c:d0:00:a7:ff:48  txqueuelen 1000  (Ethernet)
        RX packets 7367  bytes 4625448 (4.6 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5690  bytes 1411392 (1.4 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ifconfig eth0

eth0: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 02:00:1c:80:72:be  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 32

须藤 ethtool eth0

netlink error: Device or resource busy
netlink error: Device or resource busy
netlink error: Device or resource busy
netlink error: Device or resource busy
netlink error: Device or resource busy
No data available

须藤网络控制

WARNING: systemd-networkd is not running, output will be incomplete.

IDX LINK  TYPE     OPERATIONAL SETUP
  1 lo    loopback n/a         unmanaged
  2 eth0  ether    n/a         unmanaged
  3 wlan0 wlan     n/a         unmanaged

3 links listed.

猫 /etc/network/interfaces

source /etc/network/interfaces.d/*
# Network is managed by Network manager
auto lo
iface lo inet loopback

dmesg | grep eth0

给出一堆相同的消息:

[   18.925658] dwmac-sun8i 5020000.ethernet eth0: no phy at addr -1
[   18.925683] dwmac-sun8i 5020000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)

尝试激活与 nmtui 的连接

Could not activate connection:
Activation failed: the device could not be readied for configuration

相关内容