run wake on lan script or batch file

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
jeff r
-


Joined: 20 Oct 2004
Posts: 3

PostPosted: Thu Nov 18, 2004 7:05 pm    Post subject: run wake on lan script or batch file Reply with quote

Hi, is there a way to run wake on lan script or batch file from a web page?
I received the "batwrap" bat file thing from the Aprellium Admin (forum post), but I am not sure how to use it. Normally within the lan, I run wol.bat which is:
c:\wol\wol.exe 123456789ab (12... is the mac address)
exit

I would like to be able to wake/boot a server when needed from the internet.

I think this is where I got wol: http://www.gammadyne.com/cmdline.htm#wol its been a while.
Thanks, Jeff
Back to top View user's profile Send private message
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Thu Nov 18, 2004 7:45 pm    Post subject: Reply with quote

You won't be able to send a WOL packet from the internet to your LAN as far as I know. Do you only have one machine to act as a server? You'd need one machine to be on on your LAN permenantly ready to send a WOL packet to the server, which would kind of defeat the object of the whole process. If you have a router, check whether it supports sending WOL packets itself, that's the only other idea I can think of.
Back to top View user's profile Send private message
jeff r
-


Joined: 20 Oct 2004
Posts: 3

PostPosted: Fri Nov 19, 2004 5:18 am    Post subject: Reply with quote

The webserver that would run the wol packet sits next to the computer I want to wake up. All this would be behind the router or within the lan.
Back to top View user's profile Send private message
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Fri Nov 19, 2004 10:30 am    Post subject: Reply with quote

Oh!

Well in that case, you should be able to use the batwrap on the server as a CGI script to just send the WOL packet to the computer when someone views the page with it embedded in. I'd have to see whatever readme came with the batwrap to be able to offer any thoughts on what syntax/links to use though... Does it not give a simple way to just use batwrap to launch wol.bat ?
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group