以太网设备消失

以太网设备消失

登录后不久,我的以太网端口从ip addr和其他网络命令的输出中消失。

以下是journalctl对此要说的内容:

okt 18 14:34:12 taket NetworkManager[1602]: <info>  [1697632452.6250] agent-manager: agent[0f88c78839afea0c,:1.102/org.freedesktop.nm-applet/1000]: agent registered
okt 18 14:34:40 taket NetworkManager[1602]: <info>  [1697632480.2391] policy: set 'Wired connection 1' (enx4865ee1f4184) as default for IPv4 routing and DNS
okt 18 14:37:04 taket NetworkManager[1602]: <info>  [1697632624.0299] device (enx4865ee1f4184): state change: activated -> unmanaged (reason 'removed', sys-iface-state: 'removed')
okt 18 14:37:04 taket NetworkManager[1602]: <info>  [1697632624.0535] dhcp4 (enx4865ee1f4184): canceled DHCP transaction
okt 18 14:37:04 taket NetworkManager[1602]: <info>  [1697632624.0536] dhcp4 (enx4865ee1f4184): activation: beginning transaction (timeout in 45 seconds)
okt 18 14:37:04 taket NetworkManager[1602]: <info>  [1697632624.0536] dhcp4 (enx4865ee1f4184): state changed no lease
okt 18 14:37:04 taket NetworkManager[1602]: <info>  [1697632624.0544] policy: set 'LumenRadio' (wlp0s20f3) as default for IPv4 routing and DNS
okt 18 14:37:04 taket NetworkManager[1602]: <warn>  [1697632624.0937] dns-sd-resolved[1a8f89cc3acda0cd]: send-updates SetLinkDomains@5 failed: GDBus.Error:org.freedesktop.resolve1.NoSuchLink: Link 5 not known

在文件中/run/NetworkManager/device/5(查看 5 因为它似乎是 eth0 短暂所在的索引,参见上文),我有以下内容:

[device]
managed=true

我已经运行了nm-applet很久,从来没有出现过问题。我尝试禁用它(而不是在启动时启动它),因为它在上面的日志中,然后重新启动,但没有帮助。

编辑:当我启动 Chrome 时以太网似乎消失了。

这是启动后的输出sudo lshw -C network,但在启动 Chrome 后消失(或登录后的某个随机时间):

  *-network
       description: Ethernet interface
       physical id: 11
       bus info: usb@2:3.2.4
       logical name: enx4865ee1f4184
       serial: 48:65:ee:1f:41:84
       size: 1Gbit/s
       capacity: 1Gbit/s
       capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8152 driverversion=v1.12.12 duplex=full firmware=rtl8153a-4 v2 02/07/20 ip=46.195.233.27 link=yes multicast=yes port=MII speed=1Gbit/s

为什么以太网设备似乎消失了?我想这(enx4865ee1f4184): state change: activated -> unmanaged (reason 'removed', sys-iface-state: 'removed')就是罪魁祸首,但我该如何进一步调查呢?

相关内容