Page 1 of 1
URL to trigger NAS Standby WoL ?

Posted:
Thu Nov 19, 2020 9:38 pm
by lenuisible
Hi there,
is it possible to trigger a Standby WoL using a GET or POST request ?
Thanks !
Best Regards,
Clement
Re: URL to trigger NAS Standby WoL ?

Posted:
Thu Nov 19, 2020 9:58 pm
by fvdw
This is currently not possible
Re: URL to trigger NAS Standby WoL ?

Posted:
Fri Nov 20, 2020 7:49 am
by lenuisible
Ok, thanks for the quick reply,
and using a ssh command ?
I just saw that there is a "ssh button" app on Android, which will answer my need :)
Best Regards,
Clement
Re: URL to trigger NAS Standby WoL ?

Posted:
Fri Nov 20, 2020 8:48 am
by Jocko
Hi
When the nas is on wol standby mode, only a tiny daemon is running so that when it receives the wol magic packet it runs the boot script.
So for example there is no ssh server running on this mode and then on the client side the ssh way is a no way.
You have only to install an app on your smartphone to send wol packet
Re: URL to trigger NAS Standby WoL ?

Posted:
Fri Nov 20, 2020 8:55 am
by lenuisible
Hi Jocko,
yes I get that, I'm looking for a way to quickly put the NAS in Standby mode (I'm already able to wake it up with a WoL app).
Reading my first post I see that it wasn't clear...
I tried /sbin/rebootd-spd, which seems to work, but the NAS wake up soon after.
Thanks !
Re: URL to trigger NAS Standby WoL ?

Posted:
Fri Nov 20, 2020 9:28 am
by Jocko
Indeed it is more clear.
So you want to put the nas on standby mode directly.
And yes you can do it by using a GET request. (note only this menu allows it)
You can use this url
- Code: Select all
http://admin-nas:admin@nasname/global/system_reset.xml?status=resetwol
of course you have to use your login/pwd for the firmware interface
if you want to use wol suspend mode the url is
- Code: Select all
http://admin-nas:admin@nasname/global/system_reset.xml?status=resetsuspendwol&suspend=xxxx
where xxxx is the suspend time (min) value so that the nas wakes up automatically without receiving a wol packet
Re: URL to trigger NAS Standby WoL ?

Posted:
Fri Nov 20, 2020 5:41 pm
by lenuisible
Great, thanks!