第一步:
必须root用户下
Ifconfig –a 中有eth1与lo,无eth0
Vim /etc/udev/rules.d/70-persistent-net.rules
删除eth0所有信息
eth1名字改为eth0
第二步
Vim /etc/sysconfig/network-scripts/ifcfg-eth0
第三步:系统—管理—服务
启动NetworkManager服务
最后重启 init 6
第一步:
必须root用户下
Ifconfig –a 中有eth1与lo,无eth0
Vim /etc/udev/rules.d/70-persistent-net.rules
删除eth0所有信息
eth1名字改为eth0
第二步
Vim /etc/sysconfig/network-scripts/ifcfg-eth0
第三步:系统—管理—服务
启动NetworkManager服务
最后重启 init 6