共计 502 个字符,预计需要花费 2 分钟才能阅读完成。
首先要确定自己的网卡型号,可以通过以下三步实现:
下面以 Realtek 的网卡驱动为例进行说明
[user@elrepo]$ /sbin/lspci | grep -i Ethernet
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
[user@elrepo]$ /sbin/lspci -n | grep '04:00.0'
04:00.0 0200: 10ec:8168 (rev 01)
Searching for the vendor:device ID pairing of 10ec:8168 shows that kmod-r8168 should work with this Ethernet controller.
http://elrepo.org/tiki/DeviceIDs
http://elrepo.org/linux/elrepo/el5/i386/RPMS/(此处为 RPM 包的网卡模块 )