设备 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