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
Next revisionBoth sides next revision
schedule_wol [2021/09/21 22:36] – -Retitled for clarity hogwildschedule_wol [2023/06/07 16:20] – [Notes and Troubleshooting] -spelling, formatting hogwild
Line 1: Line 1:
-====== Schedule FreshTomato to "wake up" network devices" ====== +====== Schedule Tomato To "Wake UpNetwork Devices ======
-Disclaimer:  How To title "Scheduling network devices to "Wake Up"" you clicked on is mis-leading.  Generally the network device or NIC in the PC you're "waking up" is already powered, so it can receive the signal.  If you look at the the RJ-45 connection of a powered down PC you'll likely notice a status LED - it's already woke and powered.  This was originally about waking up a Computer system.+
  
 +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 does include WOL facility in the Tools category, this requires manual intervention If you want to have your computer (possible other systems) to be powered up at a predetermined time you can schedule it with FreshTomato Weather you want it ready to go, or have tasks for it to executeyou need it up and running.+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 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 manageableSecond, the Scheduler allows you to wake devices automaticallyYou don't need to remember to do anythingas long as the Scheduler is functioning. The ether-wake command will do what needs to be done without your attention.
  
-Many BIOSs have an option for //Power on By RTC Alarm// this is generally from a powered down state.  If your system is in suspend or sleep state it may not acknowledge this.  Or you just just want a central location to control everything.+ \\
  
-Navigate to __Administration__ > __Scheduler__.  Scroll to **Custom 1-5**.  Check __Enabled__  decide what __Time__ or how often to execute and which __Days__ or everday. +Here are the available parameters for **ether-wake**:
- +
-The command to execute is ''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 26: Line 21:
 </code> </code>
  
-Minimum is -MAC  + \\ \\  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: 
-<code bash> + 
-ether-wake -b AB:CD:EF:01:23:45 +  - Go to the [[admin-sched|Scheduler]] menu. 
-</code>+  - 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: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?]] 
 + 
 +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 [[https://docs.microsoft.com/en-us/troubleshoot/windows-client/deployment/wake-on-lan-feature|MS Docs: Wake on LAN (WOL) behavior in Windows 10]].
  
 + \\
  
-To wake up your PC every weekday at 2:45pm it would look like this: 
  
-{{:pasted:20210919-222525.png}} 
schedule_wol.txt · Last modified: 2023/08/07 22:44 by hogwild