虚拟机克隆出来的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

正常了。

转载于:https://www.cnblogs.com/whoamme/p/3998104.html

CentOS Linux解决Device eth0 does not seem to be present【转】相关推荐

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

    在VMware里克隆出来的CentOS Linux.. ifconfig...没有看到eth0..然后重启网卡又报下面错误. 故障现象: service network restart Shuttin ...

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

    http://www.linuxidc.com/Linux/2012-12/76248.htm 此标题已经是有人写过的了.但是为什么拿来重写? 我复制完,没有发现有eth1这个网卡 为什么呢?需要选中 ...

  3. 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 initi ...

  4. CentOS Linux解决Device eth0 does not seem to be present及设置固定ip

    使用vmware克隆出的虚拟机,在重启网卡( service network restart)的时候出现报错:"Bring up interface eth0:Device eth0 doe ...

  5. “Device eth0 does not seem to be present”解决办法

    VirtualBox迁移CentOS虚拟机后配置网卡时,出现如下问题: [root@localhost Desktop]# service network restart Shutting down ...

  6. Linux 克隆虚拟机引起的“Device eth0 does not seem to be present, delaying initialization”(亲测重要)

    虚拟机Vmware上克隆了一个Red Hat Enterprise Linx启动时发现找不到网卡,如下所示,如果你在命令窗口启动网络服务就会遇到"Device eth0 does not s ...

  7. Device eth0 does not seem to be present,delaying initialization的解决办法

    最近由于重装了操作系统导致之前配置好的集群出现了问题,需要修正一下,在刚开始为NameNode配置网络设置的时候,已经按照网上的相关步骤配置好了ifcfg-eth0文件中的内容,但在ifconfig时 ...

  8. CentOS虚拟机 Device eth0 does not seem to be present

    问题描述:在<从零开始学Hadoop大数据分析>一书进行克隆服务器,按照操作更改完后,重启网络 # service network restart   回车后,出现这样的问题, Devic ...

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

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

最新文章

  1. sap 教学视频网址
  2. Order笔记-数据库创建
  3. 《精通Nginx》——2.3 使用include文件
  4. linux系统中cache清理/释放命令
  5. 与小熊、新宝不同的北鼎,仍不是小家电的出路
  6. python测试开发实战_《python测试开发实战》基于pytest基础部分实例1-Hello
  7. 【转】1.7异步编程:基于事件的异步编程模式(EAP)
  8. 车站广播系统采用计算机,公共广播系统
  9. 机器学习到底能替人干哪些工作?《科学》列出了8条评估标准
  10. dumpe2fs命令详解
  11. WINRAR 命令行语法[转载]
  12. win7旗舰版和纯净版系统哪个好
  13. 方差分析与正交试验设计(四)
  14. Python numpy函数:shape用法
  15. mysql 8.XXX zip版的安装使用
  16. leetcode 1359. Count All Valid Pickup and Delivery Options(有效的快递序列数目)
  17. 2022年知网研学“研究生科研素养提升”系列公益讲座题库答案分享一波
  18. Java开发短连接分享功能
  19. Manjaro 个人新装配置
  20. Android5.1永久隐藏工具栏定制

热门文章

  1. 新型智慧讲台的人工智能
  2. python ax.imshow_python – Matplotlib imshow / matshow在情节上显...
  3. 内连接和等值连接的区别
  4. 【java】java wait 原理 synchronized ReentrantLock 唤醒顺序
  5. 【Elasticsearch】搜索自己想要的东西与注释文本(字符串)插件
  6. 80-450-020-原理-索引-索引失效与优化
  7. 【Elasticsearch】如何使用minimum_should_match
  8. 【jvm】java jvm 参数调优 列表
  9. registry:NoSuchMethodError zookeeper.server.quorum.flexible.QuorumMaj
  10. 79-Spark Standalone架构设计要点分析