Page 1 of 1
Forum

Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!

Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.

Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!



QNAP - Send WakeOnL...
 
Share:
Notifications
Clear all

[Solved] QNAP - Send WakeOnLAN from your QNAP to wake up another network device

3 Posts
2 Users
0 Reactions
1,872 Views
 Hans
(@hans)
Famed Member Admin
Joined: 12 years ago
Posts: 2823
Topic starter  

I found it surprisingly challenging to send a WOL (Wake on LAN) signal FROM a QNAP to wake up another network device.

My situation: at night I run a backup (rsync) of my QNAP to another NAS, so I was looking for a commandline statement that could do this.
Well, there is none standard on your QNAP, and OPKG seems dead as well, so what do you do?

Well if you having an Intel (x64) based QNAP, then you're in luck.
I did find this cool little tool written by GramThanos - super compact and it works on my QNAP (TVS873).

Download the zip file, extract the binary, copy it to your QNAP (I dumped it for now in my Downloads directory) and make it executable:

chmod +x WakeOnLAN

Next you can use it like so:

./WakeOnLAN MACADDRESS BROADCASTADDRESS

Look up the mac address of the device you'd like to wake up, and add "255.255.255.255" (default doesn't seem to work).
All this would then look something like this:

./WakeOnLAN 09:18:ab:d2:ef:9e 255.255.255.255

 

For backup purposes, always good to look at the original page first, the binary that I used:


   
ReplyQuote
(@Anonymous)
Joined: 1 second ago
Posts: 0
 

Can I use this on a Qnap with MArvell processor?
If so, how to run it?

If not, do you know other options?


   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 12 years ago
Posts: 2823
Topic starter  

The binaries are unfortunately for Intel processors. 
You could compile it on your own (using the Makefile) but I can understand that this may not be easy to know how if you're never done it.
Second issue is that there is no compile installed on a QNAP.

Long story short: unless you know what you're doing, this may be more complex than on would want.

You could try the "arm" version (Raspberry Pi) - this may or may not work.

Unfortunately, I did not find an easy alternative 😞 


   
ReplyQuote
Share: