Welcome! Log In Create A New Profile

Advanced

Readynas duo V2 and Zyxel NSA325 wakealarm missing

Posted by AndreaCipcino 
Re: Readynas duo V2 and Zyxel NSA325 wakealarm missing
October 15, 2024 08:50AM
Hello bodhi,

I think that was the reason why I wrote my own script.
I had also wondered why I didn't just use “rtcwake”.
However, I've been using the script for 7-8 years and can't remember the details.

I have attached my script so you can test it by yourself.
At the top of the script you set the day and time for the next start.
The script calculates the next start time in seconds and set it via echo into “/sys/class/rtc/rtc0/wakealarm”.
After executing the script, I shut down the NAS with the “halt” command.
Thats all.

I hope that helps

Otto
Attachments:
open | download - WakeUp.sh (1.4 KB)
Re: Readynas duo V2 and Zyxel NSA325 wakealarm missing
October 15, 2024 03:10PM
Otto,

Quote

I think that was the reason why I wrote my own script.

Yes, I think it must have been. And I see you actually halted the NAS, not putting it in standby. So it dit not go through the path to mvebu suspend.

Thanks!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: