PSK By Station On Association Using wpa_psk_file

a c ay.home.phone at gmail.com
Mon Mar 18 06:06:04 PDT 2024


Hi,

I am using the wpa_psk_file option and I need to know which WPA2 PSK a
station has used to associate/authenticate with the AP.

I am using in the wpa_psk_file the wildcard 00:00:00:00:00:00 mac
address so knowing the mac address does not necessarily tell me which
PSK was used.

I tried looking at hostapd_cli, but could not find a way to get this
information.

Is there a way using hostapd_cli to get this information when a
station associates/authenticates?  If not, is there another way of
doing this?

Here's my wpa_psk_file:

00:00:00:00:00:00 mysecret1
00:00:00:00:00:00 mysecret2
00:00:00:00:00:00 mysecret3

For example, I would like to know when the PSK "mysecret2" was used
and by which stations/mac addresses.

Any guidance would be greatly appreciated.

Many thanks.



More information about the Hostap mailing list