【轉】【Linux】解決【ens33】這個網卡一直無法激活問題

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 ~]# 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@localhost ~]# chkconfig network on

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

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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章