ubuntu 14.04 no valid active connections found

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了。
原文地址:https://www.cnblogs.com/alan666/p/8312481.html