[i=s] 本帖最后由 onepiece11 于 2024-12-10 08:57 编辑 [/i]<br />
<br />
Device Series |
Driver Name |
Intel Adapter Virtual Functions |
iavf |
Intel Ethernet 800 Series |
ice |
Intel Ethernet 700 Series |
i40e |
Intel Ethernet 500 Series |
ixgbe |
Intel Ethernet 300 Series |
igb |
先找到网卡系列对应的驱动名,然后按下面步骤安装
具体型号可以参考
https://www.intel.com/content/www/us/en/support/articles/000055236/ethernet-products/gigabit-ethernet-controllers-up-to-2-5gbe.html
-
将基本驱动程序的 tar 文件移往您选择的目录。例如,使用 '/home/username/ixgbe' 或 '/usr/local/src/ixgbe'。
-
解压缩该档案文件,其中 <x.x.x> 是驱动程序压缩文件的版本号:
tar zxf ixgbe-<x.x.x>.tar.gz
-
切换到驱动程序 src 目录下,其中 <x.x.x> 是驱动程序压缩文件的版本号:
cd ixgbe-<x.x.x>/src/
-
编译驱动程序模块:
make install
二进制文件将安装为:
/lib/modules/<内核版本>/kernel/drivers/net/ixgbe.o
以上列出的安装位置为默认位置。它们对某些 Linux 发布来说不一定正确。
-
安装模块:
modprobe ixgbe <parameter>=<value>
-
用下列命令指派 IP 地址至接口卡,其中,<x> 是接口卡号:
ifconfig eth<x> <IP_address>
-
验证接口卡正常工作。输入以下命令。其中,<IP_address>是与被测接口卡位于同一子网的另一台计算机的 IP 地址:
ping <IP_address>
提示找不到headers 的话可以下载飞牛的内核文件
https://download.liveupdate.fnnas.com/x86_64/kernel/6.6.38-trim-34.deb
dpkg解压出来, 将里面的/usr/src/xxxxxheaders 目录复制到自己的系统对应的目录。 |