Skip to contentSkip to conversation

Association broken with wpa_supplicant

DISCUSSION Ronald 2 participants 2 messages May 16, 2008

lore
Share & tools
lore

Ronald

author
#0 lore raw

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

#1 lore raw
Quoted 6 lines · Ronald

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

Quoted 7 lines

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