zoukankan      html  css  js  c++  java
  • 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,作了部分修改。

    故障现象:
    [root@host2~]# 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] 
    解决办法
    1.修改Centos虚拟机克隆机的HWADDR为ifconfig -a的MAC地址 
    如:HWADDR="00:0C:29:90:A7:23" 
    2.然后再做以下操作 
    [root@host2~]# rm -rf /etc/udev/rules.d/70-persistent-net.rules 
    [root@host2~]# reboot 
    ……………… 
    [root@host2~]# service network restart 
    Shutting down loopback insterface:                                                                                                        [   OK   ] 
    Bringing up loopback insterface:                                                                                                             [   OK   ] 
    Bringing up interface eth0:                                                                                                                     [   OK   ] 

    -------------------------

    [root@host2 ~]# ifconfig
    eth0 Link encap:Ethernet HWaddr 00:0C:29:D1:A0:D2
    inet addr:192.168.203.132 Bcast:192.168.203.255 Mask:255.255.255.0
    inet6 addr: fe80::20c:29ff:fed1:a0d2/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:103 errors:0 dropped:0 overruns:0 frame:0
    TX packets:115 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:18904 (18.4 KiB) TX bytes:38794 (37.8 KiB)

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:8 errors:0 dropped:0 overruns:0 frame:0
    TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:480 (480.0 b) TX bytes:480 (480.0 b)

  • 相关阅读:
    另一种阶乘问题
    韩信点兵
    java字符串大小写转换
    实现对字符串数组{"Allen","Smith","James","Martin","Ford"} 求得包含字母a的所有的名字
    将一维数组中的0去掉,不为0的项存入一个新的数组中
    hibernate -- HQL语句总结
    oracle intersect 取交集
    Spring中applicationContext.xml的bean里的id和name属性区别
    spring 源码分析
    python爬虫
  • 原文地址:https://www.cnblogs.com/zejin2008/p/4714767.html
Copyright © 2011-2022 走看看