Centos 7无法激活网卡的解决办法

2020-11-05 01:57 阅读 410 次 Centos 7无法激活网卡的解决办法已关闭评论

CentOS重启网卡出错:

执行 service network restart
出现错误: em1 because device is strictly unmanaged

解决办法:

[root@dxlceshicentos7 ~]# chkconfig NetworkManager off
Note: Forwarding request to ‘systemctl disable NetworkManager.service’.
Removed symlink /etc/systemd/system/multi-user.target.wants/NetworkManager.service.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.NetworkManager.service.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service.
Removed symlink /etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service.

[root@dxlceshicentos7 ~]# chkconfig network on

[root@dxlceshicentos7 ~]# service NetworkManager stop
Redirecting to /bin/systemctl stop NetworkManager.service

[root@dxlceshicentos7 ~]# service network start
Starting network (via systemctl): [ OK ]

示例:

unmanaged

 

步骤:

chkconfig NetworkManager off
chkconfig network on
service NetworkManager stop
service network start

版权声明:本文著作权归原作者所有,欢迎分享,谢谢支持!
转载请保留注明:Centos 7无法激活网卡的解决办法 | DXL学习
分类:Centos 标签:

评论已关闭!