Linux网卡配置遇到的问题No valid active connections found解决办法
本帖最后由 pig2 于 2014-5-5 12:10 编辑问题导读:
Reconfiguring network interfaces... RTNETLINK answers: File exists提示该如何解决?
static/image/hrline/4.gif
强制加载网卡sudo /etc/init.d/networking force-reload
1.强制加载网卡的过程中出现了一下信息:
Running /etc/init.d/networking force-reload is deprecated because it may not enable again some interfaces
* Reconfiguring network interfaces... RTNETLINK answers: File exists
Failed to bring up eth0.
根据上文的意思应该是文件已经存在了,那么是什么文件已经存在了,/etc/network/interfaces,所以尝试删除了interfaces文件。但是报一下
http://www.aboutyun.com/data/attachment/forum/201405/05/115122q38qbubs3skq7r81.png
root@aboutyun:/etc/network# sudo /etc/init.d/networking force-reload
* Running /etc/init.d/networking force-reload is deprecated because it may not enable again some interfaces
* Reconfiguring network interfaces... ifdown: couldn't read interfaces file "/etc/network/interfaces"
ifup: couldn't read interfaces file "/etc/network/interfaces"
所以只好又创建了一个空文件。也就是说里面没有内容。
接着网络正常了,不在出现No valid active connections found
http://www.aboutyun.com/data/attachment/forum/201405/05/115354owdzd3pnyzp9zbnz.png
2.除了上面步骤还做了如下工作:
重新生成mac地址
http://www.aboutyun.com/data/attachment/forum/201405/05/115634mwquwp9utw9jw0bt.png
可能原因分析:
由于采用的是桌面版,我们通过界面设置的网卡信息,与在interfaces网卡信息发生冲突,所以导致系统发生紊乱。当配置文件被清空时,网络正常。
mark下, 学习了
页:
[1]