Centos and Redhat based A start job is running for Wait for Network to be Configured

Published: 05 March 2023
on channel: linux-syr
577
8

find your interface name: nmcli device
create network config file:
vi /etc/sysconfig/network-scripts/ifcfg-nameofyourinterface

ONBOOT=yes
BOOTPROTO=static "if you use (dhcp) here, it will take time"
IPADDR=ip of your machine
NETMASK=255.X.X.X
GATEWAY=your gatewy
DEVICE=name of interface ex: enp0s8

nmcli connection reload
systemctl restart NetworkManager
reboot
you can use nmtui to configure your interface.