Ubuntu 15.04 drops WLAN/WIFI after running for 5 minutes.

Asked by David Corkrey

After installation of i386 version (32-bit), wifi disconnects after the system has been running for five or more minutes. Tried upgrading from version 14.10 and could not when selecting wifi and connecting. Upgrade would hang. Also happens in KDE 15.04.
The wifi has been working perfectly with previous versions. System is an HP Pavilion with 2 GB of memory. Also have 15.04 running on 64-bit laptop with no connection problems to same cable router.
Tried downloading and installing different or newer copies of i386 15.04 with the same results.

 *-network:0
       description: Ethernet interface
       product: RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 2
       bus info: pci@0000:03:02.0
       logical name: eth0
       version: 10
       serial: 00:17:31:e0:88:5a
       size: 10Mbit/s
       capacity: 100Mbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=half latency=64 link=no maxlatency=64 mingnt=32 multicast=yes port=MII speed=10Mbit/s
       resources: irq:21 ioport:cc00(size=256) memory:fdeff000-fdeff0ff
  *-network:1
       description: Wireless interface
       product: RT2561/RT61 802.11g PCI
       vendor: Ralink corp.
       physical id: 3
       bus info: pci@0000:03:03.0
       logical name: wlan0
       version: 00
       serial: 00:25:9c:6e:f1:dd
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rt61pci driverversion=3.19.0-15-generic firmware=0.8 ip=192.168.0.11 latency=64 link=yes multicast=yes wireless=IEEE 802.11bg
       resources: irq:16 memory:fdef0000-fdef7fff

Distributor ID: Ubuntu
Description: Ubuntu 15.04
Release: 15.04
Codename: vivid

Linux david-a1534x-desktop 3.19.0-15-generic #15-Ubuntu SMP Thu Apr 16 23:32:01 UTC 2015 i686 i686 i686 GNU/Linux

0: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no

While obtaining this info, the wifi remained connected and working. If it fails once again, will rerun the info check.

Continues to disconnect on Ubuntu/Kubuntu 15.04. It appears that something was dropped or changed to support for RALINK series of WIFI interfaces. There was never a problem in prior versions. When installing KDE 15.04, have to not enable WIFI or it does not install.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
David Corkrey
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

sudo lshw -C network; lsb_release -a; uname -a; sudo rfkill list

Thanks

Revision history for this message
David Corkrey (d-corkrey) said :
#2

 *-network:0
       description: Ethernet interface
       product: RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 2
       bus info: pci@0000:03:02.0
       logical name: eth0
       version: 10
       serial: 00:17:31:e0:88:5a
       size: 10Mbit/s
       capacity: 100Mbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=half latency=64 link=no maxlatency=64 mingnt=32 multicast=yes port=MII speed=10Mbit/s
       resources: irq:21 ioport:cc00(size=256) memory:fdeff000-fdeff0ff
  *-network:1
       description: Wireless interface
       product: RT2561/RT61 802.11g PCI
       vendor: Ralink corp.
       physical id: 3
       bus info: pci@0000:03:03.0
       logical name: wlan0
       version: 00
       serial: 00:25:9c:6e:f1:dd
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rt61pci driverversion=3.19.0-15-generic firmware=0.8 ip=192.168.0.11 latency=64 link=yes multicast=yes wireless=IEEE 802.11bg
       resources: irq:16 memory:fdef0000-fdef7fff

Distributor ID: Ubuntu
Description: Ubuntu 15.04
Release: 15.04
Codename: vivid

Linux david-a1534x-desktop 3.19.0-15-generic #15-Ubuntu SMP Thu Apr 16 23:32:01 UTC 2015 i686 i686 i686 GNU/Linux

0: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no

While obtaining this info, the wifi remained connected and working. If it fails once again, will rerun the info check.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Try:

echo "options rt61pci nohwcrypt=1" | sudo tee /etc/modprobe.d/rt61pcifix.conf > /dev/null

Reboot to test.

Revision history for this message
David Corkrey (d-corkrey) said :
#4

Tried the command. Rebooted and wifi was connected. Of course, in the past, rebooting does reconnect it.
So locked the screen. Went shopping for an hour. When I came back and logged in, wifi was not connected and was trying to connect. But the drop down selection menu showed connected.
On the drop down, I disconnected, turned off wifi, turned off networking. Then turned both networking and wifi on. Did not see any networks immediately. A few moments later, saw my network, selected and connected to it correctly. Now working. Will see if the same action occurs since I locked the screen and now am away on my laptop.

Revision history for this message
David Corkrey (d-corkrey) said :
#5

Still have problem. Only way around it when it occurs is to reboot the system. Not the desired solution. Might have to revert to 14.10.

Revision history for this message
David Corkrey (d-corkrey) said :
#6

