Site Tools


buttons_led

Buttons/LED

The Buttons/LED menu allows you to assign script(s) to be run when certain hardware buttons are pressed.
It also allows you to assign which events will trigger the router LEDs to illuminate.
Which buttons/LEDs are listed for these functions may depend on the make and model of your router.

For example, the following scripts can be executed by pressing the SES/WPS/AOSS button:

SES/WPS/AOSS Button

When pushed forRuns following script (by default)
0 - 2 secondsToggle Wireless
4 - 6 secondsRun Custom Script
8 - 10Run Custom Script
12+ secondsRun Custom Script

[ $1 -ge 20 ] && telnetd -p 233 -l /bin/sh
Custom Script

Options:

  • Do Nothing
  • Toggle Wireless: (Disable/enables the Wi-Fi interfaces).
  • Reboot: (Reboots the router/AP).
  • Shutdown: (Will shutdown FreshTomato and then turn off the router/AP.
  • Unmount all USB drives: (Unmounts all drives connected to USB ports so they can be safely removed).
  • Run Custom Script: (Runs a custom script of your choosing).
    The example script shown above runs the Telnet server daemon.
buttons_led.txt · Last modified: 2021/05/06 17:36 by pedro