Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/KevinCruz-cell/Redes-de-comunicaciones-/llms.txt

Use this file to discover all available pages before exploring further.

The LED control page lets you manually control the physical indicator lights on your router and assign trigger behaviors that reflect network or system activity. Changes write directly to the Linux sysfs interface and take effect immediately. Navigate to /router4/leds to access this page.

Available LEDs

The page manages five LEDs. Brightness and current trigger are read on every page load.
LED identifierColorTypical purpose
green:lanGreenLAN port activity
green:wanGreenWAN connection status
green:wlanGreenWi-Fi activity
mt76-phy0MT76 wireless radio (PHY0) activity
orange:wanOrangeWAN error or secondary WAN state

Actions

Turn on

Sets brightness to maximum (255):
echo 255 > /sys/class/leds/{led}/brightness

Turn off

Sets brightness to zero:
echo 0 > /sys/class/leds/{led}/brightness

Set trigger

Assigns a kernel trigger that controls the LED automatically based on system events:
echo {trigger} > /sys/class/leds/{led}/trigger

Available triggers

TriggerDescription
noneNo automatic control — brightness is set manually
netdevBlinks on network device activity
phy0rxBlinks on wireless receive activity (PHY0)
phy0txBlinks on wireless transmit activity (PHY0)
timerBlinks at a fixed interval
heartbeatPulses like a heartbeat to indicate the system is running
Set green:wan to netdev to get a live blink when the WAN link is passing traffic, or set it to none and manually turn it off to reduce visual noise in a rack environment.
Trigger and brightness settings written via sysfs are not persistent across reboots. To make LED behavior permanent, configure it through UCI or an init script on the router directly.

Build docs developers (and LLMs) love