Solved

Wake On LAN // Fujitsu Scaleo Home Server 2205

Posted on 2009-07-14
3
1,057 Views
Last Modified: 2013-11-11
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?
0
Comment
Question by:go4java
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
JT92677 earned 500 total points
ID: 24860580
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
 
LVL 8

Expert Comment

by:JT92677
ID: 24864423
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
 

Author Comment

by:go4java
ID: 24867076
Thanks for your pro-active feedback, JT92677 :-)
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The environment that this is running in is SCCM 2007 R2 running on a Windows 2008 R2 server. The PXE Distribution point is running on its own Windows 2008 R2 box. This is what Event viewer showed after trying to start the WDS service:  An erro…
TOMORROW TOMORROW.BAT is inspired by a question I get asked over and over again; that is, "How can I use batch file commands to obtain tomorrow's date?" The crux of this batch file revolves around the XCOPY command - a technique I discovered w…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question