1.sudo service network-manager stop
2.sudo rm /var/lib/NetworkManager/NetworkManager.state
3.sudo service network-manager start
—正常情况下,以上3个输入完成之后即可,重启后即可正常。
sudo gedit /etc/NetworkManager/NetworkManager.conf
managed=true
sudo service network-manager restart