Ubuntu 虚拟机 移动后连接不上网络

Ubuntu 虚拟机 移动后连接不上网络

sudo service network-manager stop
sudo rm /var/lib/NetworkManager/NetworkManager.state 
sudo service network-manager start

再次输入ifconfig ,之前的静态IP重新出现了
修改NetworkManager.conf文件,然后重启网络

sudo nano /etc/NetworkManager/NetworkManager.conf
[main]
NetworkingEnabled=false
WirelessEnabled=true
WWANEnabled=true
# 故障  

评论

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×