linux_wiki:configure_network_services_to_start_automatically_at_boot

This is an old revision of the document!


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.1521407601.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)