Solved

Wake On LAN // Fujitsu Scaleo Home Server 2205

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Group policy not applying 5 91
Share and Advanced Sharing permissions 8 98
how to execute all sub dir 2 40
tsadmin.msc on WIndows 2012 R2 4 107
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…
Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

776 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