http://wiki.dd-wrt.com/wiki/index.php?title=Wake-on-LAN_%28tutorial%29&action=history&feed=atom Wake-on-LAN (tutorial) - Revision history 2024-03-28T21:53:49Z Revision history for this page on the wiki MediaWiki 1.10.1 http://wiki.dd-wrt.com/wiki/index.php?title=Wake-on-LAN_%28tutorial%29&diff=56054&oldid=prev Kernel-panic69: /* See Also (forum discussions) */ 2021-09-21T21:22:47Z <p><span class="autocomment">See Also (forum discussions)</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 21:22, 21 September 2021</td> </tr> <tr><td colspan="2" align="left"><strong>Line 100:</strong></td> <td colspan="2" align="left"><strong>Line 100:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">==See Also (forum discussions)==</td><td> </td><td style="background: #eee; font-size: smaller;">==See Also (forum discussions)==</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">* [<del style="color: red; font-weight: bold; text-decoration: none;">http</del>://<del style="color: red; font-weight: bold; text-decoration: none;">www</del>.dd-wrt.com/phpBB2/viewtopic.php?p=248689 WOL for WinXP workstations (solution)]</td><td>+</td><td style="background: #cfc; font-size: smaller;">* [<ins style="color: red; font-weight: bold; text-decoration: none;">https</ins>://<ins style="color: red; font-weight: bold; text-decoration: none;">forum</ins>.dd-wrt.com/phpBB2/viewtopic.php?p=248689 WOL for WinXP workstations (solution)]</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">* [<del style="color: red; font-weight: bold; text-decoration: none;">http</del>://<del style="color: red; font-weight: bold; text-decoration: none;">www</del>.dd-wrt.com/phpBB2/viewtopic.php?t=43034 WRT54G 1.1, WoL over Internet and Vista]</td><td>+</td><td style="background: #cfc; font-size: smaller;">* [<ins style="color: red; font-weight: bold; text-decoration: none;">https</ins>://<ins style="color: red; font-weight: bold; text-decoration: none;">forum</ins>.dd-wrt.com/phpBB2/viewtopic.php?t=43034 WRT54G 1.1, WoL over Internet and Vista]</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">* [<del style="color: red; font-weight: bold; text-decoration: none;">http</del>://<del style="color: red; font-weight: bold; text-decoration: none;">www</del>.dd-wrt.com/phpBB2/viewtopic.php?t=43086 More on Wake on LAN (WOL)]</td><td>+</td><td style="background: #cfc; font-size: smaller;">* [<ins style="color: red; font-weight: bold; text-decoration: none;">https</ins>://<ins style="color: red; font-weight: bold; text-decoration: none;">forum</ins>.dd-wrt.com/phpBB2/viewtopic.php?t=43086 More on Wake on LAN (WOL)]</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">* [<del style="color: red; font-weight: bold; text-decoration: none;">http</del>://<del style="color: red; font-weight: bold; text-decoration: none;">www</del>.dd-wrt.com/phpBB2/viewtopic.php?t=27469 WOL through SSH]</td><td>+</td><td style="background: #cfc; font-size: smaller;">* [<ins style="color: red; font-weight: bold; text-decoration: none;">https</ins>://<ins style="color: red; font-weight: bold; text-decoration: none;">forum</ins>.dd-wrt.com/phpBB2/viewtopic.php?t=27469 WOL through SSH]</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">* [<del style="color: red; font-weight: bold; text-decoration: none;">http</del>://<del style="color: red; font-weight: bold; text-decoration: none;">www</del>.dd-wrt.com/phpBB2/viewtopic.php?t=23468 !!HELP!! - WOL - Magic Packet]</td><td>+</td><td style="background: #cfc; font-size: smaller;">* [<ins style="color: red; font-weight: bold; text-decoration: none;">https</ins>://<ins style="color: red; font-weight: bold; text-decoration: none;">forum</ins>.dd-wrt.com/phpBB2/viewtopic.php?t=23468 !!HELP!! - WOL - Magic Packet]</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">* [<del style="color: red; font-weight: bold; text-decoration: none;">http</del>://<del style="color: red; font-weight: bold; text-decoration: none;">www</del>.dd-wrt.com/phpBB2/viewtopic.php?p=248703 Schedule Wake-On-LAN with a Linksys WRT54GL]</td><td>+</td><td style="background: #cfc; font-size: smaller;">* [<ins style="color: red; font-weight: bold; text-decoration: none;">https</ins>://<ins style="color: red; font-weight: bold; text-decoration: none;">forum</ins>.dd-wrt.com/phpBB2/viewtopic.php?p=248703 Schedule Wake-On-LAN with a Linksys WRT54GL]</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">* [<del style="color: red; font-weight: bold; text-decoration: none;">http</del>://<del style="color: red; font-weight: bold; text-decoration: none;">www</del>.dd-wrt.com/phpBB2/viewtopic.php?t=29186 WOL Script]</td><td>+</td><td style="background: #cfc; font-size: smaller;">* [<ins style="color: red; font-weight: bold; text-decoration: none;">https</ins>://<ins style="color: red; font-weight: bold; text-decoration: none;">forum</ins>.dd-wrt.com/phpBB2/viewtopic.php?t=29186 WOL Script<ins style="color: red; font-weight: bold; text-decoration: none;">]</ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">* [https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=308103 WOL configuration</ins>]</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">==References==</td><td> </td><td style="background: #eee; font-size: smaller;">==References==</td></tr> </table> Kernel-panic69 http://wiki.dd-wrt.com/wiki/index.php?title=Wake-on-LAN_%28tutorial%29&diff=55763&oldid=prev MSOENGINEER: /* Remote Wake On LAN via Port Forwarding */ 2020-12-07T16:54:50Z <p><span class="autocomment">Remote Wake On LAN via Port Forwarding</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 16:54, 7 December 2020</td> </tr> <tr><td colspan="2" align="left"><strong>Line 66:</strong></td> <td colspan="2" align="left"><strong>Line 66:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> &lt;tt&gt;ip neigh change 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0&lt;/tt&gt;</td><td> </td><td style="background: #eee; font-size: smaller;"> &lt;tt&gt;ip neigh change 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0&lt;/tt&gt;</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> &lt;tt&gt;ip neigh add 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0&lt;/tt&gt;</td><td> </td><td style="background: #eee; font-size: smaller;"> &lt;tt&gt;ip neigh add 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0&lt;/tt&gt;</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">*'''NOTE: SOME BCM USERS HAVE REPORTED ISSUES WITH ARP. SEE THIS:'''</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=913986#913986</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">3 - Reboot the router, or execute the startup commands manually.</td><td> </td><td style="background: #eee; font-size: smaller;">3 - Reboot the router, or execute the startup commands manually.</td></tr> </table> MSOENGINEER http://wiki.dd-wrt.com/wiki/index.php?title=Wake-on-LAN_%28tutorial%29&diff=53802&oldid=prev Ian5142: Added Languages 2018-03-11T18:41:39Z <p>Added Languages</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 18:41, 11 March 2018</td> </tr> <tr><td colspan="2" align="left"><strong>Line 1:</strong></td> <td colspan="2" align="left"><strong>Line 1:</strong></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">{{Languages|Wake-on-LAN_(tutorial)}}</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">==Introduction==</td><td> </td><td style="background: #eee; font-size: smaller;">==Introduction==</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Wake-On-LAN (WOL) provides the ability to wake a slept/suspended, hibernating, or shut down computer, but the support for this (especially the latter) is dependent upon the hardware and BIOS/UEFI settings. Most modern computers have the WOL feature - it might be listed under PME (Power Management Events).</td><td> </td><td style="background: #eee; font-size: smaller;">Wake-On-LAN (WOL) provides the ability to wake a slept/suspended, hibernating, or shut down computer, but the support for this (especially the latter) is dependent upon the hardware and BIOS/UEFI settings. Most modern computers have the WOL feature - it might be listed under PME (Power Management Events).</td></tr> </table> Ian5142 http://wiki.dd-wrt.com/wiki/index.php?title=Wake-on-LAN_%28tutorial%29&diff=53451&oldid=prev Jeremywh7: /* Introduction */ 2018-01-08T18:20:48Z <p><span class="autocomment">Introduction</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 18:20, 8 January 2018</td> </tr> <tr><td colspan="2" align="left"><strong>Line 1:</strong></td> <td colspan="2" align="left"><strong>Line 1:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">==Introduction==</td><td> </td><td style="background: #eee; font-size: smaller;">==Introduction==</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">WOL provides the ability to wake<del style="color: red; font-weight: bold; text-decoration: none;">-up </del>a <del style="color: red; font-weight: bold; text-decoration: none;">sleeping</del>, hibernating, or <del style="color: red; font-weight: bold; text-decoration: none;">powered-off </del>computer. <del style="color: red; font-weight: bold; text-decoration: none;">Chances are your computer has </del>the WOL feature.</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">Wake-On-LAN (</ins>WOL<ins style="color: red; font-weight: bold; text-decoration: none;">) </ins>provides the ability to wake a <ins style="color: red; font-weight: bold; text-decoration: none;">slept/suspended</ins>, hibernating, or <ins style="color: red; font-weight: bold; text-decoration: none;">shut down </ins>computer<ins style="color: red; font-weight: bold; text-decoration: none;">, but the support for this (especially the latter) is dependent upon the hardware and BIOS/UEFI settings</ins>. <ins style="color: red; font-weight: bold; text-decoration: none;">Most modern computers have </ins>the WOL feature <ins style="color: red; font-weight: bold; text-decoration: none;">- it might be listed under PME (Power Management Events)</ins>.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Reasons to use WOL with DD-WRT:</td><td> </td><td style="background: #eee; font-size: smaller;">Reasons to use WOL with DD-WRT:</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* You do not want a computer on all the time, yet you want to use it from outside your home or office, and there is a DD-WRT-enabled device as the Internet gateway for that computer, powered on all the time.</td><td> </td><td style="background: #eee; font-size: smaller;">* You do not want a computer on all the time, yet you want to use it from outside your home or office, and there is a DD-WRT-enabled device as the Internet gateway for that computer, powered on all the time.</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">* <del style="color: red; font-weight: bold; text-decoration: none;">You run </del>a server <del style="color: red; font-weight: bold; text-decoration: none;">or computer all the time</del>, <del style="color: red; font-weight: bold; text-decoration: none;">and </del>want it to <del style="color: red; font-weight: bold; text-decoration: none;">shut down in case of over-temp or other situations. If this happens, you may still need to </del>access <del style="color: red; font-weight: bold; text-decoration: none;">documents on the server, from inside or outside the home network</del>.</td><td>+</td><td style="background: #cfc; font-size: smaller;">* <ins style="color: red; font-weight: bold; text-decoration: none;">The computer is </ins>a <ins style="color: red; font-weight: bold; text-decoration: none;">media </ins>server <ins style="color: red; font-weight: bold; text-decoration: none;">that auto-sleeps</ins>, <ins style="color: red; font-weight: bold; text-decoration: none;">but you </ins>want it to <ins style="color: red; font-weight: bold; text-decoration: none;">wake automatically for file </ins>access.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">==Preparation==</td><td> </td><td style="background: #eee; font-size: smaller;">==Preparation==</td></tr> </table> Jeremywh7 http://wiki.dd-wrt.com/wiki/index.php?title=Wake-on-LAN_%28tutorial%29&diff=41791&oldid=prev Code65536: /* Remote Wake On LAN via Port Forwarding */ 2012-01-04T09:45:44Z <p><span class="autocomment">Remote Wake On LAN via Port Forwarding</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 09:45, 4 January 2012</td> </tr> <tr><td colspan="2" align="left"><strong>Line 58:</strong></td> <td colspan="2" align="left"><strong>Line 58:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> &lt;tt&gt;arp -i br0 -s 192.168.1.254 FF:FF:FF:FF:FF:FF&lt;/tt&gt;</td><td> </td><td style="background: #eee; font-size: smaller;"> &lt;tt&gt;arp -i br0 -s 192.168.1.254 FF:FF:FF:FF:FF:FF&lt;/tt&gt;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">* Do '''not''' change the FF:FF:FF:FF:FF:FF MAC address; this is a special MAC address used when broadcasting. WOL magic packets should be and almost always are sent via broadcast.</td><td>+</td><td style="background: #cfc; font-size: smaller;">* Do '''not''' change the FF:FF:FF:FF:FF:FF MAC address; this is a special MAC address used when broadcasting. WOL magic packets <ins style="color: red; font-weight: bold; text-decoration: none;">are ''constructed'' using the MAC address of the target computer, but </ins>should be and almost always are <ins style="color: red; font-weight: bold; text-decoration: none;">''</ins>sent<ins style="color: red; font-weight: bold; text-decoration: none;">'' </ins>via broadcast<ins style="color: red; font-weight: bold; text-decoration: none;">; the MAC address used here controls with how the packet is sent, ''not'' how it is formed</ins>.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* The 192.168.1.254 IP address should correspond with the IP address you used in the previous step. Again, this IP should be in your LAN's subnet, and you must not assign this IP address to any actual device on your network.</td><td> </td><td style="background: #eee; font-size: smaller;">* The 192.168.1.254 IP address should correspond with the IP address you used in the previous step. Again, this IP should be in your LAN's subnet, and you must not assign this IP address to any actual device on your network.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* Explanation/rationale for this setup: Normally, WOL magic packets are sent to a special broadcast IP--to the final .255 in a subnet or to 255.255.255.255. Since port-forwarding to these special dedicated broadcast IPs does not work, what we need to do is create our own broadcast IP by taking an unused IP and assigning it a broadcast MAC and then port-forward to that.</td><td> </td><td style="background: #eee; font-size: smaller;">* Explanation/rationale for this setup: Normally, WOL magic packets are sent to a special broadcast IP--to the final .255 in a subnet or to 255.255.255.255. Since port-forwarding to these special dedicated broadcast IPs does not work, what we need to do is create our own broadcast IP by taking an unused IP and assigning it a broadcast MAC and then port-forward to that.</td></tr> </table> Code65536 http://wiki.dd-wrt.com/wiki/index.php?title=Wake-on-LAN_%28tutorial%29&diff=41790&oldid=prev Code65536: /* Remote Wake On LAN via Port Forwarding */ 2012-01-04T09:28:28Z <p><span class="autocomment">Remote Wake On LAN via Port Forwarding</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 09:28, 4 January 2012</td> </tr> <tr><td colspan="2" align="left"><strong>Line 55:</strong></td> <td colspan="2" align="left"><strong>Line 55:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* 192.168.1.254 is just an IP address in your LAN's subnet; it can be any IP, '''as long as it is not assigned to any device on your network'''.</td><td> </td><td style="background: #eee; font-size: smaller;">* 192.168.1.254 is just an IP address in your LAN's subnet; it can be any IP, '''as long as it is not assigned to any device on your network'''.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">2 - Add a static ARP entry by typing the following line into the ''Administration'' -&gt; ''Commands'' section of the Web Interface and <del style="color: red; font-weight: bold; text-decoration: none;">save </del>with ''Save Startup''.</td><td>+</td><td style="background: #cfc; font-size: smaller;">2 - Add a static ARP entry by typing the following line into the ''Administration'' -&gt; ''Commands'' section of the Web Interface and <ins style="color: red; font-weight: bold; text-decoration: none;">then saving </ins>with ''Save Startup''.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> &lt;tt&gt;arp -i br0 -s 192.168.1.254 FF:FF:FF:FF:FF:FF&lt;/tt&gt;</td><td> </td><td style="background: #eee; font-size: smaller;"> &lt;tt&gt;arp -i br0 -s 192.168.1.254 FF:FF:FF:FF:FF:FF&lt;/tt&gt;</td></tr> </table> Code65536 http://wiki.dd-wrt.com/wiki/index.php?title=Wake-on-LAN_%28tutorial%29&diff=41789&oldid=prev Code65536: /* Remote Wake On LAN via Port Forwarding */ 2012-01-04T09:26:43Z <p><span class="autocomment">Remote Wake On LAN via Port Forwarding</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 09:26, 4 January 2012</td> </tr> <tr><td colspan="2" align="left"><strong>Line 61:</strong></td> <td colspan="2" align="left"><strong>Line 61:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* The 192.168.1.254 IP address should correspond with the IP address you used in the previous step. Again, this IP should be in your LAN's subnet, and you must not assign this IP address to any actual device on your network.</td><td> </td><td style="background: #eee; font-size: smaller;">* The 192.168.1.254 IP address should correspond with the IP address you used in the previous step. Again, this IP should be in your LAN's subnet, and you must not assign this IP address to any actual device on your network.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* Explanation/rationale for this setup: Normally, WOL magic packets are sent to a special broadcast IP--to the final .255 in a subnet or to 255.255.255.255. Since port-forwarding to these special dedicated broadcast IPs does not work, what we need to do is create our own broadcast IP by taking an unused IP and assigning it a broadcast MAC and then port-forward to that.</td><td> </td><td style="background: #eee; font-size: smaller;">* Explanation/rationale for this setup: Normally, WOL magic packets are sent to a special broadcast IP--to the final .255 in a subnet or to 255.255.255.255. Since port-forwarding to these special dedicated broadcast IPs does not work, what we need to do is create our own broadcast IP by taking an unused IP and assigning it a broadcast MAC and then port-forward to that.</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">* As an '''''optional''' alternative'', instead of '''&lt;tt&gt;arp&lt;/tt&gt;''', you can use '''&lt;tt&gt;ip neigh&lt;/tt&gt;''' (which does the exact same thing as &lt;tt&gt;arp&lt;/tt&gt;). Support for &lt;tt&gt;ip neigh&lt;/tt&gt; was removed from DD-WRT starting with build 17650, and <del style="color: red; font-weight: bold; text-decoration: none;">'''</del>&lt;tt&gt;arp&lt;/tt&gt;<del style="color: red; font-weight: bold; text-decoration: none;">''' </del>is unavailable in DD-WRT builds ''older'' than 5672.</td><td>+</td><td style="background: #cfc; font-size: smaller;">* As an '''''optional''' alternative'', instead of '''&lt;tt&gt;arp&lt;/tt&gt;''', you can use '''&lt;tt&gt;ip neigh&lt;/tt&gt;''' (which does the exact same thing as &lt;tt&gt;arp&lt;/tt&gt;). Support for &lt;tt&gt;ip neigh&lt;/tt&gt; was removed from DD-WRT starting with build 17650, and &lt;tt&gt;arp&lt;/tt&gt; is unavailable in DD-WRT builds ''older'' than 5672.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> &lt;tt&gt;ip neigh change 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0&lt;/tt&gt;</td><td> </td><td style="background: #eee; font-size: smaller;"> &lt;tt&gt;ip neigh change 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0&lt;/tt&gt;</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> &lt;tt&gt;ip neigh add 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0&lt;/tt&gt;</td><td> </td><td style="background: #eee; font-size: smaller;"> &lt;tt&gt;ip neigh add 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0&lt;/tt&gt;</td></tr> </table> Code65536 http://wiki.dd-wrt.com/wiki/index.php?title=Wake-on-LAN_%28tutorial%29&diff=41788&oldid=prev Code65536: /* Remote Wake On LAN via Port Forwarding */ 2012-01-04T09:25:10Z <p><span class="autocomment">Remote Wake On LAN via Port Forwarding</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 09:25, 4 January 2012</td> </tr> <tr><td colspan="2" align="left"><strong>Line 58:</strong></td> <td colspan="2" align="left"><strong>Line 58:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> &lt;tt&gt;arp -i br0 -s 192.168.1.254 FF:FF:FF:FF:FF:FF&lt;/tt&gt;</td><td> </td><td style="background: #eee; font-size: smaller;"> &lt;tt&gt;arp -i br0 -s 192.168.1.254 FF:FF:FF:FF:FF:FF&lt;/tt&gt;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">* Do '''not''' change the FF:FF:FF:FF:FF:FF MAC address; <del style="color: red; font-weight: bold; text-decoration: none;">that </del>is a special MAC address used when broadcasting<del style="color: red; font-weight: bold; text-decoration: none;">; </del>WOL magic packets should always sent via broadcast.</td><td>+</td><td style="background: #cfc; font-size: smaller;">* Do '''not''' change the FF:FF:FF:FF:FF:FF MAC address; <ins style="color: red; font-weight: bold; text-decoration: none;">this </ins>is a special MAC address used when broadcasting<ins style="color: red; font-weight: bold; text-decoration: none;">. </ins>WOL magic packets should <ins style="color: red; font-weight: bold; text-decoration: none;">be and almost </ins>always <ins style="color: red; font-weight: bold; text-decoration: none;">are </ins>sent via broadcast.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* The 192.168.1.254 IP address should correspond with the IP address you used in the previous step. Again, this IP should be in your LAN's subnet, and you must not assign this IP address to any actual device on your network.</td><td> </td><td style="background: #eee; font-size: smaller;">* The 192.168.1.254 IP address should correspond with the IP address you used in the previous step. Again, this IP should be in your LAN's subnet, and you must not assign this IP address to any actual device on your network.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">* Explanation/rationale for this setup: Normally, WOL magic packets are sent to a special broadcast IP--to the final .255 in a subnet or to 255.255.255.255. Since port-forwarding to these special dedicated broadcast IPs does not work, what we need to do is create our own broadcast IP by taking an unused IP and assigning it a broadcast MAC and then port-forward to that.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* As an '''''optional''' alternative'', instead of '''&lt;tt&gt;arp&lt;/tt&gt;''', you can use '''&lt;tt&gt;ip neigh&lt;/tt&gt;''' (which does the exact same thing as &lt;tt&gt;arp&lt;/tt&gt;). Support for &lt;tt&gt;ip neigh&lt;/tt&gt; was removed from DD-WRT starting with build 17650, and '''&lt;tt&gt;arp&lt;/tt&gt;''' is unavailable in DD-WRT builds ''older'' than 5672.</td><td> </td><td style="background: #eee; font-size: smaller;">* As an '''''optional''' alternative'', instead of '''&lt;tt&gt;arp&lt;/tt&gt;''', you can use '''&lt;tt&gt;ip neigh&lt;/tt&gt;''' (which does the exact same thing as &lt;tt&gt;arp&lt;/tt&gt;). Support for &lt;tt&gt;ip neigh&lt;/tt&gt; was removed from DD-WRT starting with build 17650, and '''&lt;tt&gt;arp&lt;/tt&gt;''' is unavailable in DD-WRT builds ''older'' than 5672.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> &lt;tt&gt;ip neigh change 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0&lt;/tt&gt;</td><td> </td><td style="background: #eee; font-size: smaller;"> &lt;tt&gt;ip neigh change 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0&lt;/tt&gt;</td></tr> </table> Code65536 http://wiki.dd-wrt.com/wiki/index.php?title=Wake-on-LAN_%28tutorial%29&diff=41787&oldid=prev Code65536: /* Remote Wake On LAN via Port Forwarding */ 2012-01-04T09:16:14Z <p><span class="autocomment">Remote Wake On LAN via Port Forwarding</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 09:16, 4 January 2012</td> </tr> <tr><td colspan="2" align="left"><strong>Line 52:</strong></td> <td colspan="2" align="left"><strong>Line 52:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">1 - Create a [[Port_Forwarding#Configuring_Port_Forwarding|port forward]] rule on the [[Web Interface]] (''Applications &amp; Gaming'' -&gt; ''Port Range Forward'') to the chosen ip:</td><td> </td><td style="background: #eee; font-size: smaller;">1 - Create a [[Port_Forwarding#Configuring_Port_Forwarding|port forward]] rule on the [[Web Interface]] (''Applications &amp; Gaming'' -&gt; ''Port Range Forward'') to the chosen ip:</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> wol | '''9''' | 9 | udp | 192.168.1.254 | x</td><td> </td><td style="background: #eee; font-size: smaller;"> wol | '''9''' | 9 | udp | 192.168.1.254 | x</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">* Here, '''9''' is the default, but you can use any port number so long as your client wake-up application can talk to a port other than 9. <del style="color: red; font-weight: bold; text-decoration: none;">''Consider that most </del>WOL services will use either UDP port 7 or 9.</td><td>+</td><td style="background: #cfc; font-size: smaller;">* Here, '''9''' is the default, but you can use any port number so long as your client wake-up application can talk to a port other than 9. <ins style="color: red; font-weight: bold; text-decoration: none;">Most </ins>WOL services will use either UDP port 7 or 9.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* 192.168.1.254 is just an IP address in your LAN's subnet; it can be any IP, '''as long as it is not assigned to any device on your network'''.</td><td> </td><td style="background: #eee; font-size: smaller;">* 192.168.1.254 is just an IP address in your LAN's subnet; it can be any IP, '''as long as it is not assigned to any device on your network'''.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> </table> Code65536 http://wiki.dd-wrt.com/wiki/index.php?title=Wake-on-LAN_%28tutorial%29&diff=41786&oldid=prev Code65536: /* Remote Wake On LAN via Port Forwarding */ Deprecate the use of ip neigh 2012-01-04T09:12:50Z <p><span class="autocomment">Remote Wake On LAN via Port Forwarding -</span> Deprecate the use of ip neigh</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 09:12, 4 January 2012</td> </tr> <tr><td colspan="2" align="left"><strong>Line 52:</strong></td> <td colspan="2" align="left"><strong>Line 52:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">1 - Create a [[Port_Forwarding#Configuring_Port_Forwarding|port forward]] rule on the [[Web Interface]] (''Applications &amp; Gaming'' -&gt; ''Port Range Forward'') to the chosen ip:</td><td> </td><td style="background: #eee; font-size: smaller;">1 - Create a [[Port_Forwarding#Configuring_Port_Forwarding|port forward]] rule on the [[Web Interface]] (''Applications &amp; Gaming'' -&gt; ''Port Range Forward'') to the chosen ip:</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> wol | '''9''' | 9 | udp | 192.168.1.254 | x</td><td> </td><td style="background: #eee; font-size: smaller;"> wol | '''9''' | 9 | udp | 192.168.1.254 | x</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">* Here, '''9''' is the default, but you can use any port number so long as your client wake-up application can talk to a port other than 9. ''Consider that most WOL services will use either UDP port 7 or 9.<del style="color: red; font-weight: bold; text-decoration: none;">''. IP </del>192.168.1.254 is <del style="color: red; font-weight: bold; text-decoration: none;">a random host really. Important is that you'll not have any real PC with that </del>IP in your <del style="color: red; font-weight: bold; text-decoration: none;">network as otherwise it</del>'s <del style="color: red; font-weight: bold; text-decoration: none;">traffic will </del>be <del style="color: red; font-weight: bold; text-decoration: none;">messed up</del>.</td><td>+</td><td style="background: #cfc; font-size: smaller;">* Here, '''9''' is the default, but you can use any port number so long as your client wake-up application can talk to a port other than 9. ''Consider that most WOL services will use either UDP port 7 or 9.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">* </ins>192.168.1.254 is <ins style="color: red; font-weight: bold; text-decoration: none;">just an </ins>IP <ins style="color: red; font-weight: bold; text-decoration: none;">address </ins>in your <ins style="color: red; font-weight: bold; text-decoration: none;">LAN</ins>'s <ins style="color: red; font-weight: bold; text-decoration: none;">subnet; it can </ins>be <ins style="color: red; font-weight: bold; text-decoration: none;">any IP, '''as long as it is not assigned to any device on your network'''</ins>.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">2 - Add a static ARP entry by typing the following <del style="color: red; font-weight: bold; text-decoration: none;">two lines </del>into the <del style="color: red; font-weight: bold; text-decoration: none;">Web Interface </del>''Administration'' -&gt; ''Commands'' section and save with ''Save Startup''.</td><td>+</td><td style="background: #cfc; font-size: smaller;">2 - Add a static ARP entry by typing the following <ins style="color: red; font-weight: bold; text-decoration: none;">line </ins>into the ''Administration'' -&gt; ''Commands'' section <ins style="color: red; font-weight: bold; text-decoration: none;">of the Web Interface </ins>and save with ''Save Startup''.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> ip neigh change 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0</td><td>+</td><td style="background: #cfc; font-size: smaller;"> <ins style="color: red; font-weight: bold; text-decoration: none;">&lt;tt&gt;arp -i br0 -s 192.168.1.254 FF:FF:FF:FF:FF:FF&lt;/tt&gt;</ins></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> ip neigh add 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">* Do '''not''' change the FF:FF:FF:FF:FF:FF MAC address; that is a special MAC address used when broadcasting; WOL magic packets should always sent via broadcast.</ins></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"><del style="color: red; font-weight: bold; text-decoration: none;"> </del></td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">* The 192.168.1.254 IP address should correspond with the IP address you used in the previous step. Again, this IP should be in your LAN's subnet, and you must not assign this IP address to any actual device on your network.</ins></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"><del style="color: red; font-weight: bold; text-decoration: none;">''It must be stressed that the MAC address to ff:ff:ff:ff:ff:ff (the broadcast address) needs to be used as otherwise the traffic will not get propagated over all switch ports in the network. Most switches will soon forget the MAC address of your WOL host so there is no use of sending any packets to it's MAC over the 1.254 IP. Using ff:ff .... MAC poses no problems with any routed traffic for 1.254 IP as claimed here before as this IP address should be kept free of any live hosts anyway (btw. the number 254 was chosen randomly) so that normally you would not expect any real packets to arrive from that IP to your router. Please do not change this suggestion until you have tested it out with really flushed ARP caches in your network. The author of the original idea back in 2005.''</del></td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">* As an '''''optional''' alternative'', instead of '''&lt;tt&gt;arp&lt;/tt&gt;''', you can use '''&lt;tt&gt;ip neigh&lt;/tt&gt;''' (which does the exact same thing as &lt;tt&gt;arp&lt;/tt&gt;). Support for &lt;tt&gt;ip neigh&lt;/tt&gt; was removed from DD-WRT starting with build 17650, and '''&lt;tt&gt;arp&lt;/tt&gt;''' is unavailable in DD-WRT builds ''older'' than 5672.</ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;"> &lt;tt&gt;</ins>ip neigh change 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0<ins style="color: red; font-weight: bold; text-decoration: none;">&lt;/tt&gt;</ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> <ins style="color: red; font-weight: bold; text-decoration: none;">&lt;tt&gt;</ins>ip neigh add 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0<ins style="color: red; font-weight: bold; text-decoration: none;">&lt;/tt&gt;</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">3 - Reboot router, or execute the startup commands manually.</td><td>+</td><td style="background: #cfc; font-size: smaller;">3 - Reboot <ins style="color: red; font-weight: bold; text-decoration: none;">the </ins>router, or execute the startup commands manually.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* To wake your computer from the internet using the DD-WRT device DynDNS name (or if you know it, the public IP of the router), try one of the following services;</td><td> </td><td style="background: #eee; font-size: smaller;">* To wake your computer from the internet using the DD-WRT device DynDNS name (or if you know it, the public IP of the router), try one of the following services;</td></tr> </table> Code65536