2008-05-16 07:31:34

by Ronald

[permalink] [raw]
Subject: Association broken with wpa_supplicant

I'm not using the latest wireless (2.6.25) but I also have trouble using
wpa_supplicant (same error as you). After *a lot* of trying, I figured
this out, to associate I do this:

/sbin/wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf.2 -B
/bin/sleep 5
/usr/bin/killall wpa_supplicant
/sbin/wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -B
/bin/sleep 5
/sbin/ifconfig wlan0 192.168.2.252 netmask 255.255.255.248
/sbin/route add default gw 192.168.2.254

The contents of wpa_supplicant.conf.2 is:

ctrl_interface=/var/run/wpa_supplicant

ap_scan=2
fast_reauth=0

network={
bssid=00:1B:2F:A9:48:E8
ssid="Chimera"
psk="<<scrubbed>>"
key_mgmt=WPA-PSK
proto=WPA2
pairwise=CCMP
}


The contents of wpa_supplicant.conf is:

ctrl_interface=/var/run/wpa_supplicant

ap_scan=1
fast_reauth=0

network={
bssid=00:1B:2F:A9:48:E8
ssid="Chimera"
psk="<<scrubbed>>"
key_mgmt=WPA-PSK
proto=WPA2
pairwise=CCMP
}

Trying to associate directly with only wpa_supplicant.conf won't work,
*only* after I used wpa_supplicant.conf.2. Furthermore, I never made a
bugreport as I thought that it would be an error in wpa_supplicant...

I hope this helps you in any way =)

Ronald


2008-05-16 08:20:59

by Johannes Berg

[permalink] [raw]
Subject: Re: Association broken with wpa_supplicant

On Fri, 2008-05-16 at 09:31 +0200, Ronald wrote:
> I'm not using the latest wireless (2.6.25) but I also have trouble using
> wpa_supplicant (same error as you). After *a lot* of trying, I figured
> this out, to associate I do this:

> ap_scan=2

> ap_scan=1

> Trying to associate directly with only wpa_supplicant.conf won't work,
> *only* after I used wpa_supplicant.conf.2. Furthermore, I never made a
> bugreport as I thought that it would be an error in wpa_supplicant...
>
> I hope this helps you in any way =)

This is probably the same bug Michael reported already. If it hadn't
been, I most likely would have ignored your email due to lack of kernel
logs and information :)

johannes


Attachments:
signature.asc (828.00 B)
This is a digitally signed message part