July 31, 20223 yr Hi, i recently noticed after setting up an automatic restart of my router on Sunday, that my Unraid Server is not reachable after the router reboots. Is there a way to let Unraid automatically reconnect ? Maybe there is a small userscript out there that pings a target (website) and if the website is not reachable for several times/trys it forces the network card to reconnect ? Maybe it has something to do with the dhcp lease.. anyway... I would be really happy if someone could help. Thanks Guy's
July 31, 20223 yr Community Expert It should reconnect on its own, possibly depends on the router, you can always use a static IP address.
July 31, 20223 yr Community Expert It should work, but obviously, it does not for you. You did not supply any diagnostics and you did not tell us, what you need to do, to get the unraid net back up running again. So, there is not much room for an educated guess. A wild guess comes to my mind, but really its only a very very wild guess: If the router hosts the DHCP Server and you have a setting there that only machines that were validated and assigned by this server, it may happen that after a reboot he has lost memory of your UNRAID box and unless the network of unraid is dropped and reconnected, all packets from unraid are dropped and thrown away.
August 1, 20223 yr Author Solved this quick and dirty but for me totally fine. Created a User Script that reboots Unraid on Custom schedule every Sunday after my Network Stuff automatically restarts. #!/bin/bash shutdown -r now >/dev/null 2>&1
July 8, 20241 yr I have this very issue. From time to time I have a router that is reset and when that happens I have to get to the unraid server in person and alt-ctrl-del to initiate a reboot. The router is setup to give the server a static IP and the server is setup to use a static ip as well, not sure what the issue is. Another issue is you can't login via cli as when you type in root you are not prompted for a password and the attempt times out after 60 seconds.
February 22, 20251 yr Did you get to the bottom of this? Same happening to me. Reboot router and cannot connect to server. I have to reboot the server by using the restart button on my pc case. Cheers.
February 22, 20251 yr 6 hours ago, trurl said: Try this from command line /etc/rc.d/rc.inet1 restart Many thanks. Will this stick and therefore be applied at every restart? Edit: I entered the command, server rebooted then no access. Not sure if I explained the issue clearly but if the ethernet cable is disconnected tgen reconnected, or the router is rebooted Unraid does not reconnect. Thanks again. Edited February 22, 20251 yr by BoutTime Update
February 22, 20251 yr Community Expert 10 hours ago, BoutTime said: I entered the command, server rebooted then no access. Not sure I understand. Did you reboot the server? The only thing that command does is restart the network on your server.
February 22, 20251 yr 33 minutes ago, trurl said: Not sure I understand. Did you reboot the server? The only thing that command does is restart the network on your server. My mistake probably. I entered the command and lost connection as I did it over LAN rather than through the GUI directly at the server. I figured the server rebooted. So is there a way of having Unraid automatically detect when the network is down and restart the network service? Thanks for helping out.
February 22, 20251 yr Community Expert 2 hours ago, BoutTime said: entered the command and lost connection Probably would have come back after it finished resetting its network.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.