[Bug 372665] New: wpa_supplicant has timeouts which are too critical
https://bugzilla.novell.com/show_bug.cgi?id=372665 Summary: wpa_supplicant has timeouts which are too critical Product: openSUSE 10.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Mobile Devices AssignedTo: zoz@novell.com ReportedBy: f.de.kruijf@hetnet.nl QAContact: qa@suse.de Found By: --- Lately I did have a lot of problems with making wireless connections from my laptops. My new laptop established a connection only one out of three after a reboot and only after a reboot. After studying the /var/log/messages file with debug output from wpa_supplicant through the command "ifup wlan0 -o debug" I found that the authentication timeout could be the problem. So I downloaded the wpa_supplicant source and changed in the modules wpa_supplicant.c and event.c some of the hard coded timeouts, both scan and authentication timeouts. Now I don't have these problems anymore. So my conclusion is that these timeouts are too critical. Either the hard coded timeouts should be raised or if a scan or authentication does fail the timeout should be raised by wpa_supplicant. I found a number of bug reports on wireless and in my view many of these are solved by raising the timeouts. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=372665 Christian Zoz <zoz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|zoz@novell.com |hschaa@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=372665 User hschaa@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=372665#c1 Helmut Schaa <hschaa@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |f.de.kruijf@hetnet.nl --- Comment #1 from Helmut Schaa <hschaa@novell.com> 2008-04-14 09:35:38 MST --- AFAIK wpa_supplicant 0.5.10 (and current development branch) should behave much better regarding the scan timeout. I'm not sure if the authentication timeout changed since 0.5.7 (shipped with 10.3). Could you please try wpa_supplicant 0.5.10? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=372665 User f.de.kruijf@hetnet.nl added comment https://bugzilla.novell.com/show_bug.cgi?id=372665#c2 --- Comment #2 from Freek de Kruijf <f.de.kruijf@hetnet.nl> 2008-04-16 07:38:27 MST --- Created an attachment (id=208322) --> (https://bugzilla.novell.com/attachment.cgi?id=208322) see comment -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=372665 User f.de.kruijf@hetnet.nl added comment https://bugzilla.novell.com/show_bug.cgi?id=372665#c3 --- Comment #3 from Freek de Kruijf <f.de.kruijf@hetnet.nl> 2008-04-16 07:39:40 MST --- I tried 0.5.10 but I have the same problem. In this version I changed the timeouts the same way I did in openSUSE 11.0 A2 with 0.6.3 but still the same problem. The problem is that only after a (re)boot the wlan0 connection is working or not. If it is working I can ifdown and ifup and again the connection is working. If it is not working then I can do ifdown and ifup but still no connection. The wlan0 interface is working OK because I can see all the AP's using "iwlist wlan0 scan" in both of the above situations. So is the conclusion that it is not the timeouts of wpa_supplicant? But it is a problem with wpa_supplicant. I made logs of the output of iwlist wlan0 scan both when 0.5.8lthough the output of this command has nothing to do with the result but it shows the AP situations when making the 5 logs. The logs are extracted from /var/log/messages after giving the command "ifup wlan0 -o debug" in the following situations: Succesfull connection after reboot with 0.5.8 wlan0suc8.txt Succesfull connection after reboot with 0.5.10a wlansuc10a.txt Non-succesfull connection after reboot with 0.5.8 wlan0nosuc8.txt Non-succesfull connection after reboot with 0.5.10 wlan0nosuc10.txt Non-succesfull connection after reboot with 0.5.10a wlan0nosuc10a.txt 0.5.10a means timeout values changed in 0.5.10. One succesfull log is missing but I could produce it if necessary. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=372665 User f.de.kruijf@hetnet.nl added comment https://bugzilla.novell.com/show_bug.cgi?id=372665#c4 --- Comment #4 from Freek de Kruijf <f.de.kruijf@hetnet.nl> 2008-04-16 07:41:02 MST --- Created an attachment (id=208323) --> (https://bugzilla.novell.com/attachment.cgi?id=208323) iwlistscan10.txt -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=372665 User f.de.kruijf@hetnet.nl added comment https://bugzilla.novell.com/show_bug.cgi?id=372665#c5 --- Comment #5 from Freek de Kruijf <f.de.kruijf@hetnet.nl> 2008-04-16 07:41:37 MST --- Created an attachment (id=208324) --> (https://bugzilla.novell.com/attachment.cgi?id=208324) wlan0nosuc8.txt -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=372665 User f.de.kruijf@hetnet.nl added comment https://bugzilla.novell.com/show_bug.cgi?id=372665#c6 --- Comment #6 from Freek de Kruijf <f.de.kruijf@hetnet.nl> 2008-04-16 07:42:22 MST --- Created an attachment (id=208325) --> (https://bugzilla.novell.com/attachment.cgi?id=208325) wlan0nosuc8.txt -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=372665 User f.de.kruijf@hetnet.nl added comment https://bugzilla.novell.com/show_bug.cgi?id=372665#c7 --- Comment #7 from Freek de Kruijf <f.de.kruijf@hetnet.nl> 2008-04-16 07:43:01 MST --- Created an attachment (id=208326) --> (https://bugzilla.novell.com/attachment.cgi?id=208326) wlan0nosuc10.txt -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=372665 User f.de.kruijf@hetnet.nl added comment https://bugzilla.novell.com/show_bug.cgi?id=372665#c8 --- Comment #8 from Freek de Kruijf <f.de.kruijf@hetnet.nl> 2008-04-16 07:43:35 MST --- Created an attachment (id=208327) --> (https://bugzilla.novell.com/attachment.cgi?id=208327) wlan0nosuc10a.txt -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=372665 User f.de.kruijf@hetnet.nl added comment https://bugzilla.novell.com/show_bug.cgi?id=372665#c9 --- Comment #9 from Freek de Kruijf <f.de.kruijf@hetnet.nl> 2008-04-16 07:44:05 MST --- Created an attachment (id=208328) --> (https://bugzilla.novell.com/attachment.cgi?id=208328) wlan0suc10a.txt -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=372665 User hschaa@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=372665#c10 --- Comment #10 from Helmut Schaa <hschaa@novell.com> 2008-04-16 09:27:15 MST --- Thanks for the huge amount of logfiles :) Do you have the possibility to fetch logs from the AP you're trying to connect to? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=372665 User f.de.kruijf@hetnet.nl added comment https://bugzilla.novell.com/show_bug.cgi?id=372665#c11 Freek de Kruijf <f.de.kruijf@hetnet.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|f.de.kruijf@hetnet.nl | --- Comment #11 from Freek de Kruijf <f.de.kruijf@hetnet.nl> 2008-04-16 14:46:29 MST --- I have a MSI AP54G and could not find anything else than the logfile through the web control interface. This log of today only shows successful logins. Index | Time | Task Name | Event Messages 46 |2008/04/16 06:50:48| clock| SNTP sync time : 2008/04/16 06:50:48 47 |2008/04/16 11:07:08| security| WPA-PSK four-way handshake successfull for 00:1e:4c:af:7a:e0 48 |2008/04/16 11:27:38| security| WPA-PSK four-way handshake successfull for 00:03:2f:24:a7:9b 49 |2008/04/16 14:01:36| security| WPA-PSK four-way handshake successfull for 00:1e:4c:af:7a:e0 50 |2008/04/16 20:23:26| clock| SNTP sync time : 2008/04/16 20:23:26 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=372665 User hschaa@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=372665#c12 Helmut Schaa <hschaa@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #12 from Helmut Schaa <hschaa@novell.com> 2008-08-18 02:13:47 MDT --- Updated wpa_supplicant to 0.6.x for 11.1. The timeouts are now set dynamically based on the drivers capabilities. Closing as FIXED. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=372665 User f.de.kruijf@hetnet.nl added comment https://bugzilla.novell.com/show_bug.cgi?id=372665#c13 Freek de Kruijf <f.de.kruijf@hetnet.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #13 from Freek de Kruijf <f.de.kruijf@hetnet.nl> 2008-08-24 04:15:35 MDT --- I installed version 0.6.4 in openSUSE 11.0 both in a 32 and 64 bits system. However the behavior did not change. In both systems either it take minutes before the wlan0 interface comes up with an IP-address or it does not come up at all. iwconfig wlan0 shows in the last case a changing security key, which indicates that wpa_supplicant is still trying to make the association with the AP. In the 32 bit system it helps when I start wireshark on the wlan0 interface. Almost immediately after that I see the association to be established and DHCP getting an IP-address. In the 64 bit system this does not help. But "ifdown wlan0" "modprobe -r ndiswrapper" and "modprobe ndiswrapper" is most of the time enough to get the wlan0 interface up and running. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=372665 User dkerby@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=372665#c15 Dan Kerby <dkerby@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dkerby@novell.com --- Comment #15 from Dan Kerby <dkerby@novell.com> 2008-10-07 11:11:41 MDT --- I am seeing this behavior from Intel drivers as well. I have attached log files of my laptop and the Aruba wireless controller. I am using openSUSE 11 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=372665 Helmut Schaa <hschaa@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|zoz@novell.com |hschaa@novell.com Status|REOPENED |NEW -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=372665 User hschaa@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=372665#c17 Helmut Schaa <hschaa@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #17 from Helmut Schaa <hschaa@novell.com> 2008-12-10 04:02:15 MST --- (In reply to comment #15 from Dan Kerby)
I am seeing this behavior from Intel drivers as well. I have attached log files of my laptop and the Aruba wireless controller. I am using openSUSE 11
Dan, if you are not using ndiswrapper please open a new report for that issue. Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com