![在 ubuntu 22.04 中,状态为断开连接且连接未知](https://linux22.com/image/950741/%E5%9C%A8%20ubuntu%2022.04%20%E4%B8%AD%EF%BC%8C%E7%8A%B6%E6%80%81%E4%B8%BA%E6%96%AD%E5%BC%80%E8%BF%9E%E6%8E%A5%E4%B8%94%E8%BF%9E%E6%8E%A5%E6%9C%AA%E7%9F%A5.png)
设备 eth0 的状态为未管理,我已连接到此接口并将配置文件锁定到 eth0,但没有发生任何情况。我如何将其状态更改为管理?请帮助我。
$ nmcli -p dev status
=====================
Status of devices
=====================
DEVICE TYPE STATE CONNECTION
--------------------------------------------------------------
eth0 ethernet unmanaged --
lo loopback unmanaged --
$ nmcli -p g status
=========================
NetworkManager status
=========================
STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN
-----------------------------------------------------------------------------------------
disconnected unknown enabled enabled enabled enabled