网络连接图标打红叉(device is unmanaged)

Fedora10安装的好几个机器都是网络设置图标打叉,还以为是BUG,上次给一朋友直接在网上复制了个网络接口配置文件就好了,当时也没仔细对比文件差异。上次我的Ubuntu升级软件、安装UbuntuStudio后也出现这个问题,但网络连接没有任何问题也就没关。今天突然发现有下面这个解决方法。

当然其他问题也可能导致图标打红叉,如没有网卡驱动、没有激活网络、没有配置等,上面是没有设置网络管理选项带来的问题。

Ubuntu网络连接图标打红叉,但通过命令行可以配置网络。将下面文件的managed值由false改为true,重启即可!

sudo vim /etc/NetworkManager/nm-system-settings.conf
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=true

Fedora10网络连接图标打红叉,但通过命令行可以配置网络。修改网络连接文件,添加 NM_CONTROLLED=yes,重启网络即可。

sudo vim /etc/sysconfig/network-scripts/ifcfg-eth0
..
NM_CONTROLLED=yes

One thought on “网络连接图标打红叉(device is unmanaged)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.