How to remove ifupdown(eth0)(怎样去除ifupdown)

来源:互联网 发布:电脑短信软件 编辑:程序博客网 时间:2024/04/25 15:08

NetworkManager is the best way for end-users to configure their network I think these problems are happening with people who configured their networks using the command line using some cut-and-paste fiddling with pppoeconf or stuff in /etc.

To have NetworkManager manage all interfaces without editing ifupdown/interfaces files, this should work.

Check /etc/network/interfaces.

Press alt+F2 and paste in:

Code:
gksudo gedit /etc/network/interfaces

Remove everything but  ******注意了,这里是除了下面两行,其余全部指出*****

Code:
auto loiface lo inet loopback

Then Check /etc/NetworkManager/nm-system-settings.conf
Press alt+F2 and paste in:

Code:
gksudo gedit /etc/NetworkManager/nm-system-settings.conf

set

Code:
 [ifupdown]managed=false

Restart computer or NetworkManager service.
From now on, only configure the network using the NetworkManager applet in the notification area (aka system tray).


原创粉丝点击