Sometimes while being away from home there is a need to access data on a home computer. If there is no one at home to turn on the computer, one may use method described below: turning on the computer through the Internet using a utility called wakelan. The idea is simple – just ssh to the router and run wakelan which will send a magic packet to computer forcing it to start.
In fact, wakelan can be installed via ipkg on the native Asus firmware, just install ipkg using this method, and then do ipkg install wakelan. But since I’m not happy with Asus firmware, a better way will be to install Oleg firmware.
Next, you need to enable ipkg: http://wl500g.info/showthread.php?t=23684&highlight=RT-N16+ipkg. Then install wakelan by issuing ipkg install wakelan. Now you need to configure your computer to enable WOL. To do this, go in the BIOS and turn on the “power on pci-(e) devices” option.
It is now possible to access via ssh your router from the internet, and run wakelan in the following way:
wakelan -m 00:00:00:00:36:00 -p 7 -b 192.168.1.255
where 192.168.1.255 is NOT the address of the computer but your network mask, and 00:00:00:00:36:00 is the MAC address of your network card.