wpa_supplicant: "reconfigure" calls have no effect

Bryan Kadzban bryan at kadzban.is-a-geek.net
Wed Jun 20 12:53:10 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Sandeep Parikh wrote:
> then i will update the configuration file

Does it work any better if you update the configuration directly,
instead of having wpa_supplicant re-read its config file?  wpa_cli can
send "please add a network with these parameters" requests (I think
using "add_network"?  not sure on that though, you'd have to check the
documentation) to wpa_supplicant, which will then add that network to
its list.  IIRC, you can even write out the new config file with another
request, if you need to.

(And you don't necessarily have to use wpa_cli to do this, either: any
process with enough privileges can connect to the named socket/pipe and
issue requests over that connection.  wpa_cli may work for you anyway,
but if not, it's not needed.)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGeVt1S5vET1Wea5wRA+DOAJ98qRbWeV2bGxSOg17gGlQ8bVLwSwCgxR2e
uLuacq1xfolHfuZ5go3ubFc=
=/VEH
-----END PGP SIGNATURE-----



More information about the HostAP mailing list