wpa_supplicant: save_config giving FAIL
Vincent Maurin
vincent.maurin
Tue Sep 26 00:56:49 PDT 2006
> Hi,
> In order to save the current configuration i am executing these commands
> with wpa_cli:
>
> >/add_network
/> 0
> >/set_network 0 ssid "Guest1"
/> OK
> >/set_network 0 key_mgmt NONE
/> OK
> >/save_config
/> FAIL
>
> Why save_config is giving "FAIL". What can be the reason? what changes i
> should make to work it preperly?
>From the source code :
if (!wpa_s->conf->update_config) {
wpa_printf(MSG_DEBUG, "CTRL_IFACE: SAVE_CONFIG - Not allowed "
"to update configuration (update_config=0)");
return -1;
}
Maybe add update_config=1 in your configuration file.
The best way to find the reason is to launch wpa_supplicant in debug mode
More information about the Hostap
mailing list