Network manager fails to connect to WiFi

Bug #1294044 reported by Václav Šmilauer
60
This bug affects 13 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Since I updated to trusty a few days ago, NetworkManager fails to connect to a wifi (I tried several wifis, all failed - all of them were encrypted with WPA2, not sure if that might make the difference). Wired network works just fine. The Wifi used to work flawlessly, getting connected within a few seconds.

The wireless is

    02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6200 (rev 35)

When I do "sudo stop network-manager" and then "sudo NetworkManager --no-daemon --log-level=INFO --log-domain=WIFI,SUPPLICANT", I am getting the following (skipping initial logs of reading connections and of the wired NIC DHCP etc):

NetworkManager[26290]: (nm-device.c:3920):nm_device_activate: runtime check failed: (priv->state == NM_DEVICE_STATE_DISCONNECTED)
NetworkManager[26290]: <info> (wlan0): using nl80211 for WiFi device control
NetworkManager[26290]: <info> (wlan0) supports 5 scan SSIDs
NetworkManager[26290]: <warn> Connection disconnected (reason -3)
NetworkManager[26290]: <info> (wlan0): supplicant interface state: starting -> ready
NetworkManager[26290]: <info> (wlan0): supplicant interface state: ready -> disconnected
NetworkManager[26290]: <info> (wlan0) supports 5 scan SSIDs
NetworkManager[26290]: <warn> Connection disconnected (reason -3)
NetworkManager[26290]: <info> Activation (wlan0/wireless): connection 'Rick3' has security, and secrets exist. No new secrets needed.
NetworkManager[26290]: <info> Config: added 'ssid' value 'Rick3'
NetworkManager[26290]: <info> Config: added 'scan_ssid' value '1'
NetworkManager[26290]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
NetworkManager[26290]: <info> Config: added 'auth_alg' value 'OPEN'
NetworkManager[26290]: <info> Config: added 'psk' value '<omitted>'
NetworkManager[26290]: <info> Config: set interface ap_scan to 1
NetworkManager[26290]: <info> (wlan0): supplicant interface state: disconnected -> authenticating
NetworkManager[26290]: <info> (wlan0): supplicant interface state: authenticating -> disconnected
NetworkManager[26290]: <info> (wlan0): supplicant interface state: disconnected -> scanning
NetworkManager[26290]: <warn> Activation (wlan0/wireless): association took too long, failing activation.
NetworkManager[26290]: <warn> Activation (wlan0) failed for connection 'Rick3'
NetworkManager[26290]: <info> (wlan0): supplicant interface state: scanning -> disconnected
NetworkManager[26290]: <warn> Couldn't disconnect supplicant interface: This interface is not connected.
NetworkManager[26290]: <info> Activation (wlan0/wireless): access point 'Rick3' has security, but secrets are required.
NetworkManager[26290]: <info> Activation (wlan0/wireless): connection 'Rick3' has security, and secrets exist. No new secrets needed.
NetworkManager[26290]: <info> Config: added 'ssid' value 'Rick3'
NetworkManager[26290]: <info> Config: added 'scan_ssid' value '1'
NetworkManager[26290]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
NetworkManager[26290]: <info> Config: added 'auth_alg' value 'OPEN'
NetworkManager[26290]: <info> Config: added 'psk' value '<omitted>'
NetworkManager[26290]: <info> Config: set interface ap_scan to 1
NetworkManager[26290]: <info> (wlan0): supplicant interface state: disconnected -> authenticating
NetworkManager[26290]: <info> (wlan0): supplicant interface state: authenticating -> disconnected
NetworkManager[26290]: <info> (wlan0): supplicant interface state: disconnected -> scanning
NetworkManager[26290]: <warn> Activation (wlan0/wireless): association took too long, failing activation.
NetworkManager[26290]: <warn> Activation (wlan0) failed for connection 'Rick3'
NetworkManager[26290]: <info> (wlan0): supplicant interface state: scanning -> disconnected
NetworkManager[26290]: <warn> Couldn't disconnect supplicant interface: This interface is not connected.
NetworkManager[26290]: <info> Activation (wlan0/wireless): access point 'Rick3' has security, but secrets are required.
NetworkManager[26290]: <info> Activation (wlan0/wireless): connection 'Rick3' has security, and secrets exist. No new secrets needed.
NetworkManager[26290]: <info> Config: added 'ssid' value 'Rick3'
NetworkManager[26290]: <info> Config: added 'scan_ssid' value '1'
NetworkManager[26290]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
NetworkManager[26290]: <info> Config: added 'auth_alg' value 'OPEN'
NetworkManager[26290]: <info> Config: added 'psk' value '<omitted>'
NetworkManager[26290]: <info> Config: set interface ap_scan to 1

