日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

浪潮linux网卡驱动,浪潮NF5280M5安装redhat7.2下网卡驱动

發布時間:2025/4/5 linux 27 豆豆
生活随笔 收集整理的這篇文章主要介紹了 浪潮linux网卡驱动,浪潮NF5280M5安装redhat7.2下网卡驱动 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

驅動文檔如下:

Building and Installation

To build a binary RPM* package of this driver, run ‘rpmbuild -tb

i40e-.tar.gz’, where is the version number for the driver tar file.

NOTES:

For the build to work properly, the currently running kernel MUST match

the version and configuration of the installed kernel sources. If you have

just recompiled the kernel reboot the system before building.

RPM functionality has only been tested in Red Hat distributions.

Move the base driver tar file to the directory of your choice. For

example, use ‘/home/username/i40e’ or ‘/usr/local/src/i40e’.

Untar/unzip the archive, where is the version number for the

driver tar file:

tar zxf i40e-.tar.gz

Change to the driver src directory, where is the version number

for the driver tar:

cd i40e-/src/

Compile the driver module:

make install

The binary will be installed as:

/lib/modules//updates/drivers/net/ethernet/intel/i40e/i40e.ko

The install location listed above is the default location. This may differ

for various Linux distributions.

Load the module using the modprobe command:

modprobe [parameter=port1_value,port2_value]

Make sure that any older i40e drivers are removed from the kernel before

loading the new module:

rmmod i40e; modprobe i40e

Assign an IP address to the interface by entering the following,

where ethX is the interface name that was shown in dmesg after modprobe:

ip address add / dev ethX

Verify that the interface works. Enter the following, where IP_address

is the IP address for another machine on the same subnet as the interface

that is being tested:

ping

NOTE:

For certain distributions like (but not limited to) RedHat Enterprise

Linux 7 and Ubuntu, once the driver is installed the initrd/initramfs

file may need to be updated to prevent the OS loading old versions

of the i40e driver. The dracut utility may be used on RedHat

distributions:

# dracut –force

For Ubuntu:

# update-initramfs -u

具體操作主要如下:

[root@host ~]# unzip PHY_i40e-2.0.23.zip

[root@host ~]# cd PHY_i40e-2.0.23/src

[root@host ~]# make install

[root@host ~]# rmmod i40e

[root@host ~]# modprobe i40e

[root@host ~]# dracut –force

[root@host ~]# service network restart

rmmod i40e的作用是刪除系統中以前版本驅動,這一操作很關鍵。

對于浪潮NF5280M5服務器,建議安裝redhat7.4及以上版本。低版本可能出現網絡問題。

總結

以上是生活随笔為你收集整理的浪潮linux网卡驱动,浪潮NF5280M5安装redhat7.2下网卡驱动的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。