How to install network card driver in linux system

王林
Release: 2020-01-15 10:25:10
Original
29822 people have browsed it

How to install network card driver in linux system

1. Check the network card model

lspci | grep -i ethernet
Copy after login

How to install network card driver in linux system

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

How to install network card driver in linux system

3. After downloading, copy it to the computer where centos is installed through a USB flash drive. You can only use tools such as USB flash drive and mobile hard disk because there is no Internet connection.

(Free video tutorial recommendation: linux video tutorial)

4. Check the dependent environment

rpm -qa | grep kernel
Copy after login

How to install network card driver in linux system

##5 , Unzip the installation package

tar -zxf  e1000e-3.4.0.2.tar.gz
Copy after login

6. Switch to the root user to enter the decompressed driver folder, and enter the src directory inside.

How to install network card driver in linux system

In the src directory, execute in sequence:

make             ## 编译驱动器源码
make install     ## 安装相应的驱动器程序
Copy after login

No error is reported, enter the directory /lib/modules/3.10.0-693.el7.x86_64/ Under 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
Copy after login

7. Load the driver

depmod -a
Copy after login

8. Test the driver. If no error is reported, the explanation is correct.

modprobe e1000e
Copy after login

Check whether it has been loaded:

lsmod
Copy after login

How to install network card driver in linux system

9. Restart the network service

service network restart
Copy after login

How to install network card driver in linux system

How to install network card driver in linux system

Recommended related articles and tutorials:

linux tutorial

The above is the detailed content of How to install network card driver in linux system. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!