21 Oct
So what is so useful about Wake on LAN? You see, I am required to do computer maintenance at a company that has more than 10 computers. I can only do that when all of the employees have gone home otherwise I’ll be interrupting their working hours. If I don’t use Wake on LAN, I need to ask them to leave their computer turned on and sometimes I need to manually turn them on if they forgot to leave it on. But with Wake on LAN, client systems can be easily remotely powered up and I can remote access to do maintenance.
There are two ways of how Wake on LAN can work. The first one is you want to turn on a computer on the same local area network and the second one is you want to turn on a computer on another location through the internet. I didn’t know that Wake on LAN can work through Internet until an old friend of mine Dennis from www.annoying.dk told me about it.
This is how Wake on LAN works. The target computer is shut down, with power reserved for the network card. The network card listens for a specific packet, called the “Magic Packet”. The listening computer receives this packet, checks it for the correct information, and then boots if the Magic Packet is valid. A magic packet is data consisting of “FF FF FF FF FF FF” followed by 16 repetitions of the listening network device’s MAC address.
Here is how you can turn on a computer on the same local area network using Wake on LAN.
There are many many Wake-On-LAN tools that can be downloaded on the Internet and of course I always try my best to find the easiest one to use.
1. Nyxbull Wake on LAN

Only MAC address is required and works on LAN. Freeware.
[ Download Nyxbull Wake on LAN v1.0 ]
To find MAC address, double click on the network icon located at tray bar, go to Support tab and click on Details button. The physical address is your MAC address. It is in 00-11-22-33-44 format.
Another way is to open up command prompt and type “arp -a“. The Address Resolution Protocol (ARP) command can only display MAC address of other computer that is turned on. You can’t use it to display your own MAC address.
2. FUSION WakeUp on Lan

Also FREE. What I really like about this tool is it has the ability to get MAC address from IP address. If the target computer is off, you can still try the Get MAC button because it can search in the cache. As for the password box, you can leave it blank.
[ Download Fusion WakeUp On LAN ]
Unfortunately I couldn’t find any simple Wake On LAN tool that can save a list of MAC Address. It will be so much convenient if I can just select the MAC address from the list and click a button to boot up a computer.
We’ll now continue to the more interesting part, booting up computer on another location through Internet. Let’s say I am in Singapore on a business trip and I need to turn on my computer to retrieve some files. It may seem impossible but it is possible. For Wake-on-LAN over the internet, you must have a router that is turned on in order to wake up a computer over the internet.
At first I found Depicus Wake on Lan tool that is able to boot up a computer using Wake-on-LAN over the internet.

One thing I find very confusing about this tool is the Subnet Mask entry. It somehow modifies the entered IP address to become something else. I have just tried different numbers for the last part of the subnet mask, until the small graphical interface tool finally showed my IP in the status bar. The description about the whole Subnet Mask thing on that website is:
How to calculate the subnet-directed broadcast address
1) Convert machine address to binary e.g. 10.208.20.1 = 00001010.11010000.00010100.00000001
2) Convert the Subnet Mask to Binary e.g. 255.255.240.0 = 11111111.11111111.11110000.00000000
3) Invert the Binary Subnet Mask e.g. 11111111.11111111.11110000.00000000 becomes 00000000.00000000.00001111.11111111
4) Or the machine address and the inverted subnet mask e.g. 00001010.11010000.00010100.00000001 Or 00000000.00000000.00001111.11111111 = 00001010.11010000.00011111.11111111 = 10.208.31.255
Please don’t ask me about it… I spent many hours trying to understand and also searching on the Internet for more information about subnet directed broadcast but couldn’t find much. I gave up… No not on Wake-on-LAN over the Internet, but only on this tool.
Update: You can forget about calculating the subnet directed broadcast. Just use the subnet mask 255.255.255.255 and it’ll send the magic packet to the IP address and MAC Address that you’ve specified. Thanks to Ed for this tip.
Then I found 2 websites that allows sending magic packets to boot up computer over the internet. It is a free service that can be used by anyone.
IMPORTANT: Make sure you configure your router to forward port 9 to the computer that you want to boot up otherwise it will not work because the Magic Packet can’t get in your network. Refer to PortForward.com on how to configure port forwarding for your router.
1. Wake-On-LAN Online

You must know the external IP address, MAC address and also the Port. The default port for WoL over the Internet is 9. Some use port 7. Enter the correct information, hit the “Wake Up!” button and it’ll send the magic packet to turn on your computer. I’ve tried it and it worked.
2. RemoteWakeUp

