Connect to Network without assign IP address

Carlos Patricio Amigo Haering camigo
Tue Feb 26 10:10:52 PST 2013

Thank for the reply Arend.

What do you mean with 'sensible configuration' ? Is not enough with the 
"set_network ssid" and "set_network psk" ? What extra paramter I should 
set? Also I've missed a "connect" command in wpa_cli. Doesn't exist?

I found documentation about supplicant when you configure the networks 
in wpa_supplicant.conf but the links are very old. This is the best 
method? Sorry about the plenty questions but I'm just starting to use 


El 2013-02-26 14:49, Arend van Spriel escribi?:
> On 02/26/13 18:25, Carlos Patricio Amigo Haering wrote:
>> Hi everybody,
>> I'm working with bridging and virtual ethernet interfaces (veth). 
>> So, I
>> want to connect wlan0 to a AP without assign it a IP. How can I do 
>> that?
>> I tried in wpa_cli uncessfully:
>>> add network
>> 0
>>> set_network 0 ssid "OF"
>>> set_network 0 psk "pass"
>> - I'm using Ubuntu 12.10 and wpa_supplicant v1.0
>> - The AP doesn't have dhcp server.
> Uhm. It is kind of trivial. If you disable network-manager and
> kick-off wpa_supplicant with a sensible configuration for your AP, 
> you
> should get there. Just do not configure it with an IP address.
> Regards,
> Arend
>> Thanks in advance.
>> Regards.
>> _______________________________________________
>> HostAP mailing list
>> HostAP at

More information about the Hostap mailing list