Can anybody shortly explain to me how I can send a wol packet from my omv3 raspi to my qnap nas, would be great!! Thank you!
apt-get install etherwake
root@omv3:~# etherwake 00:11:22:33:44:55
with the mac-adress of your qnap.
Or just install the openmediavault-wol plugin
Thx. for the explanation! I think I was a bit too short in my initial request... sorry... I installed the wol plugin already, but I do not find a way how to send a timed wol packet.
I would like to set up a a e.g. cron job to wake up a NAS in the network at specific times. The wol plugin shows all attached network devices, thats fine. But the only thing I can do in the plugin is to add further devices. Do I have to schedule the wol job in the "Scheduled tasks" chapter? If yes, what is the syntax?
this is what I do on my windows system: C:\wol.exe 00:00:00:00:05:09
Thx a lot!!
Put the command that Enra posted in the command field in a scheduled job in the OMV web interface.
Can you please have a look, is that correct?
Cron Job in OMV:
# Create cron file
# This is the cron file for openmediavault-rsnapshot.
# The file /var/lib/openmediavault/cron.d/rsnapshot will mirror
# the jobs that are configured in the plugin.
# m h dom mon dow user command
5 * * * * root /var/lib/openmediavault/cron.d/rsnapshot hourly
30 3 * * * root /var/lib/openmediavault/cron.d/rsnapshot daily
15 0 * * 1 root /var/lib/openmediavault/cron.d/rsnapshot weekly
00 2 1 * * root /var/lib/openmediavault/cron.d/rsnapshot monthly
00 4 1 1 * root /var/lib/openmediavault/cron.d/rsnapshot yearly
My QNAp is always active from Friday to Monday morning. So the weekly Job is running o.k.
For the monthly Job I added the Wol packet job (see attachment). That should be sufficent right?
Thnx a lot!!
Remove all the characters before etherwake in your command. That is the shell prompt
Now it works, PERFECT! THANK YOU!!!