[pkg-wpa-devel] Bug#468235: Bug#468235: wpasupplicant: Better wpa_cli documentation wanted

Kel Modderman kel at otaku42.de
Tue Mar 11 00:01:31 UTC 2008


On Thursday 28 February 2008 07:20:59 Kai Hendry wrote:
> Package: wpasupplicant
> Version: 0.6.2+git20080206.g8c0dad4-1
> Severity: wishlist
> 
> I am not sure if this is possible or not with `wpa_cli`. Though I think
> a user should be able to configure a new AP within this interactive
> client instead of editing /etc/wpa_supplicant/wpa_supplicant.conf
> 
> I usually get as far as:
> 
> 	scan
> 	scan_results
> 
> But from there I am unsure how to select and configure a new AP.

eg:

> add_network
7
> set_network 7 ssid "foo"
OK
> set_network 7 psk "secretpassphrase"
OK
> enable_network 7
OK
> save_config
OK

> 
> Are you supposed to 'add_network' and select it and configure it from
> there? Does that save to the wpa_supplicant.conf? Anyway, there is room
> for improvement in user friendliness front. :)

You should read:
/usr/share/doc/wpasupplicant/README.wpa_supplicant.conf.gz

Specifically section about "update_config". save_config command only works
when this attribute is set in current configuration.

Using the wpa_cli socket commands is quite a long winded method of configuring
networks by hand; but I guess it could be made friendlier with a large amount
of hacking...

> 
> Be good if the documentation address typical use cases.
> 
> 1) User scanning for network
> 2) Selecting network
> 3) Entering password credentials
> 4) Saving the configuration

wpa_gui provides this ability, although both user interfaces are a little bit
different to what is expected by many people.

Thanks, Kel.





More information about the Pkg-wpa-devel mailing list