WiFi in 12.04 works, stops working, requires reboot
I am running Ubuntu 12.04 on an Acer Aspire 1810t with an Intel 5100 AGN wifi card that has performed flawlessly on Ubuntu 10.04. I assumed the stellar wireless support would continue with 12.04 but have run into a glitch that is a showstopper: wireless works as expected at first, and I can configure connections with Network Manager without any problem, including my WPA2-Personal home network, but after some time (usually a number of hours, almost always after a suspend-to-ram or hibernate) the wireless connection drops and is unable to reconnect. The only reliable solution is to reboot, which is not a solution. Before opening a bug on Launchpad, I thought I'd check and see if anyone else has managed to resolve this problem. Here's what I've got:
Problem: wifi in Ubuntu 12.04 64-bit stops working on the Acer Aspire 1810t (Intel WiFi 5100 AGN) after some time, often after a suspend-to-ram.
** $ uname -a **
Linux ubuntubox 3.4.0-030400rc5-generic #201205011817 SMP Tue May 1 22:18:19 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
(note: the problem is the same when running the stock 3.2.0 kernel)
** $ dmesg ** (at the time the connection drops)
[54671.300096] wlan0: authenticate with 00:24:7b:6d:32:62 (try 1)
[54671.301874] wlan0: authenticated
[54671.304312] wlan0: associate with 00:24:7b:6d:32:62 (try 1)
[54671.308760] wlan0: RX ReassocResp from 00:24:7b:6d:32:62 (capab=0x411 status=0 aid=3)
[54671.308766] wlan0: associated
[54681.808039] wlan0: no IPv6 routers present
[54692.009142] wlan0: deauthenticating from 00:24:7b:6d:32:62 by local choice (reason=3)
** $ sudo lshw -C network **
*-network
description: Wireless interface
product: WiFi Link 5100
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlan0
version: 00
serial: <snip>
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=3.4.0-030400rc5-generic firmware=8.83.5.1 build 33692 ip=192.168.0.102 latency=0 link=yes multicast=yes wireless=IEEE 802.11abg
resources: irq:44 memory:d2500000-d2501fff
** $ sudo lspci -v **
02:00.0 Network controller: Intel Corporation WiFi Link 5100
Subsystem: Intel Corporation WiFi Link 5100 AGN
Flags: bus master, fast devsel, latency 0, IRQ 44
Memory at d2500000 (64-bit, non-prefetchable) [size=8K]
Capabilities: [c8] Power Management version 3
Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [e0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number <snip>
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
** $ cat /etc/network/interfaces **
auto lo
iface lo inet loopback
** $ sudo rfkill list all **
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
7: acer-wireless: Wireless LAN
Soft blocked: no
Hard blocked: no
8: acer-bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no
Troubleshooting
-----
* cannot connect to Open APs or WPA2 APs - when the wifi stops working, I cannot connect to any access points, even Open ones.
* once the network problems start, plugging in a USB WiFi adapter w/ Atheros chipset results in the same problem with both cards. This USB device is known to work with Ubuntu "out of the box", suggesting it is not an iwlwifi driver problem.
* disabling "N" mode in iwlifi does not work: "options iwlwifi 11n_disable=1" in /etc/modprobe.d/disable11n.conf
* no option to use ndiswrapper for this wifi card (which is probably a good thing!)
* unloading iwlwifi before suspend does not work: adding 'SUSPEND_MODULES="$SUSPEND_MODULES iwlwifi"' in /etc/pm/config.d/unload_modules
* switching to kernel 2.6.39 (with iwlagn driver), 3.3.0, 3.4.0rc5 does not work
* removing the acer_wmi module (sudo rmmod acer_wmi) does not work, and disables bluetooth
* "sudo /etc/init.d/networking restart" does not work
* "sudo stop network-manager && sudo start network-manager" does not work
* "sudo rmmod iwlwifi && sudo modprobe iwlwifi" does not work
* deleting the connection in Network Manager and recreating it from scratch does not work
Next steps to try:
* use wicd (network-manager problem?)
* downgrade/upgrade openssl? (seems like a stretch, suggested in this thread: http://crunchbanglinux.org/forums/to...after-upgrade/)
Any ideas? Thanks in advance!
Re: WiFi in 12.04 works, stops working, requires reboot
I am having the same problem on an MSI Wind U100+ with Ralink RT2700E on 12.04 32bit.
The problem was also present in 10.04 - but I was able to fix it by editing /etc/modprobe.d/blacklist-rt2800.conf and adding
# This is to fix wifi on the MSI Wind with the Ralink RT2700E.
blacklist rt2800pci
blacklist rt2800lib
blacklist rt2x00pci
blacklist rt2x00lib
But blacklist-rt2800.conf is no longer there.
Re: WiFi in 12.04 works, stops working, requires reboot
I have a worse problem
After waking up from suspend if my wireless would be on as soon as making a connection with a wireless spot, the whole system hangs and a hard restart is required, but if the wireless would be off every thing goes right and after a couple minutes u can turn the wireless on and no problem occurs.
system : MSI wind U100
Realtek Semiconductor Co., Ltd. RTL8187SE Wireless LAN Controller
Re: WiFi in 12.04 works, stops working, requires reboot
I wonder if you are having problems with the driver. It doesn't seem to me to be the same problem as in the original post.
Re: WiFi in 12.04 works, stops working, requires reboot
I have the same exact problem and I believe it occurs when the screen is blanked to save power and/or being connected for a long duration. I'm on a ThinkPad X200.
When WiFi is cut off, I'm unable to connect to any APs, and when I bring the drop-down of APs down and mouseover to "More Networks", it's a truncated menu and I do not see any APs (would be 20+ hotspots normally).
Help!
Re: WiFi in 12.04 works, stops working, requires reboot
Quote:
Originally Posted by
sportykev
I have the same exact problem and I believe it occurs when the screen is blanked to save power and/or being connected for a long duration. I'm on a ThinkPad X200.
Does this happen every time the screen is blanked? On my Acer, it only happens after the laptop has been running for some time. The screen blanks many times before it dies, but it always dies. WiFi dies even "during" hibernation. I hibernated a functional laptop and it emerged from hibernation without functional WiFi.
Does
$ sudo /etc/init.d/networking stop
crash your entire display like it does mine? Obviously, don't try this until you're in bugfix mode and ready to reboot. Not sure if it is compiz that crashes without networking running, but there is definitely a link between the display manager and the networking subsystem.
Re: WiFi in 12.04 works, stops working, requires reboot
Quote:
Originally Posted by
cyboreal
Does this happen every time the screen is blanked? On my Acer, it only happens after the laptop has been running for some time. The screen blanks many times before it dies, but it always dies. WiFi dies even "during" hibernation. I hibernated a functional laptop and it emerged from hibernation without functional WiFi.
Does
$ sudo /etc/init.d/networking stop
crash your entire display like it does mine? Obviously, don't try this until you're in bugfix mode and ready to reboot. Not sure if it is compiz that crashes without networking running, but there is definitely a link between the display manager and the networking subsystem.
Not necessarily. Somewhat similar to you, sometimes during blanks, sometimes during long uptime (4-8+ hours), they may be related since it has to do with uptime.
This last time, it showed that I was still connected but no net, almost like a broken winsock. I had to reboot.
Re: WiFi in 12.04 works, stops working, requires reboot
When your wifi crashes, does `ifconfig` give you weird output, like this:
eth0 Link encap:Ethernet HWaddr 00:26:9e:9d:f8:d7
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:2082346173504030 errors:12494089925926065 dropped:4164700936942650 overruns:2082350468471325 frame:10411743752422035
TX packets:2082350468471325 errors:8329401873885300 dropped:0 overruns:2082350468471325 carrier:4164700936942650
collisions:10411752342356625 txqueuelen:1000
RX bytes:2082346173504030 (2.0 PB) TX bytes:2082350468471325 (2.0 PB)
Interrupt:45
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:159010 errors:0 dropped:0 overruns:0 frame:0
TX packets:159010 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:11368725 (11.3 MB) TX bytes:11368725 (11.3 MB)
wlan0 Link encap:Ethernet HWaddr 00:22:fb:cb:37:f8
inet6 addr: fe80::222:fbff:fecb:37f8/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:190 errors:0 dropped:0 overruns:0 frame:0
TX packets:132 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:38377 (38.3 KB) TX bytes:27509 (27.5 KB)
Note the bizarrely high number of packets showing on the eth0 interface, which has never been used on this laptop with Ubuntu 12.04. This does not look like an issue with the iwlwifi driver to me. It looks like something is messed up somewhere in the networking stack that affects other network interfaces as well.
When wireless is working, `ifconfig` shows:
eth0 Link encap:Ethernet HWaddr 00:26:9e:9d:f8:d7
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:46
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1079 errors:0 dropped:0 overruns:0 frame:0
TX packets:1079 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:104152 (104.1 KB) TX bytes:104152 (104.1 KB)
wlan0 Link encap:Ethernet HWaddr 00:22:fb:cb:37:f8
inet addr:192.168.1.11 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::222:fbff:fecb:37f8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:105615 errors:0 dropped:0 overruns:0 frame:0
TX packets:58852 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:147673588 (147.6 MB) TX bytes:5854028 (5.8 MB)
Re: WiFi in 12.04 works, stops working, requires reboot
Nope mine does not show anything crazy, that I notice at least. Here is my ifconfig after wifi fails
eth0 Link encap:Ethernet HWaddr 00:1f:b6:2d:04:41
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:20 Memory:f2600000-f2620000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1990 errors:0 dropped:0 overruns:0 frame:0
TX packets:1990 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:162379 (162.3 KB) TX bytes:162379 (162.3 KB)
vmnet1 Link encap:Ethernet HWaddr 0b:50:56:c0:00:01
inet addr:192.168.158.1 Bcast:192.168.158.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:87 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
vmnet8 Link encap:Ethernet HWaddr 00:b0:56:c0:00:08
inet addr:172.16.50.1 Bcast:172.16.50.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:881 errors:0 dropped:0 overruns:0 frame:0
TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr 00:b6:c6:1c:cf:b0
inet6 addr: fe80::226:c6ff:fe1c:cff0/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5083593 errors:0 dropped:0 overruns:0 frame:0
TX packets:2753957 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7649231497 (7.6 GB) TX bytes:241733077 (241.7 MB)
Re: WiFi in 12.04 works, stops working, requires reboot
Quote:
Originally Posted by
sportykev
I have the same exact problem and I believe it occurs when the screen is blanked to save power and/or being connected for a long duration. I'm on a ThinkPad X200.
When WiFi is cut off, I'm unable to connect to any APs, and when I bring the drop-down of APs down and mouseover to "More Networks", it's a truncated menu and I do not see any APs (would be 20+ hotspots normally).
Help!
I have the same issue with mine. After I return from sleep mode, nothing appears in my AP list when I mouseover to "More Networks" or "VPN Connections". I usually wind up rebooting anyways because I don't find 12.04 as stable as 11.10 and prefer to start fresh. Seems like every other day there are new updates to install :-s