Name or service not known causes and solutions

The problem that has been bothering me for a long time recently, so record it

  1. Confirm that there is no problem with the configuration

centos7下 /etc/sysconfig/network-scripts/ifcfg-ens32

  1. NAT mode connection

  1. All WMware services are enabled

Start: systemctl start NetworkManger

Shut down: systemctl stop NetworkManager

Boot up: systemctl enable NetworkManager

Check whether it is started at boot: systemctl is-enabled NetworkManager

Disable booting: systemctl disable NetworkManager

Because I followed the online tutorial to modify NetworkManger before, the NetworkManger service was closed. Use the systemctl start NetworkManger command and set it to start up.

Guess you like

Origin blog.csdn.net/qq_39128430/article/details/129126868