以太网连接“无人认领”

以太网连接“无人认领”

我已将以太网电缆插入 PC,但它未显示在网络设备 GUI 列表中。我已验证电缆插入其他设备时可以正常工作。以下是输出sudo lshw -C network

ajw@Beluga:~$ sudo lshw -C network
  *-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=6.2.0-35-generic firmware=N/A ip=192.168.0.121 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:89 ioport:e000(size=256) memory:fcd00000-fcd0ffff
  *-network UNCLAIMED
       description: Ethernet controller
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:0a:00.0
       version: 15
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list
       configuration: latency=0
       resources: ioport:d000(size=256) memory:fcc04000-fcc04fff memory:fcc00000-fcc03fff

如您所见,它显示“*-network UNCLAIMED”。那么我该如何“认领”它呢?

此外,以下是有帮助的 if 的输出ifconfig -a

ajw@Beluga:~$ ifconfig -a
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 6066  bytes 513650 (513.6 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6066  bytes 513650 (513.6 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lxcbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 10.0.3.1  netmask 255.255.255.0  broadcast 10.0.3.255
        ether 00:16:3e:00:00:00  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

wlp9s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1440
        inet 192.168.0.121  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 2607:fb91:21c:863b:706c:4d24:6191:2b9e  prefixlen 64  scopeid 0x0<global>
        inet6 2607:fb91:21c:863b:8375:f9dc:8e30:5bf1  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::3f0e:7eda:143f:7caf  prefixlen 64  scopeid 0x20<link>
        ether 90:e8:68:7b:3d:ad  txqueuelen 1000  (Ethernet)
        RX packets 64745  bytes 58027210 (58.0 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 49696  bytes 10214099 (10.2 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

答案1

如果您尚未配置以太网端口,则需要配置它。您不能只插入 LAN 设备/交换机的 RJ45 跳线,然后指望路由会自动配置,对吗?

在此处输入图片描述

似乎有一个分配的 IP 地址 (10.0.3.1)。但那可能甚至不是以太网端口。而且没有默认网关。10.0 子网不可路由,因此数据包不会去往 LAN 以外的任何地方。如果您查看网络设置应用程序中的各个文件夹,您可能会看到类似 DHCP 未打开的内容。我假设您没有分配 IP 地址。

pingarp你的朋友

相关内容