EeroVakiparta / arue-server

1 stars 0 forks source link

In case out power outage, server can not be accessed anymore #3

Closed EeroVakiparta closed 3 years ago

EeroVakiparta commented 3 years ago

temporary fix: Log in locally from the console and run $ dhclient

Study the subject and find a better solution.

EeroVakiparta commented 3 years ago

https://superuser.com/questions/578293/linux-centos-how-to-permanent-inititate-dhcp-client-any-reboot

EeroVakiparta commented 3 years ago

TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no BOOTPROTO=dhcp DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_FAILURE_FATAL=no IPV6_ADDR_GEN_MODE=stable-privacy NAME=enp0s26f1u2 UUID=45c7954a-9404-4657-805e-d2b97e8ebecd DEVICE=enp0s26f1u2 ONBOOT=YES

EeroVakiparta commented 3 years ago

The wrong connection was set to ONBOOT, the correct one was eno1 not enp0s26f1u2

Fixed, needs to be tested.