After forced shutdown, Ubuntu has no network.
Situation
The desktop icon in the top right corner of Ubuntu disappeared, and the entire system has no network.
Switch to root.
Open the terminal.
sudo -i
Command
systemctl stop NetworkManager
sed -i 's/managed=false/managed=true/g' /etc/NetworkManager/NetworkManager.conf
rm /var/lib/NetworkManager/NetworkManager.state
systemctl start NetworkManagerResult
As expected, the internet should have been restored.
Reason
Did not shut down properly, or a bug in VMware.
Measure
Try to shut down normally, do not force shutdown or cut off power.
Video
How was it? Did this tutorial work? Yes No