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/utaddress-251)
[    5.245189] ACPI: If an ACPI driver is available for this device, you should 
use it instead of the native driver
[    5.245191] lpc_ich: Resource conflict(s) found affecting gpio_ich
[    5.277854] Intel(R) Wireless WiFi driver for Linux, in-tree:
[    5.277860] Copyright(c) 2003-2013 Intel Corporation
[    5.278015] iwlwifi 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM 
control
[    5.278093] iwlwifi 0000:03:00.0: irq 45 for MSI/MSI-X
[    5.301282] iwlwifi 0000:03:00.0: loaded firmware version 8.83.5.1 build 
33692 op_mode iwldvm
[    5.451397] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEBUG disabled
[    5.451403] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEBUGFS enabled
[    5.451407] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
[    5.451411] iwlwifi 0000:03:00.0: Detected Intel(R) WiFi Link 5100 AGN, 
REV=0x54
[    5.451669] iwlwifi 0000:03:00.0: L1 Disabled; Enabling L0S
[    5.512183] type=1400 audit(1396379041.632:5): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="/sbin/dhclient" pid=552 
comm="apparmor_parser"
[    5.512195] type=1400 audit(1396379041.632:6): apparmor="STATUS" 
operation="profile_load" profile="unconfined" 
name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=552 
comm="apparmor_parser"
[    5.512202] type=1400 audit(1396379041.632:7): apparmor="STATUS" 
operation="profile_load" profile="unconfined" 
name="/usr/lib/connman/scripts/dhclient-script" pid=552 comm="apparmor_parser"
[    5.513690] type=1400 audit(1396379041.632:8): apparmor="STATUS" 
operation="profile_replace" profile="unconfined" 
name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=552 
comm="apparmor_parser"
[    5.513702] type=1400 audit(1396379041.632:9): apparmor="STATUS" 
operation="profile_replace" profile="unconfined" 
name="/usr/lib/connman/scripts/dhclient-script" pid=552 comm="apparmor_parser"
[    5.514647] type=1400 audit(1396379041.632:10): apparmor="STATUS" 
operation="profile_replace" profile="unconfined" 
name="/usr/lib/connman/scripts/dhclient-script" pid=552 comm="apparmor_parser"
[    5.534365] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
[    6.498803] cfg80211: World regulatory domain updated:
[    6.498809] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[    6.498813] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[    6.498816] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[    6.498819] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[    6.498822] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[    6.498824] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[    8.111177] iwlwifi 0000:03:00.0: L1 Disabled; Enabling L0S
[    8.116413] iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
[    8.219075] iwlwifi 0000:03:00.0: L1 Disabled; Enabling L0S
[    8.222294] iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
[    8.248975] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[    8.249437] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[    8.306896] ip_tables: (C) 2000-2006 Netfilter Core Team
[    8.371366] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    8.409008] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    8.551049] Ebtables v2.0 registered
[    8.586902] Bridge firewalling registered
[   11.203689] iwlwifi 0000:03:00.0: L1 Disabled; Enabling L0S
[   11.206793] iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
[   11.242437] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   14.243673] wlan0: authenticate with 2c:b0:5d:7f:42:51
[   14.252664] wlan0: send auth to 2c:b0:5d:7f:42:51 (try 1/3)
[   14.360054] wlan0: send auth to 2c:b0:5d:7f:42:51 (try 2/3)
[   14.362128] wlan0: authenticated
[   19.253786] wlan0: deauthenticating from 2c:b0:5d:7f:42:51 by local choice 
(reason=3)
[   19.254071] wlan0: authenticate with 2c:b0:5d:7f:42:51
[   19.255880] wlan0: send auth to 2c:b0:5d:7f:42:51 (try 1/3)
[   19.260426] wlan0: authenticated
[   24.260909] wlan0: deauthenticating from 2c:b0:5d:7f:42:51 by local choice 
(reason=3)
[   27.772508] wlan0: authenticate with 2c:b0:5d:7f:42:51
[   27.773577] wlan0: send auth to 2c:b0:5d:7f:42:51 (try 1/3)
[   27.776442] wlan0: authenticated
[   32.776136] wlan0: deauthenticating from 2c:b0:5d:7f:42:51 by local choice 
(reason=3)

Different CRDA settings also don't solve the problem.

Let me know if you need more logs or infos

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1294044

Title:
  Network manager fails to connect to WiFi

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1294044/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to