how to write the wpa_supplicant.conf

Pavel Roskin proski
Fri Sep 4 08:31:07 PDT 2009

On Fri, 2009-09-04 at 13:48 +0800, belle.shi at wrote:
> hi
>   i use the wpa_gui to connect to wpa_supplicant, but when the ap uses 
> shared wep, i can't connect to the wpa_supplicant, but after i add 
> auth_alg=OPEN SHARED
> in the wpa_supplicant.conf, everything qoes ok. but i think this is not 
> a good way, i think if the wpa_supplicant can write the content 
> "auth_alg=OPEN SHARED"
> to the wpa_supplicant.conf automaticlly when wpa_supplicant found the 
> current alg is wep? so i want to know how the wpa_supplicant to write 
> the file wpa_supplicant.conf? where is the code?

Look for CONFIG_NO_CONFIG_WRITE in the sources.

Pavel Roskin

More information about the Hostap mailing list