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

angryTom
Release: 2020-03-20 16:50:45
Original
6954 people have browsed it

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
Copy after login

(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
Copy after login

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
Copy after login

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
Copy after login

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

5. Restart the network card.

service network restart
Copy after login

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


ifconfig
Copy after login

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!

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