network off after reboot
Posted: 2020/01/29 16:19:14
CentOS 7.7
My server is on a LAN. It has a simple static IP address setting.
After a reboot, the system comes up fine into graphical.target but the network does not automatically connect, it is off.
I have to manually log in at the console on the server, go to Settings - Network, and turn it on and then it works fine.
In that gui, I do have checked connect automatically but every time after boot the network is off.
I did notice, I think under /etc/sysconfig/network-scripts I am missing the corresponding ifcfg-enps11s0 file which corresponds to the output of ifconfig showing my one active network port.
I did do net.ifnames=0 in /etc/default/grub; grub2-mkconfig -o /boot/efi/efi/centos/grub.cfg to try and go back to using eth0 naming. I also have done *yum remove biosdevname*. On another identical server I am running on eth0 fine connecting automatically after boot.
But this one I am having this problem. What is the process for renewing or recreating what should be under /etc/sysconfig/network-scripts/ and making a typical ethernet connection with static IP start automatically after boot?
My server is on a LAN. It has a simple static IP address setting.
After a reboot, the system comes up fine into graphical.target but the network does not automatically connect, it is off.
I have to manually log in at the console on the server, go to Settings - Network, and turn it on and then it works fine.
In that gui, I do have checked connect automatically but every time after boot the network is off.
I did notice, I think under /etc/sysconfig/network-scripts I am missing the corresponding ifcfg-enps11s0 file which corresponds to the output of ifconfig showing my one active network port.
I did do net.ifnames=0 in /etc/default/grub; grub2-mkconfig -o /boot/efi/efi/centos/grub.cfg to try and go back to using eth0 naming. I also have done *yum remove biosdevname*. On another identical server I am running on eth0 fine connecting automatically after boot.
But this one I am having this problem. What is the process for renewing or recreating what should be under /etc/sysconfig/network-scripts/ and making a typical ethernet connection with static IP start automatically after boot?