NetworkManager can't connect Wi-Fi -- Intel PRO/Wireless 4965 iwlagn

Bug #453099 reported by Mephisto
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Binary package hint: network-manager

Since the networkmanager package update yesterday in karmic, i'm having trouble connecting to my wifi access point. The connecting process works fine, but then NM changes its mind and disconnects instead. In the log i see messages like:
[ 463.824660] wlan0: disassociating by local choice (reason=3)
[ 463.826216] wlan0: deauthenticated (Reason: 2)
The above means the kernel has received a command from userspace to disassociate, which is probably coming from NM itself.
For now i worked around the problem by suspending the NM process and the applet during dhcp, and then running dhclient manually, so NM doesn't get a chance to d/c the wifi.
My wifi was working flawlessly yesterday before the update.

Revision history for this message
Mephisto (ferrylandzaat) wrote :

Oh yes, almost forgot, my currently installed version is 0.8~a~git.20091013t193206.679d548-0ubuntu1. The previously good version was 0.8~a~git.20091005t192303.1d28ad1-0ubuntu2.

Revision history for this message
Alexander Sack (asac) wrote :

can you please downgrade network-manager libnm-util1 libnm-glib2 to the version you mentinoed above? is it still gone?

Revision history for this message
Steve Holmes (bouncysteve) wrote :

I have two machines both affected by the same problem. The network is visible, but cannot be connected to (but happily connects to my n95).

Revision history for this message
Alexander Sack (asac) wrote :

Steve, not sure what makes you think you have the same problem. in any case, please open a new bug using ubuntu-bug command line tool so we get valuable info. If you think its a dupe of this bug say that in your bug report and we will review it.

Revision history for this message
Tony Espy (awe) wrote :

Mephisto, the changes that went into yesterday's NM upload had very little do with wi-fi. My guess is the is more likely kernel-related, but there's not enough information in your bug report to tell. In the future, please use "ubuntu-bug <package-name>" to report bugs, as this will give us more information to work with.

That said, for this bug report, you'll need to add more information to the bug. Please run the following command using a terminal or Alt+F2:

apport-collect 453099

Changed in network-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Mephisto (ferrylandzaat) wrote :

Alexander: I cannot downgrade this package as the old version is no longer available. This also applies to the kernel, if it's indeed a kernel problem, as suggested by Tony.

Tony: I did not know about this ubuntu-bug tool yet, I will use this in the future. I will run the apport command when im on my laptop again (probably monday).
I do not think this is a kernel problem, as the wifi connects fine at first, and even shows as online for 1 second or so, and is then simply disconnected automatically. This does not happen when suspending NM and the applet using gnome system monitor during dhcp, which leads me to believe this is a NM problem, where NM disconnects my wifi after a succesful connection.

Revision history for this message
Mephisto (ferrylandzaat) wrote : apport-collect data

Architecture: i386
CRDA:
 country NL:
  (2402 - 2482 @ 40), (N/A, 20)
  (5170 - 5250 @ 40), (N/A, 20)
  (5250 - 5330 @ 40), (N/A, 20), DFS
  (5490 - 5710 @ 40), (N/A, 27), DFS
DistroRelease: Ubuntu 9.10
IfupdownConfig:
 auto lo
 iface lo inet loopback
Package: network-manager 0.8~a~git.20091013t193206.679d548-0ubuntu1
PackageArchitecture: i386
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.UTF-8
 LC_TIME=en_GB.utf8
ProcVersionSignature: Ubuntu 2.6.31-14.47-generic
Uname: Linux 2.6.31-14-generic i686
UserGroups: adm admin audio cdrom dialout fuse lpadmin plugdev sambashare scanner scard video
WpaSupplicantLog:

