Bug 151151 - wpa_supplicant fails to associate when using NetworkManager
Summary: wpa_supplicant fails to associate when using NetworkManager
Status: VERIFIED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Network (show other bugs)
Version: Final
Hardware: Other Other
: P5 - None : Critical (vote)
Target Milestone: ---
Assignee: Joachim Gleissner
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 144268
  Show dependency treegraph
 
Reported: 2006-02-15 12:59 UTC by Timo Hoenig
Modified: 2007-06-05 10:04 UTC (History)
4 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
/var/log/NetworkManager as tar.bz2 (7.10 KB, application/x-bzip2)
2006-05-22 20:00 UTC, Johannes Engel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Hoenig 2006-02-15 12:59:40 UTC
wpa_supplicant fails to associate when using NetworkManager.  I have tried using orinoco (Prism2) and Atheros cards.  In 9 out of 10 connection attempts wpa_supplicant seems to remain in state "scanning" until the 90s time-out of NetworkManager finally kills the connection attempt.

The Remedy:  We need wpa_supplicant 0.4.8 (currently we're at 0.4.7)

Looks like NM and the UIs (nm-applet and KNetworkManager) are not to blame as it Just Works when using wpa_supplicant 0.4.8.  I ask everyone to test the RPMS from mbuild nouse-thoenig-8.

I have tried newest madwifi and wireless-tools which didn't improve my situation.  Just after having wpa_supplicant 0.4.8 in charge made the sun shine bright.

The system is a base install Beta3 with interesting packages being upgraded to the latest.

wireless-tools-28pre13-11
madwifi-1451-2
NetworkManager-glib-0.5.1cvs20060214-2
NetworkManager-gnome-0.5.1cvs20060214-2
NetworkManager-debuginfo-0.5.1cvs20060214-2
NetworkManager-kde-debuginfo-0.1r5741-2
NetworkManager-0.5.1cvs20060214-2
NetworkManager-kde-0.1r5741-2
NetworkManager-devel-0.5.1cvs20060214-2

cc'ing the usual suspects.
Comment 1 Christoph Thiel 2006-02-15 14:09:27 UTC
I'm just happy using

wpa_supplicant-0.4.7-5
madwifi-kmp-default-1451_2.6.16_rc3_2-2
madwifi-1451-2
NetworkManager-kde-0.1r5741-2
NetworkManager-glib-0.5.1cvs20060214-2
NetworkManager-0.5.1cvs20060214-2
NetworkManager-gnome-0.5.1cvs20060214-2

But I can confirm quite some problems with wpa_supplicant and will give the updated wpa_supplicant a try later today.

The strange thing is, that it has been working quite well with the NetControl stuff. NM still seems to do some things different in that area... 
Comment 2 Timo Hoenig 2006-02-15 14:16:12 UTC
(In reply to comment #1)

> But I can confirm quite some problems with wpa_supplicant and will give the
> updated wpa_supplicant a try later today.

Can you please specify "quite some problems"?
Comment 3 Christoph Thiel 2006-02-15 14:28:05 UTC
(In reply to comment #2)
> > But I can confirm quite some problems with wpa_supplicant and will give the
> > updated wpa_supplicant a try later today.
> 
> Can you please specify "quite some problems"?

I'v seen the same problem you'v characterized above. After using NM to connect to a hidden WPA2-enc'ed network, it keeps on scanning. Stopping NM, killing the wpa_supplicant, unloading all ath_* modules and then loading all the stuff again, makes it work sometimes -- but not always ;(
Comment 4 Robert Love 2006-02-15 14:33:33 UTC
I want to add that my experience matches Timo's and I would love to see a newer wpa_supplicant.

I have had much better luck using wpa_supplicant's development branch (0.5.x) and many of those fixes are in 0.4.8.

I know it is late, Joachim, but 0.4.8 would really save the day.  ;-)
Comment 5 Joachim Gleissner 2006-02-15 15:26:51 UTC
I gave 0.4.8 a try and I can not say it magically fixed all problem with madwifi. But at least it seems it doesn't break anything, so I don't have objections to updating. It's mainly a bugfix release anyway. Andreas, is this ok? It should be crypto-regulations safe.
Comment 6 Timo Hoenig 2006-02-15 15:30:06 UTC
No one claimed that it fixes all madwifi problems, but at least some.  Regarding the orinoco card next to me: 0.4.8 made it working for the first time using NM and wpa_supplicant.
Comment 7 Robert Love 2006-02-15 15:32:32 UTC
Yes, the biggest gain is that 0.4.8 fixes orinoco problems.
Comment 8 Andreas Jaeger 2006-02-16 06:18:14 UTC
Joe, submit it - and we review it then.
Comment 9 Joachim Gleissner 2006-02-16 15:50:55 UTC
Package submitted.
Comment 10 Joachim Gleissner 2006-02-20 17:52:54 UTC
Package checked in.
Comment 11 Johannes Engel 2006-05-22 17:23:45 UTC
Again I have got the problems described above using an intel PRO Wireless 2200 with NetworkManager-0.6.2-34 and wpa_supplicant-0.4.8-14. Using the traditional way with ifup works quite fine.
Comment 12 Joachim Gleissner 2006-05-22 17:29:02 UTC
Please attach /var/log/NetworkManager.
Comment 13 Andreas Jaeger 2006-05-22 17:46:22 UTC
This is not a blocker.
Comment 14 Johannes Engel 2006-05-22 20:00:21 UTC
Created attachment 84645 [details]
/var/log/NetworkManager as tar.bz2

Here my log.
Comment 15 Johannes Engel 2006-05-22 20:18:03 UTC
Maybe one additional remark: The problem occurs since an update to kernel 2.6.16.16-SL101_BRANCH_20060518185902. Also an update of the ipw2200 and ieee80211 to the actual versions did not help. I'm trying a downgrade of the kernel now.
Comment 16 Johannes Engel 2006-05-23 15:29:54 UTC
OK, I traced down the reason thanks to Daniel Stefan Mader: It is the update of dhcdbd from 1.12-14 to 1.12-14.2.
After downgrading again everything works as expected.
Comment 17 Forgotten User Drfk9mafMw 2006-05-23 15:40:52 UTC
Hello, since my name already occurs: 

let me add that this patch should be removed immediately. The trouble is caused by an official patch/package, and many users will install it!
Comment 18 Joachim Gleissner 2006-05-23 15:51:12 UTC
This is probably what was reported as bug 177443.
Comment 19 Andreas Jaeger 2006-05-23 15:51:56 UTC
The issue with dhcdbd is fixed already, it just takes some time to sync the mirrors.
Comment 20 Johannes Engel 2006-05-24 00:11:21 UTC
I just installed dhcdbd 1.12-14.2, dhcp 3.0.3-23.1, dhcp-client 3.0.3-23.1.
But the problem persists.
Comment 21 Joachim Gleissner 2006-05-24 05:52:07 UTC
Then please reopen the dhcdbd bug, not this one.
Comment 22 Johannes Engel 2006-06-06 22:39:08 UTC
And again because of the topic I post here:
I finally traced down the problem: It occurs using the most recent ipw2200 driver. Using the version originally present in the kernel everything works fine.

I do not know which change is responsible but it would be nice to support newer drivers due to their support for radiotap headers etc. Maybe someone with a deeper knowledge of that stuff can have a look at this.