木头虫在家

  • 系统
  • 安全
  • 应用
  • 技术
木头虫在家
蜘蛛网
  1. 首页
  2. 系统
  3. 正文

Centos 配置eth0 提示Device does not seem to be present

2019年6月18日 228点热度 0人点赞 0条评论

虚拟机Vmware上克隆了一个Red Hat Enterprise Linx启动时发现找不到网卡,如下所示,如果你在命令窗口启动网络服务就会遇到”Device eth0 does not seem to be present, delaying initialization“错误

一.故障现象:

[root@blog.qmun.com ~]# 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]

解决办法:

[root@blog.qmun.com ~]# rm -rf /etc/udev/rules.d/70-persistent-net.rules

 

[root@blog.qmun.com ~]# reboot

 

[root@blog.qmun.com ~]# service network restart


Shutting down loopback insterface: [ OK ]
Bringing up loopback insterface: [ OK ]
Bringing up interface eth0: [ OK ]

#

二.另一种方法
造成这样的原因,是因为在虚拟机(Vmware)中移动了Centos系统对应的文件,导致重新配置时,网卡的MAC地址变了,输入ifconfig -a,找不到eth0
·······

安装完一个centos虚拟机,又拷贝一份,开机后网卡无法正常启动,报错:Device eth0 does not seem to be present,
delaying initialization

解决:

[root@blog.qmun.com ~]# mv /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth1

 

[root@blog.qmun.com ~]# vim sysconfig/network-scripts/ifcfg-eth1

 

修改DEVICE="eth0"
为DEVICE="eth1"

可删掉uuid、物理地址
然后重启启动网卡尝试下

 

Views: 34
标签: centos 虚拟机
最后更新:2019年6月18日

admin

这个人很懒,什么都没留下

点赞
下一篇 >

文章评论

您需要 登录 之后才可以评论

COPYRIGHT © 2023 blog.qmun.com. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

浙ICP备11036795号