Linux CentOS 6 解決 Device eth0 does not seem to be present

一.故障現象:node

[root@c1node01 ~]# service network restartvim

Shutting down loopback insterface:                                                       [   OK  ]centos

Bringing up loopback insterface:                                                            [   OK  ]oop

Bringing up interface eth0:  Device eth0 does not seem to be present,delaying initialization.                    [FAILED]ui

 

解決辦法:.net

[root@c1node01 ~]# rm -rf /etc/udev/rules.d/70-persistent-net.rulesrest

[root@c1node01 ~]# reboot ………………blog

[root@c1node01 ~]# service network restartip

Shutting down loopback insterface:                                                         [   OK   ]虛擬機

Bringing up loopback insterface:                                                              [   OK   ]

Bringing up interface eth0:                                                                     [   OK   ]

[root@c1node01 ~]#

 

二.另外一種方法

形成這樣的緣由,是由於在虛擬機(Vmware)中移動了Centos系統對應的文件,致使從新配置時,網卡的MAC地址變了,輸入ifconfig -a,找不到eth0

······

 

安裝完一個centos虛擬機,又拷貝一份,開機後網卡沒法正常啓動,報錯:Device eth0 does not seem to be present,

delaying initialization

 

解決:# mv /etc/sysconfig/network-scripts/ifcfg-eth0

sysconfig/network-scripts/ifcfg-eth1

 

vim

sysconfig/network-scripts/ifcfg-eth1

修改DEVICE="eth0"

爲DEVICE="eth1"

可刪掉uuid、物理地址

而後重啓啓動網卡嘗試下

 

原文地址:https://blog.csdn.net/xiaobei4929/article/details/40515247

相關文章
相關標籤/搜索