After wake from suspend network-manager can't find wifi network

Bug #1323710 reported by Greg Martin
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Low
Unassigned

Bug Description

I'm not sure if this is a network-manager problem or a pm problem.

Since updating to trusty my laptop - Lenovo T510 - wakes from suspend without wifi. Initially there the nm gui control showed no networks and disonnected state. Ifconfig showed only the loopback. Wetting wlan0 to up brought it back but nm wouldn't connect.

I created an unload_module entry and added:

SUSPEND_MODULES="$SUSPEND_MODULES iwlwifi"

to:

/etc/pm/config.d/unload_modules

After that the nm gui showed networks and tried to connect to the correct one but was unsuccessful.

I created /etc/pm/sleep.d/network-manager-resume

#!/bin/sh

case "${1}" in
        resume|thaw)
        nmcli nm sleep false
                ;;
esac

but this hasn't helped.

I tried connecting directly using nmcli dev and got the error message:

Error: Connection activation failed: (53) The Wi-Fi network could not be found.

Rebooting after waking restores networking.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: network-manager 0.9.8.8-0ubuntu7
ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.1
Architecture: amd64
CurrentDesktop: XFCE
Date: Tue May 27 07:51:10 2014
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2013-11-19 (188 days ago)
InstallationMedia: Xubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016)
IpRoute:
 default via 192.168.0.1 dev wlan0 proto static
 192.168.0.0/24 dev wlan0 proto kernel scope link src 192.168.0.101 metric 9
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
 WimaxEnabled=true
SourcePackage: network-manager
UpgradeStatus: Upgraded to trusty on 2014-05-01 (25 days ago)
nmcli-con:
 NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT READONLY DBUS-PATH
 martin-5.0 b4ef8c22-9ae1-4058-8bfc-c6442634467c 802-11-wireless 1401202160 Tue 27 May 2014 07:49:20 AM PDT yes no /org/freedesktop/NetworkManager/Settings/2
 Cisco03329 a94faf57-01c2-44ef-a474-1acb3523c839 802-11-wireless 1385160323 Fri 22 Nov 2013 02:45:23 PM PST yes no /org/freedesktop/NetworkManager/Settings/1
 martin-5.0 1 d662b0e5-a70d-4010-b3f8-846b6166a22a 802-11-wireless 0 never yes no /org/freedesktop/NetworkManager/Settings/0
 Wired connection 1 05195919-bf9a-49c1-9991-64ce5d41c081 802-3-ethernet 1401198260 Tue 27 May 2014 06:44:20 AM PDT yes no /org/freedesktop/NetworkManager/Settings/3
nmcli-dev:
 DEVICE TYPE STATE DBUS-PATH
 wlan0 802-11-wireless connected /org/freedesktop/NetworkManager/Devices/1
 eth0 802-3-ethernet unavailable /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 disabled

Revision history for this message
Greg Martin (z-greg-l) wrote :
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
Jaime Pérez (jaime-91) wrote :

dmesg before and after S3

tags: added: desktop-bugscrub-triaged wily
tags: added: devel
Revision history for this message
penalvch (penalvch) wrote :

Greg Martin, please execute the following command, as it will automatically gather debugging information, in a terminal:
apport-collect 1323710

tags: removed: desktop-bugscrub-triaged devel wily
affects: network-manager (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Jaime Pérez (jaime-91) wrote :

I have submitted my info to a dupplicate. If something more is needed, please ask.

Changed in linux (Ubuntu):
status: Incomplete → New
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1323710

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Jaime Pérez (jaime-91)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Jaime Pérez, this is not considered a duplicate, or vice versa.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Changed in linux (Ubuntu):
status: Expired → Confirmed
Revision history for this message
suokunlong (suokunlong) wrote :

I still experience the same bug in my Ubuntu 16.04 LTS x64, ThankPad R61i machine.

The wifi connection will come back if I run the following command:
sudo systemctl restart network-manager.service

Revision history for this message
penalvch (penalvch) wrote :

Ahmed Kamal / suokunlong, it will help immensely if you filed a new report with Ubuntu, using the default repository kernel (not mainline/upstream/3rd party) via a terminal:
ubuntu-bug linux

Please feel free to subscribe me to it.

For more on why this is helpful, please see https://wiki.ubuntu.com/ReportingBugs.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
chris.rapson (chris-rapson-9) wrote :

If you do submit a new bug report, can you please add a link to it here? I'm seeing exactly the same symptoms on an HP envy laptop.

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

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
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.