Latest install connects as before, and loses connection when the "lock screen" is used or the machine auto-locks. Reboot of the machine brings back the connection for the session. Also noted a second note when it is disconnected. States that it cannot find WLAN along with the note that it cannot connect to the wifi router. Could there be some code that turns of the wlan when this problem occurs?

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

Are there any WLAN-related error messages shown with the command
dmesg

Revision history for this message
David Corkrey (d-corkrey) said :
#8

Manfred, thanks anyway. I have now regressed to version 14.10 that works perfectly fine, as did all other previous versions. I am closing the question. I mentioned the WLAN message as that occurred when using KDE 15.04 as it also had the same problem of disconnecting the wifi and not reconnecting. All 15.04 versions stayed connected for install, and for the first session with the install. But after screen locker (not customized), it lost the connection and only a reboot would bring it back.

Revision history for this message
Launchpad Janitor (janitor) said :
#9

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Lassaad Ben Saad (lassaad-bs) said :
#10

Same problem here on Asus X550L using Ralink RT3290 (ubuntu 15.04 unity)

connection keeps dropping every 5 or 6 minutes.
Sometimes when I turn off Network manager then turn it on I can't find any wireless networks anymore.

EDIT:
I tried this (my driver is rt2800pci)
echo "options rt2800pci nohwcrypt=1" | sudo tee /etc/modprobe.d/rt2800pcifix.conf > /dev/null

and my wifi connection did not drop since 15 minutes.

I hope that it is fixed

Revision history for this message
Lassaad Ben Saad (lassaad-bs) said :
#11

EDIT2: It's still dropping connection and it can't find any wireless network after disable/enable Networking

Revision history for this message
Arturo Bianchetti (abianchetti) said :
#12

I have the same problem on a Dell inspiron 1525 running 15.04 64 bits.

Revision history for this message
Fernando Ferreira (nando-rf+launchpad) said :
#13

Shouldn't this be "Open" again?

I'm having the same problem with a Ralink corp. RT2790 Wireless 802.11n 1T/2R PCIe since upgrading to 15.04 64-bit.

Revision history for this message
Lassaad Ben Saad (lassaad-bs) said :
#14

  *-network
       description: Wireless interface
       product: RT3290 Wireless 802.11n 1T/1R PCIe
       vendor: Ralink corp.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlan0
       version: 00
       serial: 48:5a:b6:bd:c9:d3
       width: 32 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rt2800pci driverversion=3.19.0-21-generic firmware=0.37 ip=192.168.1.2 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
       resources: irq:19 memory:f7810000-f781ffff

Same probleme here

Revision history for this message
Arturo Bianchetti (abianchetti) said :
#15

As rare as it might sound the only solution i have found for this is to disable/enable networking and wifi and after that going to connect to hidden wireless networks that makes the wifi APs appear again...

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#16

Could try rebooting your router as well

Revision history for this message
Arturo Bianchetti (abianchetti) said :
#17

I did that many times, but that does not seem to be the cause of the problem as other computers and cellphones do not have this connection issue.

Revision history for this message
David Corkrey (d-corkrey) said :
#18

With all that has been reported, it appears that the problem is how version 15.04 handles RALINK wifi. This only appeared after either updating or installing version 15.04, regardless if it was Ubuntu or Kubuntu, etc.

Revision history for this message
ridgerunner7 (ridgerunner7) said :
#19

I'm experiencing this recently but mine isn't RALINK.

For me, simply disconnecting the wifi and reconnecting fixes it for a few minutes. No rebooting necessary. But it's happening so often I can't get anything done.

I haven't had any problem on other networks. I'm taking classes at a school and I get stagnant connection (wifi indicator says connected but no network, no dns) every few minutes, seems less than 5 sometimes other times longer. Could it be interaction with specific router. I don't have access to the routers here (obviously).

  *-network
       description: Ethernet interface
       product: NetXtreme BCM57765 Gigabit Ethernet PCIe
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: eth0
       version: 10
       serial: c8:2a:14:4f:6d:b2
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi msix pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.137 firmware=57765-v1.37 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:16 memory:a0400000-a040ffff memory:a0410000-a041ffff
  *-network
       description: Wireless interface
       product: BCM4331 802.11a/b/g/n
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlan0
       version: 02
       serial: e4:ce:8f:27:22:50
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=wl0 driverversion=6.30.223.248 (r487574) ip=10.2.245.154 latency=0 multicast=yes wireless=IEEE 802.11abg
       resources: irq:17 memory:a0600000-a0603fff
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.04
Release: 15.04
Codename: vivid
Linux utopic-mbp 3.19.0-22-generic #22-Ubuntu SMP Tue Jun 16 17:15:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
0: hci0: Bluetooth
 Soft blocked: no
 Hard blocked: no
