On April 7, 2017 1:45:17 AM PDT, Freek de Kruijf <freek@opensuse.org> wrote:
Op donderdag 6 april 2017 23:16:42 CEST schreef Bjoern Voigt:
I tried to change an openSUSE Leap 42.1 server from static IP to DHCP using YaST over SSH and in text mode.
To make it short, this doesn't work. The Server is offline now.
I also do this type of changes, but you really need to know what you are doing. So you test such a procedure first in a test environment and carefully document the procedure.
In this case going from a fixed IP address to DHCP, if you have it setup properly, the system will get a new IP address. This means that the current address does not work anymore. So somehow, maybe in your router/DHCP server or somewhere else you find the new address and you make a new ssh connection with that system, provided that there is no firewall blocking that access in your server.
You can also use autossh to create a persistent connection from the remote machine to your machine with a static IP. In which case you don't even have to know the remote up. https://raymii.org/s/tutorials/Autossh_persistent_tunnels.html -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org