Connect to Network without assign IP address

Arend van Spriel arend at broadcom.com
Wed Feb 27 04:26:10 EST 2013


On 02/26/13 19:56, Carlos Patricio Amigo Haering wrote:
> What I'm doing wrong ? wlan0 doesn't have assigned IP. I have to set
> special parameter to the network if i'm not using IP?
>
> # service network-manager stop
> # cat /etc/wpa_supplicant/wpa_supplicant.conf
> ctrl_interface=/var/run/wpa_supplicant
>
> network={
> ssid="OF"
> bssid=20:aa:4b:54:f1:ce
> key_mgmt=WPA-PSK
> group=CCMP
> pairwise=CCMP
> proto=RSN
> psk="*****"
> }

I would keep it simple and only specify the fields ssid, key_mgmt, and 
psk. Just run wpa_supplicant with that and in another terminal verify 
that you have wlan connection using: iw dev wlan0 link or iwconfig. You 
do not have to use wpa_cli if you use the configuration file.

Gr. AvS



More information about the HostAP mailing list