CentOS Linux解决Device eth0 does not seem to be present
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CentOS Linux解决Device eth0 does not seem to be present相关的知识,希望对你有一定的参考价值。
在VMware里克隆出来的CentOS Linux。。
ifconfig...没有看到eth0.。然后重启网卡又报下面错误。
故障现象:
service network restart
Shutting down loopback insterface: [ OK ]
Bringing up loopback insterface: [ OK ]
Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization. [FAILED]
解决办法:
1.删除网卡eth0和eth1中的UUID和mac地址
2.清空/etc/udev/rules.d/70-persistent-net.rules文件中的mac地址和UUID
[[email protected] ~]#>/etc/udev/rules.d/70-persistent-net.rules
[[email protected] ~]# echo ">/etc/udev/rules.d/70-persistent-net.rules">>/etc/rc.local
[[email protected] ~]#
清空完这个文件内容后,如果再次setup进入修改网卡地址,网卡的mac地址和UUID又会重新生成到/etc/udev/rules.d/70-persistent-net.rules中。因此如果需要编辑系统配置,最好进入配置文件修改,或者进入setup,修改完成后重复一清空二删除操作。
如果不清除模板机的mac地址和UUID,克隆完会出现上面问题,导致网卡启动不了。
最后,重启网络
# service network restart
或者
# /etc/init.d/network restart
正常了。
本文出自 “写个博客骗钱” 博客,请务必保留此出处http://dadonggg.blog.51cto.com/12672150/1952542
以上是关于CentOS Linux解决Device eth0 does not seem to be present的主要内容,如果未能解决你的问题,请参考以下文章
CentOS Linux解决Device eth0 does not seem to be present
CentOS Linux解决Device eth0 does not seem to be present
CentOS Linux解决Device eth0 does not seem to be present
CentOS Linux解决 Device eth0 does not seem to be present
VMware里克隆出来的CentOS Linux device eth0 does not seem to be present, delaying initialization
Linux Centos 6.5网络启动不起来Bringing up interface eth0: Error:Connection activation failed:Device not man