Revision history for this message
Mephisto (ferrylandzaat) wrote : Dependencies.txt
Revision history for this message
Mephisto (ferrylandzaat) wrote : Gconf.txt
Revision history for this message
Mephisto (ferrylandzaat) wrote : IpAddr.txt
Revision history for this message
Mephisto (ferrylandzaat) wrote : IpRoute.txt
Revision history for this message
Mephisto (ferrylandzaat) wrote : IwConfig.txt
Revision history for this message
Mephisto (ferrylandzaat) wrote : PciNetwork.txt
Revision history for this message
Mephisto (ferrylandzaat) wrote : RfKill.txt
Revision history for this message
Mephisto (ferrylandzaat) wrote : WifiSyslog.txt
Revision history for this message
Mephisto (ferrylandzaat) wrote : XsessionErrors.txt
Revision history for this message
Mephisto (ferrylandzaat) wrote : nm-system-settings.conf.txt
Changed in network-manager (Ubuntu):
status: Incomplete → New
tags: added: apport-collected
Revision history for this message
Mephisto (ferrylandzaat) wrote : Re: Latest karmic networkmanager update breaks wifi

I figured out what the problem is. I suddenly had a bright moment and remembered me finding dhcp6 settings last week that seemed wrong. They were set to "Ignore", while this is not the behavior i want, since I want NM to acquire dhcp6 addresses when available. Therefor i set it to "Automatic" on all networks i have in my list.
However, this seems to break ipv4 as well. When no dhcp6 address can be acquired, NM just disconnects. Although this is not related to the new package, as the title of this bug report implies, this is still a bug! I expect NM to just leave the network connected when it finds an ipv4 address and no ipv6, no matter what the setting for ipv6 is, since it has network connectivity. Disconnecting a working ipv4 is always wrong. I worked around the problem by setting ipv6 back to "Ignore" for now.

Revision history for this message
Trent Telfer (unnaturalhigh) wrote :

I can confirm the same problem on my karmic install.

Revision history for this message
Luftikus (ubuntu-luto) wrote :

I tried the karmic daily-build live cd from today and have a similar problem with network-manager 0.7.996. Unfortunately I can't use ubuntu-bug because I have no network at all when the error occurs.
It seems that the wifi stick connects to the access point but fails to obtain an ip address. Find attached some files I got from the live environment.

Revision history for this message
Luftikus (ubuntu-luto) wrote :
Revision history for this message
Luftikus (ubuntu-luto) wrote :
Revision history for this message
Luftikus (ubuntu-luto) wrote :
Revision history for this message
Jim Bauwens (jimbauwens) wrote :

Hi there, i've the same bug, it failes getting the ip adress. I have a Asus stick
This is not a networkmanager bug, but a kernel bug, because it accured when I upgraded a linux mint 9.04 to the new karmic kernel.
I have tried to use WICD but even then it does'nt work.
I also tested the stick in a true Karmic computer, and it fails too.

Jim

Revision history for this message
Jim Bauwens (jimbauwens) wrote :

When booting in the older kernel Wifi works.

Revision history for this message
Mephisto (ferrylandzaat) wrote :

Jim: your issue is another one, mine was ipv6+networkmanager related and has nothing at all to do with the kernel. Wifi works fine when not trying to use ipv6 through networkmanager.

Revision history for this message
Arjan (iafilius) wrote :

Hello, this is a "me too"

Karmic + networkmanager (applet)+ wifi + ipv6 autio results in a 1 second wifi connection. removing the ipv6 auto config in the wifi connection result in a succesfull conection again.

ipv6 works just fine with a normal ethernet nic.

created a bugreport with id #511515

The kernel may something have todo with it, but i think it is a bug to also drop the succesfull ipv4 wifi connection

Regards,

Arjan

Revision history for this message
Thomas Hood (jdthood) wrote :

@Mephisto: Hi. What's the status of this bug in Ubuntu 12.04?

summary: - Latest karmic networkmanager update breaks wifi
+ NetworkManager can't connect Wi-Fi -- Intel PRO/Wireless 4965 iwlagn
Changed in network-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Thomas Hood (jdthood) wrote :

Does "iwconfig wlan0 power off" fix the problem (until reboot)?

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.