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?
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)
2. Use the ip addr command to view the network card information and remember the MAC address of eth5
ip addr##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-eth54. Modify the configuration file again and pay attention to modifying the necessary hardware information.
vi ifcfg-eth55. Restart the network card.
service network restart6. Check the IP again, it is already fine and it will not change in the future
ifconfigThis 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!