Linux network card driver installation

Compared with the Windows system, the ease of use of Linux is relatively poor. In order to solve the problem today, I installed the image from 3 years ago to the latest model machine with Regenerator, and found that the network card could not be up.

 

 The exception information is to the effect that the device eth0 of the e1000e model does not exist. Most of Baidu's abnormal information results are that the device name changes or the MAC does not match due to the migration of the virtual machine system, but according to experience, it should be a driver problem, that is, the current network card model is not e1000e.

The next first thing is to determine the network card model, which can be achieved by the following command.

[root@dimos log]# lspci -vvv

 There are many output information, among which the Ethernet controller information is about the network card.

 



 The part circled in red is the specific model of the network card.

From Baidu search keywords, you can navigate to Intel's official website, with download links and installation steps.

There is one more problem to solve before installation, which is file transfer. If the network card does not have a drive, it cannot FTP, but only a USB flash drive; most Linux systems are not plug-and-play, so you must first mount the partition through the mount command.

Insert the USB disk first, and then view the USB disk partition with the following command:

 

 Compare the partition changes before and after inserting the USB, confirm that /dev/sdb4 is the USB partition, and then mount the partition with the following command:

mkdir /mnt/usb
mount -t vfat /udev/sdb4

 After the mount is successful, you can check the capacity of the USB flash drive through df -h to confirm the mount is successful.

 

The next installation process is simple. The following is an excerpt from Intel's official website:

 

Move the base driver tar file to the directory of your choice. For example, use '/home/username/igb' or '/usr/local/src/igb'.

Untar/unzip the archive, where <x.x.x> is the version number for the driver tar file:

    tar zxf igb-<x.x.x>.tar.gz

Change to the driver src directory, where <x.x.x> is the version number for the driver tar:

    cd igb-<x.x.x>/src/

Compile the driver module:

    # make install

The binary will be installed as:

    /lib/modules/<KERNEL VERSION>/kernel/drivers/net/igb/igb.[k]o

The install location listed above is the default location. This may differ for various Linux distributions.

Load the module using either the insmod or modprobe command:

    modprobe igb

    insmod igb

 

 Reference address:

http://blog.chinaunix.net/uid-26729093-id-4257952.html

http://downloadmirror.intel.com/20927/eng/e1000.htm

https://downloadcenter.intel.com/download/13663

downloadmirror.intel.com/20927/eng/e1000.htm#igb_driver

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326163460&siteId=291194637