Home  >  Article  >  Operation and Maintenance  >  How to solve the problem that centos network card cannot be started?

How to solve the problem that centos network card cannot be started?

尚
Original
2020-03-23 17:08:595197browse

How to solve the problem that centos network card cannot be started?

Several solutions to the problem that the network card cannot be started:

Method 1:

If a graphical interface is installed and the NetworkManager service is not closed, it will also As a result, the network card service cannot be started. (Generally rare)

systemctl stop  NetworkManager.service       //关闭服务
systemctl disable NetworkManager.service     //停止开机自启

Method 2:

/etc/udev/rules.d/70-persistent-ipoib.rules The macs of eth0 and eth1 in this file conflict or conflict with others. There is a network card conflict, delete the file and restart the machine.

Method 3:

Add the mac address of eth0 to /etc/udev/rules.d/60-net.rules

SUBSYSTEM==" net", ACTION=="add", SYSFS{address}=="B0:d5:47:31:b5:45", IMPORT="/lib/udev/rename_device %k eth0"

Related Video tutorial recommendation: linux video tutorial

The above is the detailed content of How to solve the problem that centos network card cannot be started?. 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