-
-
Looking for better ideas how how to sleep/suspend my unraid box
it's not working either...
-
Looking for better ideas how how to sleep/suspend my unraid box
Hi, trying to replace sleep with shutdown I have a working sleep script (as described in this thread) and want to replace the sleep comand with a shutdown comand. I tried what darkside40 suggested and replace echo 3 > /proc/acpi/sleep with echo "mem" > /sys/power/state but this sets my server to sleep, too. The I installed unmenu and the power down package (which is also working if executed manually "/sbin/powerdown") But replacing echo 3 > /proc/acpi/sleep with echo 3 > /sbin/powerdown does not work either. I can hear the server "beep" and then nothing happens...
-
Looking for better ideas how how to sleep/suspend my unraid box
Hi, I currently use this script as intended to put my server to sleep after all clients are not pingable (shutdown). Is there a way to shutdown/powerdown the server instead? Do I need the powerdown package for this? Or do I just have to change the following line? echo 3 > /proc/acpi/sleep And change with which command? Thanks pan!c
-
Looking for better ideas how how to sleep/suspend my unraid box
VampyreGTX: Wiki article
-
Looking for better ideas how how to sleep/suspend my unraid box
Hi! I am using reneV's script and I am not able to get the "ping" setting working. The server goes to sleep even if the clients are still online. My config: # [CONFIGURATION] # before going to sleep intrnlTimeoutTicks=20 # ticks after HDD spindown before checking for external activity extrnlTimeoutTicks=1 # ticks of no external activity before sleep; only after spindown+internal countdown # control of internal timeout checkHDDs=$yes # check if all HDDs are parked before counting down towards sleep noCountdownHours="" # only countdown towards sleep outside these hours # example: <noCountdownHours="07 08 19 20"> # always countdown: <noCountdownHours=""> # control of external timeout checkTCP=$no # check for TCP activity pingIPs="192.168.1.166 192.168.1.155 192.168.1.22" # do not sleep if <$pingsIPs> are pingable # example: <pingIPs="192.168.1.4 192.168.1.5"> # no ping-check: <pingIPs=""> # after waking up from sleep doDhcpRenewal=$no # <$no> for servers w/static IP address forceGb=$yes # might not be needed; probably always safe # [/CONFIGURATION] manaul pinging works root@Tower:~# ping 192.168.1.166 -c 3 PING 192.168.1.166 (192.168.1.166) 56(84) bytes of data. 64 bytes from 192.168.1.166: icmp_seq=1 ttl=128 time=9.33 ms 64 bytes from 192.168.1.166: icmp_seq=2 ttl=128 time=0.328 ms 64 bytes from 192.168.1.166: icmp_seq=3 ttl=128 time=0.332 ms --- 192.168.1.166 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2008ms rtt min/avg/max/mdev = 0.328/3.333/9.339/4.246 ms Do I need the bwm-ng package for pinging, too?
pan!c
Members
-
Joined
-
Last visited