As of this week, the Fonosfera repository contains an brand new plugin: The Wake-on-LAN plugin, which can be used to remotely power on Wake-on-LAN capable machines on your local network, using the Fonera webinterface.
This plugin was inspired by a previous Wake-on-LAN plugin, created by one of our users and amended by a few others. Due to technical reasons (the user interface code did not use cbi), this plugin does not share any code with the original plugin, but it did inspire us to create this new plugin.
This is still a first version of this plugin, so we welcome people testing it and providing feedback. The plugin can be installed by downloading it from our firmware autobuilder and uploading it again through the Applications page of the Fonera webinterface. The plugin can be downloaded here:
Installing an application like this requires a DEV firmware. This plugin has been tested on 18.104.22.168 rc2, but I expect it will work on 2.3.6.x as well. After the 22.214.171.124 final release is out and this plugin is tested well enough, it will become available on the Applications page for a one-click install, just like the other official plugins.
Note that the plugin is still missing a proper icon, so it now has a temporary (ugly) icon instead.
Update 2013.03.13: Version 1.0.2 adds a proper icon and is now listed in the “Applications” page of the Fonera 2.0 dashboard and can be installed automatically by just clicking the “plus” icon. You’ll need at least firmware 126.96.36.199 for this, but it should work both in DEV and normal mode.
Setting up computers
To wake up a computer, it needs to support Wake-on-LAN (also known as “Magic Packet”) and have it enabled as well. Most modern computers support WOL, but it is often disabled by default. Often, a BIOS option named “Wake-on-LAN”, “Magic Packet”, or “PCI device wakeup” needs to be enabled, but usually you’ll also need to change some settings within your operating system. See this posting for some details on what to change. Rumour has it that Windows 7 needs some additional changes, see this posting for details.
Setting up the Fonera
After installing the application through the Applications page, you can access the WOL interface through the icon on the dashboard. To power on a computer, you’ll need to know its MAC address. You can add the MAC address to the top list, choose an arbitrary name so you can keep the various MAC addresses apart and click “Power On” to send the Magic Packet. If you already set up a static (DHCP) address assignment for the computer, you can directly click “Power on” in the bottom list (go to Settings -> Network to edit the bottom list).
If you test this plugin, let me know if it works for you, or if you have problems!
Update: I’ve updated the links above to point to version 1.0.1 of this plugin. This version should now also work on 2.0g and fixes a bug where your list of MAC addresses would be deleted when uninstalling the plugin or overwritten during plugin install. If you have the first version (1.0) installed and have a big list of MAC addresses that you want to preserve, you should make a backup of the /etc/config/luci_wol file manually before upgrading to this new version.