Wake your PC via a web page

From OpenFSG
Jump to: navigation, search

This is a simple way that you can use the FSG to boot up your PCs remotely via a web page. This can be useful for occasions such as needing remote access to a PC when it is switched off.


The FSG will need to be on the same LAN as the PC, and the PC will need to be configured with WakeOnLan capability enabled. The FSG web server will also need to be enabled and accesable from the outside world if required. You will need to have the custom installer on your FSG.


ipkg install perl
ipkg install wakelan
vi /var/www/cgi-bin/wakelan.pl
print "Content-type: text/html\n\n";
print "<H1>Starting up PC, please wait</H1>\n";
exec("/opt/bin/wakelan -m 00:12:34:56:78:90");
chmod 744 /var/www/cgi-bin/wakelan.pl

The end result is that you can switch on your PC from anywhere in the world, simply by clicking a link or button on a web page!

Personal tools