ubuntu18找不到网络适配器,无法连接网络
1.打开终端,运行命令:
sudo service network-manager stop
sudo gedit /var/lib/NetworkManager/NetworkManager.state
2.更改打开的文件里的内容:
将 NetworkingEnabled=false 改为 NetworkingEnabled=true
3.保存退出后,在终端运行命令:
sudo service network-manager start