Wake On LAN // Fujitsu Scaleo Home Server 2205

Hi,

I'm running WOL http://gammadyne.com/cmdline.htm#wol to recover Windows Home Server (WHS) from SLEEP-MODE. This works just with a small batch file containing "wol 00141731A812", where 00141731A812 is the WHS's MAC address.

Since - on WHS - Lightsout resets the system to SLEEP-MODE after 10min (which is ok), the problem is that I do not want the system to sleep as long as I actively work (moving the mouse, pressing keys, navigating the explorer etc.).

Of course, if I do nothing for a certain period of time, the system could sleep.

Any way out?
go4javaAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
JT92677Connect With a Mentor Commented:
Does a WOL packet renew the time before shutdown on the target machine if it's already running?

If so, create a batch file to run as long as you're using the remote system.

:SENDWOL
wol 00141731A812
ping -n 1 -w 4800 junksite.org
goto SENDWOL

this will send the wol to the machine MAC address
Then it will ping a non-existent site (junksite.org) 1 time,
waiting for response for 8 minutes (4800 ms), a response that
will not come back, so the timer will force the end of the ping
and return to the WOL command.

Is this a solution?

0
 
JT92677Commented:
Thanks for the points.

PS: You could do the ping timeout trick on a local unused IP address as well, to keep from pinging outside of your LAN.

Instead of:
ping -n 1 -w 4800 junksite.org

try
ping -n 1 -w 4800 192.168.1.42  

assuming your LAN was in the 192.168.1.x block, and .42 was not being used. This ping will not succeed, but will timeout after 4800 ms.

A tweak that avoid a DNS lookup.
0
 
go4javaAuthor Commented:
Thanks for your pro-active feedback, JT92677 :-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.