目录
1. 先查看网卡型号
2. 下载适合系统的rpm内核
3. 安装 rpm 包
4. 重启
-
先查看网卡型号
[root@localhost ~]# lspci | grep -i ethernet 06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 04)
-
下载适合系统的rpm内核
kmod-r8125-9.007.01-1.el7_9.elrepo.x86_64.rpm.html
wget https://mirror.rackspace.com/elrepo/elrepo/el7/x86_64/RPMS/kmod-r8125-9.007.01-1.el7_9.elrepo.x86_64.rpm
-
安装 rpm 包
rpm -Uvh kmod-r8125-9.007.01-1.el7_9.elrepo.x86_64.rpm
-
重启
reboot
此文为省事 应该使用u盘挂载