本站支持「有偿」远程协助!

Ubuntu 20.10 network icon disappeared after reboot and no internet access in Windows 10 VMware Workstation Pro

Today, i opened Ubuntu Desktop Virtual Machine in VMware Workstation. Strangely enough, the network icon disappeared. I had no access to the Internet.

Reproduce A Bug

Cannot load image on this device.
none.blue

Below screenshot has shown everything and I can’t find the network icon in the menu bar.

Open the Terminal

Cannot load image on this device.
none.blue

Right-click context menu on the desktop and then click open in terminal option:

Become Root User

Cannot load image on this device.
none.blue

To get root privileges, type sudo -i then enter your password. Your password won’t visible when you type for security reasons.

Modify NetworkManager Configuration

Cannot load image on this device.
none.blue

Set managed=false to managed=true in NetworkManager.conf

sed -i 's/managed=false/managed=true/g' /etc/NetworkManager/NetworkManager.conf

Delete Cache

Cannot load image on this device.
none.blue

Delete network state cache

rm /var/lib/NetworkManager/NetworkManager.state

Restart the NetworkManager service

Cannot load image on this device.
none.blue

After restart Network-manager, the network is restored. Everything returns to normal! 👏

systemctl restart network-manager.service
Loading ...
无广告!