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"

将目录/etc/sysconfig/network-scripts/  的文件ifcfg-eth0   重命名为ifcfg-eth1

最后,重启网络

# service network restart
或者

# /etc/init.d/network restart

正常了。

时间: 2024-08-03 15:16:17

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

CentOS Linux解决Device eth0 does not seem to be present

在VMware里克隆出来的CentOS Linux.. ifconfig...没有看到eth0..然后重启网卡又报下面错误. 故障现象: service network restartShutting down loopback insterface:                                                                                                     [  OK  ]Bringing up loo

CentOS Linux解决Device eth0 does not seem to be present 但是没有发现eth1

http://www.linuxidc.com/Linux/2012-12/76248.htm 此标题已经是有人写过的了.但是为什么拿来重写? 我复制完,没有发现有eth1这个网卡 为什么呢?需要选中 重新初始化所有网卡的MAC地址 后来我又尝试了另一种方法 vi /etc/udev/rules.d/70-persistent-net.rules   删除原eth0,      然后把eth1改成eth0 vi /etc/sysconfig/network-scripts/ifcfg-eth0

CentOS Linux解决 Device eth0 does not seem to be present

通过OVF部署Linux主机后提示 ringing up interface eth0:  Device eth0 does not seem to be present,delaying initialization. 解决办法: 首先,打开/etc/udev/rules.d/70-persistent-net.rules内容如下面例子所示: # vi /etc/udev/rules.d/70-persistent-net.rules# This file was automatically

Linux解决Device eth0 does not seem to be present

克隆的系统,重启网卡时,报错! 克隆的系统,首先它的物理地址是一样的,所以要先生成一个物理地址. 第一步删除/etc/udev/rules.d/70-persistent-net.rules文件 #rm -rf /etc/udev/rules.d/70-persistent-net.rules 第二步:重启系统 #reboot 生成物理地址保存在哪里呢?在这里: [[email protected] ~]# cat /etc/udev/rules.d/70-persistent-net.rule

5.Linux解决Device eth0 does not seem to be present

Linux操作系统排除故障 导入vixualbox的虚拟机voa文件到另外一台电脑,需要检查如下信息 修改虚拟机软件网络设置 重启Linux操作系统 shutdown -h now reboot service network restart 检查网络是否正常 ping www.baidu.com 原文地址:https://www.cnblogs.com/likevin/p/10217494.html

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

今天克隆的虚拟机,当需要多台虚拟机的时候,试用克隆真是方便,不过遇到了 Device eth0 does not seem to be present 的问题,在网上找到遇到同样问题的解决方法, 很顺利的解决,记录之: ifconfig…没有看到eth0..然后重启网卡又报下面错误. 故障现象: service network restart Shutting down loopback insterface: [ OK ] Bringing up loopback insterface: [

centos6 网卡问题 Device eth0 does not seem to be present

virtualbox 重装后,添加原来安装好到centos系统,不能联网问题 service network restart centos linux 出现Device eth0 does not seem to be present 1.用命令ip l发现 eth1 无eth0网卡 得到eth1的mac地址(也可以通过该文件查地址/etc/udev/rules.d/70-persistent-net.rules) 2.查/etc/sysconfig/network-scripts/ifcfg-

CentOS Linux解决网卡报错Bringing up interface eth0.....

问题描述:在VMware里克隆出来的CentOS Linux,开机执行命令:ifconfig...没有看到eth0网卡.然后重启网卡又报以下错误:Bringing up interface eth0:  Device eth0 does not seem to be present,delaying initialization.                    [FAILED] 解决办法:首先,打开/etc/udev/rules.d/70-persistent-net.rules内容如下

VMware CentOS Device eth0 does not seem to be present

在VMware里克隆出来的CentOS Linux.. ifconfig...没有看到eth0..然后重启网卡又报下面错误. 故障现象: service network restartShutting down loopback insterface:                                                                                                     [  OK  ]Bringing up loo