and this repeats over and over.

I can provide any other details needed.

I double-checked the firmware loaded, and dmesg greps are also below:

# modinfo iwlwifi
[...]
filename: /lib/modules/3.13.0-17-generic/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko
license: GPL
author: Copyright(c) 2003-2013 Intel Corporation <email address hidden>
version: in-tree:
description: Intel(R) Wireless WiFi driver for Linux
firmware: iwlwifi-100-5.ucode
firmware: iwlwifi-1000-5.ucode
firmware: iwlwifi-135-6.ucode
firmware: iwlwifi-105-6.ucode
firmware: iwlwifi-2030-6.ucode
firmware: iwlwifi-2000-6.ucode
firmware: iwlwifi-5150-2.ucode
firmware: iwlwifi-5000-5.ucode
firmware: iwlwifi-6000g2b-6.ucode
firmware: iwlwifi-6000g2a-5.ucode
firmware: iwlwifi-6050-5.ucode
firmware: iwlwifi-6000-4.ucode
firmware: iwlwifi-3160-7.ucode
firmware: iwlwifi-7260-7.ucode
[...]

# dmesg | grep wlan0
[ 11.195990] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 11.196367] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 14.493258] wlan0: authenticate with 00:1e:8c:5f:c7:f9
[ 14.534042] wlan0: send auth to 00:1e:8c:5f:c7:f9 (try 1/3)
[ 14.536975] wlan0: authenticated
[ 14.538592] wlan0: associate with 00:1e:8c:5f:c7:f9 (try 1/3)
[ 14.543115] wlan0: RX AssocResp from 00:1e:8c:5f:c7:f9 (capab=0x411 status=0 aid=2)
[ 14.545907] wlan0: associated
[ 14.545950] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[27750.265300] wlan0: deauthenticating from 00:1e:8c:5f:c7:f9 by local choice (reason=3)
[27753.672122] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[27753.672616] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[27763.961315] wlan0: authenticate with 00:1e:8c:5f:c7:f9
[27763.995782] wlan0: send auth to 00:1e:8c:5f:c7:f9 (try 1/3)
[27763.998527] wlan0: authenticated
[27769.000920] wlan0: deauthenticating from 00:1e:8c:5f:c7:f9 by local choice (reason=3)
[27779.110635] wlan0: authenticate with 00:1e:8c:5f:c7:f9
[27779.118122] wlan0: send auth to 00:1e:8c:5f:c7:f9 (try 1/3)
[27779.120805] wlan0: authenticated
[27784.119041] wlan0: deauthenticating from 00:1e:8c:5f:c7:f9 by local choice (reason=3)
[27794.628019] wlan0: authenticate with 00:1e:8c:5f:c7:f9
[27794.632877] wlan0: send auth to 00:1e:8c:5f:c7:f9 (try 1/3)
[27794.636064] wlan0: authenticated
[27799.636501] wlan0: deauthenticating from 00:1e:8c:5f:c7:f9 by local choice (reason=3)
[27810.650937] wlan0: authenticate with 00:1e:8c:5f:c7:f9
[27810.655757] wlan0: send auth to 00:1e:8c:5f:c7:f9 (try 1/3)
[27810.660571] wlan0: authenticated
[27815.657139] wlan0: deauthenticating from 00:1e:8c:5f:c7:f9 by local choice (reason=3)
[27827.321017] wlan0: authenticate with 00:1e:8c:5f:c7:f9
[27827.327861] wlan0: send auth to 00:1e:8c:5f:c7:f9 (try 1/3)
[27827.330719] wlan0: authenticated
[27832.333639] wlan0: deauthenticating from 00:1e:8c:5f:c7:f9 by local choice (reason=3)
[27852.348652] wlan0: authenticate with 00:1e:8c:5f:c7:f9
[27852.352320] wlan0: send auth to 00:1e:8c:5f:c7:f9 (try 1/3)
[27852.355004] wlan0: authenticated
[27857.356702] wlan0: deauthenticating from 00:1e:8c:5f:c7:f9 by local choice (reason=3)
[28141.791484] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[28141.791893] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[28152.106650] wlan0: authenticate with 00:1e:8c:5f:c7:f9
[28152.140563] wlan0: send auth to 00:1e:8c:5f:c7:f9 (try 1/3)
[28152.143459] wlan0: authenticated
[28157.147287] wlan0: deauthenticating from 00:1e:8c:5f:c7:f9 by local choice (reason=3)
[28166.008349] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[28166.008678] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[28176.243086] wlan0: authenticate with e8:39:df:0c:ba:fb
[28176.281768] wlan0: send auth to e8:39:df:0c:ba:fb (try 1/3)
[28176.284331] wlan0: authenticated
[28181.292532] wlan0: deauthenticating from e8:39:df:0c:ba:fb by local choice (reason=3)
[28191.416092] wlan0: authenticate with 64:66:b3:9f:73:58
[28191.448501] wlan0: send auth to 64:66:b3:9f:73:58 (try 1/3)
[28191.450688] wlan0: authenticated
[28196.454614] wlan0: deauthenticating from 64:66:b3:9f:73:58 by local choice (reason=3)
[28206.574640] wlan0: authenticate with 64:66:b3:9f:73:58
[28206.579441] wlan0: send auth to 64:66:b3:9f:73:58 (try 1/3)
[28206.583357] wlan0: authenticated
[28211.590181] wlan0: deauthenticating from 64:66:b3:9f:73:58 by local choice (reason=3)
[28223.853523] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[28223.853874] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[28234.140209] wlan0: authenticate with 00:1e:8c:5f:c7:f9
[28234.172957] wlan0: send auth to 00:1e:8c:5f:c7:f9 (try 1/3)
[28234.175926] wlan0: authenticated
[28239.183681] wlan0: deauthenticating from 00:1e:8c:5f:c7:f9 by local choice (reason=3)
[...]

