Bug 376251 - iwl3945 won't connect to WPA2 network after F7->F8 upgrade
Summary: iwl3945 won't connect to WPA2 network after F7->F8 upgrade
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: 8
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Dan Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-11 18:15 UTC by Matt McCutchen
Modified: 2008-01-27 02:52 UTC (History)
2 users (show)

Fixed In Version: svn3204
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-27 02:52:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
dmesg output for the attempt to connect to the network (4.07 KB, text/plain)
2007-11-11 18:15 UTC, Matt McCutchen
no flags Details
dmesg output after upgrade (3.07 KB, text/plain)
2007-12-03 22:20 UTC, Matt McCutchen
no flags Details

Description Matt McCutchen 2007-11-11 18:15:13 UTC
Description of problem:
Using Fedora 7, I could connect my Dell Latitude D620's ipw3945 wireless device
(using the iwl3945 driver) to my college's WPA2 wireless network using
NetworkManager.  I have upgraded to Fedora 8 and I can no longer connect to the
network.

Version-Release number of selected component (if applicable):
wpa_supplicant-0.5.7-15.fc8
kernel-2.6.23.1-49.fc8
NetworkManager-0.7.0-0.5.svn3030.fc8

How reproducible:
Always, provided that I am close to the access point for good signal strength

Steps to Reproduce:
1. Click the NetworkManager applet and select the WPA2 network.
2. When the authentication dialog appears, enter the correct information: "WPA &
WPA2 Enterprise", "Tunneled TLS", "anonymous", "ThawtePremiumServerCA.cer",
"PAP", and my own username and password.  Click Connect.
3. If the authentication dialog reappears, enter the information again each time.
  
Actual results:
After several tries, the NetworkManager applet says "Disconnected".  The dmesg
output is attached.  Note the "wpa_supplicant[19988]: segfault at"... line.

Expected results:
I am connected to the network.

Additional info:
Please tell me if I should provide any!

Comment 1 Matt McCutchen 2007-11-11 18:15:13 UTC
Created attachment 254761 [details]
dmesg output for the attempt to connect to the network

Comment 2 Dan Williams 2007-11-13 16:37:25 UTC
NM bug; building updates today for all cert-related auth methods including TLS
and TTLS.


Comment 3 Matt McCutchen 2007-11-14 16:08:41 UTC
I tried both sets of updated NetworkManager packages:
NetworkManager-0.7.0-0.7.svn3030.fc9 from 
http://koji.fedoraproject.org/koji/buildinfo?buildID=24226 and
NetworkManager-0.7.0-0.6.2.svn3083.fc8 from
http://koji.fedoraproject.org/koji/buildinfo?buildID=24276 .  With each set, the
the same problem occurred and the "wpa_supplicant[...]: segfault at..." message
appeared in dmesg.

Comment 4 Dan Williams 2007-12-03 17:10:18 UTC
Please update to wpa_supplicant-0.5.7-16 or later; also the latest
NetworkManager packages from F8-updates will help here.  Make sure your
certificate is in DER or PEM format as well.  That should certainly fix the
wpa_supplicant segfaults.

Comment 5 Matt McCutchen 2007-12-03 22:18:31 UTC
I have upgraded to wpa_supplicant-0.5.7-17.fc8 and
NetworkManager-0.7.0-0.6.6.svn3109.fc8 and am using a DER certificate. 
NetworkManager's attempt to the network still fails reproducibly at the
one-green-dot stage, but now instead of a segfault, the log shows
"disassociate(reason=3)" .

This might be the wireless network's fault; someone else at my college reported
a similar problem.  Still, I could connect with Fedora 7.  Please feel free to
mark this report NOTABUG or something if you don't think it can/should be
addressed by Fedora.

Comment 6 Matt McCutchen 2007-12-03 22:20:11 UTC
Created attachment 276291 [details]
dmesg output after upgrade

Comment 7 Dan Williams 2007-12-03 22:37:36 UTC
Could you add "-ddd" to the end of the Exec= line in
/usr/share/dbus-1/system-services/fi.epitest.hostap.WPASupplicant.  Then, as
root, "killall -TERM wpa_supplicant", and then retry your connection.  Then, get
the output of /var/log/wpa_supplicant.log and mail it to me.  Thanks!

Comment 8 Matt McCutchen 2007-12-04 19:48:46 UTC
I have followed this procedure (actually, I rebooted instead of "killall -TERM
wpa_supplicant") and mailed the log.  By the way, I am now using
kernel-2.6.23.8-63.fc8 .  Thanks for investigating!

Comment 9 Dan Williams 2007-12-04 20:38:51 UTC
dragoran, sounds like your problem too from the looks of the log:

OpenSSL: tls_connection_handshake - Failed to read possible Application Data
error:00000000:lib(0):func(0):reason(0)
SSL: No data to be sent out
EAP-TTLS: TLS done, proceed to Phase 2
EAP-TTLS: Derived key - hexdump(len=64): [REMOVED]
EAP-TTLS: received 0 bytes encrypted data for Phase 2
EAP-TTLS: empty data in beginning of Phase 2 - use fake EAP-Request Identity
EAP-TTLS: Phase 2 EAP Request: type=1


Comment 10 drago01 2007-12-04 21:11:12 UTC
(In reply to comment #9)
> dragoran, sounds like your problem too from the looks of the log:
> 
> OpenSSL: tls_connection_handshake - Failed to read possible Application Data
> error:00000000:lib(0):func(0):reason(0)
> SSL: No data to be sent out
> EAP-TTLS: TLS done, proceed to Phase 2
> EAP-TTLS: Derived key - hexdump(len=64): [REMOVED]
> EAP-TTLS: received 0 bytes encrypted data for Phase 2
> EAP-TTLS: empty data in beginning of Phase 2 - use fake EAP-Request Identity
> EAP-TTLS: Phase 2 EAP Request: type=1
> 
Indeed seems like the same that I get with dynamic wep + TTLS ... 
so it seems not to be related to a specific configuration.
any idea what could be causing it?



Comment 11 Matt McCutchen 2008-01-27 00:08:29 UTC
I just returned to college after winter break and the problem has gone away.  I
am now using:

kernel-2.6.23.14-107.fc8
NetworkManager-0.7.0-0.6.7.svn3204.fc8
wpa_supplicant-0.5.7-21.fc8

Fedora team, tell me if you would like me to do some testing and figure out
which update fixed the problem.  Otherwise please close this bug appropriately.

Comment 12 Matt McCutchen 2008-01-27 00:15:29 UTC
Oops, didn't mean to mark as NOTABUG.

Comment 13 Dan Williams 2008-01-27 02:52:10 UTC
ok, closing.  thanks!


Note You need to log in before you can comment on or make changes to this bug.