Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unraid can't automatically reconnect to network after automatic router restart

Featured Replies

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

 

  • Community Expert

It should reconnect on its own, possibly depends on the router, you can always use a static IP address.

  • 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.

 

  • 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

 

 

  • 1 year later...

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.

  • 7 months later...

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.

  • Community Expert

Try this from command line

/etc/rc.d/rc.inet1 restart

 

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 by BoutTime
Update

  • 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.

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.

  • 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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.