[pkg-wpa-devel] Bug#471905: wpasupplicant: Wpasupplicant works only good if I start it with low Priority

Gregor Adamczyk g.adamczyk at netkult.com
Fri Mar 21 06:10:12 UTC 2008


 > Show the failing configuration.
 >
 > Thanks.


The same config without the "nice" fails.

/etc/network/interfaces:

allow-hotplug wlan0
iface wlan0 inet dhcp
pre-up wpa_supplicant -B -i wlan0 -c 
"/etc/wpa_supplicant/wpa_supplicant.conf" -D wext; sleep 10;
post-down killall -q dhclient wpa_supplicant;

I can reproduce this.
If I delete only the nice in the pre-up it is much more difficult to 
establish a connection.

I test it with:
ifdown wlan0
ifup wlan0

with the low priority of wpa_supplicant,  dhcp works very fast and 
becomes every time an IP.
with normal priority, dhclient starts but fails very often.





More information about the Pkg-wpa-devel mailing list