1. 程式人生 > >Bringing up interface eth0: Error: No suitable device found: no device found for connection 'System

Bringing up interface eth0: Error: No suitable device found: no device found for connection 'System

遇到的問題:

# 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'.

原理網上多的是,這裡直接看解決方案!

解決辦法:

rm -rf  /etc/udev/rules.d/70-persistent-net.rules           //去除克隆之後的網路介面卡

reboot                           //生成新的網路介面卡

ifconfig     //檢視自己新生成的HWaddr,複製!

vi /etc/sysconfig/network-scripts/ifcfg-eth0       //編輯這個檔案,替換剛剛複製的HWaddr

service network restart   //成功!!!