Info Wake up (WOL) another device on the LAN FROM a Synology NAS

Currently reading
Info Wake up (WOL) another device on the LAN FROM a Synology NAS

2,239
945
NAS
DS220+ : DS1019+ : DS920+ : DS118 : APC Back UPS ES 700 — Mac/iOS user
Recently I needed to wake up a Synology NAS from another Synology NAS while sitting thousands of miles away. Normally sending a magic packet (WOL) over the internet should work provided that port 9 is forwarded. However, for a particular setup I have it didn't (something to do with how the network is configured I think, although I'm not sure yet). So I needed to do this from a Synology (on the same LAN) that I accessed via VPN and it worked.

All one needs to do is create a task (Control Panel > Task Scheduler) to be run by root with the following:
synonet --wake [MAC address] eth0;
or another eth interface. MAC address in the XX:XX:XX:XX:XX:XX without brackets.

Of course, for this to work your device should be configured to WOL. To WOL or not to WOL, that is the question :)
 
7
2
NAS
DS211
Operating system
  1. Windows
Mobile operating system
  1. Android
I've just registered for this post so hopefully someone can help me.

I'm in the middle of setting up a NUC and although WOL is working locally, I can't get it to work externally thanks for my router not passing the packet.

I've looked at this script but unsure if the mac address should be my DS211 adaptor or the adaptor of my NUC and how it would be triggered.

Many thanks
 
715
126
NAS
DS 718+, 2x-DS 720+
Router
  1. RT2600ac
Operating system
  1. Windows
Mobile operating system
  1. iOS
Last edited:
I can post this:
If you have a Synology ROUTER (2600 in my case). The APP: DS ROUTER, CAN wake up a sleeping synology NAS (WOL) Successfully from a remote location, with NO PORTS FORWARDED on the router. (Or VPN)
 
7
2
NAS
DS211
Operating system
  1. Windows
Mobile operating system
  1. Android
Thanks unfortunately I don't have a Synology router. I have just read though that the fix above seems to require a VPN connection into the NAS
 
2,239
945
NAS
DS220+ : DS1019+ : DS920+ : DS118 : APC Back UPS ES 700 — Mac/iOS user
Hi,

Yes, it’s the VPN connection that makes you “local” on your LAN at home while you’re remote.
You can configure Synology’s VPN server for this. However, I‘m not sure of what a DS211 is capable of. So double check if it can run the VPN server package.

I’ve only used it to wake up another Synology NAS. It‘s better if you try it first to see if it works (I believe it should). ssh into the NAS and send a magic packet to the NUC. If it works, all you need to do is setup the VPN Server.

The address should be the NUC’s MAC (that’s what you’re trying to wake up).
 
7
2
NAS
DS211
Operating system
  1. Windows
Mobile operating system
  1. Android
Ok thanks so you need to VPN first which I guess makes sense
 
7
2
NAS
DS211
Operating system
  1. Windows
Mobile operating system
  1. Android
Ok I've tried setting this task up as a test but when I manually run the task, it doesn't wake up my PC despite WOL being enabled and active. The task message I'm using is synonet –wake d4:5d:df:03:30:f6 eth0;

I'm not sure if eth0 is correct?
 
7
2
NAS
DS211
Operating system
  1. Windows
Mobile operating system
  1. Android
Ok I've just got this working by putting /usr/syno/sbin/synonet --wake d4:5d:df:03:30:f6 eth0

I can now fire off the triggered task to boot my NUC but how can I trigger this task externally? The only triggers seems to be boot or shutdown?
 
2,239
945
NAS
DS220+ : DS1019+ : DS920+ : DS118 : APC Back UPS ES 700 — Mac/iOS user
Sorry for the late reply, sometimes I get sucked by a black hole for a while.

So you got it working but you’re saying you want to have a way to trigger it remotely, is that it?
If so, the only way I know of is to VPN into your network.

Alternatively, you may look into creating a WOL schedule that runs and wakes up the device if your usage times are predictable.
 
7
2
NAS
DS211
Operating system
  1. Windows
Mobile operating system
  1. Android
Ok thanks, but even if I VPN in, how would I trigger it? By loading up DSM and triggering the task from task scheduler?
 
2,239
945
NAS
DS220+ : DS1019+ : DS920+ : DS118 : APC Back UPS ES 700 — Mac/iOS user
Yes. That's what I was thinking. But I'm confused by your use of "boot and shutdown".
I was under the impression that it will hibernate (not shutdown) and you WOL it. Later it will go into hibernation by itself and you WOL it the next time and so on. Isn't that the case?

Either VPN in (if you don't want to forward any ports but a VPN port) or forward a port to DSM with RP and firewall it to limit it to your country or your destination of travel. Stick with VPN if you’re not sure.

The app DS Manager allows you to see tasks and run them if you want to avoid logging into desktop DSM every time you want to do that. I don't think Synology's DS Finder does that (but I'm not 100% sure).

You can also try to VPN in and use an app like Magic Packet and see if that works so you don't need anything from DSM to WOL it.

PS: just noticed you’re an Android user, you can check if any of the apps (or similar) are available for Android.
 
7
2
NAS
DS211
Operating system
  1. Windows
Mobile operating system
  1. Android
Ok great thanks unfortunately I can't use the magic packet through my Sky Router otherwise it would be so much easier
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

Great :) Yes the PC Card needs to be “alive” while the rest of the PC is off to be able to “listen” to...
Replies
8
Views
6,225
Question DSM WOL
thx gents for the contribution - maybe short Resource for this topic will be better way - for a future...
Replies
17
Views
6,611
Thank you, got it to work: issue was, that I was expecting TCP port forwarding through the VPN, which was...
Replies
2
Views
1,532
  • Question
Hyper backup. many tutorials can be found online. You will have to setup your own versioning. You set up...
Replies
1
Views
1,162

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Top