我刚刚在电脑上安装了 Ubuntu,但它拒绝连接以太网。我尝试安装新的驱动程序并更新内核,但无济于事。
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Device 8125 (rev 04)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7d18
Flags: fast devsel, IRQ 16
I/O ports at 3000 [size=256]
Memory at a3200000 (64-bit, non-prefetchable) [size=64K]
Memory at a3210000 (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=32 Masked-
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [148] Virtual Channel
Capabilities: [168] Device Serial Number 01-00-00-00-68-4c-e0-00
Capabilities: [178] Transaction Processing Hints
Capabilities: [204] Latency Tolerance Reporting
Capabilities: [20c] L1 PM Substates
Capabilities: [21c] Vendor Specific Information: ID=0002 Rev=4 Len=100 <?>
Kernel modules: r8169
ubuntu@ubuntu:~$ sudo lshw -C network
*-network UNCLAIMED
description: Ethernet controller
product: Realtek Semiconductor Co., Ltd.
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:03:00.0
version: 04
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd cap_list
configuration: latency=0
resources: ioport:3000(size=256) memory:a3200000-a320ffff memory:a3210000-a3213fff
*-network
description: Wireless interface
physical id: 2
bus info: usb@1:5
logical name: wlx984827e17428
serial: 98:48:27:e1:74:28
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=r8188eu ip=172.26.104.151 multicast=yes wireless=IEEE 802.11bgn```
答案1
内核版本 5.9 中添加了对 RTL8125B 的支持。因此请使用足够新的内核版本,或者如果没有选择,请使用 r8125 驱动程序包。