linux_wiki:configure_network_services_to_start_automatically_at_boot

Configure Network Services To Start Automatically At Boot

General Information

Ensuring services are auto started on boot.


Example for services that are not the NIC itself:

systemctl enable httpd


To ensure the actual network interface will connect on boot (ens3 interface example):

nmcli con show ens3 | grep autoconnect
 
# Set to yes if autoconnect is no
nmcli con mod "ens3" connection.autoconnect yes


Or, edit /etc/sysconfig/network-scripts/ifcfg-ens3, to have the line:

ONBOOT=yes

  • linux_wiki/configure_network_services_to_start_automatically_at_boot.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)