Wireless LAN Signal Strength Analysis Commands


**************
For Windows:
**************

netsh wlan show networks mode=ssid

and

netsh wlan show networks mode=bssid


*************
For Linux:
*************

To display WiFi signal strength in the terminal, you can run this command:

  • watch -n 1 "awk 'NR==3 {print \"WiFi Signal Strength = \" \$3 \"00 \"}''' /proc/net/wireless"
  • watch -n 1 cat /proc/net/wireless
  • iwconfig "Interface-Name-Here" 
        example:

        iwconfig wlan0
        or
        iwconfig wlan1
        or
        watch -n 1 iwconfig wlan1    [for continuos observation of the link]
  • Wifi Signal Strength(Link Quality) in Percentage:
    while [ 1 ];do clear;echo "WiFi Signal Strength (Link Quality)";a=$(/sbin/iwconfig wlan1 | grep "Link Quality" | awk '{print $2}' | sed 's/.*\=//'); echo $(($((${a%/*} * 100)) / ${a#*/}))%;sleep 1;done
     
     
     

Comments

Popular posts from this blog

Huawei - eNSP (Enterprise Network Simulation Platform)

Useful Websites & Forums (Non-IT)

Useful Websites & Forums (IT/Technical/Educational)

Internet Traffic Generators

Network/Telecom Vendors (National & International)

Create iSCSI Share via FreeNAS - Step by Step

Cisco Simulator: Cisco IOS-On-UNIX (Cisco IOU)

Cisco IOS Collection