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]

二,解决办法

首先,打开/etc/udev/rules.d/70-persistent-net.rules内容如下面例子所示:

# vi /etc/udev/rules.d/70-persistent-net.rules

# This file was automatically generated by the /lib/udev/write_net_rules

# program, run by the persistent-net-generator.rules rules file.

#

# You can modify it, as long as you keep each rule on a single

# line, and change only the value of the NAME= key.

# PCI device 0x1022:0x2000 (pcnet32)

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:8f:89:9

7", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x1022:0x2000 (pcnet32)

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:50:bd:1

7", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

记录下,eth1网卡的mac地址00:0c:29:50:bd:17

接下来,打开/etc/sysconfig/network-scripts/ifcfg-eth0

# vi /etc/sysconfig/network-scripts/ifcfg-eth0

将 DEVICE="eth0"  改成  DEVICE="eth1"  ,

将 HWADDR="00:0c:29:8f:89:97" 改成上面的mac地址  HWADDR="00:0c:29:50:bd:17"

最后,重启网络

# service network restart

或者

# /etc/init.d/network restart

正常了。

2;

删除/etc/udev/rules.d/70-persistent-net.rules文件,重启系统。

3;

如果上面的不起作用

(1), ifconfig 查看HWADDR的值

(2), /etc/sysconfig/network-script/ifcfg-eth1中修改ifconfig中查出的HWADDR值;

本文出自 “好好活着” 博客,请务必保留此出处http://wolfword.blog.51cto.com/4892126/1304000

查看本栏目更多精彩内容:http://www.bianceng.cnhttp://www.bianceng.cn/OS/Linux/

时间: 2024-08-03 13:47:32

CentOS Linux解决Device eth0 does not seem to be present的相关文章

Linux解决Device eth0 does not seem to be present

  CentOS Linux解决Device eth0 does not seem to be present 在VMware里克隆出来的CentOS Linux.. ifconfig...没有看到eth0..然后重启网卡又报下面错误. 故障现象: 解决办法: 首先,打开/etc/udev/rules.d/70-persistent-net.rules内容如下面例子所示: # vi /etc/udev/rules.d/70-persistent-net.rules # This file was

centos网卡错误Device eth0 does not seem to be present

在使用vmware及VirtualBox迁移linux系统过程中,发现部署后的linux系统无法启动网卡 报错为 Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization 错误原因,是因为linux网卡绑定了原mac地址导致   解决方法为 1.使用ifcnfig -a 查看当前主机mac地址 2.修改eth0网卡硬件地址为当前地址 vi /etc/sysconfig/n

Linux出现"Device eth0 does not seem to be present"问题解决办法

这个问题的出现是继"Linode通过克隆平移服务器系统和数据以及保留IP地址"在迁移机房数据的时候出现的,以前我也有记得玩过迁移数据到不同的机房,也没有出现这样的问题.这次在迁移完毕之后IP地址PING不同,而且也链接不上SSH,开始我以为是数据迁移不完整导致的,后来一想数据不完整与IP不通是没有关系的,肯定是MAC地址配置问题导致的.   还好Linode VPS服务器有"Lish via Browser"功能,可以通过WEB模式登入进入,查看是不是有错误.  

CentOS中Device eth0 does not seem to be present错误解决办法

直接复制了Oracle VM VirtualBox的镜像文件vdi 可以直接创建新的系统镜像真是方便,不过遇到了 Device eth0 does not seem to be present 的问题,在网上找到遇到同样问题的解决方法, 很顺利的解决,记录之: ifconfig-没有看到eth0..然后重启网卡又报下面错误. 故障现象: service network restart Shutting down loopback insterface: [ OK ] Bringing up lo

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,delay

Linux 克隆虚拟机引起的“Device eth0 does not seem to be present, delaying initialization”

虚拟机Vmware上克隆了一个Red Hat Enterprise Linx启动时发现找不到网卡,如下所示,如果你在命令窗口启动网络服务就会遇到"Device eth0 does not seem to be present, delaying initialization"错误 关于这个错误,搜索了一下网上的资料,发现还蛮多人遇到过这类错误,了解了一下错误产生的原因和解决方案   错误原因:         克隆的Linux系统在新的机器上运行,新服务器网卡物理地址已经改变.而/et

Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization

执行 service network restart  出现了网卡无法启动,说找到不到 Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization 解决办法: 1> 修改/etc/udev/rules.d/70-persistent-net.rules文件,删除或注释掉第一个网卡记录,并将第二个的NAME="eth1"改为NAME="eth0&q

Device eth0 does not seem to be present, delaying initialization(vmware 拷贝引起)

VC改动之后不能ping网卡,需要修改 ifcfg-eth0中MAC地址注释掉 把新的eth1 的地址写上去 重新安装或者克隆虚拟机适用: 1.将/etc/udev/rules.d/70-persistent-net.rules 改名字,重启虚拟机. 此时机器自己重新生成/etc/udev/rules.d/70-persistent-net.rules 文件,内容如下:  # This file was automatically generated by the /lib/udev/write

在Hyper-V下安装CentOS Linux系统的网卡驱动

  解决办法是安装微软提供的:Linux Integration Services Version v3.2 for Hyper-V工具(下载地址):下载下来之后是一个iso文档,挂着在linux的虚拟光驱下执行安装命令: 1. 下载微软虚拟机Linux集成服务包 Linux Integration Services v3.2 http://www.microsoft.com/zh-cn/download/details.aspx?id=28188 2. 加载光盘镜像 [媒体]-[DVD驱动器]