I want to log all MAC addresses that connect, as well as which SSID they connect to (I have three). In the log, I see something like this:
Mon Feb 24 15:31:49 2025 daemon.info hostapd: phy0-ap2: STA d6:f7:ce:fa:f2:95 IEEE 802.11: authenticated
How can I log the SSID as well?
In a possibly related question, can I log ONLY this information?
Thanks!
brada4
2
You need to backtrack log or extract ssid-s frim iwinfo.
Thanks for the response, but that went way over my head.
pavelgl
4
An easy option with a similar effect would be to set custom device names for all wireless interfaces, e.g.
config wifi-iface 'some_iface'
option ssid 'MySSID1'
option ifname 'myssid1-ap'
...
Then in the logs, instead of phyX-apY: ...
, you will see myssid1-ap: ...
4 Likes
That looks like it's working. Thanks!
1 Like
system
Closed
6
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.