Logging unsolicited events in hostapd_cli

Jouni Malinen j
Sat Sep 10 13:40:19 PDT 2011

On Wed, Aug 31, 2011 at 03:37:12PM +0000, Fabio Tignanelli wrote:
> I am using HostAPD v0.6.9 available on Fedora 12 distribution.
> I am looking at the use of hostapd_cli and how unsolicited events can be captured.
> I was expecting to see the print out of an unsolicited message on the hostapd_cli prompt saying something like "authenticated" when a station would authenticate.

hostapd has been quite a bit behind on the unsolicited event side
compared to wpa_supplicant and this is only a recent functionality (your
0.6.9 is too old to support it).

> 1) Is there anything I need to configure in the hostapd or hostapd_cli to get a notification of events like "authenticated" or "connected" in the hostapd_cli?

No, but you would need to update to a newer version.

> 2) Is there a way I can update HostAPD v0.6.9 to the latest version v0.7.3 on my Fedora 12 without incurring in any compatibility trouble (I have tried to update the rpm package with yum but it seems v0.6.9 is as far as Fedora 12 can go)?

I guess that depends on "compatibility trouble".. If Fedora 12 does not
support newer releases, you would need to get it from a newer release or
build from source. While I would not generally expect issues in moving
to newer versions, there are no guarantees on that.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list