본문 바로가기
Ubuntu

[Ubuntu 22.04 LTS] "A start job is running for Wait for Network to be Configured"

by UpDream- 2022. 8. 23.

A start job is running for Wait for Network to be Configured

네트워크가 구성될 때까지 기다리기 위해 시작 작업이 실행 중입니다.

 

서버에 랜카드가 2개 있고 1개의 네트워크만 설정하였으면 2개의 네트워크가 연결이 완료됨을 확인하고 서버가 부팅이 완료된다. 하지만 난 1개만 네트워크 연결하였고 optional: true 옵션을 추가하여 빠르게 부팅되도록 설정할 수 있었습니다.

 

 

/etc/netplan 에 존재하는 파일에 설정이 가능합니다.

ffoooo@mapserver:~$ cd /etc/netplan
ffoooo@mapserver:~$ sudo vi 00-installer-config.yaml

 

나는 00-installer-config.yaml 파일에 아래 내용으로 수정하여 고정아이피를 설정하였습니다.

# This is the network config written by 'subiquity'
network:
  ethernets:
    eno1: # <-- 인터페이스 이름 (랜카드1)
      addresses:
        - 192.168.1.111/24 # <-- 고정 아이피 / 서브넷 접두사 길이 (넷마스크) 24 === 255.255.255.0
      dhcp4: true
      dhcp6: true
      routes:
        - to: 0.0.0.0/0
          via: 192.168.1.1 # <-- 게이트웨이
          metric: 0
      nameservers:
        addresses: [8.8.8.8, 8.8.4.4] # <-- DNS
        #search: []
      optional: true
    eno2: # <-- 인터페이스 이름 (랜카드2)
      addresses:
        - 192.168.1.112/24 <-- 고정 아이피 / 서브넷 접두사 길이 (넷마스크) 24 === 255.255.255.0
      dhcp4: true
      dhcp6: true
      routes:
        - to: 0.0.0.0/0
          via: 192.168.1.1 <-- 게이트웨이
          metric: 0
      nameservers:
        addresses: [8.8.8.8, 8.8.4.4] <-- DNS
        #search: []
      optional: true
  version: 2

 

 

 

 

https://super-unix.com/ubuntu/ubuntu-ubuntu-server-18-04-waiting-for-network-at-startup-although-the-network-is-ok/

 

Ubuntu – Ubuntu Server 18.04 waiting for Network at startup although the network is ok – Unix Server Solutions

I have fresh installation of Ubuntu Server 18.04. Until it is all set up and tested, I want it to be connected to both wired and wifi network. My /etc/netplan directory contains two files: 01-netcfg.yaml network: version: 2 renderer: networkd wifis: wlp58s

super-unix.com

 

https://youtu.be/7gdSZKCHL5g