wifi turned off after resume, "turn on" works

Bug #1563794 reported by Lasse Kliemann
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu GNOME
New
Undecided
Unassigned
Ubuntu
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu Gnome 16.04 Beta 2

In about 50% of the cases, wifi is turned off after resuming from suspend. Switching it on ("Turn On") makes it work again.

Similar problems have been in Ubuntu-based distributions for years. This one is different in that turning wifi on manually always solves it - it will then connect immediately.

Hardware: Dell Latitude E7250

02:00.0 Network controller: Intel Corporation Wireless 7265 (rev 59)
 Subsystem: Intel Corporation Dual Band Wireless-AC 7265
 Flags: bus master, fast devsel, latency 0, IRQ 51
 Memory at f7000000 (64-bit, non-prefetchable) [size=8K]
 Capabilities: [c8] Power Management version 3
 Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
 Capabilities: [40] Express Endpoint, MSI 00
 Capabilities: [100] Advanced Error Reporting
 Capabilities: [140] Device Serial Number 18-5e-0f-ff-ff-00-c5-17
 Capabilities: [14c] Latency Tolerance Reporting
 Capabilities: [154] L1 PM Substates
 Kernel driver in use: iwlwifi
 Kernel modules: iwlwifi

When it is working:

$ rfkill list
1: dell-wifi: Wireless LAN
 Soft blocked: no
 Hard blocked: no
2: dell-bluetooth: Bluetooth
 Soft blocked: yes
 Hard blocked: no
3: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no
8: hci0: Bluetooth
 Soft blocked: yes
 Hard blocked: no

After resume, when not working:

$ rfkill list
1: dell-wifi: Wireless LAN
 Soft blocked: yes
 Hard blocked: no
2: dell-bluetooth: Bluetooth
 Soft blocked: yes
 Hard blocked: no
3: phy0: Wireless LAN
 Soft blocked: yes
 Hard blocked: yes
10: hci0: Bluetooth
 Soft blocked: yes
 Hard blocked: no

Revision history for this message
Lasse Kliemann (lxkl) wrote :

rfkill unblock wifi

will also re-enable it.

A workaround would be to put this command in a script that is automatically executed after resume. However, that would interfere with flight mode. So if someone was on a plane, went into flight mode and then suspended and resumed, they would potentially be in trouble.

Revision history for this message
Lasse Kliemann (lxkl) wrote :

The same behavior on the same hardware after a fresh install of Ubuntu 16.02 Beta 2.

Revision history for this message
Lasse Kliemann (lxkl) wrote :

Here is some debug output from the network manager.

The log covers everything from the point in time when i closed the laptop (suspend) to when i opened it (resume) and realized that wifi has been de-activated.

Resume starts at time 10:56:23.

Revision history for this message
Thomas Haller (thaller-1) wrote :

As said, the Wi-Fi device is rfkill'ed in software after resume.

For example, there is a line:

  [1461574583.6441] WiFi rfkill state now 'soft-blocked'

You should be able to re-enable Wi-Fi by doing `nmcli radio wifi on`

Of course, that would be only a workaround. It's unclear to me who turns off
the radio here. I don't think it's done by NetworkManager... I don't know.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in ubuntu:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.