Use wpa_cli as NetworkManager replacement

Jouni Malinen j
Sun May 23 07:00:07 PDT 2010


On Wed, May 12, 2010 at 01:03:29AM -0600, Curtis Larsen wrote:

> I would simply like to be able to launch it from the CLI, have it prompt 
> for my username/password (at work), or PSK (at home), and see the debug 
> text while it authenticates, connects, and grabs DHCP.
> 
> The closest thing I have found to this is something like this: 
> http://www.lboro.ac.uk/it/wireless/linux.html  ...but I cannot even get 
> wpa_supplicant to prompt me for a PSK so far.
> 
> Is this even possible?  Could someone walk me through the basic steps to 
> make wpa_supplicant return the wpa_cli prompt for UN or PSK like this, 
> or point me to some documentation on this?

Username/password is doable (see Interactive authentication parameters
request in wpa_supplicant/README), but this is only for EAP-based
authentication. PSK (WPA-Personal) does not have similar mechanism. It
should be possible to add that, but it is a bit more complex due to much
shorter timeout for getting PSK available. In practice, this would
likely need to result in the user query being used before having
connected to the network (i.e., just based on scan results).

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list