URL to trigger NAS Standby WoL ?

URL to trigger NAS Standby WoL ?

Postby lenuisible » Thu Nov 19, 2020 9:38 pm

Hi there,

is it possible to trigger a Standby WoL using a GET or POST request ?

Thanks !

Best Regards,

Clement
lenuisible
Donator VIP
Donator VIP
 
Posts: 10
Joined: Mon Apr 09, 2018 4:16 pm

Re: URL to trigger NAS Standby WoL ?

Postby fvdw » Thu Nov 19, 2020 9:58 pm

This is currently not possible
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: URL to trigger NAS Standby WoL ?

Postby lenuisible » Fri Nov 20, 2020 7:49 am

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
lenuisible
Donator VIP
Donator VIP
 
Posts: 10
Joined: Mon Apr 09, 2018 4:16 pm

Re: URL to trigger NAS Standby WoL ?

Postby Jocko » Fri Nov 20, 2020 8:48 am

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
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: URL to trigger NAS Standby WoL ?

Postby lenuisible » Fri Nov 20, 2020 8:55 am

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 !
lenuisible
Donator VIP
Donator VIP
 
Posts: 10
Joined: Mon Apr 09, 2018 4:16 pm

Re: URL to trigger NAS Standby WoL ?

Postby Jocko » Fri Nov 20, 2020 9:28 am

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
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: URL to trigger NAS Standby WoL ?

Postby lenuisible » Fri Nov 20, 2020 5:41 pm

Great, thanks!
lenuisible
Donator VIP
Donator VIP
 
Posts: 10
Joined: Mon Apr 09, 2018 4:16 pm


Return to Lacie cloudbox (white casing)

Who is online

Users browsing this forum: No registered users and 3 guests

cron