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.rules

这个时候还不行,需要修改网络IP配置文件中IP地址及MAC地址和70-persistent-net.rulesMAC一致,修改设备名称,也要一致:


[[email protected] rules.d]# cat 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 0x8086:0x100f (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:3d:bd:b4", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
[[email protected] rules.d]# vi /etc/sysconfig/network-scripts/ifcfg-eth0

第三步:编辑MAC地址

[[email protected]linux ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0


DEVICE="eth1"
BOOTPROTO="static"
HWADDR="00:0c:29:3d:bd:b4"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Ethernet"
UUID="c3eedb2c-5894-4a7e-8f3e-8575667d44b3"
IPADDR=192.168.10.32
PREFIX=24
GATEWAY=192.168.10.2
DNS1=8.8.8.8

第四步:重启网卡

#service network restart

时间: 2024-10-13 21:24:36

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【转】

在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

通过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

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

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-

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系统在新的机器上运行,新服务器网卡物理地址已经改变.而/etc/udev/rul

Device eth0 does not seem to be present,delaying initialization解决方法

Bringing up interface eth0:  Device eth0 does not seem to be present, delaying initialization. 在linux下的虚拟机出现了这个问题,原因是要修改固定ip,作了部分修改. 故障现象:[[email protected]~]# service network restart Shutting down loopback insterface: