This is an old revision of the document!
FreshTomato includes a Wake-On-LAN (WOL) function under the Tools menu. While often useful, this function must be performed manually every time you wish to wake a device.
Instead, this can be performed automatically in FreshTomato. In the scheduler, you schedule the ether-wake command to automatically send a WOL signal.
Here are the available parameters for ether-wake:
\\\\
Usage: ether-wake [-b] [-i IFACE] [-p aa:bb:cc:dd[:ee:ff]/a.b.c.d] MAC Send a magic packet to wake up sleeping machines. MAC must be a station address (00:11:22:33:44:55) or a hostname with a known 'ethers' entry. -b Broadcast the packet -i IFACE Interface to use (default eth0) -p PASSWORD Append four or six byte PASSWORD to the packet
For example, this will send a Wake-On-LAN signal to the device on your LAN with a MAC address of AB:CD:EF:01:23:45 every weekday at 2:45 PM:
Enter ether-wake -b AB:CD:EF:01:23:45 as the command to execute:
For a PC to wake up from a WOL packet, it must have its WOL firmware setting enabled. Before testing scheduled WOL events in FreshTomato, ensure your PC has the appropriate UEFI/BIOS menu setting enabled to recognize Wake-On-LAN packets. Most UEFI/BIOS interfaces will have a Wake-On-LAN option named something like:
WOL settings in the PC's operating system also must be enabled. For Details, see: HOWTO Geek: What is Wake-on-LAN and How do I Enable it?
WOL functions generally assume a client PC/device starts from a powered off state. If your device is in suspend or sleep state, it may not recognize the wake signal and may not wake. Details for Windows can be found MS Docs: Wake on LAN (WOL) behavior in Windows 10.