It is said necessity is the mother of innovation. Well, sometimes laziness can be too!
The following are my configuration for the experiment
AMD Athlon 7750 Dual Core
Dell Inspiron 15R
DLink DIR 615
I am sure like me there must be n number of lazy buggers who dread the daily walk to their PC to turn them on. Sure you can manage a powered on PC remotely using Remote Desktop or as I prefer it, Teamviewer. But still there is the necessary walk to the CPU to press the power on button. A little research on how to avoid this avoidable exercise led me to “Wake on Lan”. The concept involves sending of a Magic Packet to the Mac ID and IP Address of a powered off machine whereby receiving the Magic Packet at the NIC, the BIOS starts up as if the CPU power button has been pushed.
The first step is of course to ensure that one’s machine is Wake on Lan compatible. If your PC is not older than 2-3 years it can be assumed to be Wake on Lan compatible.
The full details of the basic Operating System configurations necessary can be found from the wonderful guide on MixedupEric.com
After the basic OS configurations are done, one still needs a Magic Packet creation utility and Solar Wind Wake-on-Lan utility is a very user friendly tool which I used.
As one can see when the Wake on Lan tool is running one needs both the Mac Address and IP address of the remote computer which is to be powered on both of which can be found through the Command Prompt raised by entering “cmd” in Windows Run (Windows Key + R).
In Command Prompt enter “ipconfig /all” to raise the complete networking information of the machine, including IP Address and the Hexadecimal Mac Address (eg. 00-0F-1F-72-B1-1E).
Ensure that both machines are powered on and test once to see whether the packets actually travel between the two computers. If it is not a success ( when the remote computer is powered on) some firewall may be blocking the packets either at any of the two computers or a Router which may be in between.
To ensure that your router does not filter out the Magic Packets, configure your Router with Port Forwarding so that all UDP traffic in the ports 7 and 9 are let through for the IP range 255.255.255.255. The below link from Portfoward.com illustrates how to set up Port Forwarding in a Dlink DIR 615 wireless router.
Just ensure that the IP Address field is not left blank as in screenshots in the link above, but must be filled with 255.255.255.255
Having done all that there is one final step before the Wake on Lan works – BIOS Configuration. Reboot the PC and at the BIOS stage hit Delete ( for my PC) or in some cases F8 to reach the BIOS configuration. Go to the Power Settings and enable Wake on Lan / PCI event wake up etc. Save the settings and voila, your machine can be turned on remotely!