[Bug 1585863] Re: WiFi malfunction after suspend & resume stress - sudo wpa_cli scan required to fix it.

Hans Deragon hans at deragon.biz
Wed Jul 27 16:36:06 UTC 2016


Bug# 1455097 "/etc/pm/sleep.d/ is no more processed" confirms that any
solution involving "/etc/pm/sleep.d/" will not work since systemd took
over.  auspex solution works (thank you), although in my case, I simply
restart the Network Manager (systemctl restart network-manager) to be
really sure that Wifi will come up (see below).

That said, this bug is a shame to Ubuntu.  Any consumer expects
wifi/networking to come up upon resume.  It is basic.  Nobody at
Canonical suffers from this problem?

If it is too hard to find a solution at the heart of the problem in a
timely matter, we should quickly make a patch to force a rescan or
restart the Network Manager.  Who on this bug list is entitled to take a
decision and package a script under '/lib/systemd/system-sleep'?
Anyone?  What is the process to get things done?

Following is the reason why I prefer a restart of the Network Manager.
There were times that the Network Manager (at least in 14.04 for sure,
16.04, not so sure) would not even come out from sleep.  This is why I
prefer to restart it upon resume; it fixes multiple problems such as
coming out of sleep and Wifi scanning.  It does not cost much and I do
not find any downsides, except for the nm-applet disappearing and
reappearing quickly upon resume.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1585863

Title:
  WiFi malfunction after suspend & resume stress - sudo wpa_cli scan
  required to fix it.

Status in NetworkManager:
  New
Status in OEM Priority Project:
  New
Status in OEM Priority Project xenial series:
  New
Status in network-manager package in Ubuntu:
  Confirmed

Bug description:
  Description:    Ubuntu Yakkety Yak (development branch)
  Release:        16.10
  Packages:
  libnm-glib-vpn1:amd64   1.2.2-0ubuntu2
  libnm-glib4:amd64       1.2.2-0ubuntu2
  libnm-util2:amd64       1.2.2-0ubuntu2
  libnm0:amd64    1.2.2-0ubuntu2
  network-manager 1.2.2-0ubuntu2

  Reproduce steps:
  1. Install fwts by `sudo apt-get install fwts`.
  2. Run the suspend & resume stress test.
  sudo fwts s3 --s3-multiple=30 --s3-min-delay=5 --s3-max-delay=5 --s3-delay-delta=5

  Expected result:
  The WiFi still functioned.

  Actual result:
  The WiFi can not connect to any access point and we have to execute `sudo wpa_cli scan` manually to make it work again.

  P.S. Ubuntu 16.04 also has the same issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/network-manager/+bug/1585863/+subscriptions



More information about the Ubuntu-sponsors mailing list