wpa_cli event handling (revisited)

Jouni Malinen jkmaline
Sun May 21 20:58:48 PDT 2006


On Sun, May 14, 2006 at 02:56:07PM +1000, Kel Modderman wrote:

> I'd just like to register my interest in having a string to identify a 
> network scheme, exported to wpa_cli as a shell variable, as discussed in 
> a previous thread:
> 
> http://lists.shmoo.com/pipermail/hostap/2006-January/012259.html

Thanks for reminding me. I added this in following way:

Added new configuration option for identifying which network block
was used (id_str in wpa_supplicant.conf; included on
WPA_EVENT_CONNECT monitor event and as WPA_ID_STR environmental
variable in wpa_cli action scripts; in addition WPA_ID variable is
set to the current unique identifier that wpa_supplicant assigned
automatically for the network and that can be used with
GET_NETWORK/SET_NETWORK ctrl_iface commands).

Current id and id_str is also available from 'wpa_cli status' output if
these are needed outside the context of action scripts.

-- 
Jouni Malinen                                            PGP id EFC895FA




More information about the Hostap mailing list