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)
Hi, was this ever resolved?
I tried rtcwake myself before on NSA325v2 with 6.14.6-kirkwood-tld-1 before finding this thread but without luck. Same write errors and system cannot hibernate nor suspend as the ethernet seems to refuse to suspend.

Does the rtc alarm work? I tried the work around suggested by ottok setting the alarm directly to /sys/class/rtc/rtc0/wakealarm then tried both poweroff and halt but the box did not wake up. Then I did nothing after setting the rtc alarm and expected to see a rtc message in dmesg or journalctl, but nothing. Should there not be a message from the wakeup alarm?

/Jan
Re: Readynas duo V2 and Zyxel NSA325 wakealarm missing
June 11, 2025 05:18PM
Jan,

> Hi, was this ever resolved?
> I tried rtcwake myself before on NSA325v2 with
> 6.14.6-kirkwood-tld-1 before finding this thread
> but without luck. Same write errors and system
> cannot hibernate nor suspend as the ethernet seems
> to refuse to suspend.

I've not tried to resolve this, other than looking in the code to verify that the capability is still there. This driver has not been updated for a few years.

-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: