I have a network interface that is configured for static ip address.
When I reboot I have to always open the NetworkManager GUI and click "connect" button.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityI have a network interface that is configured for static ip address.
When I reboot I have to always open the NetworkManager GUI and click "connect" button.
ifconfig
tools which are deprecated since about 2014 (or if you do lots of EL work 2014 coincides with centos7 release)sudo vim /etc/sysconfig/network-scripts/ifcfg-${name_of_interface}
ONBOOT
is present and set the value to yes
unfortunately these changes are not reflected in the GUI for some reason. so i do not trust this method so much and again this method depends on the deprecated ifconfig
tools/methods. this might work but might not. the GUI method does change the value in this file so there's that.