# dmesg | grep iwlwifi
[ 6.580443] iwlwifi 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 6.580652] iwlwifi 0000:02:00.0: irq 44 for MSI/MSI-X
[ 6.588064] iwlwifi 0000:02:00.0: Direct firmware load failed with error -2
[ 6.588069] iwlwifi 0000:02:00.0: Falling back to user helper
[ 7.278780] iwlwifi 0000:02:00.0: Direct firmware load failed with error -2
[ 7.278784] iwlwifi 0000:02:00.0: Falling back to user helper
[ 7.444068] iwlwifi 0000:02:00.0: loaded firmware version 9.221.4.1 build 25532 op_mode iwldvm
[ 7.503039] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUG disabled
[ 7.503043] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUGFS enabled
[ 7.503045] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
[ 7.503047] iwlwifi 0000:02:00.0: Detected Intel(R) Centrino(R) Advanced-N 6200 AGN, REV=0x74
[ 7.503584] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[ 10.853534] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[ 10.876140] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
[ 11.086418] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[ 11.094540] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
[27752.827889] iwlwifi 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[27752.827955] iwlwifi 0000:02:00.0: irq 45 for MSI/MSI-X
[27752.828531] iwlwifi 0000:02:00.0: Direct firmware load failed with error -2
[27752.828534] iwlwifi 0000:02:00.0: Falling back to user helper
[27752.830119] iwlwifi 0000:02:00.0: Direct firmware load failed with error -2
[27752.830122] iwlwifi 0000:02:00.0: Falling back to user helper
[27752.831206] iwlwifi 0000:02:00.0: loaded firmware version 9.221.4.1 build 25532 op_mode iwldvm
[27752.836189] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUG disabled
[27752.836194] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUGFS enabled
[27752.836196] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
[27752.836198] iwlwifi 0000:02:00.0: Detected Intel(R) Centrino(R) Advanced-N 6200 AGN, REV=0x74
[27752.838270] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[27753.367363] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[27753.367573] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
[27753.579743] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[27753.579948] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
[...]
[28141.047612] iwlwifi 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[28141.047679] iwlwifi 0000:02:00.0: irq 45 for MSI/MSI-X
[28141.050581] iwlwifi 0000:02:00.0: Direct firmware load failed with error -2
[28141.050584] iwlwifi 0000:02:00.0: Falling back to user helper
[28141.051894] iwlwifi 0000:02:00.0: Direct firmware load failed with error -2
[28141.051897] iwlwifi 0000:02:00.0: Falling back to user helper
[28141.052773] iwlwifi 0000:02:00.0: loaded firmware version 9.221.4.1 build 25532 op_mode iwldvm
[28141.054355] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUG disabled
[28141.054358] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUGFS enabled
[28141.054360] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
[28141.054362] iwlwifi 0000:02:00.0: Detected Intel(R) Centrino(R) Advanced-N 6200 AGN, REV=0x74
[28141.054421] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[28141.483724] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[28141.483925] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
[28141.700482] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[28141.700694] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
[28165.112461] iwlwifi 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[28165.112534] iwlwifi 0000:02:00.0: irq 45 for MSI/MSI-X
[28165.112999] iwlwifi 0000:02:00.0: Direct firmware load failed with error -2
[28165.113002] iwlwifi 0000:02:00.0: Falling back to user helper
[28165.113608] iwlwifi 0000:02:00.0: Direct firmware load failed with error -2
[28165.113611] iwlwifi 0000:02:00.0: Falling back to user helper
[28165.116418] iwlwifi 0000:02:00.0: loaded firmware version 9.221.4.1 build 25532 op_mode iwldvm
[28165.122251] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUG disabled
[28165.122256] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUGFS enabled
[28165.122258] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
[28165.122260] iwlwifi 0000:02:00.0: Detected Intel(R) Centrino(R) Advanced-N 6200 AGN, REV=0x74
[28165.122892] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[28165.703699] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[28165.703929] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
[28165.915903] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[28165.916113] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
[28223.114765] iwlwifi 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[28223.114831] iwlwifi 0000:02:00.0: irq 45 for MSI/MSI-X
[28223.115180] iwlwifi 0000:02:00.0: Direct firmware load failed with error -2
[28223.115182] iwlwifi 0000:02:00.0: Falling back to user helper
[28223.115992] iwlwifi 0000:02:00.0: Direct firmware load failed with error -2
[28223.115994] iwlwifi 0000:02:00.0: Falling back to user helper
[28223.118695] iwlwifi 0000:02:00.0: loaded firmware version 9.221.4.1 build 25532 op_mode iwldvm
[28223.127127] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUG disabled
[28223.127131] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUGFS enabled
[28223.127133] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
[28223.127135] iwlwifi 0000:02:00.0: Detected Intel(R) Centrino(R) Advanced-N 6200 AGN, REV=0x74
[28223.127280] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[28223.553085] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[28223.553286] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
[28223.765592] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[28223.765799] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
[31590.866903] iwlwifi 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[31590.866975] iwlwifi 0000:02:00.0: irq 45 for MSI/MSI-X
[31590.870568] iwlwifi 0000:02:00.0: Direct firmware load failed with error -2
[31590.870573] iwlwifi 0000:02:00.0: Falling back to user helper
[31590.871572] iwlwifi 0000:02:00.0: Direct firmware load failed with error -2
[31590.871575] iwlwifi 0000:02:00.0: Falling back to user helper
[31590.872631] iwlwifi 0000:02:00.0: loaded firmware version 9.221.4.1 build 25532 op_mode iwldvm
[31590.872948] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUG disabled
[31590.872950] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUGFS enabled
[31590.872952] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
[31590.872954] iwlwifi 0000:02:00.0: Detected Intel(R) Centrino(R) Advanced-N 6200 AGN, REV=0x74
[31590.873010] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[31591.462822] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[31591.463054] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
[31591.674660] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[31591.674869] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
[32305.443769] iwlwifi 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[32305.443841] iwlwifi 0000:02:00.0: irq 45 for MSI/MSI-X
[32305.447175] iwlwifi 0000:02:00.0: Direct firmware load failed with error -2
[32305.447179] iwlwifi 0000:02:00.0: Falling back to user helper
[32305.448162] iwlwifi 0000:02:00.0: Direct firmware load failed with error -2
[32305.448164] iwlwifi 0000:02:00.0: Falling back to user helper
[32305.449468] iwlwifi 0000:02:00.0: loaded firmware version 9.221.4.1 build 25532 op_mode iwldvm
[32305.449821] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUG disabled
[32305.449824] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUGFS enabled
[32305.449825] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
[32305.449827] iwlwifi 0000:02:00.0: Detected Intel(R) Centrino(R) Advanced-N 6200 AGN, REV=0x74
[32305.449956] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[32306.104350] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[32306.104558] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
[32306.316301] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[32306.316509] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
[41214.913750] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[41214.913958] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
[41798.560876] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[41798.561115] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: network-manager 0.9.8.8-0ubuntu5
ProcVersionSignature: Ubuntu 3.13.0-17.37-generic 3.13.6
Uname: Linux 3.13.0-17-generic x86_64
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Mar 18 11:51:21 2014
IfupdownConfig:
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2010-10-25 (1239 days ago)
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
IpRoute:
 default via 192.168.1.1 dev eth0 proto static
 192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.13 metric 1
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
SourcePackage: network-manager
UpgradeStatus: Upgraded to trusty on 2013-03-29 (354 days ago)
WifiSyslog:

