Remote WOL wake-on-lan configration

From BE Usergroup Technotes

Jump to: navigation, search

Posted by Oliver Hopton on the think broadband site, and reproduced here with his permission.

First you need to configure wake-on-lan on your pc. Go to the device manager and right click on your network adaptor, then go to the advanced tab. I have a couple of settings in here "Wake from Shutdown" which is "on" and "Wake Up Capabilities" which is set to "Magic Packet". Not sure if you need to do anything in the bios or not.

Once you've done this you should be able to put your computer into S3 standby and then wake it up using this program http://www.depicus.com/wake-on-lan/wake-on-lan-gui.aspx, this will only work from within your local network and only for a few minutes after you put the machine into standby but if it doesn't work then your machine is not correctly configured.

Now you need to make a few configuration changes to your router. You'll need to make sure your machine has a fixed IP, it's ok to use DHCP as long as your make sure your machine is always given the same IP. You then need to add a new Game or Application to your Speedtouch, port range 7-7 called WOL or something, then assign this to your machine.

Once you've done this you should be able to wake your pc up from S3 standby using this page, http://www.depicus.com/wake-on-lan/woli.aspx but again only for a few minutes after you put the machine into standby. If you can't get the machine to wake up then now is the time to install WireShark and see if the magic packets are getting to your PC.

Once you've got that going then you need to add a static entry to the ARP table on your Speedtouch, this will stop WOL from failing a few minutes after your machine goes to sleep. To do this, do the following:

1.) Telnet to your speedtouch, 192.168.1.254 (or wherever it lives) and login with your normal username and password.

2.) Type ip.

3.) Type arplist, this should print out your routers current arp table which should contain an entry for your machine.You need to delete this dynamic entry and add a static one so you need to take a note of the Interface, IP-Address and Mac-Address of your machine.

4.) Type arpdelete, enter "LocalNetwork" for intf, your machine's ip for ip and your machine's mac address for [hwaddr].

5.) Type arpadd and enter the same parameters above. If you get the following error:
Failed to add ARP entry....

This is because the router or machine arp broadcast within the time of removing the dynamic entry and attempting to add the static entry.
Re-run the delete and then add commands but in very quick succession. EG:
{Administrator}[ip]=>:ip arpdelete intf=LocalNetwork ip=10.0.0.108
{Administrator}[ip]=>:ip arpadd intf=LocalNetwork ip=10.0.0.108 hwaddr=00:24:e8:25:72:f3

6.) Type arplist again, your machine should be back in the table but the entry in the type column should now read static instead of dynamic.

That's it, you should be good to go.

Personal tools