Wake a host (wake on lan) from dd-wrt

WOL through Telnet/SSH

Note: This is the preferred method to send WOL magic packets remotely. If you have local or remote Telnet/SSH access to your router, you can wake up a machine on the LAN by using the following command:

/usr/sbin/wol -i -p PP AA:BB:CC:DD:EE:FF

Note that the full path to “/usr/sbin/wol” is important. Simply “wol” will not work.

Substitute AA:BB:CC:DD:EE:FF with the actual MAC address of the computer which you wish to boot remotely. Likewise, replace with the actual broadcast address of the network ( is the broadcast address when the machine has an IP of 192.168.1.x and subnet mask of Replace “PP” with the port number your machine listens on (usually 7 or 9).