Wake-on-LAN (tutorial)

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 16:51, 23 August 2005 (edit)
Miruben (Talk | contribs)

← Previous diff
Revision as of 18:31, 23 August 2005 (edit) (undo)
Miruben (Talk | contribs)

Next diff →
Line 3: Line 3:
To make Wake On Lan work even if your router is rebooted follow these instructions. To make Wake On Lan work even if your router is rebooted follow these instructions.
-It's a good idea to test WOL-functionality of the target computer first (e.g. by a second directly connected computer).+# It's a good idea to test WOL-functionality of the target computer first (e.g. by a second directly connected computer).
- +# Choose an ip address not used by any computer in the local network (e.g. 192.168.0.254)
-Choose an ip address not used by any computer in the local network (e.g. 192.168.0.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 | 150 | 150 | udp | 192.168.1.254 | x wol | 150 | 150 | udp | 192.168.1.254 | x
(you can choose any unused port here) (you can choose any unused port here)
- +# Add an static ARP entry by typing these commands one by one on the web interface (Administration->Diagnostics) and save with "Save Startup":
-Add an 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.0.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0 ip neigh change 192.168.0.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0
ip neigh add 192.168.0.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0 ip neigh add 192.168.0.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0
- 
(ff:ff:ff:ff:ff:ff stands for the mac-address of the computer to wake up) (ff:ff:ff:ff:ff:ff stands for the mac-address of the computer to wake up)

Revision as of 18:31, 23 August 2005

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

To make Wake On Lan work even if your router is rebooted follow these instructions.

  1. It's a good idea to test WOL-functionality of the target computer first (e.g. by a second directly connected computer).
  2. Choose an ip address not used by any computer in the local network (e.g. 192.168.0.254)
  3. Create a port forward rule on the web interface (Applications&Gaming->Port_Range_Forward) to the chosen ip:

wol | 150 | 150 | udp | 192.168.1.254 | x (you can choose any unused port here)

  1. Add an 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.0.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0 ip neigh add 192.168.0.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0 (ff:ff:ff:ff:ff:ff stands for the mac-address of the computer to wake up)

Special thx go to Scatman (svenlange)

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