模板酷站

电脑版
提示:原网页已由神马搜索转码, 内容由www.mb5u.com提供.

Linux中“Networking Disabled”的解决方法(解决Ubuntu等系统无法上网)_Linux教程

编辑Tag赚U币

Linux中“Networking Disabled”如何解决?

在Terminal中输入如下命令:

view plaincopy to clipboardprint?
01.sudo vim /etc/network/interfaces 
sudo vim /etc/network/interfaces

打开后,将文本改写为:

view plaincopy to clipboardprint?
01.auto eth0  
02.iface eth0 inet dhcp 
auto eth0
iface eth0 inet dhcp

然后保存(vi或vim中的保存方法是按ESC键,然后wq,即保存不并退出),然后在Terminal输入如下命令

view plaincopy to clipboardprint?
01.sudo /etc/init.d/networking restart 

来源:网络搜集/所属分类:Linux教程/更新时间:2013-04-14
最新评论:

暂时还没人评论! 快来抢沙发啊!


匿名评论
相关Linux教程

服务器教程搜索