Measure WiFi strength

Is there a command which could show/print/log WiFi strength? I would like to measure it depending on router’s location/distance from one another. There are ‘gsmctl -q’ command for that, but its for mobile network.

Hello,

In this case, I would recommend using the RUTOS API, which you can find at https://developers.teltonika-networks.com/. Using this API, you can retrieve values from the device itself as well as from external sources. With a simple command, you can obtain the signal quality values for both 2.4 GHz and 5 GHz interfaces:

api get /wireless/interfaces/status | jsonfilter -e '@.http_body.data[*].quality'

Best regards,

Thank you, it works. I understand these values are what is displayed in Wifi menu (interfaces) in Webui. I am using a mesh, so I also have a mesh interface which displays the signal quality. How should I understand the mesh quality? If I have 3 nodes and 1 gateway - can I get signal quality for all possible connections? For example 1 → 2, 2 → 3, 1 → 3, etc. What does mesh quality show then? Is it average quality for whole mesh? Because some of the mesh devices might have stronger, some weaker signal to each other. And I want to know them.

Hello,

On a single device, the whole mesh signal quality is not measurable, signal quality can be measured only between connected devices. The signal measurement command provides this information. The signal reading shown in the WEBUI, displayed as a percentage, represents the signal quality between two devices. If more devices are connected, the reading is averaged.

To get detailed information about the stations connected to the access point (AP), you can use the following command:

iw dev wlan0 station dump

This command will give you comprehensive information about all the stations connected to the selected AP (in this case, WLAN0), including signal reading.

Best regards,