The requirement is save as above. You need to enter IP address/hostname, MAC address and port.
Update: Here’s a third website that provides free Wake on LAN over the internet service.
3. Depicus Wake on LAN over the Internet

Other than entering IP Address, MAC Address and Port, you need to enter subnet mask as well. Just enter 255.255.255.255. Thanks to Ed again for this tip.
If both of the websites is down and you desperately need to remotely wake up a computer, try using a free PHP script created by Soeren. You need to upload it to a webhost that supports PHP. It may not work on some web servers, because the socket functions it makes use of are often disabled on web servers, for security reasons I assume. This is how the Wake-on-Internet PHP script look like.

If Wake-on-LAN doesn’t work for you, try using Wake on Lan Monitor/Sniffer. You can use this tool to test if the magic packet is reaching your computer or not.

[ Download Wake on LAN Monitor/Sniffer ]
Tip: There are some routers that supports Dynamic DNS. This is a very useful feature where if your IP address changes, you can still keep track of your current IP address. My Belkin N1 wireless router has this feature and it’s easy to configure. I only need to sign up with DynDNS.org, and enter the information in my Belkin router.

If you’re interested in knowing how to wake a computer up over the internet using linux, check out Dennis blog.
Technorati Tags: wol, woi, wake on lan, wake-on-lan, magic packet
: Copying this article to your website is strictly NOT allowed. However, if you like this article, you can use the HTML code below to directly link to this article.
Remotely Enable Windows Remote Desktop How to Remotely Turn OFF Computer from LAN or WAN How to REMOTELY disable removable storage devices How To Manually Turn Off Notebook or Laptop LCD Screen How To Use One UPS on Multiple Computers Remotely Start and Stop Applications or Services over the Internet FastPush to silently and remotely install VNC Server
Have computer technical problems? Get FREE help from Raymond.CC FORUM
42 Responses for "How To Remotely Turn On Computer from LAN and WAN"
Hi ray, your post is very cool, my name is antony, i live from brazil sorry my english.i have software, advanced windowscare v2 pro version 2.5.1. the register is very hard find, nobody find this version, please help, thanks big man!!!! congratulations, your website is the best of the best….
Sorry Antony, I can’t help you with your crack problems.
hey ray, is there a way to turn off the pc? or its just to turn on?
hey ray.. so that works if i just c/p IP adress of the remote computer in the correct field.. and press WAKE ON LAN
Hi,
With the depicus WOL I think they are talking about the Wildcard Masks. Cisco has a lot of easy to understand documents on this.
@vahig: You can try the “shutdown” command in Windows. Or if you’re looking for more powerful shutdown tool, try PowerOff.
http://users.pandora.be/jbosman/applications.html
@veki: No. Most important is the Physical/MAC address. Also the router must forward a port.
@BIGfan: I am not sure about depicus WOL. I spent many hours trying to figure it out but failed. Please share with us if you know anything about it.
I share the same quiestion as vahig but with the addition, is it possible to turn of the computer, from another computer. I live at two houses you see and sometimes i leave the pc on at one and i have to cycle back to turn it off. Can you help?
Alex, PowerOff can turn off a computer from another computer.
Well Mr Raymond,
Your site is really the Top!!!!
I’ll be nearly 1 Year that i’m here as a member on this BLOG!
I’m really proud to be a member of Raymond blog.
Thanks for all!
Hi Raymond,
Thanks for your review of our Wake-On-LAN Online tools.
We are pleasure that it works fine and would like to note that we plan to add ’schedule’ option in the online version soon. It is also available more advanced desktop software version RSHUT PRO for WOL and remote shutdowns.
@ Raymond
Have a look here: http://en.wikipedia.org/wiki/Wake-on-LAN
Also, in the Depicus Wake on Lan tool, just use always subnet mask of 255.255.255.255. this makes the ip address the single unique address you type in the Internet Address. I guess other subnet mask can be used when you have a group of PC in same office with consecutive ip address.
You’ve been a great help Ed
I’ve used the subnet mask 255.255.255.255 and it works! I should update this post.
@ Raymond
I checked other WOL programs on the wikipedia page I posted above, and at least couple of them will keep a list of comuters, like you wanted. (sorry, I forgot which, and I did not install any programs, so might be couple more)
[...] http://www.raymond.cc [...]
very help full way raymond good work
cool, thanks Ray!!
[...] Link – Leave yours [...]
[...] I posted an article on how to remotely turn on computer from LAN or WAN, I’ve been getting comments and emails asking me how to remotely turn off computer in a LAN or [...]
[...] I posted an article on how to remotely turn on computer from LAN or WAN, I’ve been getting comments and emails asking me how to remotely turn off computer in a LAN [...]
[...] on LAN (WOL, sometimes WoL) is an Ethernet computer networking standard that allows a shut-down computer to be turned on remotely. Most of new motherboards that [...]
[...] Check it out! While looking through the blogosphere we stumbled on an interesting post today.Here’s a quick excerptWake on LAN (WOL, sometimes WoL) is an Ethernet computer networking standard that allows a shut-down computer to be turned on remotely. Most of new motherboards that has integrated ethernet controller supports this feature. … [...]
Great Post Buddy.
I blog it in my blog.
Thanks….
There is something about sub-net calculation that is not understandable:
Let us say that there are (as usually are) computers with addresses: 10.10.1.10 and 10.10.1.20
both with subnet mask 255.255.255.0
If you use OR than both computers are adressed 10.10.1.255. Which one will I wake up (or get MAC)?
May be XOR instand OR is suposed to be used?
i have a linksys router and i put wirlesss adapter in it and have wol enabled and i wus just wondering is it only works for wirelesss networks (wan) or lan
Hi Ray! How you are accessing remote computer after it\’s turned on? if remote computer has password you should logon before you can load Windows and use Remote Desktop. without password RD doesn\’t work, right?
Hi Ray ! Hava you any method to turn on Linux system remolty . i have two site there is i m using Linux i m useing RF technology how i can on my Linux server for one site from other site.
Very cool!!! I used the wake up from the internet entered my home IP and MAC addy from my office and Voila! My home computer turned on. I used a remote support proggy to turn computer off and access everything THANKS!!!!!
Now I start the MCSE. Can you help me in this regard
Bit confused why wol over internet wont work for me. I use an ISP who changes my external IP regularly but no problem I can get that using No-IP\\\’s service. I am assuming the MAC address is for the actual network card not the router. The port is open and directed to the IP address of the computer (fixed) but I get nothing even using the sniffer.
What am I doing wrong please?
Nice article, I already use VNC to control my machine but sometimes I forget to leave my PC on. This will help a lot, the only thing I need now is a decent router which supports dynDNS.
@Paul Denton
You don’t need dynDNS supporting router, there are programs that you can run on your computer that periodically check your IP and update your dynDNS.
Just a quick point about the software to set dynDNS. If your computer is off, waiting for a (wake-on-lan). then the program you have on your conputer to set your ip address with dynDNS wont be running. if it changes while its off..
(think i got that right lol)….
I have “GotomyPC”. I can log on to the computer and then just issue the normal shutdown command. I have used this for years, just didn’t know how to turn it on remotely.
Thanks, big help!
Does anybody know any thing about Alpiron looks like it can shutdown and startup servers and workstations
hey well i tried to turn m computer on but my computers is on a rivte network wht do i do?
WHAT A NICE THING!!!! YOU JUST SAVE ME LOT WORK HOURS, because someone have lost the keys of the server’s room, I had to work remotly, but, for a mistake turned off the server, but, I was able to turn it on again with the software Fusion WOL, thanks a lot for your advise.
Hi, Ray
You’r a great man.
Very informative, thank you so much! ive been looking for a way to turn my computer on from school + use logmein =)
My Name Is WatR .
And Sum How I Came Across Ths Internet Thinqy Paqe Whadd Is It ?
Ids How Dum Bud How Alqee .
And Liek Totally Alqee Dudez
ROCK ON .
Hhahahahha
Once Aqain Whad Is Ths ?
I tired using FUSION WakeUp on Lan but it did not turn on my other computer. I added mac address and it did not work.
Thx my friend, your post was of great help. It saved me a lot of money. I was going to buy a remote power switch and “ATX push to on” from Deltronix. Thx again.
Hi reymond,
I have problem with fusion WOL. I don’t know why, but I type in IP, press get mac or type that in too, and nothing..after about 30 sec it tells me that computer could not be turned on!! Do you know about this problem and how should I solve it???
P.S. I have 20 computers in LAN and I took IP and MAC manualy from each one, to be sure…
Thanks in advance!!!
Leave a reply