ubuntu 14.04 no valid active connections found

来源:互联网 发布:js正则表达式大全 编辑:程序博客网 时间:2024/06/05 08:13

ubuntu 14.04 强制重启后出现不能上网,点击connection information 

后出现error: no valid active connections found 



解决办法是在终端输入:

sudo gedit /etc/network/interfaces  



然后替换interfaces所有内容为: 

 # interfaces(5) file used by ifup(8) and ifdown(8) 

auto lo 

iface lo inet loopback  



然后重启,就能上网和设置网络ip了。
1 0