我在使用 Plasma 的 Ubuntu 20.04 上,并且在我的 Pi 4 上,我可以通过有线连接访问网络,但系统仍然显示我处于离线状态。
例如,我可以通过 ssh 更新软件包,但不能通过 Discover 更新,它表示我处于离线状态。网络小程序有有线连接图标,但如果我打开小程序,它会显示无连接,鼠标悬停在标签上会显示我已断开连接。
安装 kdenetwork 后,我可以看到无线连接,但看不到有线连接。
这是我的ifconfig eth0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.87 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::dea6:32ff:fe27:38a6 prefixlen 64 scopeid 0x20<link>
inet6 2001:b07:ae5:db90:dea6:32ff:fe27:38a6 prefixlen 64 scopeid 0x0<global>
ether dc:a6:32:27:38:a6 txqueuelen 1000 (Ethernet)
RX packets 306938 bytes 97042582 (97.0 MB)
RX errors 0 dropped 1171 overruns 0 frame 0
TX packets 485041 bytes 661433930 (661.4 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
我ethtool eth0
收到
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Cannot get wake-on-lan settings: Operation not permitted
Current messsudo age level: 0x00000007 (7)
drv probe link
Link detected: yes
也许我遗漏了什么?
答案1
您是否发行了 Rpi 官方版本?您是否尝试过 wlan 连接?如果是,结果如何?您是否在使用 eth0 时打开了 wlan?尝试断开 wlan,这可能会产生某种 IP 冲突