WiFi Antenna Pointer Tool

Scanmeter, WiFi Antenna Tuning Software for Linux

11/01/2015 update

You may also take a look at the new Python 2.x based antenna pointing tool called Scanmeternm.py.

Although there are many great WiFi related programs available for Linux there isn’t a good antenna setup software like the Netstumbler in Windows. Of course, Linux has the all powerful Kismet and the simple to use Wavemon but neither is very useful when it comes to measuring 802.11 RF signal level and plotting a histogram. I build and test high gain WiFi antennas as a hobby and need a simple measuring tool so I wrote Scanmeter which is a bash script that measures signal strength and displays the wireless strength in a histogram [Fig. 1].

WiFi antenna pointing software for Linux
Fig. 1 Scanmeter screen grab

High gain antennas are directional by design. When pointing a directional antenna it is important to measure the WiFi signal level as we move the antenna. Even when you know the general direction of the access point, small azimuth angle, elevation and polarization corrections can produce big differences in signal amplitude.

This is especially true for distant WiFi access points. Imagine shining a laser pointer at a building several blocks away. A small movement of hand will move the laser dot in large sweeps. WiFi antennas are not as focused as a laser beam but when going for distance every dB counts so it is important to aim right.

Scanmeter features a continuously updating histogram. While you are adjusting the position of your high gain WiFi antenna the signal is plotted on screen live so you can find the “sweet spot” without guessing.

Download and Installation

I have tested Scanmeter in several different configurations. If none matches your hardware that’s OK. Pick the closest one and modify the script if necessary. [LINK]

If you’re new to bash scripts do this:

  1. Download and unpack the script to your /home/yourname directory.
  2. Open a terminal window and type:
cd /home/yourname
chmod +x scanmeter

There are better places to save a bash script like /usr/local/bin for example. Look up a tutorial on saving and executing bash scripts for more information.

Scanmeter Usage

Scanmeter must be executed by the root user. This is done inside a terminal window:

  1. cd /home/yourname (navigate to the location of the script)
  2. sudo ./scanmeter [interface]
Scanmeter screen grab
Fig. 2 Scanmeter screen grab

The default interface is wlan0 except for the Dell Mini 9 factory WiFi card version which defaults to eth1. Your WiFi card could also default to eth1 or another device name. To find out the device name of your wireless card execute:


If you saved the script in /usr/local/sbin or added the custom location path to the PATH environment variable (slightly advanced), your Scanmeter can be executed by typing:

sudo scanmeter [interface]


sudo ./scanmeter [interface]

Scanmeter is very self explanatory. Make sure you use all caps when typing in the BSSID (MAC Address). Press CTRL+C to exit the histogram. Pressing enter in the main menu prompt will restart scanning with the last entered BSSID.


Scanmeter parses the output of Linux command:

sudo iwlist interface scanning

The physical formatting of the iwlist command output depends on the wireless chipset, the driver and possibly the Linux distro. For this reason you may have to make minimal adjustments to the script to make it work.

Similar Software

Check out Pifimon which is a Perl script inspired by Scanmeter (and improved). If you improve scanmeter or make similar tools let me know please.

Leave a Reply

Your email address will not be published. Required fields are marked *