Deadfuntik
Occasional Visitor
Hello everyone, please tell me how to turn on the server by time. must be turned on every day at 8:00
What server?Hello everyone, please tell me how to turn on the server by time. must be turned on every day at 8:00
the shutdown timer runs on the server and is set to 23:00. which runs on TrueNAS Scale. I would like the router to send a Magic Packet to it to turn it on every day at 8:00 in the morningWhat server?
Depending on what you are up to you may be better off using a software timer running on the server to shut it down and a supply device that on sensing the current drop below a certain level (the device having shut down) then shuts the power off. Then have that power device turn back on using a timer, with your server set to boot when it detects a power restore!
This is all complicated by the power drain of the device - can be expensive and may need to be custom. Also turning a server on and off in such a manner may well shorten its expected life and be less than 100% successful!
Or it could be as simple as running a cron job!
*Hence we really need a little more information!
there is such an opportunity, but in order to enter the BIOS you need a display) and it is not at hand there)Does the server's BIOS have that option?
That's what would be most reliable.
And, what kind of server is this that is turned off daily?
#!/bin/sh
/usr/sbin/ether-wake -i br0 -b "MA.CA.AD.DR.ESS"
logger "Server woken by WOL"
arp -s ipaddr macaddr
I think if you broadcast it to the subnet you don't need either, yes?as said by @elorimer , the way to go is via a cron job. To start it every tuesday at 08:00 it should look like:
00 08 * * 2 /jffs/scripts/wake-up-my-server.sh
This file has to contain the ether-wake command.
Also note that ARP table must have a permanent entry for your server:
and your server must of course be defined as static ipCode:arp -s ipaddr macaddr
I do not know for sure. I have several devices configured to accept WOL ; I took the way to send magic packet specifically to one device at a time.I think if you broadcast it to the subnet you don't need either, yes?
Only if the MAC matches.I do not know for sure. I have several devices configured to accept WOL ; I took the way to send magic packet specifically to one device at a time.
If you broadcast to the subnet, don't you think it will wake-up ALL devices that accepts WOL ? ...
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!