CyberMew Posted October 25, 2013 Share Posted October 25, 2013 Does unRAID support the server auto waking up if some devices like iOS or Roku or a PC/MAC tries to access the server drive? Or must we do some manual stuff in advanced in order to wake it up first? Quote Link to comment
JonathanM Posted October 25, 2013 Share Posted October 25, 2013 Stock unraid does not support sleep, but it spins the drives down. When the player accesses the server, the drives will spin up just fine. So... if you haven't done any customization to force sleep, you won't need any customization to wake. Quote Link to comment
mr-hexen Posted October 25, 2013 Share Posted October 25, 2013 if you mean the server turns on remotely, WOL (Wake-on-Lan) does not require OS support, its merely a hardware feature. Quote Link to comment
garycase Posted October 25, 2013 Share Posted October 25, 2013 if you mean the server turns on remotely, WOL (Wake-on-Lan) does not require OS support, its merely a hardware feature. Except, of course, it does require that the "waking device" knows how to send a magic packet Quote Link to comment
CyberMew Posted October 26, 2013 Author Share Posted October 26, 2013 Thanks for the replies. I don't think most devices will autosend a magic packet, and I want to make it easy for other people to use. If the motherboard supports WOL and have a Intel I217 ethernet controller, could unRAID wake up (from Hibernate?) if it detects someone is trying to access one of the network drives? Or do I have to buy another card like Intel PWLA8391GT? I also did some searching and read about ARP. Does that helps if the network card supports that? Quote Link to comment
garycase Posted October 26, 2013 Share Posted October 26, 2013 Thanks for the replies. I don't think most devices will autosend a magic packet, and I want to make it easy for other people to use. If the motherboard supports WOL and have a Intel I217 ethernet controller, could unRAID wake up (from Hibernate?) if it detects someone is trying to access one of the network drives? Or do I have to buy another card like Intel PWLA8391GT? I also did some searching and read about ARP. Does that helps if the network card supports that? There are apps for the iPad, Nexus, etc. that send magic packets ... and you can create a simple shortcut on any PC's desktop to a simple touch on a tablet or double-click on a PC will turn on the server. It DOES require that you configure the app (with the appropriate MAC address) ... but the apps even make that very simple to do. The Intel card you listed supports WOL, but it will still require a "magic packet" to invoke the wake-up. Not sure you can configure an Android device to do this; but on a PC you could easily use a simple command file to auto-send a WOL packet whenever you loaded an application that was going to require the network resources from the server it was "waking up." Quote Link to comment
feraay Posted February 13, 2017 Share Posted February 13, 2017 This Script should do it. Just paste it into S3 Sleep settings in the custom command box (post sleep) It will wakeup every day at 09.55.( Monday to Friday) So you can set jobs for 10.00. Be sure you disabled resume by rtc alarm in bios and set the bios time to rtc time. time=09:55 now=$(date +%s) other=$(date -d $time +%s) dayofweek=$(date +%u) if [ $now -ge $other ] && [ $dayofweek -lt 5 ] then echo `date '+%s' --date='tomorrow 09:55:00'` > /sys/class/rtc/rtc0/wakealarm elif [ $dayofweek -ge 5 ] then echo `date '+%s' --date='next monday 09:55:00'` > /sys/class/rtc/rtc0/wakealarm else echo `date '+%s' --date='today 09:55:00'` > /sys/class/rtc/rtc0/wakealarm fi Quote Link to comment
Recommended Posts
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.