Ubuntu20.04 TLS 开机卡“A start job is running for wait for network to be Configured”的解决方法


现象:

虚拟机安装ubuntu20.04 TLS系统后,开机总会卡在等待网络连接好长时间。

如图:

解决办法:

进入系统后,打开终端,输入下面命令,

cd /etc/systemd/system/network-online.target.wants/

查看该文件夹,该文件夹下有个文件,systemd-networkd-wait-online.service

 vi systemd-networkd-wait-online.service

 

 :wq保存退出

开机重启,等待检测网络没有了。

相关