Get the App
SLTechnology News&Howtos  ›  Servers  › 

Installation steps of linux Network Card driver

Shulou Source: shulou.com Published: 2022-06-03 06:05:43 10月04日 Update

1. Check the model of the network card

Lspci | grep-I ethernet

2. Download the network card driver, pay attention to 32-bit and 64-bit

3, after downloading, copy to the computer that installs centos through U disk, and you can only use U disk to move hard disk, because there is no network connection.

4. Check the dependent environment

Rpm-qa | grep kernel

5. Unpack the installation package

Tar-zxf e1000e-3.4.0.2.tar.gz

6. Switch to the root user's unzipped driver folder, which contains a src directory.

Under the src directory, execute the following:

Make # # compile driver source code make install # # install the corresponding driver program

If there is no error, enter the directory / lib/modules/3.10.0-693.el7.x86_64/updates/drivers/net/ethernet/intel/e1000e

Copy the e1000e.ko file to the directory / lib/modules/3.10.0-693.el7.x86_64/updates/drivers/net

Cp e1000e.ko / lib/modules/3.10.0-693.el7.x86_64/updates/drivers/net

7. Load the driver

Depmod-a

8, test the driver, if you report it correctly, it will be correct.

Modprobe e1000e

Check to see if it has been loaded:

Lsmod

9. Restart network services

Service network restart

These are the details of how to install the network card driver in the linux system. Please pay more attention to other related articles!

Tags: Drivers directories programs network cards files drivers drivers network card drivers download networks content card drivers models namely tools copies folders articles more source code environment Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Xiaomi Microsoft MariaDB vpn