Home >Operation and Maintenance >CentOS >How to solve the problem that centos7 does not recognize the network card driver

How to solve the problem that centos7 does not recognize the network card driver

WJ
WJOriginal
2020-06-03 15:40:375709browse

How to solve the problem that centos7 does not recognize the network card driver

How to solve the problem that centos7 does not recognize the network card driver?

1. Get the real mac of the new network card

 #ip addr

2. Copy eth0 to eth1 and modify the configuration file

#cd /etc/sysconfig/network-scripts
#cp ifcfg-eth0 ifcfg-eth1
#vim ifcfg-eth1   
要修改的内容有:
HWADD    通过ip addr获取
UUID     我没有查到UUID,可以注释掉
NAME     改为当前的网卡名eth1
DEVICE     改为当前的网卡名eth1
IPADDR,GATEWAY等
    保存退出

3. Restart the network card. You can see that

#systemctl restart network
     #ifconfig

has been obtained. Related reference: centOS tutorial

The above is the detailed content of How to solve the problem that centos7 does not recognize the network card driver. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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