Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - axel619

#1
General Discussion / Client list throught shell
September 15, 2021, 11:14:19 AM
Is it possible to get the list of associated clients of a opnsense wifi interface through shell?
I tried with 'hostapd_cli all_sta' but it's giving wrong values (which are correct in the web panel) and tried to find a Rest Api command, but with no luck.
Thank you
#2
Hi, I have OPNsense 21.1-amd64 installed on a Pc Engine apu2e2 (AMD GX-412TC SOC). I setup a wifi access point which is working flawlessy, clients connect and navigate without problems.
I need to get the signal/rssi for each wireless client, which should be available with the shell command 'hostapd_cli all_sta'. I see the clients but the signal is fixed to 96 or 112, it never changes.
In the web panel, Interfaces --> Wireless --> Status I can see the clients with correct dynamic signal.
How do I get the information? Rest Api? Another shell command? Do you have any suggestion?
I tried the same Hostapd setup on a Raspberry Pi and the signal is not fixed, it changes.