nmcli-dev:
 DEVICE TYPE STATE DBUS-PATH
 70:F9:27:CE:8D:46 bluetooth disconnected /org/freedesktop/NetworkManager/Devices/21
 94:20:53:D9:C8:C8 bluetooth disconnected /org/freedesktop/NetworkManager/Devices/20
 wlan0 802-11-wireless connecting (configuring) /org/freedesktop/NetworkManager/Devices/19
 eth0 802-3-ethernet connected /org/freedesktop/NetworkManager/Devices/0
nmcli-nm:
 RUNNING VERSION STATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN
 running 0.9.8.8 connected enabled enabled enabled enabled enabled

Revision history for this message
Václav Šmilauer (eudoxos) wrote :
Revision history for this message
Václav Šmilauer (eudoxos) wrote :

Confirming this is *not* a pure driver issue, as I can connect to an encrypted wifi using wicd.

Revision history for this message
Václav Šmilauer (eudoxos) wrote :

This bug disappeared with updates to Trusty, closing as invalid.

Changed in network-manager (Ubuntu):
status: New → Invalid
Revision history for this message
Václav Šmilauer (eudoxos) wrote :

Re-opening; the symtpoms disappeared for the first time after installing unity8 (with indicator-network), which also caused both network indicators (NetworkManager and indicator-network) to appear in the systray when using the default Unity session (and interact if weird ways) - but wifi was connecting to just right.

