# Beryl LED config

**URL:** <https://forum.gl-inet.com/t/beryl-led-config/15871>\
**Category:** Router\
**Created:** [May 25, 2021, 3:32am UTC](https://forum.gl-inet.com/t/beryl-led-config/15871 "2021-05-25T03:32:40Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![x-caiver](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/x/a88e57/32.png) [@x-caiver](https://forum.gl-inet.com/u/x-caiver)\
**Post date:** [May 25, 2021, 3:32am UTC](https://forum.gl-inet.com/t/beryl-led-config/15871/1 "2021-05-25T03:32:40Z")

</div>

Just got my new Beryl in and am trying to control the LED.

I have installed Luci and played with the LED Configuration menu quite a bit but nothing seems to do anything…

My goal is for the front LED to show the status of my wireguard connection - but during testing I’ve been trying to get the LEDs to do anything other than just be solid white.

When my wiregaurd connection is established there is an interface called “wg0” so I tried making a ‘netdev’ trigger for that device with the trigger mode set to ‘link on’, I’ve tried having the trigger mode set to “transmit & receive”, I’ve tried switching the ‘default state’ box off and on…

I’ve made basic triggers with trigger=defaulton, I’ve tried netdev triggers for the wireless network devices…

I’ve tried all those things, and more, for both of the LED names available in the dropdown (gl-mt1300:white and …:blue)

After doign Save & Apply sometimes I’ve removed power completely…

Nothing…

---

<div class="post-metadata">

**Author:** ![alzhao](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/a/5f9b8f/32.png) [@alzhao](https://forum.gl-inet.com/u/alzhao)\
**Post date:** [May 25, 2021, 8:05am UTC](https://forum.gl-inet.com/t/beryl-led-config/15871/2 "2021-05-25T08:05:31Z")

</div>

Pls do according to this guide. It is different from openwrt

> [@GL-MT1300 LED control instructions](https://forum.gl-inet.com/t/gl-mt1300-led-control-instructions/13338):
>
> #stop glinet control /etc/init.d/led stop /etc/init.d/led disable #reset I2C IC echo 0 \> /sys/class/leds/gl-mt1300:blue/brightness echo 0 \> /sys/class/leds/gl-mt1300:white/brightness i2cset -f -y 0 0x30 0x00 0x1F i2cset -f -y 0 0x30 0x00 0x1A #adjust brightness i2cset -f -y 0 0x30 0x06 0x3f #blue 0x3f \* 0.125mA = 8mA i2cset -f -y 0 0x30 0x07 0x7f #white 0x7f \* 0.125mA = 16mA #light up LED i2cset -f -y 0 0x30 0x04 0x01 i2cset -f -y 0 0x30 0x04 0x04 #put out LED i2cset -f -…

---

<div class="post-metadata">

**Author:** ![x-caiver](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/x/a88e57/32.png) [@x-caiver](https://forum.gl-inet.com/u/x-caiver)\
**Post date:** [May 27, 2021, 2:06am UTC](https://forum.gl-inet.com/t/beryl-led-config/15871/3 "2021-05-27T02:06:15Z")

</div>

Ahh, cool, those commands will let me manually control the LEDs.

How would I link that to wireguard vpn connection then?

---

<div class="post-metadata">

**Author:** ![alzhao](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/a/5f9b8f/32.png) [@alzhao](https://forum.gl-inet.com/u/alzhao)\
**Post date:** [May 27, 2021, 2:48am UTC](https://forum.gl-inet.com/t/beryl-led-config/15871/4 "2021-05-27T02:48:35Z")

</div>

> [@x-caiver](#):
>
> How would I link that to wireguard vpn connection then?

You should check `/etc/init.d/wireguard` and modify the secripts

---

<div class="post-metadata">

**Author:** ![FMorgas](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/f/5fc32e/32.png) [@FMorgas](https://forum.gl-inet.com/u/FMorgas)\
**Post date:** [September 27, 2021, 11:53am UTC](https://forum.gl-inet.com/t/beryl-led-config/15871/5 "2021-09-27T11:53:18Z")

</div>

It’s possible show a different color when a vpn connection is active?  
I whould like to have solid blue when vpn its working and a solid white when i am getting internet without vpn (when vpn drops or i turned off)

---

<div class="post-metadata">

**Author:** ![alzhao](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/a/5f9b8f/32.png) [@alzhao](https://forum.gl-inet.com/u/alzhao)\
**Post date:** [September 27, 2021, 11:56am UTC](https://forum.gl-inet.com/t/beryl-led-config/15871/6 "2021-09-27T11:56:35Z")

</div>

It is actually two color LEDs. One is blue and one is white. So just turn one color one and turn the other off.

---

<div class="post-metadata">

**Author:** ![FMorgas](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/f/5fc32e/32.png) [@FMorgas](https://forum.gl-inet.com/u/FMorgas)\
**Post date:** [September 27, 2021, 12:01pm UTC](https://forum.gl-inet.com/t/beryl-led-config/15871/7 "2021-09-27T12:01:14Z")

</div>

Do you have some script or instructions to change led when vpn is active?

This configuration seems doesnt work… led is always white… its correct?

 ![image](https://forum-static.gl-inet.com/original/2X/8/8bc838c111a7c163ea41c21d53275d85e9e555d0.png)

---

<div class="post-metadata">

**Author:** ![ahorner](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/ahorner/32/7657_2.png) [@ahorner](https://forum.gl-inet.com/u/ahorner)\
**Post date:** [August 27, 2022, 7:20am UTC](https://forum.gl-inet.com/t/beryl-led-config/15871/8 "2022-08-27T07:20:31Z")

</div>

I too have this issue. The LED config on LuCI is non functional.

I have modified the config files on my router in order to add another radio for WAN, and in doing so, whatever GL script controls the LED does not account for this and shows the blue flashing no connection light, even though the connection is perfectly functional.

Is there any way to restore the LED control configuration on LuCI?

---

<div class="post-metadata">

**Author:** ![bruce](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/bruce/32/35649_2.png) [@bruce](https://forum.gl-inet.com/u/bruce)\
**Post date:** [October 29, 2025, 4:18am UTC](https://forum.gl-inet.com/t/beryl-led-config/15871/9 "2025-10-29T04:18:36Z")

</div>


