2020-04-17
Other virtual machines can be connected to the network, only this one can't connect to the network.
Check if the virtual machine network related services under win10 are enabled
Open this computer-management-service :
check if these services are enabled, if not selected, start this service.
Check if the virtual network configuration settings are correct
Check if the network configuration inside is correct. If you are unsure, you can click to restore the default settings .
Check whether the network connection in the upper right corner of the Ubuntu system in the virtual machine exists
If it does not exist, the network may not be connected (mine is the problem)
- Delete NetworkManager cache file
service NetworkManager stop
sudo rm /var/lib/NetworkManager/NetworkManager.state
service NetworkManager start
- Modify /etc/NetworkManager/NetworkManager.conf
sudo gedit /etc/NetworkManager/NetworkManager.conf
# 找到managed=false修改为:
managed=true
- Restart NetworkManager
sudo service network-manager restart
You can see the network icon in the upper right corner of the system.
Restart this virtual machine, then open the browser to see if you can go online