Script to scan or monitor WiFi signal

I had the need for a small, fast text based tool that would allow me to find 802.11 master(s) and then tune my router via SSH. I have a yagi antenna and needed a simple strength meter script I could use with my phone or tablet with a SSH client. I searched around and wasn't able to find something that didn't need additional package and was text only.

The script requires no additional packages.

Built-in help "-h"

I live in a rural area so haven't really tested in congested Wifi area and was hoping I could have someone test and provide feedback on my script.


I've coded something similar on AWK: Wi-Fi channel auto-selection

1 Like

while true; do iw dev wlan0 station dump | grep -i signal: | tr '\012' '\015'; sleep 1; done