Check old driver and unload it. Build the module and install make[2]: *** /lib/modules/5.4.73-1-pve/build: No such file or directory. Stop. make[1]: *** [Makefile:171: clean] Error 2 make: *** [Makefile:48: clean] Error 2
Check old driver and unload it. Build the module and install Warning: modules_install: missing 'System.map' file. Skipping depmod. DEPMOD 5.4.73-1-pve load module r8125 Updating initramfs. Please wait. update-initramfs: Generating /boot/initrd.img-5.4.73-1-pve Running hook script 'zz-pve-efiboot'.. Re-executing '/etc/kernel/postinst.d/zz-pve-efiboot'in new private mount namespace.. No /etc/kernel/pve-efiboot-uuids found, skipping ESP sync. Completed.
重新配置网络
再次查看发现网卡 enp42s0 已经正确识别了。
1 2 3 4 5 6 7 8 9 10 11
ip link show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: wlo1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether 3c:9c:0f:8e:93:42 brd ff:ff:ff:ff:ff:ff 4: enx00e04c534458: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP mode DEFAULT group default qlen 1000 link/ether 00:e0:4c:53:44:58 brd ff:ff:ff:ff:ff:ff 5: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000 link/ether 00:e0:4c:53:44:58 brd ff:ff:ff:ff:ff:ff 6: enp42s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether 2c:f0:5d:ac:66:36 brd ff:ff:ff:ff:ff:ff