no device found for connection 'System eth0'.

centos 修改为静态IP时报错
No suitable device found: no device found for connection 'System eth0'.

CentOS虚拟机中启用不了eth0网卡解决办法:

1./etc/udev/rules.d/70-persistent-net.rules 文件

将其中的NAME="eth1"修改为"eth0",并复制ATTR{address}中的值(MAC地址)

 

2./etc/sysconfig/network-scripts/ifcfg-eth0 文件

将复制的ATTR{address}值覆盖#HWADDR

 

重启服务:service network restart

 

参考:http://www.centoscn.com/CentosBug/osbug/2014/0423/2850.html

猜你喜欢

转载自metmhc.iteye.com/blog/2199409
今日推荐