1: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no
2: brcmwl-0: Wireless LAN
 Soft blocked: no
 Hard blocked: no

Revision history for this message
Manfred Hampl (m-hampl) said :
#20

@ridgerunner7:
please do not piggyback on someone else's question, but open you own question document. Especially if you have different hardware from the original poster.

Switching over to the b43 driver might help in your case. see https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx

But please create you own question document!

Revision history for this message
Iddo Friedberg (iddo) said :
#21

Having the same problem with Lubuntu 15.04 on Dell Latitude E5450. Reboot or network restart+"hidden network" connection seems to be the only solution :(

Revision history for this message
André (afelipe-carvalho) said :
#22

I have the same problem on my Dell Inspiron 7520, since installing 15.04. With previous versions of Ubuntu it never ocurred.
There's no timing. It can be connected for good or disconnect. If the later occurs, only a reboot will fix the problem. While unconnected, I cant see my network on the list (or it would show as unreacheable)

Every Ubuntu upgrade sends me hope of having it fixed, but the problem's still here.

Revision history for this message
Arturo Bianchetti (abianchetti) said :
#23

It seems the problem is not related with a specific hardware. ridgerunner7 has a Broadcom card, my Inspiron 1525 has Intel® PRO/Wireless 3945ABG but I am experiencing the same issue, and @afelipe-carvalho: you have Intel® 2230 WiFi right?

Should we open a new "generic" question @m-haml?

Revision history for this message
André (afelipe-carvalho) said :
#24

@abianchetti, I'm not at home right now, to check the exact card. But look at the invoice it seems to be Dell Wireless™ 1703 (802.11 b/g/n) Bluetooth 4.0 integrated.
Processor: 3rd generation Processor Intel® Core™ i7-3632QM (2.2GHz up to 3.2GHz with Intel® Turbo Boost 2.0, 8 Threads, 6Mb Cache)
This morning the connection was ok, no problem. But yesterday and two days ago I had this annoying problem 2 or 3 times each day. Sometimes in the middle of a big upload.

Revision history for this message
André (afelipe-carvalho) said :
#25

While I was viewing an youtube video of about 16minutes, the wifi connection went down.
Looking at dmesg, see what I've found:

[Qua Jul 22 13:54:12 2015] wlan0: deauthenticated from 00:1c:f0:f0:61:70 (Reason: 4=DISASSOC_DUE_TO_INACTIVITY)

So, we are being deauthenticated automaticaly? Maybe it's a new "feature" that we need to tweek (disabling it, hehehe)?

(Extracted from:

[Qua Jul 22 13:08:18 2015] audit: type=1400 audit(1437581299.405:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="sanitized_helper" pid=590 comm="apparmor_parser"
[Qua Jul 22 13:08:19 2015] cgroup: new mount options do not match the existing superblock, will be ignored
[Qua Jul 22 13:08:19 2015] r8169 0000:07:00.0 eth0: link down
[Qua Jul 22 13:08:20 2015] wlan0: authenticate with 00:1c:f0:f0:61:70
[Qua Jul 22 13:08:20 2015] wlan0: send auth to 00:1c:f0:f0:61:70 (try 1/3)
[Qua Jul 22 13:08:20 2015] wlan0: authenticated
[Qua Jul 22 13:08:20 2015] wlan0: associate with 00:1c:f0:f0:61:70 (try 1/3)
[Qua Jul 22 13:08:20 2015] wlan0: RX AssocResp from 00:1c:f0:f0:61:70 (capab=0x431 status=0 aid=6)
[Qua Jul 22 13:08:20 2015] wlan0: associated
[Qua Jul 22 13:08:21 2015] usb 4-1.5: New USB device found, idVendor=0cf3, idProduct=e004
[Qua Jul 22 13:08:21 2015] usb 4-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Qua Jul 22 13:08:21 2015] usb 4-1.5: Product: Bluetooth USB Host Controller
[Qua Jul 22 13:08:21 2015] usb 4-1.5: Manufacturer: Atheros Communications
[Qua Jul 22 13:08:21 2015] usb 4-1.5: SerialNumber: Alaska Day 2006
[Qua Jul 22 13:08:21 2015] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[Qua Jul 22 13:08:21 2015] Bluetooth: BNEP filters: protocol multicast
[Qua Jul 22 13:08:21 2015] Bluetooth: BNEP socket layer initialized
[Qua Jul 22 13:08:21 2015] Bluetooth: RFCOMM TTY layer initialized
[Qua Jul 22 13:08:21 2015] Bluetooth: RFCOMM socket layer initialized
[Qua Jul 22 13:08:21 2015] Bluetooth: RFCOMM ver 1.11
[Qua Jul 22 13:54:12 2015] wlan0: deauthenticated from 00:1c:f0:f0:61:70 (Reason: 4=DISASSOC_DUE_TO_INACTIVITY)
[Qua Jul 22 13:54:12 2015] cfg80211: Calling CRDA to update world regulatory domain
[Qua Jul 22 13:54:12 2015] cfg80211: World regulatory domain updated:
[Qua Jul 22 13:54:12 2015] cfg80211: DFS Master region: unset
[Qua Jul 22 13:54:12 2015] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[Qua Jul 22 13:54:12 2015] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[Qua Jul 22 13:54:12 2015] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[Qua Jul 22 13:54:12 2015] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)
[Qua Jul 22 13:54:12 2015] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[Qua Jul 22 13:54:12 2015] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)

