network-manager does not reconnect after resuming from suspend

Bug #1350145 reported by Craig Magina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager-applet (Ubuntu)
New
Undecided
Unassigned

Bug Description

On a 2013 Mac Book Pro 11,1, the network-manager does not reconnect after resuming from suspend. To work around this you need to stop network-manager, delete /var/lib/NetworkManager/NetworkManager.state and then start network-manager again. A more permanent workaround is to put that in a script under /etc/pm/sleep.d/<script>.

i.e. /etc/pm/sleep.d/99_restart-network-manager

#!/bin/sh
case "$1" in
    resume|thaw)
        stop network-manager
        rm /var/lib/NetworkManager/NetworkManager.state
        start network-manager
    ;;
esac
 This occurs under trusty as well.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: network-manager-gnome 0.9.8.8-0ubuntu7
ProcVersionSignature: Ubuntu 3.16.0-5.10-generic 3.16.0-rc6
Uname: Linux 3.16.0-5-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.14.5-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Jul 29 22:10:43 2014
EcryptfsInUse: Yes
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2014-07-25 (4 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
IpRoute:
 default via 192.168.1.1 dev wlan0 proto static
 192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.173 metric 9
SourcePackage: network-manager-applet
UpgradeStatus: No upgrade log present (probably fresh install)
nmcli-con:
 NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT READONLY DBUS-PATH
 buntu 063e8b0a-df91-4839-828b-28823b7d05f7 802-11-wireless 1406670718 Tue 29 Jul 2014 05:51:58 PM EDT yes no /org/freedesktop/NetworkManager/Settings/1
 buntwo c62c48d5-66a8-4deb-aa58-74daffd32e31 802-11-wireless 1406686210 Tue 29 Jul 2014 10:10:10 PM EDT yes no /org/freedesktop/NetworkManager/Settings/0
nmcli-dev:
 DEVICE TYPE STATE DBUS-PATH
 wlan0 802-11-wireless connected /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
Craig Magina (craig.magina) wrote :
Revision history for this message
Craig Magina (craig.magina) wrote :

This only seems to affect the Ubuntu frontend as the KDE version does not suffer this issue.

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.