每次打开都出现这个情况,是因为之前把NetworkManager服务服务关闭,重新输入命令:
sudo systemctl start NetworkManager.service
或者
sudo service network-manager restart
即可解决,但是每次开机重启都要打开就很麻烦,所以使用下述命令打开自动使能服务:
systemctl enable NetworkManager.service
systemctl is-enabled NetworkManager.service