方法一 sudo /etc/init.d/networking restart 方法二 systemctl restart network-manager.service 方法三 service networking restart