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

本文介绍了一种解决ifupdown配置导致网络配置错误的方法,推荐使用NetworkManager进行网络配置管理,并提供了具体的步骤来禁用ifupdown并启用NetworkManager。
Re: How to remove ifupdown(eth0)??

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 lo
iface 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).

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值