[root@localhost network-scripts]# vim ifcfg-eth0
[root@localhost network-scripts]# /etc/init.d/network restart
关闭环回接口:                                             [确定]
弹出环回接口:                                             [确定]
弹出界面 eth0: 错误:激活连接失败:Device not managed by NetworkManager
                                                           [失败]
[root@localhost network-scripts]# service NetworkManager restart
停止 NetworkManager 守护进程:                             [确定]
设置网络参数...                                            [确定]
正在启动 NetworkManager 守护进程:                         [确定]
[root@localhost network-scripts]# /etc/init.d/network restart
正在关闭接口 eth0: 设备状态:3 (断开连接)
                                                           [确定]
关闭环回接口:                                             [确定]
弹出环回接口:                                             [确定]
弹出界面 eth0: 活跃连接状态:激活的
活跃连接路径:/org/freedesktop/NetworkManager/ActiveConnection/1
                                                           [确定]