just another nerd on the interweb…
Wake On Lan for Active Server Pages allows any IIS web browser with the ASP interpreter to send a Magic Packet to a remote machine
Instructions for use. You will need to register the control on the IIS server you intend to use. Syntax: regsvr32 {path}\WolAsp.dll Included in the download are three .asp files which show you how to use the control.
You could run statically from a single asp page with this minimal code.
<% set WakeOnLan = server.createobject("DigitalWol.Wol") WakeOnLan.TheMacAddress('009027a322fc') WakeOnLan.TheIpNumber('217.204.255.61') WakeOnLan.TheSubnetMask('255.255.255.240') WakeOnLan.ThePortNumber('8900') WakeOnLan.WakeMeUp %>
However a form would allow you to change the machine to wake up.
<form method="post" action="bottom.asp" target="bottom"> <p align="justify" style="margin-left: 10">This is where you would enter the Mac Address.</p> <input type="text" name="MacAddress" size="20" value="009027a322fc"><input type="text" name="IpNumber" size="20" value="195.188.159.20"><input type="text" name="SubnetMask" size="20" value="255.255.255.0"> <input type="submit" value="Send Magic Packet" name="thebutton" class="button"> </form>
<% if Request.Form("MacAddress") <> "" then set WakeOnLan = server.createobject("DigitalWol.Wol") WakeOnLan.TheMacAddress(Request.Form("MacAddress")) WakeOnLan.TheIpNumber(Request.Form("IpNumber")) WakeOnLan.TheSubnetMask(Request.Form("SubnetMask")) WakeOnLan.ThePortNumber(Request.Form("PortNumber")) WakeOnLan.WakeMeUp end if %>
Price - We ask for nothing (credits, payment etc. although that would be nice) except that if you use it on a site we could see from the web you let us know so we can get a warm glowing feeling from seeing our work used in the real world. Thank you
I would love to change the world, but they won't give me the source code.