zoukankan      html  css  js  c++  java
  • linux 常见问题

    一、克隆虚拟机之后ifconfig没有eth0网卡

      解决办法:  

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

    在linux下的虚拟机出现了这个问题,问题的产生是因为之间做过部分的修改,clone等操作。

    不就方案。

    CentOS Device does not seem to be present 
    故障现象:
    [root@c1node01 ~]# 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@c1node01 ~]# rm -rf /etc/udev/rules.d/70-persistent-net.rules 
    [root@c1node01 ~]# reboot 
    ……………… 
    [root@c1node01 ~]# service network restart 
    Shutting down loopback insterface:                                                                                                        [   OK   ] 
    Bringing up loopback insterface:                                                                                                             [   OK   ] 
    Bringing up interface eth0:                                                                                                                     [   OK   ] 
    [root@c1node01 ~]#

  • 相关阅读:
    Python初学者第十天 集合、十六进制
    Python初学者第九天 字符串、列表、字典练习
    Python初学者第八天 元组和字典
    Python初学者第七天 字符串及简单操作
    Python初学者第六天 列表操作练习
    Python初学者第五天 列表及简单操作
    Python初学者第四天 二进制运转换
    Python初学者第三天 运算符、while循环
    Python初学者第二天 用户输入和注释
    Python初学者第一天 Python安装及第一个Python程序
  • 原文地址:https://www.cnblogs.com/enzoluo-blog/p/8392534.html
Copyright © 2011-2022 走看看