首页 > 系统相关 >Ubuntu Server 开机卡在 `A start job is running for wait for network to be configured.`

Ubuntu Server 开机卡在 `A start job is running for wait for network to be configured.`

时间:2022-10-07 12:44:06浏览次数:61  
标签:network start configured 网卡 enp3s0 running true

  • 原因:存在多网卡时,只要有任意一个网卡没有连接到网络,就会长时间在此状态等待连接

  • 解决方案:等待进入系统后,编辑 /etc/netplan/00-installer-config.yaml,将不是一直在线的网卡设为可选

    # This is the network config written by 'subiquity'
    network:
    ethernets:
     enp1s0:
       dhcp4: true
     enp3s0:
       dhcp4: true
       optional: true		# 添加这一行,将网卡 enp3s0 设为非必须的。
    version: 2
    

    然后执行:

    sudo netplan apply
    

    重启后即可解决。

标签:network,start,configured,网卡,enp3s0,running,true
From: https://www.cnblogs.com/si-rocks/p/16759519.html

相关文章