Home >Operation and Maintenance >Linux Operation and Maintenance >How to install network card driver in linux system
1. Check the network card model
lspci | grep -i ethernet
2. Download the network card driver, pay attention to 32-bit and 64-bit
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
tar -zxf e1000e-3.4.0.2.tar.gz6. Switch to the root user to enter the decompressed driver folder, and enter the src directory inside.
make ## 编译驱动器源码 make install ## 安装相应的驱动器程序No error is reported, enter the directory /lib/modules/3.10.0-693.el7.x86_64/ Under updates/drivers/net/ethernet/intel/e1000eCopy 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/net7. Load the driver
depmod -a8. Test the driver. If no error is reported, the explanation is correct.
modprobe e1000eCheck whether it has been loaded:
lsmod
service network restart
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!