ubuntu 虚拟机突然无网络解决方法

sudo service network-manager stop
sudo rm /var/lib/NetworkManager/NetworkManager.state
sudo service network-manager start
sudo gedit /etc/NetworkManager/NetworkManager.conf
把false改成true
sudo service network-manager restart

posted @ 2022-01-21 12:02  dongzhaosheng73  阅读(80)  评论(0编辑  收藏  举报