Wake-on-LAN
Wake sleeping devices on your network with a single tap via etherwake.
The Wake-on-LAN (WOL) feature lets you wake devices on your local network by sending magic packets through your router.
Prerequisites 🔗
The etherwake package must be installed on your router:
opkg install etherwake
WRTune automatically checks for etherwake on first use and caches the result per router.
Using Wake-on-LAN 🔗
From the Dashboard 🔗
Tap the “Wake” Quick Action button to open the WOL interface.
From the Client List 🔗
Any device in your DHCP lease list can be woken with one tap on the “Wake” button next to its entry.
Interface Selection 🔗
WRTune auto-discovers active bridge interfaces (br-*) from /sys/class/net/ on your router. A horizontal FilterChip selector lets you choose which interface to send the magic packet through.
- Default:
br-lan - Falls back to the first available interface if
br-lanis absent
Recent Targets 🔗
The last 3 successfully woken MAC addresses persist across sessions (stored in SharedPreferences per router). These appear at the top of the device list for quick access.
Manual MAC entries also register in the recent list.
Manual Entry 🔗
You can manually enter a MAC address with:
- Auto-formatting (
AA:BB:CC:DD:EE:FF) - Validation (must match MAC format)
- Wake button to send the magic packet
Technical Details 🔗
WRTune calls wrtune.wake_on_lan on the WRTune Engine, which executes:
etherwake -b -i <interface> <mac>
The -b flag sends the packet to the broadcast address, ensuring it reaches sleeping devices.