centos 使用网络管理命令注意事项,centos网络管理


centos 6.4 x64 一直在gui环境下用,默认启动时 网卡 eth0 是被禁用的,登录后要手动点击激,然后切换到字符界面下使用 ifup 和 network start 均不能启动网卡,有错误:failed: This device is not active

解决方法:

关掉 NetworkManager 服务

$ service NetworkManager stop

如果想重启后生效则:

$ chkconfig NetworkManager off

之后就可以用:

service network start

ifup eth0

来激活网络

[1]http://blog.hexu.org/archives/1545.shtml [2]http://www.linuxboy.net/CentosBug/osbug/2015/0923/6219.html

相关内容

    暂无相关文章