Home  >  Article  >  Operation and Maintenance  >  What should I do if CentOS does not display the network card?

What should I do if CentOS does not display the network card?

angryTom
angryTomOriginal
2020-03-20 16:50:456969browse

What should I do if CentOS does not display the network card?

What should I do if CentOS does not display the network card?

centos does not display the network card. You can add it manually. The specific method is as follows:

1 . Use the nmcli con command to view the UUID information of the network card and write down the UUID value

nmcli con

(Online video tutorial sharing: linux video tutorial)

What should I do if CentOS does not display the network card?

2. Use the ip addr command to view the network card information and remember the MAC address of eth5

ip addr

What should I do if CentOS does not display the network card?

##3. Place the /etc/sysconfig/network-scripts/ directory Copy the ifcfg-eth0 file and name it ifcfg-eth5.

cd /etc/sysconfig/network-scripts/2 cp ifcfg-eth0 ifcfg-eth5

What should I do if CentOS does not display the network card?

4. Modify the configuration file again and pay attention to modifying the necessary hardware information.

vi ifcfg-eth5

What should I do if CentOS does not display the network card?

5. Restart the network card.

service network restart

6. Check the IP again, it is already fine and it will not change in the future


ifconfig

What should I do if CentOS does not display the network card?

This article comes from the PHP Chinese website,

CentOS usage tutorial column, please pay attention to this column for more related tutorials!

The above is the detailed content of What should I do if CentOS does not display the network card?. 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