OpenWrt Forum Archive

Topic: OpenWRT TP-Link WA830RE v2 Signal strength meter

The content of this topic has been archived on 23 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello Guys,

I use my Repeater to connect and fly my Parrot Bebop, so i can fly long range. After I saw this https://wiki.openwrt.org/doc/howto/led.wifi.meter I decided to do this to my Repeater. I created the script "ledwsignal.sh" in /etc/config and made it exectuable by running this command: chmod +x wlan-monitor-sh. Then after I wrote /ect/config/ledwsignal.sh

This pop ups: /etc/config/ledwsignal.sh

USAGE:
    ledwsignal.sh <led name>

available leds:
ath9k-phy0
tp-link:green:lan
tp-link:green:qss
tp-link:green:system


ERROR

/etc/config/ledwsignal.sh tp-link:green:qss

or use any other LED name listed.

MBS wrote:
/etc/config/ledwsignal.sh tp-link:green:qss

or use any other LED name listed.

Will it get permantly after this or need I run this shell at every start of the repeater

This will not be started automatically. One way to achieve this is to add that line to /etc/rc.local. Maybe need to demonize by appending & (haven't checked if the script does).

MBS wrote:

This will not be started automatically. One way to achieve this is to add that line to /etc/rc.local. Maybe need to demonize by appending & (haven't checked if the script does).

Thank you, this worked but the script always stuck at strength 4. I tested it. I repeated my smartphones wifi hotspot. First its shows strength 4. This is right. Then I move my phone to another room. There are now 2 walls between hotspot and repeater. Signal is now about -92dbm but the script says strength 4 and stays there.

P.S I found that /proc/net/wireless does not update. I ran this command watch -n 1 "awk 'NR==3 {print \"WiFi Signal Strength = \" \$3 \"00 %\"}''' /proc/net/wireless" and it stuck at 70 Wlan strength

(Last edited by bilal-uendemir_51 on 30 Dec 2015, 12:20)

The discussion might have continued from here.