转自:http://www.centoscn.com/CentosBug/osbug/2014/0423/2850.html

 

[root@localhost Desktop]# 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]

 

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

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

删除eth0网卡

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

 

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

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

 

重启服务:service network restart

相关文章:

  • 2022-12-23
  • 2022-01-11
  • 2022-12-23
  • 2021-07-07
  • 2021-08-10
  • 2021-09-16
  • 2021-11-01
  • 2021-12-25
猜你喜欢
  • 2021-04-24
  • 2021-08-19
  • 2021-09-08
  • 2021-09-16
  • 2021-10-08
  • 2021-12-04
  • 2021-09-06
相关资源
相似解决方案