我在一台新 PC 上安装了 Ubuntu 20.04,最初通过安装 Realtek 驱动程序设法使 RTL8125 NIC 驱动程序正常工作。但是,更新后它停止工作,我无法让它再次工作。
sudo lshw -C network 的输出是:
*-网络无人认领
description: Ethernet controller
product: RTL8125 2.5GbE Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:06:00.0
version: 05
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list
configuration: latency=0
resources: ioport:f000(size=256) memory:fcd00000-fcd0ffff memory:fcd10000-fcd13fff
的输出lspci -knn | grep Eth -A3
是:
06:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05)
DeviceName: RTL8111E Giga LAN
Subsystem: Gigabyte Technology Co., Ltd RTL8125 2.5GbE Controller [1458:e000]
Kernel modules: r8169
并按照自述文件中的说明进行操作。但是,当我运行命令时sudo ./autorun.sh
,出现错误:
Check old driver and unload it.
Build the module and install
make[3]: *** No rule to make target 'information'. Stop.
make[2]: *** [Makefile:340: __build_one_by_one] Error 2
make[1]: *** [Makefile:167: clean] Error 2
make: *** [Makefile:48: clean] Error 2
我对 Linux 还很陌生,所以我不明白这个错误是什么意思,所以任何帮助都将不胜感激