After de-installation of unity8, there is just the NetworkManager icon in Unity (default) session again, and NM does not connect to wifi anymore.

Please check interactions of indicator-network with the upstream network-manager applet.

Changed in network-manager (Ubuntu):
status: Invalid → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in network-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Andreas Brauchli (blk) wrote :
Download full text (7.5 KiB)

Bug appeared with updates around 14.04 Alpha 1 (I had switched to trusty a few weeks before), it affects both open and encrypted networks, but strangely not all of them.

Running Ubuntu Gnome (ppa gnome3-team/gnome3-staging) on a Lenovo X301 with intel wireless card.

lspci
03:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection

lsmod | grep iwl
iwldvm 232285 0
mac80211 626489 1 iwldvm
iwlwifi 169932 1 iwldvm
cfg80211 484040 3 iwlwifi,mac80211,iwldvm

dmesg snippet when connection is unsuccessful with network-manager
[ 122.192510] wlan0: send auth to 2c:b0:5d:7f:42:51 (try 1/3)
[ 122.296164] wlan0: send auth to 2c:b0:5d:7f:42:51 (try 2/3)
[ 122.298156] wlan0: authenticated
[ 127.197731] wlan0: deauthenticating from 2c:b0:5d:7f:42:51 by local choice (reason=3)
[ 137.834534] wlan0: authenticate with 2c:b0:5d:7f:42:51
[ 137.835849] wlan0: send auth to 2c:b0:5d:7f:42:51 (try 1/3)
[ 137.838141] wlan0: authenticated
[ 142.840895] wlan0: deauthenticating from 2c:b0:5d:7f:42:51 by local choice (reason=3)
[ 147.041930] iwlwifi 0000:03:00.0: L1 Disabled; Enabling L0S
[ 147.045064] iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
[ 147.072593] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 150.049669] iwlwifi 0000:03:00.0: L1 Disabled; Enabling L0S

