Station connection trigger events...

Jouni Malinen j
Sat Sep 26 09:43:03 PDT 2009


On Fri, Sep 25, 2009 at 08:22:54AM -0400, John Dowd wrote:
> I'm wondering if there is any way for an external process/script to capture 
> some kind of event from hostapd whenever a device successfully connects to 
> hostapd. Right now I periodically send the SIGUSR1 signal to hostapd and then 
> I parse the hostapd.dump file looking for the "STA=" string.

There is no such mechanism available in the current version, but
something similar to the "wpa_cli -a" from wpa_supplicant should be
relatively simple addition to allow this to be done with hostapd.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list