我是 Linux 新手,使用 USB 在新 PC 上运行 Ubuntu 18.04 LTS。一切都很顺利,直到我检查到以太网电缆不工作。PC 没有 wifi 适配器,所以我无法使用 WIFI。我尝试了以下说明:
- https://unixblogger.com/how-to-get-your-realtek-rtl8111rtl8168-working-updated-guide/
- https://medium.com/@lgobinath/no-ethernet-connection-in-ubuntu-16-04-linux-mint-18-with-realtek-rtl8111-8168-8411-7ae2779dc9b8
并尝试从英特尔网站重新下载驱动程序,但没有成功。
以下是一些可能有用的信息:
lsmod | grep e1000
e1000e 245760 0
dmesg | grep e1000e
[ 1.438380] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[ 1.438380] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 1.438542] e1000e 0000:00:1f.6: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[ 1.692252] e1000e 0000:00:1f.6 0000:00:1f.6 (uninitialized): registered PHC clock
[ 1.763417] e1000e 0000:00:1f.6 eth0: (PCI Express:2.5GT/s:Width x1) 04:**:f5:**:28:65
[ 1.763418] e1000e 0000:00:1f.6 eth0: Intel(R) PRO/1000 Network Connection
[ 1.763513] e1000e 0000:00:1f.6 eth0: MAC: 13, PHY: 12, PBA No: FFFFFF-0FF
[ 1.775740] e1000e 0000:00:1f.6 eno1: renamed from eth0
[ 11.825988] e1000e: eno1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
ifconfig
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::b41b:eaba:945d:2f19 prefixlen 64 scopeid 0x20<link>
ether 04:d9:f5:87:28:65 txqueuelen 1000 (Ethernet)
RX packets 243300 bytes 19951408 (19.9 MB)
RX errors 0 dropped 149 overruns 0 frame 0
TX packets 610 bytes 398215 (398.2 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 16 memory 0xa4300000-a4320000
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 3497 bytes 305581 (305.5 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3497 bytes 305581 (305.5 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ip route
*no results*
我目前正在使用 USB 以太网,并且运行良好(为了清楚起见,删除了该接口的详细信息)。