Revision history for this message
Iddo Friedberg (iddo) said :
#26

There is now a bug report in: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1476050

If any of you can chime in there, that would be helpful. They are asking for an upstream kernel installation to see if the problem still exists in 4.2. I cannot do that right now, but if anyone else is willing to do it, and report on the results, see instructions in the bug report above.

Revision history for this message
gummih (gummih) said :
#27

I have this exact issue too

Revision history for this message
Tino (tino-a) said :
#28

I'm experiencing this, too.
Trying the suggested upstream kernel 4.2.0-040200rc3-generic I get the same result and this dmesg output:

[ 143.969065] rt2x00mmio_regbusy_read() Indirect register access failed: offset=0x0000308c, value=0x00014d10
[ 273.040608] ieee80211 phy0: wlan0: No probe response from AP 24:65:11:db:83:63 after 500ms, disconnecting.
[ 273.120685] cfg80211: Calling CRDA to update world regulatory domain
[ 273.126613] cfg80211: World regulatory domain updated:
[ 273.126622] cfg80211: DFS Master region: unset
[ 273.126626] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 273.126635] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 273.126642] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 273.126647] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 273.126652] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 273.126657] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 274.257168] wlan0: authenticate with 24:65:11:db:83:63
[ 274.271736] wlan0: send auth to 24:65:11:db:83:63 (try 1/3)
[ 274.280360] wlan0: authenticated
[ 274.283710] wlan0: associate with 24:65:11:db:83:63 (try 1/3)
[ 274.288010] wlan0: RX AssocResp from 24:65:11:db:83:63 (capab=0x431 status=0 aid=2)
[ 274.288073] wlan0: associated
[ 278.016599] ieee80211 phy0: wlan0: No probe response from AP 24:65:11:db:83:63 after 500ms, disconnecting.

Revision history for this message
Jim Breen (jimbreen) said :
#29

I have this problem too, on my HP 15-AF014AU notebook. I installed 14.04 a couple of days ago, and noticed the WiFi dropping out. I moved to 14.10, which seemed to fix it, but after a few hours it dropped out there too. I'm now on 15.04, and the problem persists.

The dropout is an absolute pain. I'll see how it goes with the hidden-network trip, but if it's unusable I may have to look for a different distro. Probably Debian has same problem.

Revision history for this message
Jim Breen (jimbreen) said :
#30

Just an update:
- the hidden-network trick works, sometimes after two attempts. That's a relief.
- it turns out to be a known problem with my wifi card, a Realtek RTL8723BE.
A proposed fix is to add a /etc/modprobe.d/rtl8723be.conf file containing
"options rtl8723be fwlps=0", then restart. That seems to have stopped the periodic
dropping out, but I still need to do the hidden-network connect when coming
out of suspend.

Revision history for this message
Anders Hall (a.hall) said :
#31
Revision history for this message
David Corkrey (d-corkrey) said :
#32

Upgraded to Ubuntu 15.10. Problem has disappeared. It only happened on previous versions of the i386.

Revision history for this message
Jim Breen (jimbreen) said :
#33

Does that fix it for a 64-bit AMD?

Revision history for this message
Luis Alvarado (luisalvarado) said :
#34

Issue is still there in 15.10 64-bit, although it is harder to track (Takes longer to appear, it is random)

Here is some information related to it

02:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)

Lenovo IdeaPad Z510

In the following image: http://imgur.com/a/IOd36

When it drops, it gives the issue shown in the dmesg output. when I try to reconnect to it, the GUI error box appears (shown in the first image).

There are 2 images with a bit more information.

Revision history for this message
Tino (tino-a) said :
#35

My problem vanished with 15.10 64-bit with

03:07.0 Network controller: Ralink corp. RT2561/RT61 802.11g PCI
        Subsystem: Ralink corp. EW-7108PCg/EW-7128g
        Flags: bus master, slow devsel, latency 64, IRQ 21
        Memory at fbff8000 (32-bit, non-prefetchable) [size=32K]
        Capabilities: <access denied>
        Kernel driver in use: rt61pci

on an AMD 64-bit

Everything working fine as with 14.10.

Thanks a lot!