nmcli-device-status-unmanaged
症状:
nmcli device status
DEVICE TYPE STATE CONNECTION
enp89s0 ethernet unmanaged --
lo loopback unmanaged --
检查/etc/NetworkManager/NetworkManager.conf
,如果[ifupdown]
里的managed
是false
,那就改成true
:
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=true
然后重启服务:
sudo systemctl restart NetworkManager
然后就好了:
nmcli device status
DEVICE TYPE STATE CONNECTION
enp89s0 ethernet connected (externally) enp89s0
lo loopback unmanaged --
参考:
https://askubuntu.com/questions/1115117/ubuntu-18-04-ethernet-not-managed
相关:
https://askubuntu.com/questions/882806/ethernet-device-not-managed