I have installed Ubuntu 20.04 on a new PC and originally managed to get the RTL8125 NIC driver working by installing the Realtek driver. However after an update it has stopped working and I am unable to get it working again.
The output of sudo lshw -C network is:
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
The output from
lspci -knn | grep Eth -A3 is:
06:00.0 Ethernet controller : 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
I have downloaded the driver from the realtek website at https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software
and followed the instructions in the README file.
However when I run the command
sudo ./autorun.sh I get the error:
Check old driver and unload it. Build the module and install make: *** No rule to make target 'information'. Stop. make: *** [Makefile:340: __build_one_by_one] Error 2 make: *** [Makefile:167: clean] Error 2 make: *** [Makefile:48: clean] Error 2
I am fairly new to Linux so I don't understand what this error means, so any help would be much appreciated