突然遇到了一个错误
device eth0 dose not seem to be present错误!!
怀疑是和我刚搬了一下虚拟机有关,所以呢,eth0被废掉了,看到网上很多解决办法,所以提供一下我的
1.试试 ifconfig eth0 down
我的提示是 no dush devise 之类的提示
2.新开启eth1,命令为:ifconfig eth1 up
使用“ifconfig eth1”记下eth1的MAC地址
3.进入/etc/sysconfig/network-scripts
cp ifcfg-eth0 ifcfg-eth1
vi ifcfg-eth1,将刚刚记下的MAC地址加在这里,把device=eth0
4.重启network,可以上网啦!!