修改 ‘/etc/NetworkManager/NetworkManager.conf‘, 将 ‘managed=false‘ 修改为 ‘managed=true‘
-
修改 ‘/etc/network/interfaces‘, 在文件末尾添加有线网卡配置
auto eth0 iface eth0 inet dhcp
-
重启 network-manager 和 networking 服务
sudo service network-manager stop sudo service networking restart sudo service network-manager start