I have a linux computer with a pre-configured static ip. When the pc is installed i need to access it via remote access teamviewer. Sometimes the static ip not working. Then i would like to switch to DHCP after an X time.
for example: PI connected to network, but static adress is wrong. So has to switch to DHCP after 1 minute. Then device is connected and i can use remote access.
added: the PI is sended to customer, where the static IP has to work. In a case the static ip not works (due to other subnet) failover to dhcp