1. Remove Network Manager from startup Services.
#chkconfig NetworkManager off
2. Add Default Net Manager
#chkconfig network on
3.Stop NetworkManager first
#service NetworkManager stop
4.and then start Default Manager
#service network start
2. Add Default Net Manager
#chkconfig network on
3.Stop NetworkManager first
#service NetworkManager stop
4.and then start Default Manager
#service network start
运行完了命令,还会出现
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
然后重启电脑就可以上网了
主要是因为同时有2块网卡在运行,以前的系统中已经有网卡在运行了,换了电脑之后又有新的网卡在运行,需要停止掉一个网卡,如果还不行 请查看ifconfig的mac地址和网卡eht0的配置是否相同!如果不一样改成一样, 最后重启电脑 ,试用几次 service network restart 一样出错用不了!重启电脑后就好了!