I would like to be able to check the strength of WiFi on the available networks from the command line in OSMC. This is without connecting to them but list the available ones by strength for instance.
Is this possible and if so how?
On other RPi4 devices running PiOS I can do like this, but it only shows the connected WiFi info:
iwlist wlan0 scan | grep "level="
Quality=70/70 Signal level=-32 dBm
But on OSMC I get this:
iwlist wlan0 scan | grep "level="
-bash: iwlist: command not found
This works to get the current connection’s strength on both OSMC and PiOS:
Thanks, I did not know the package name when I tried apt policy…
Now I got as far as on the other RPi4 device running PiOS.
Next problem is that when I run it on my OSMC box after installing it via apt it just seems to list info regarding the active connection…
I had hoped to somehow get a list of all on-the-air wifi networks so I could decide which to actually use. I have several access points each with its own ssid for the same basic network…
The MyOSMC listing of available networks when setting up the connection from the GUI does not list the strength AFAICT, but a list of servers is shown notwithstanding.
So since MyOSMC GUI is capable of listing them all maybe there could be a command line version of the used command?
By the way man seems not to exist for iwlist after installation…