This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
schedule_wol [2021/09/21 01:12] – old revision restored (2021/09/20 05:32) djk44883 | schedule_wol [2023/06/07 16:20] – [Notes and Troubleshooting] -spelling, formatting hogwild | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Schedule | + | ====== Schedule |
- | \\ | + | FreshTomato includes a Wake-on-LAN (WoL) function under the Tools menu. While useful, this function must be performed manually every time you wish to wake a device. |
- | FreshTomato includes | + | Instead, waking devices can be performed automatically using the Scheduler function. Automating the process by using the Scheduler has two main advantages. First, waking many devices on a network with many clients using Wake-On-LAN menu would be tedious and time-consuming. Doing the same in a script makes the process much more manageable. Second, the Scheduler allows |
- | Many UEFI/BIOS interfaces have a Wake-On-LAN option setting, such as: | + | \\ |
- | + | ||
- | * Power on by PCI-E or PCI (Asus UEFI) | + | |
- | * PME Event Wakeup | + | |
- | * //P//ower on by PCI devices// | + | |
- | These functions generally assume a client PC/hardware device starts out from a powered down state. | + | Here are the available parameters |
- | + | ||
- | In Administration/ | + | |
- | - Scroll to the field you prefer. Check **Enabled**. | + | |
- | - In the **Time** dropdown, select a time (e.g. 9:30 AM) or frequency option (e.g. every 30 mins) for when/how often you want the task executed. | + | |
- | - Now check the **Days** you want it executed or Every day. | + | |
- | - | + | |
- | The command to execute is '' | + | |
<code bash> | <code bash> | ||
- | ether-wake --help | ||
- | BusyBox v1.33.1 (2021-08-11 16:11:49 CEST) multi-call binary. | ||
- | |||
Usage: ether-wake [-b] [-i IFACE] [-p aa: | Usage: ether-wake [-b] [-i IFACE] [-p aa: | ||
Line 34: | Line 20: | ||
-p PASSWORD | -p PASSWORD | ||
</ | </ | ||
+ | |||
+ | \\ \\ For example, this will send a Wake-on-LAN signal to the device on your LAN with a MAC address of AB: | ||
+ | |||
+ | - Go to the [[admin-sched|Scheduler]] menu. | ||
+ | - Scroll to the Custom field of your choice (in our example, **Custom 1**). | ||
+ | - Check the corresponding **Enabled** setting. | ||
+ | - In the **Time** menu, select 2:45 PM. | ||
+ | - Check the checkboxes for Monday through Friday. | ||
+ | |||
\\ | \\ | ||
+ | |||
+ | Enter **ether-wake -b AB: | ||
+ | |||
+ | \\ {{: | ||
+ | |||
\\ | \\ | ||
- | The minimum command parameters required are "-b MAC" | ||
- | <code bash> | + | |
- | ether-wake -b AB:CD: | + | |
- | </code> | + | |
+ | ===== Notes and Troubleshooting ===== | ||
+ | |||
+ | 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, | ||
+ | |||
+ | Most UEFI/BIOS interfaces will have a Wake-On-LAN option named similar to: | ||
+ | |||
+ | * Asus BIOS/UEFI - "Power on by PCI-E or PCI" | ||
+ | * AWARD BIOS - "PME Event Wakeup" | ||
+ | * AMI BIOS - "Power on by PCI devices" | ||
\\ | \\ | ||
- | \\ | ||
- | To wake up your PC every weekday at 2:45pm, enter: | ||
- | {{:pasted:20210919-222525.png}} | + | WoL settings in the PC's operating system also must be enabled. For Details, see: [[https:// |
+ | |||
+ | WoL functions generally assume a client PC/device starts from a powered off state. | ||
+ | |||
+ | \\ | ||