带有板载 Realtek 卡的 Linux 3.18.8 上缺少 Eth0

带有板载 Realtek 卡的 Linux 3.18.8 上缺少 Eth0

在装有 Linux Mint Cinnamon 64 和内核 3.18.8 的笔记本电脑上,以太网完全消失了。我从他们的网站安装了 realtek 驱动程序,但这并不能解决问题。

ifconfig -a仅列出lowlan0而不是控制器eth0或类似的东西。

sudo lspci -v显示没有使用内核模块:

04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
Subsystem: Lenovo Device 5028
Flags: bus master, fast devsel, latency 0, IRQ 7
I/O ports at 3000 [size=256]
Memory at f1d04000 (64-bit, non-prefetchable) [size=4K]
Memory at f1d00000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number {removed for post}
Capabilities: [170] Latency Tolerance Reporting
Capabilities: [178] L1 PM Substates

最后sudo lshw -numeric -C network给我:

 *-network UNCLAIMED     
   description: Ethernet controller
   product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10EC:8168]
   vendor: Realtek Semiconductor Co., Ltd. [10EC]
   physical id: 0
   bus info: pci@0000:04:00.0
   version: 10
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress msix vpd bus_master cap_list
   configuration: latency=0
   resources: ioport:3000(size=256) memory:f1d04000-f1d04fff memory:f1d00000-f1d03fff

答案1

安装以太网卡的 Debian 包可以解决该问题。http://ftp.de.debian.org/debian/pool/main/r/r8168/

话虽如此,应该没有必要安装 Debian 软件包,因为内核应该已经提供了以太网卡。但是没有它就无法工作。安装内核 4.0 后,我又遇到了同样的问题。

相关内容