问题描述:
通过下述指令查看网卡状态为 "unmanaged"
bash
nmcli dev status
解决方法:
bash
cd /usr/lib/NetworkManager/conf.d/
sudo mv 10-globally-managed-devices.conf 10-globally-managed-devices.conf.bak
sudo cp 10-globally-managed-devices.conf.bak 10-globally-managed-devices.conf
sudo sed -i '/unmanaged-devices/s/$/&,except:type:ethernet/' 10-globally-managed-devices.conf
sudo systemctl restart NetworkManager