zoukankan      html  css  js  c++  java
  • 关于 no device found for connection ‘ System eth0′问题

    在Vmware上面安装CentOS,开机后,使用:service network restart时,会提示一下错误:

    Shutting down loopback interface:                          [  OK  ]
    Bringing up loopback interface:                            [  OK  ]
    Bringing up interface eth0:  Error: No suitable device found: no device found for connection ‘ System eth0′.[FAILED]

    用ifconfig eth0 up,提示一下错误信息:

    eth0: unknown interface: No such device   //千锋PHP-PHP培训的实力派

    解决方法:


    1、进入/etc/sysconfig/network-scripts/目录,查看ifcfg-eth0配置信息,发现正确无误。
    2、查看/etc/udev/rules.d/70-persistent-net.rules,将其的MAC信息与ifcfg-eth0进行对比,发现也没有错
    3、用ifconfig -a,发现没有eth0的任何信息,却有eth1的信息,故可能系统没有识别到eth0
    4、进入/etc/sysconfig/network-scripts/目录,执行以下命令:

       cp ifcfg-eth0 ifcfg-eth0.bak
       mv ifcfg-eth0 ifcfg-eth1


    5、然后通过查看/etc/udev/rules.d/70-persistent-net.rules中eth1的MAC信息,将其与ifcfg-eth1中的MAC信息一致。
    6、最后,重启网络:service  network   restart,问题解决。

  • 相关阅读:
    eclipse javaWeb项目如何引入jar包
    Unity3D 批量图片资源导入设置
    WaitForTargetFPS
    自适应分辨率
    UnityException: Texture is not readable
    Unity bundle的制作和使用
    Unity3D之Assetbundle
    Unity使用外部版本控制SVN
    AssetBundle机制相关资料收集
    Assetbundle的杂七杂八
  • 原文地址:https://www.cnblogs.com/gaohj/p/6923650.html
Copyright © 2011-2022 走看看