Hello
Please guide me how to configure the LEDs of the TP-Link TL-MR6400 v5 modem.
I want it to show both the SIM card signal strength and the Wi-Fi connection status and the modem status.
I made these settings, but only the first light of the signal strength stays on and does not display the strength of the antenna.
config system
option hostname 'OpenWrt'
option timezone 'UTC'
option ttylogin '0'
option log_size '64'
option urandom_seed '0'
config timeserver 'ntp'
option enabled '1'
option enable_server '0'
list server '0.openwrt.pool.ntp.org'
list server '1.openwrt.pool.ntp.org'
list server '2.openwrt.pool.ntp.org'
list server '3.openwrt.pool.ntp.org'
config led 'led_lan'
option name 'lan'
option sysfs 'white:lan'
option trigger 'switch0'
option port_mask '0x07'
config led 'led_wan'
option name 'wan'
option sysfs 'white:wan'
option trigger 'switch0'
option port_mask '0x08'
config led
option name 'LED Signal'
option sysfs 'mt76-phy0'
option trigger 'netdev'
option dev 'wwan0'
list mode 'link'
config led
option name 'LED SIGNAL 1'
option sysfs 'white:signal1'
option trigger 'netdev'
option dev 'wwan0'
list mode 'link'
list mode 'tx'
list mode 'rx'
config led
option name 'LED SIGNAL 2'
option sysfs 'white:signal2'
option trigger 'netdev'
option dev 'wwan0'
list mode 'tx'
list mode 'rx'
config led
option name 'LED SIGNAL 3'
option sysfs 'white:signal3'
option trigger 'netdev'
option dev 'wwan0'
list mode 'tx'
list mode 'rx'
Dear friend, I read the page you introduced, but I did not understand what I should do.
Please, if you can, edit the configuration file that I provided.
Many thanks
To trigger the signal strength LEDs you can use this script, uqmi_led.sh. You need to read the rssi value from the modem uqmi -s -d /dev/cdc-wdm0 --get-signal-info and include the rssi value with script, ./uqmi_led.sh <rssi value>. To turn off the LEDs ./uqmi_led.sh -200
Thanks for your reply dear friend
The fact is that I am not familiar with the instructions you said and I don't know what to do!
Please tell me the steps in a simple and step-by-step manner so that I can do it.
Many thanks
I have a customized version of uqmi. It will check the network connection and read the RSSI value every 30s. The RSSI value is sent to file /usr/bin/uqmi_led.sh.
Thanks for your reply dear friend
Should I just download the following file that you provided the link to and place it in the mentioned path, will the problem be solved?
Thanks for your reply dear friend
My problem was solved with your help
Please put the code for other settings related to WiFi signal led and modem power-on status led.
Hello
After installing version 23.05.4 in TP-Link TL-MR6400 v5 modem and using uqmi which was introduced on this page, all three modem SIM card signal lights stay on permanently. Even when I know that the antenna of the SIM card is weak, but all three lights of the modem are always on.
please guide me