Thursday, July 12, 2012

How to Get Wifi Signal Strength Indication

In Percentage

while [ 1 ];do clear;a=$(/sbin/iwconfig wlan0 | grep "Link Quality" | awk '{print $2}' | sed 's/.*\=//'); echo $(($((${a%/*} * 100)) / ${a#*/}))%;sleep 1;done


In Normal way

iwconfig wlan0 | grep "Link Quality"

No comments:

Post a Comment