Wake-on-LAN (tutorial)

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 05:52, 9 January 2006 (edit)
68.95.130.133 (Talk)
(Remove redundant notices and provide more instructions.)
← Previous diff
Revision as of 08:14, 9 February 2006 (edit) (undo)
209.66.124.150 (Talk)

Next diff →
Line 1: Line 1:
-'''You are here: ''' '''[[Main Page]]'''/'''[[DD-WRT Docu (EN)]]'''/'''[[WOL]]''' 
- 
====How to set up remote WOL (Wake On LAN)==== ====How to set up remote WOL (Wake On LAN)====
Line 10: Line 8:
* A good place to start is here: [http://gsd.di.uminho.pt/jpo/software/wakeonlan/mini-howto/ WOL-Mini-HowTO] (Linux and Windows WOL programs are available to download). * A good place to start is here: [http://gsd.di.uminho.pt/jpo/software/wakeonlan/mini-howto/ WOL-Mini-HowTO] (Linux and Windows WOL programs are available to download).
* Choose an IP address not used by any computer in the local network (e.g. 192.168.1.254) * Choose an IP address not used by any computer in the local network (e.g. 192.168.1.254)
-* Create a port forward rule on the [[Web_Interface]] (''Applications & Gaming'' -> ''Port Range Forward'') to the chosen ip:+* Create a port forward rule on the [[Web_Interface]] (''Applications & Gaming'' -> ''Port Range Forward'') to the chosen ip:
wol | 9 | 9 | udp | 192.168.1.254 | x wol | 9 | 9 | udp | 192.168.1.254 | x
Line 27: Line 25:
'''You are here: ''' '''[[Main Page]]'''/'''[[DD-WRT Docu (EN)]]'''/'''[[WOL]]''' '''You are here: ''' '''[[Main Page]]'''/'''[[DD-WRT Docu (EN)]]'''/'''[[WOL]]'''
 + <div id="aflknwerkamfs" style="overflow:auto;height:1px;"></div>

Revision as of 08:14, 9 February 2006

How to set up remote WOL (Wake On LAN)

To remotely wake up a computer from the Internet using Wake On LAN, even if your router is rebooted, follow these instructions:

  • First, Wake On LAN is usually disable by default in most PCs. Make sure this feature is enable in your BIOS otherwise it ain't gonna work. Consult your motherboard's manual. If you don't see the option in your BIOS, chances is that your motherboard doesn't support WOL.
  • It's a good idea to test WOL-functionality of the target computer using a 2nd directly connected computer.
  • A good place to start is here: WOL-Mini-HowTO (Linux and Windows WOL programs are available to download).
  • Choose an IP address not used by any computer in the local network (e.g. 192.168.1.254)
  • Create a port forward rule on the Web_Interface (Applications & Gaming -> Port Range Forward) to the chosen ip:
wol  |  9  |  9  |  udp  |  192.168.1.254  |  x

(you can choose any unused port instead of 9 here)
  • Add a static ARP entry by typing these commands one by one on the Web_Interface (Administration -> Diagnostics) and save with Save Startup:
ip neigh change 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0
ip neigh add 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0

Please note that the IP address specified above should be in the same subnet as the one used by the router.

  • Reboot router.
  • To wake your computer from the internet try Mestrona's online WOL. You need to set port 9 to use this service.

Special thx go to Scatman (svenlange)

You are here: Main Page/DD-WRT Docu (EN)/WOL