Wake On LAN

Wed, 2007-07-18 07:59 by admin · Forum/category:

General

How can I start a computer over the network?

There are two different procedures, depending on whether the target computer is in standby/sleep/suspend mode or whether it is actually powered down in hibernate mode or entirely off.

Note that you cannot wake a computer that is powered down over a WLAN connection. Only cable connections will do.

Waking from suspend mode

  1. On the target computer in Device Manager or in the network settings select the network card.
  2. Click on: Properties
  3. Click on the configure button of the network card.
  4. Select the tab: Power management
  5. Set a check mark at: Allow this device to bring the computer out of standby
  6. Click on: OK
  7. Continue to close all property pages.

Now your computer should wake up from standby whenever the network card is accessed by any other computer. If it doesn't, check any relevant BIOS settings, but usually there aren't any.

A frequent problem is that the computer is woken up by all and sundry network traffic, hence it may be better to send the computer to hibernate mode or shut it down and off altogether and use the following method.

Wake On LAN from hibernate or off mode

One way to do this is the following.

  1. Check whether the network adapter on the target computer supports Wake On LAN. Enable the function in the network adapter settings or in any special management program that came with it. If the network adapter is integrated on the motherboard, enable Wake On LAN in the motherboard BIOS.
  2. Download and install WakeOnLanGui from www.depicus.com.
  3. On the target computer, i.e. the one to be woken up, open a command line window and enter the command: ipconfig /all
  4. Note the physical address (sometimes called MAC = Media Access Control address) of your Ethernet adapter from the ipconfig output. Example: 00-E0-18-90-A5-44
  5. Run WakeOnLanGui on the computer from which you want to wake the other computer and type the physical address into the proper field in WakeOnLanGui. The other two fields are filled with 255.255.255.255, and the port is 7 or actually any other port. Port 9 is sometimes used.
  6. Shut down the computer to be waked.
  7. Test WakeOnLanGui.

If you need the opposite function as well, to shut down a computer remotely, have a look at:

http://www.microsoft.com/technet/sysinternals/utilities/PsShutdown.mspx

This program, PsShutdown, is a member of Sysinternals' PsTools group of freeware utilities.

To shut down and power down a remote computer named "computername", enter the command:

psshutdown -k -f -t 00 \\computername

-k indicates shutdown and powerdown, -f means force all running programs to close without asking, and -t 00 means don't wait (wait zero seconds) until shutting down the computer named computername. (Don't miss the required space between -t and 00.) This utility can do several other things as well, like sending the target computer into hibernate mode or rebooting it.

Wake On LAN over the Internet

One example of how to wake up a home or office computer across the Internet is the following.

Assume a home network with a WAN router, in this case a DrayTek Vigor 2500We with firmware version 2.54. The main problem is that you cannot use any of the usual methods to address the target computer. Since it is off, it has no IP address. False advice is widespread, because people keep forgetting this simple fact.

The router has to send a special broadcast packet into the Local Area Network, using the MAC (Media Access Control) address, rather than the IP address. With some routers you may be able to achieve this by sending a Wake-On-LAN packet to the router and forward the port to an internal broadcast address, for example: 192.168.0.255

With most routers, however, this still does not work. You have to rely on the router to have the special ability to forward or send a Wake-On-LAN broadcast packet. In the case of the DrayTek router this can only be achieved through the telnet interface, but unfortunately not yet through the Web interface. An example for the telnet command for this DrayTek router is:

wol up 00E01890A545

Of course you have to replace the hex number with the MAC address of your target computer, and for this particular router you cannot intersperse hyphens as usual. The router needs the address in the direct short hexadecimal format. Check your router's manual or help system for its specifics.

Through a Router

Thu, 2011-08-18 20:49 by bevhoward

Just tried it from the cloud from the posted link and, as expected, the packets were blocked by the router. From the WOL page, this is explained;

"If you use a router you need to set it to forward all broadcast traffic from some port (typically 9) on your PC. This will only works if you have a dedicated, always-on internet connection, and a configurable router (for example a DLink or Linksys, see guide link below for your router configuration)."

Until the need becomes urgent, think I will pass on opening up a broadcast port ;-)

Thanks for the responses.
Beverly Howard

Waking from suspend mode

Wed, 2011-08-17 20:51 by bevhoward

In addition to the power management steps noted above, there is also a checkbox to restrict waking to only allow "Management Devices"

WOL packets are apparently considered "management" so, checking this box will prevent waking for things such as pings and normal comms, but allow a WOL packet to wake a suspended computer.

When setting up a computer to be subject to "awakening" network status lights on a router or the back of a network connection can be valuable... if the router status light for the computer is off, there is no way the computer can receive a WOL request.

Further, check the status light both when the computer is turned off (or hibernated) _and_ when the computer is in suspend mode.

Remember, that on a laptop, a live computer nic will consume power when disconnected from external power.

fwiw, if you have an iPhone or other iOS device, check out ipscanner as it has WOL capabilities. The info here and that utility should save me from climbing a lot of steps ;-)

>> Since it is off, it has no IP address. <<

ipscanner apparently addresses this need. In addition, I would assume that a WOL packet will be sent as a "broadcast" which means that ip addresses are not involved in the process.

If you are trying to send "from the cloud" it will also be necessary to open a port in the router which would otherwise block WOL packets from outside.

Hope that this information is of value.
Beverly Howard

Thanks for the post. I also

Tue, 2011-06-07 08:18 by Tina de Pierre

Thanks for the post. I also found that http://www.canadiancontent.net/tech/download/WOL.html works if you know the MAC address and IP address of the computer you want to wake up. There's also some cool little apps on the Android market that can complete that task.

Online wol

Wed, 2007-10-03 01:16 by alex (not verified)

Another way to wake up PC it to use web-based tools like http://www.rshut.com/products/wol/ to send Wake-On-LAN request over Internet.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.