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
Solved

Wake On LAN // Fujitsu Scaleo Home Server 2205

Posted on 2009-07-14
3
1,048 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
  • 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

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…
This is my 3rd article on SCCM in recent weeks, the 1st (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2008/A_4466-A-beginners-guide-to-installing-SCCM2007-on-Windows-2008-R2-Server.html) dealing with installat…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

789 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