以太网连接无法识别

以太网连接无法识别

我使用以太网连接我的 PC,连接到路由器范围扩展器。该连接一直运行良好,但最近以太网连接已停止显示在网络列表中。以下是结果sudo lshw -C network

ajw@Beluga:~$ sudo lshw -C network
[sudo] password for ajw: 
  *-network                 
       description: Wireless interface
       product: RTL8821CE 802.11ac PCIe Wireless Network Adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:09:00.0
       logical name: wlp9s0
       version: 00
       serial: 90:e8:68:7b:3d:ad
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtw_8821ce driverversion=5.19.0-46-generic firmware=N/A ip=192.168.0.189 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:88 ioport:e000(size=256) memory:fcd00000-fcd0ffff
  *-network DISABLED
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:0a:00.0
       logical name: enp10s0
       version: 15
       serial: 58:11:22:b2:70:c3
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical
       configuration: broadcast=yes driver=r8169 driverversion=5.19.0-46-generic latency=0 link=no multicast=yes
       resources: irq:36 ioport:d000(size=256) memory:fcc04000-fcc04fff memory:fcc00000-fcc03fff

现在我注意到它说的*-network DISABLED是以太网接口。有什么关于如何启用它的想法吗?网上的其他解决方案对我来说不起作用。

结果sudo cat /var/lib/NetworkManager/NetworkManager.state

ajw@Beluga:~$ sudo cat /var/lib/NetworkManager/NetworkManager.state
[sudo] password for ajw: 
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true

请注意,我使用的是 Kubuntu 22.04.2。

相关内容