|
centos解决: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
复制代码 然后去修改 /etc/sysconfig/network-script/ifcfg-eth0文件,没发现什么问题。研究了好长时间后,终于解决了这个问题。
解决办法:
1、删除/etc/udev/rules.d/70-persistent-net.rules文件,重启系统。
2、如果上面的不起作用,那么去看ifcfg-eth0文件中的HWADDR是否正确,改成正确的HWADDR。
我就是通过这两条方法解决问题上网的。
centos解决:no device found for connection ‘ System eth0′
摘自:http://www.frostsky.com/2012/07/no-device-found-for-connection/
|
|