Cannot connect to the Internet after changing the network card in linux

The network cannot be connected after changing the network card. The possible problem is that the UUID of the network configuration is wrong.

1: Execute the command

 nmcli con show

2: execute command

vi /etc/sysconfig/network-scripts/ifcfg-ens33

3: After exiting, restart the network card to execute

systemctl restart network.

 

Guess you like

Origin blog.csdn.net/xintingandzhouyang/article/details/103640035