Site Tools


admin-buttons

Buttons/LED

The Buttons/LED menu allows you to assign scripts to be run when certain hardware buttons are pressed.

It also allows you to assign which events will trigger the router LEDs to illuminate.
The buttons/LEDs 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 for Runs following script (by default)
0 - 2 seconds Toggle Wireless
4 - 6 seconds Run Custom Script
8 - 10 Run Custom Script
12+ seconds Run Custom Script
Custom Script [ $1 -ge 20 ] && telnetd -p 233 -l /bin/sh


Options:


  • Do Nothing
  • Toggle Wireless - disables/enables the Wi-Fi interfaces.
  • Reboot - Reboots the router/AP.
  • Shutdown - shuts down FreshTomato. This does not power off the hardware.
  • 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 choice.
    (The example shown above runs the Telnet server daemon).



admin-buttons.txt · Last modified: 2024/10/21 01:13 by hogwild