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

Опубликовано: 05 Март 2023
на канале: 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.