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
来激活网络
2019-10-02
Copyright © 2017-2021 Pzidc.com All Rights Reserved. 普泽云 版权所有 陕西云游四海网络科技有限公司 陕ICP备20002307号-4
《中华人民共和国增值电信业务经营许可证》B1-20182862