Site Tools


schedule_wol

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
schedule_wol [2021/09/21 23:00] hogwildschedule_wol [2023/08/07 22:44] (current) – [Schedule Tomato To "Wake Up" Network Devices] hogwild
Line 1: Line 1:
 ====== Schedule Tomato To "Wake Up" Network Devices ====== ====== Schedule Tomato To "Wake Up" Network Devices ======
  
-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.  If you want to have your computer(s)(or other client devices) power up at a predetermined time, you can schedule that in FreshTomato.  Whether you just want your device ready, or have tasks for it to execute, the schedule will get it up and running.+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. Insteadwaking devices can be performed automatically using the Scheduler function.
  
-For a PC to wake up from a WOL packet, its WOL firmware setting must be enabled. Before scheduling WOL events in Tomato, please ensure your PC has the appropriate UEFI/BIOS menu setting enabled so it will recognize Wake-On-LAN packets. Most UEFI/BIOS interfaces have a Wake-On-LAN option named something like:+Automating the process using the Scheduler has two main advantages:
  
-  * Power on by PCI-E or PCI   (Asus UEFI)  +  - First, waking many devices on a network with many clients using the Wake-On-LAN menu would be tedious and time-consuming.  \\ Doing the same in a script makes the process much more manageable.  
-  * PME Event Wakeup          (AWARD BIOS)  +  - Second, the Scheduler allows you to wake devices automatically. You don't need to remember to do anything, as long as \\ the Scheduler is functioning. The ether-wake command will do everything without your attention.
-  * Power on by PCI devices     (AMI BIOS)+
  
-Settings in the operating system also need to be enabled. In Windows 10,  + \\
-please follow these steps to enable WOL:+
  
-[[https://www.windowscentral.com/how-enable-and-use-wake-lan-wol-windows-10]]+Here are the available parameters for **ether-wake**:
  
-These functions generally assume a client PC/hardware device starts out from a powered down state.  If your device is in a suspend or sleep state, it may not recognize the wake signal from this function, and therefore may not wake as expected. Alternatively, you might just want a central location from which to control all your other devices. + \\
- +
-  - Navigate to Administration/Scheduler +
-  - Scroll to the Custom field of your choice. Check **Enabled** +
-  - In the **Time** menu, select a time (e.g. 9:30 AM) or frequency option \\ (e.g. every 30 mins) for when or how often you want the task executed +
-  - Now check the **Days** you want it executed or Every day +
- +
-\\ The command to execute is ''ether-wake'' Here are the paramaters available for ether-wake:+
  
 <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:bb:cc:dd[:ee:ff]/a.b.c.d] MAC Usage: ether-wake [-b] [-i IFACE] [-p aa:bb:cc:dd[:ee:ff]/a.b.c.d] MAC
  
Line 38: Line 26:
 </code> </code>
  
- \\   \\  The minimum parameters required for this command are "-MAC:+ \\  \\ \\  For example, this sends a Wake-on-LAN signal to a LAN device with a MAC address of AB:CD:EF:01:23:45 every weekday at 2:45 PM:
  
-<code bash> +  - Go to the [[admin-sched|Scheduler]] menu. 
-ether-wake -b AB:CD:EF:01:23:45 +  - Scroll to the Custom field of your choice (in our example, **Custom 1**). 
-</code>+  - Check the corresponding **Enabled** setting. 
 +  - In the **Time** menu, select 2:45 PM. 
 +  - Enable the checkboxes for Monday through Friday. 
 +  - Enter **ether-wake -b AB:CD:EF:01:23:45** as the command to execute: \\ \\ {{:pasted:20210919-222525.png}} 
 + 
 + 
 +===== 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, ensure your PC has the appropriate UEFI/BIOS setting enabled to recognize Wake-on-LAN packets. 
 + 
 +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" 
 + 
 + \\ 
 + 
 +WoL settings in the PC's operating system also must be enabled. For Details, see: [[https://www.howtogeek.com/70374/how-to-geek-explains-what-is-wake-on-lan-and-how-do-i-enable-it/|HOWTO Geek: What is Wake-on-LAN and How do I Enable it?]]
  
- \\   \\  To wake up your PC every weekday at 2:45pmenter:+WoL functions generally assume a client PC/device starts from a powered off state.  If your device is in suspend or sleep stateit may not recognize the wake signal and may not wake.  Details for Windows can be found [[https://docs.microsoft.com/en-us/troubleshoot/windows-client/deployment/wake-on-lan-feature|MS DocsWake on LAN (WOL) behavior in Windows 10]].
  
-{{:pasted:20210919-222525.png}}+ \\
  
  
schedule_wol.1632261631.txt.gz · Last modified: 2021/09/21 23:00 by hogwild