我在终端中运行了这些命令。
$ sudo netstat -rn
Kernel IP routing table
Destination
Gateway
Genmask
Flags
MSS Window
irtt
Iface
$ ping 192.168.1.1
ping: connect: Network is unreachable
$ sudo lshw -C Network
*-network UNCLAIMED
description: Ethernet controller
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci00000:03:00.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress nsix vpd cap_list
configuration: latency=0
resources: ioport:ce00(size=256) memory: fdfff000-fdffffff memory: fdff800e-fdffbfff memory: fd600000-fd61ffff
我从全新安装开始。我从硬盘驱动器中删除了分区,并使用 Ubuntu 22.04 live DVD 在该硬盘驱动器上重新安装 Linux。除非使用 USB 网络共享,否则我仍然无法上网。如何让系统识别我的板载以太网连接?以下是sudo ip a
david@david-linux:~$ sudo ip a
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
david@david-linux:~$ sudo lshw -C network
[sudo] password for david:
*-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:03:00.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd cap_list
configuration: latency=0
resources: ioport:ce00(size=256) memory:fdfff000-fdffffff memory:fdff8000-fdffbfff memory:fd600000-fd61ffff