no device found for connection 'System eth0'

使用cloneZlia Ghost CentOS系统后,启动会莫名其妙的出现网卡错误

# ifconfig eth0

eth0: unknown interface :No such device

使用ifconfig命令查看发现网卡认到eth1,那我们就将错就错将eth0变更为eth1

# cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0_BAK

# mv /etc/sysconfig/network-scripts/ifconfig-eth0 /etc/sysconfig/network-scripts/ifcfg-eth1

最重要的一点,将mv后的ifcfg-eth1中的MAC信息更改为与/etc/udev/rules.d/70-persistent-net.rules中的eth1的MAC一致.

重启网卡即可.

猜你喜欢

转载自leadercoo.iteye.com/blog/1975217
今日推荐