OpenWrt Forum Archive

Topic: Associated stations list empty with WPA2 802.1X

The content of this topic has been archived on 7 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi everyone,

I configured my OpenWRTs with wpad, Enterprise WPA2 (802.1X) and dynamic VLANs.
Everything works correctly a part from the associated stations list, that shows no clients.

Hoping that is not the expected behavior, how can I fix this issue?

On one installation I have multiple SSID (some 802.1X and some using WPA2 PSK) and the "Associated Stations" list only shows info about the WPA2 PSK clients.

Any help would be very appreciated! wink

I think 802.1X stations get spawned off into individual VLANS.  This may be beyond what LUCI understands.

Mmm... is there a way to get the associated 802.1X stations via command line?
If it's a LuCI specific issue I should be able to get the list some way right?

First check iw dev to see if additional VLAN'd AP devices are being spawned.  iw dev <device> station dump will show details of the STA (if any) connected to that device.

Instead of raw iw, LUCI uses the OpenWrt specific program iwinfo as the backend to gather wireless data.

mk24 wrote:

First check iw dev to see if additional VLAN'd AP devices are being spawned.  iw dev <device> station dump will show details of the STA (if any) connected to that device.

Instead of raw iw, LUCI uses the OpenWrt specific program iwinfo as the backend to gather wireless data.

Yeah! You are right!
iw dev shows two additional interfaces (wlan0.20 and wlan1.20) and if I use station dump command on these I can finally see the connected STAs!

I wonder if there is a way to help LUCI detect those VLAN interfaces...
I tried the iwinfo command, but I get a "not found" error... Seems like the package is not installed.

UPDATE:
Ok, with opkg install iwinfo the iwinfo command is now working.
Mmm... I would really like to see the code part of LUCI that retrieves the associated stations to see if there is margin for some tweaking wink

(Last edited by Matwolf on 22 Aug 2017, 22:17)

The discussion might have continued from here.