美文网首页
Linux 解决 ens33 这个网卡一直无法激活问题

Linux 解决 ens33 这个网卡一直无法激活问题

作者: 耍帅oldboy | 来源:发表于2021-07-05 17:36 被阅读0次
CentOS的启动出错:

当执行 ifup ens33

出现错误:

[root@localhost ~]# ifup ens33
Error: Connection activation failed: No suitable device found for this connection (device lo not available because device is strictly unmanaged).

解决办法:

[root@localhost ~]# systemctl disable NetworkManager 
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@localhost ~]# systemctl stop NetworkManager
Redirecting to /bin/systemctl stop NetworkManager.service

[root@localhost ~]# systemctl restart network 
Starting network (via systemctl): [ OK ]

相关文章

网友评论

      本文标题:Linux 解决 ens33 这个网卡一直无法激活问题

      本文链接:https://www.haomeiwen.com/subject/yysjultx.html