iwl3945: cannot connect to hidden wpa-psk network

Bug #259904 reported by Marius Gedminas
4
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned
linux-backports-modules-2.6.24 (Ubuntu)
Fix Released
Undecided
Unassigned
linux-ubuntu-modules-2.6.24 (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: linux-ubuntu-modules-2.6.24-20-generic

I'm unable to connect to a hidden network that uses WPA personal with Ubuntu Hardy. I use Network Manager's popup menu, select 'connect to a different network...', enter the essid, select the authentication method (WPA personal), enter the password, hit connect. Network Manager spins for a while and then stops trying.

dmesg shows a constant repetition of the following messages:

[10673.403213] eth1: authenticate with AP XX:XX:XX:XX:XX:XX
[10673.404209] eth1: RX authentication from XX:XX:XX:XX:XX:XX (alg=0 transaction=2 status=0)
[10673.404214] eth1: authenticated
[10673.404216] eth1: associate with AP XX:XX:XX:XX:XX:XX
[10673.406361] eth1: RX AssocResp from XX:XX:XX:XX:XX:XX (capab=0x0 status=128 aid=0)
[10673.406365] eth1: AP denied association (code=128)
[10673.442210] eth1: associate with AP XX:XX:XX:XX:XX:XX
[10673.443708] eth1: RX deauthentication from XX:XX:XX:XX:XX:XX (reason=2)
[10673.443714] eth1: deauthenticated

which leads me to think it's a driver problem. My Nokia N810 connects to the network just fine.

I have no authority to change the AP settings and see whether it's the hidden ESSID, or the WPA that causes the problem. I can connect to visible and unprotected networks just fine.

Revision history for this message
Marius Gedminas (mgedmin) wrote :

Actually, if I look in /var/log/syslog, the kernel error code in the the AssocResp is a bit different (18 instead of 128):

Aug 20 11:02:34 platonas kernel: [ 33.381224] eth1: Initial auth_alg=0
Aug 20 11:02:34 platonas kernel: [ 33.381235] eth1: authenticate with AP XX:XX:XX:XX:XX:XX
Aug 20 11:02:34 platonas kernel: [ 33.382258] eth1: RX authentication from XX:XX:XX:XX:XX:XX (alg=0 transaction=2 status=0)
Aug 20 11:02:34 platonas kernel: [ 33.382267] eth1: authenticated
Aug 20 11:02:34 platonas kernel: [ 33.382272] eth1: associate with AP XX:XX:XX:XX:XX:XX
Aug 20 11:02:34 platonas kernel: [ 33.383827] eth1: RX AssocResp from XX:XX:XX:XX:XX:XX (capab=0x431 status=18 aid=0)
Aug 20 11:02:34 platonas kernel: [ 33.383835] eth1: AP denied association (code=18)
Aug 20 11:02:34 platonas kernel: [ 33.407092] eth1: associate with AP XX:XX:XX:XX:XX:XX
Aug 20 11:02:34 platonas kernel: [ 33.408122] eth1: RX deauthentication from XX:XX:XX:XX:XX:XX (reason=2)
Aug 20 11:02:34 platonas kernel: [ 33.408129] eth1: deauthenticated

Google tells me 802.11 status code 18 means "association denied; the mobile station does not support all of the data rates required by the BSS"

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Marius,

Care to test a few things . . . First can you try installing the linux-backports-modules package as I believe it has an updated version of the iwl4965 driver - you can check the output of 'modinfo iwl4965' to see which version you have. Along with that you might want to wait for the linux-backports-modules that is in the -proposed repository to be released as it looks to by sync'd with the upstream compat-wireless stack:

https://edge.launchpad.net/ubuntu/+source/linux-backports-modules-2.6.24

Additionally, since the upcoming Intrepid Ibex 8.10 release is actively being developed, care to confirm if this is still an issue with the latest Alpha for the upcoming Intrepid Ibex 8.10. You should be able to test via a LiveCD - http://www.ubuntu.com/testing. Please let us know your results. If the issue still exists, per the kernel team's bug policy, can you please attach the following information. Please be sure to attach each file as a separate attachment.

* cat /proc/version_signature > version.log
* dmesg > dmesg.log
* sudo lspci -vvnn > lspci-vvnn.log

For more information regarding the kernel team bug policy, please refer to https://wiki.ubuntu.com/KernelTeamBugPolicies . Thanks again and we appreciate your help and feedback.

And finally, just some info that beginning with the Intrepid Ibex 8.10 development cycle the linux-ubuntu-modules package was actually merged with the linux kernel package. Going forward, bugs that would have been reported against linux-ubuntu-modules should now just be reported against linux. I've gone ahead and opened the 'linux' task for this bug so that it remains open against the actively developed kernel. Thanks.

Changed in linux:
status: New → Incomplete
Changed in linux-backports-modules-2.6.24:
status: New → Incomplete
Changed in linux-ubuntu-modules-2.6.24:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Marius Gedminas (mgedmin) wrote :

Thank you for mentioning linux-backports-modules. Installing it fixed my wireless problem.

Summary:
* iwl3945 version 1.2.0 from linux-ubuntu-modules-2.6.24-21-generic version 2.6.24-21.30 fails to connect.
* iwl3945 version 1.2.26k from linux-backports-modules-2.6.24-21-generic version 2.6.24-21.25 works fine.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Thanks Marius,

I'm going to mark this Fix Released against the linux-backports-modules package.

Changed in linux-backports-modules-2.6.24:
status: Incomplete → Fix Released
Changed in linux-ubuntu-modules-2.6.24:
status: Triaged → Invalid
Changed in linux:
status: Incomplete → Invalid
Revision history for this message
Marius Gedminas (mgedmin) wrote :

A warning for people who have this problem and find this bug report: iwl3945 from linux-backports-modules 2.6.24-21.25 makes the kernel panic on suspend (bug 251252). You have to choose between working wifi (install linux-backports-modules, or working suspend (uninstall linux-backports-modules).

Revision history for this message
Vincenzo Ciancia (vincenzo-ml) wrote :

Why is this bug invalid? This is a bug in the current hardy kernels (all of them)

Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.