Connect to Network without assign IP address

Arend van Spriel arend
Tue Feb 26 09:49:36 PST 2013


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 lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>





More information about the Hostap mailing list