Hi at all guys!
I was thinking about setting a timer for the shutdown and wakeup of my OMV. Is this possible?
Also, I don't get why, but even if both my motherboard and OMV have WoL enabled, I can't wake it up
Can someone help me with both the things?
Shutdown and wake up timer
-
- OMV 3.x
- Blabla
-
-
1) Use the autoshutdown plug-in for scheduled shutdown, I'm not sure how it works with a scheduled wakeup (but WOL would fit for that)
2) WOL: enabled in the BIOS as well?
-
1) scheduled is still better for me, but yeah, wol is still good
2) yes -
Use 'Cron Jobs' to schedule or you can use 'crontab' too, ( /etc/crontab).
Ensure 'WOL' is enabled in the OMV network settings of your interface. -
Is enabled on both motherboard and OMV
you mean "Scheduled jobs"? -
Yes.
Some motherboard support hibernation (S4), & sleep (S3), while others are not.
Try it out on your system, and see which method is best for you.Here's an example of my sleep/wake up schedule in /ect/crontab:
-
Thanks for this tip.
-
Yes.
Some motherboard support hibernation (S4), & sleep (S3), while others are not.
Try it out on your system, and see which method is best for you.Here's an example of my sleep/wake up schedule in /ect/crontab:
Thanks! so whats should I write to wake up at 6PM during week, and 8AM during weekend?
for what I read your lane include the shutdown too right? -
-
this is my crontab
Code# m h dom mon dow user command 17 * * * * root cd / && run-parts --report /etc/cron.hourly 25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) 47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly ) 52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly ) #
I made the scheduled jobs into the web interface:
daily->root ->/usr/sbin/rtcwake -m disk -s 72000
is this correct? -
If you use the schedule jobs in the OMV interface, then you don't need to use crontab.
Use only one scheduler, otherwise, the schedules may conflict. -
Which one you recommend?
-
I use crontab b/c you can do day range while the 'scheduled jobs' can only set per day per cron job.
My previous example is from crontab. -
Hi guys, I tried to create a wake up timer for certain day of the week, but I'm having this error:
My Delibird NAS, [23.11.16 00:00]
Cron - Sveglia alle 18 on the Wed, 23 Nov 2016 00:00:30 +0100 (CET)rtcwake: wakeup from "disk" using /dev/rtc0 at Wed Nov 23 17:00:02 2016
My Delibird NAS, [23.11.16 00:00]
Cron <root@Delibird> /var/lib/openmediavault/cron.d/userdefined-8a52783a-a8bb-4f47-adf7-c0f78decb593 | mail -E -s "Cron - Sveglia alle 18" -a "From: Cron Daemon <root>" root >/dev/null 2>&1 on the Wed, 23 Nov 2016 00:00:30 +0100 (CET)rtcwake: write error
I put an attachement with how I set up the wake up for Sunday. I copied it from the general one, only changing the seconds
-
I think your 'daily' schedule is conflict with your 'Sunday ' schedule.
If you use daily, then don't enable the other ones.
Or set Monday - Saturday, and a separate schedule for Sunday. -
understood in that case I'll keep the general one for now
-
Dear all, I'm not an expert. As I know the Intel processors and AMD as well, both can write some hide bios parameters from Windows OS.
Step 1. To can have a working WOL, is neccesary to install first an windows, doesn't meter witch version. Try to configure the BIOS & Windows network settings. Internet is full of information.
Step 2. Check the network, PING your PC & be careful about the router settings. If exist any router between your PC and PC on witch will be OMV installed please set it careful ( don't use NAT). Read on internet about routers configuration
Step 3. Download an WOL magic packet program & with your OMV-PC (now with Windows OS) online scan the network. See if you find your OMV-PC. Shutdown the OMV-PC & send WOL magic packets.
If works go to next step, if not go back.
Step 4. Install a clean Open Media Vault on your PC, better with fix IP address. Be very careful how is configured the name of your workgroup. If chose for standard (HOME), should change any PC in your network to have the same WORKGROUP NAME.
Step 5. Ping the OMV-PC to be sure that the network is fine. Here is included the router
Step 6. Activate WOL on OMV-PC web gui interface/Network. Do an WOL with the same program used before.P.S. Durring OMV installation please check error messages, in special about network configuration. If you can't see any issue, WOL should work fine. If yes, should take in consideration to replace the network card & reinstall OMV.
If is OK enjoy, if not go back.Intel G3220, MSI H81M-E33, onboard RTL 8111 network card. OMV 4.1.4 - Kernel 4.14
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!