When I just executed service network restart in my CentOS6 system, I was prompted:
弹出界面 eth0: 设备 似乎不存在, 初始化操作将被延迟。 [失败] |
It's a magical thing to do. Then manually edit the NIC configuration file/etc/sysconfig/network-scripts/ifcfg-eth0, according to their own forgotten to make a set, and then execute the service network restart, unexpectedly pop up a:
弹出界面 eth0: 错误:没有找到合适的设备:没有找到可用于连接 ‘eth0‘ 的设备。 |
It was later discovered that the network service in the REDHAT6/CENTOS6 system had been taken over by a service called NetworkManager. When I shut down the network service and turned on the NetworkManager service, I found that the system could go online again!
[[email protected] ~]# service network stop
关闭环回接口: [确定]
[[email protected] ~]# service NetworkManager restart
停止 NetworkManager 守护进程: [失败]
设置网络参数... [确定]
正在启动 NetworkManager 守护进程: [确定]
|
Baidu, the culprit is the GNOME desktop in the "Network Connection" window. This window calls the NetworkManager service to manage the network, causing the networking service to start abnormally. So, if you have manually changed the network information in the graphical interface, then stop the networking service.
[[email protected] ~]# service network stop
[[email protected] ~]# chkconfig --level 2345 network off
[[email protected] ~]# service NetworkManager restart
停止 NetworkManager 守护进程: [失败]
设置网络参数... [确定]
正在启动 NetworkManager 守护进程: [确定]
|
Reference article:
Linux NetworkManager Service _himrpei-chinaunix Blog
linux--solve the "pop-up interface eth0: Device does not seem to exist" problem in the REDHAT6/CENTOS6 system