dmesg snipped when connection is successful with network manager
[ 6791.475570] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 6794.644869] wlan0: authenticate with f8:8e:85:77:ff:b1
[ 6794.650546] wlan0: send auth to f8:8e:85:77:ff:b1 (try 1/3)
[ 6794.653420] wlan0: authenticated
[ 6794.653632] wlan0: waiting for beacon from f8:8e:85:77:ff:b1
[ 6794.696119] wlan0: associate with f8:8e:85:77:ff:b1 (try 1/3)
[ 6794.700499] wlan0: RX AssocResp from f8:8e:85:77:ff:b1 (capab=0x411 status=0 aid=2)
[ 6794.705150] wlan0: associated
[ 6794.705214] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

I can, however, connect to my open university network when disabling network-manager:
$ sudo -sH
# stop network-manager
# ifconfig wlan0 up
# iw dev wlan0 connect -w NETWORKSSID
# dhclient wlan0
// dhclient takes about 30s (much longer than usual)

firewalld is permanenlty running in the background
Strangely my WPA2 home network still works with network manager but the icon doesn't always show the signal strengh

some early boot dmesg logs (confined to wireless related output)
[ 5.221008] cfg80211: Calling CRDA to update world regulatory domain
[ 5.245139] ACPI Warning: 0x0000000000001028-0x000000000000102f SystemIO conflicts with Region \_SB_.PCI0.LPC_.PMIO 1 (20131115/utaddress-251)
[ 5.245151] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 5.245157] ACPI Warning: 0x00000000000011b0-0x00000000000011bf SystemIO conflicts with Region \_SB_.PCI0.LPC_.LPIO 1 (20131115/utaddress-251)
[ 5.245163] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 5.245183] ACPI Warning: 0x0000000000001180-0x00000000000011af SystemIO conflicts with Region \_SB_.PCI0.LPC_.LPIO 1 (20131115/utadd...

Read more...

Revision history for this message
Andreas Brauchli (blk) wrote :

..when connected but the network manager tray icon doesn't show the signal strength there is a question mark "?" replacing it.

Revision history for this message
Václav Šmilauer (eudoxos) wrote :

I was able to work around the problem by adding

   options iwlwifi 11n_disable=1

to /etc/modprobe.d/iwlwifi-disable-80211n-local.conf

Can any of you test that?

Thanks to http://forum.ubuntuusers.de/topic/wlan-faellt-sporadisch-aus/ for the hint.

Revision history for this message
Václav Šmilauer (eudoxos) wrote :

The fix (11n_disable) did not work in the end; the problem is in wpa_supplicant, which must be killed after resume, as #1311257 suggests. That fixed the problem, so I mark this as dupe.

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.