2016-03-12 03:26:00 |
Haw Loeung |
bug |
|
|
added bug |
2016-03-12 03:26:11 |
Haw Loeung |
tags |
|
xenial |
|
2016-03-12 03:27:14 |
Haw Loeung |
bug |
|
|
added subscriber The Canonical Sysadmins |
2016-03-12 03:29:08 |
Haw Loeung |
bug task added |
|
wpasupplicant (Ubuntu) |
|
2016-03-12 07:34:16 |
Martin Pitt |
bug task deleted |
systemd (Ubuntu) |
|
|
2016-03-12 07:39:14 |
Martin Pitt |
bug task added |
|
network-manager (Ubuntu) |
|
2016-03-12 07:39:25 |
Martin Pitt |
bug |
|
|
added subscriber Mathieu Trudel-Lapierre |
2016-03-12 12:11:05 |
Haw Loeung |
tags |
xenial |
apport-collected xenial |
|
2016-03-12 12:11:07 |
Haw Loeung |
description |
Hi,
I'm constantly having issues where my WiFi connection doesn't re-establish after resuming from suspend. I think it may be a race where the interface isn't ready yet and systemd-sleep calls /lib/systemd/system-sleep/wpasupplicant (which is a wrapper to wpa_cli).
I normally restart NetworkManager but then found that calling 'wpa_cli resume' works also.
Here's the logs:
| Mar 12 13:53:06 ragnar.local kernel: psmouse serio1: synaptics: quirked min/max coordinates: x [1024..5112], y [2024..4832]
| Mar 12 13:53:06 ragnar.local kernel: PM: resume of devices complete after 562.709 msecs
| Mar 12 13:53:06 ragnar.local kernel: PM: Finishing wakeup.
| Mar 12 13:53:06 ragnar.local systemd[1]: Time has been changed
| Mar 12 13:53:06 ragnar.local systemd[1066]: Time has been changed
| Mar 12 13:53:06 ragnar.local kernel: Restarting tasks ... done.
| Mar 12 13:53:06 ragnar.local systemd-sleep[29174]: System resumed.
| Mar 12 13:53:06 ragnar.local systemd-sleep[29174]: Failed to connect to non-global ctrl_ifname: (nil) error: No such file or directory
| Mar 12 13:53:06 ragnar.local systemd-sleep[29227]: /lib/systemd/system-sleep/wpasupplicant failed with error code 255.
| Mar 12 13:53:06 ragnar.local systemd[1]: Started Suspend.
| Mar 12 13:53:06 ragnar.local systemd[1]: sleep.target: Unit not needed anymore. Stopping.
| Mar 12 13:53:06 ragnar.local systemd[1]: Stopped target Sleep.
| Mar 12 13:53:06 ragnar.local systemd[1]: Reached target Suspend.
| Mar 12 13:53:06 ragnar.local systemd[1]: suspend.target: Unit is bound to inactive unit systemd-suspend.service. Stopping, too.
| Mar 12 13:53:06 ragnar.local NetworkManager[23292]: <info> wake requested (sleeping: yes enabled: yes)
| Mar 12 13:53:06 ragnar.local systemd[1]: Stopped target Suspend.
| Mar 12 13:53:06 ragnar.local NetworkManager[23292]: <info> waking up...
| Mar 12 13:53:06 ragnar.local systemd-logind[662]: Operation 'sleep' finished.
| Mar 12 13:53:06 ragnar.local kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
| Mar 12 13:53:06 ragnar.local kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
| Mar 12 13:53:06 ragnar.local NetworkManager[23292]: <info> (wlp3s0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
| Mar 12 13:53:06 ragnar.local kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
| Mar 12 13:53:07 ragnar.local kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
| Mar 12 13:53:07 ragnar.local kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
| Mar 12 13:53:07 ragnar.local NetworkManager[23292]: <info> NetworkManager state is now DISCONNECTED
| Mar 12 13:53:07 ragnar.local kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
| Mar 12 13:53:07 ragnar.local wpa_supplicant[23157]: dbus: wpa_dbus_get_object_properties: failed to get object properties: (none) none
| Mar 12 13:53:07 ragnar.local wpa_supplicant[23157]: dbus: Failed to construct signal
| Mar 12 13:53:07 ragnar.local wpa_supplicant[23157]: Could not read interface p2p-dev-wlp3s0 flags: No such device
| Mar 12 13:53:07 ragnar.local NetworkManager[23292]: <info> (wlp3s0): supplicant interface state: starting -> ready
| Mar 12 13:53:07 ragnar.local NetworkManager[23292]: <info> (wlp3s0): device state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
| Mar 12 13:53:07 ragnar.local NetworkManager[23292]: <info> Device 'wlp3s0' has no connection; scheduling activate_check in 0 seconds.
| Mar 12 13:53:07 ragnar.local kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
Thanks,
Haw |
Hi,
I'm constantly having issues where my WiFi connection doesn't re-establish after resuming from suspend. I think it may be a race where the interface isn't ready yet and systemd-sleep calls /lib/systemd/system-sleep/wpasupplicant (which is a wrapper to wpa_cli).
I normally restart NetworkManager but then found that calling 'wpa_cli resume' works also.
Here's the logs:
| Mar 12 13:53:06 ragnar.local kernel: psmouse serio1: synaptics: quirked min/max coordinates: x [1024..5112], y [2024..4832]
| Mar 12 13:53:06 ragnar.local kernel: PM: resume of devices complete after 562.709 msecs
| Mar 12 13:53:06 ragnar.local kernel: PM: Finishing wakeup.
| Mar 12 13:53:06 ragnar.local systemd[1]: Time has been changed
| Mar 12 13:53:06 ragnar.local systemd[1066]: Time has been changed
| Mar 12 13:53:06 ragnar.local kernel: Restarting tasks ... done.
| Mar 12 13:53:06 ragnar.local systemd-sleep[29174]: System resumed.
| Mar 12 13:53:06 ragnar.local systemd-sleep[29174]: Failed to connect to non-global ctrl_ifname: (nil) error: No such file or directory
| Mar 12 13:53:06 ragnar.local systemd-sleep[29227]: /lib/systemd/system-sleep/wpasupplicant failed with error code 255.
| Mar 12 13:53:06 ragnar.local systemd[1]: Started Suspend.
| Mar 12 13:53:06 ragnar.local systemd[1]: sleep.target: Unit not needed anymore. Stopping.
| Mar 12 13:53:06 ragnar.local systemd[1]: Stopped target Sleep.
| Mar 12 13:53:06 ragnar.local systemd[1]: Reached target Suspend.
| Mar 12 13:53:06 ragnar.local systemd[1]: suspend.target: Unit is bound to inactive unit systemd-suspend.service. Stopping, too.
| Mar 12 13:53:06 ragnar.local NetworkManager[23292]: <info> wake requested (sleeping: yes enabled: yes)
| Mar 12 13:53:06 ragnar.local systemd[1]: Stopped target Suspend.
| Mar 12 13:53:06 ragnar.local NetworkManager[23292]: <info> waking up...
| Mar 12 13:53:06 ragnar.local systemd-logind[662]: Operation 'sleep' finished.
| Mar 12 13:53:06 ragnar.local kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
| Mar 12 13:53:06 ragnar.local kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
| Mar 12 13:53:06 ragnar.local NetworkManager[23292]: <info> (wlp3s0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
| Mar 12 13:53:06 ragnar.local kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
| Mar 12 13:53:07 ragnar.local kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
| Mar 12 13:53:07 ragnar.local kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
| Mar 12 13:53:07 ragnar.local NetworkManager[23292]: <info> NetworkManager state is now DISCONNECTED
| Mar 12 13:53:07 ragnar.local kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
| Mar 12 13:53:07 ragnar.local wpa_supplicant[23157]: dbus: wpa_dbus_get_object_properties: failed to get object properties: (none) none
| Mar 12 13:53:07 ragnar.local wpa_supplicant[23157]: dbus: Failed to construct signal
| Mar 12 13:53:07 ragnar.local wpa_supplicant[23157]: Could not read interface p2p-dev-wlp3s0 flags: No such device
| Mar 12 13:53:07 ragnar.local NetworkManager[23292]: <info> (wlp3s0): supplicant interface state: starting -> ready
| Mar 12 13:53:07 ragnar.local NetworkManager[23292]: <info> (wlp3s0): device state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
| Mar 12 13:53:07 ragnar.local NetworkManager[23292]: <info> Device 'wlp3s0' has no connection; scheduling activate_check in 0 seconds.
| Mar 12 13:53:07 ragnar.local kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
Thanks,
Haw
---
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
DistroRelease: Ubuntu 16.04
IfupdownConfig:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
InstallationDate: Installed on 2014-04-24 (687 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
Package: wpasupplicant
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 4.4.0-11.26-generic 4.4.4
RfKill: Error: [Errno 2] No such file or directory
Tags: xenial
Uname: Linux 4.4.0-11-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dialout dip lpadmin plugdev sudo users
_MarkForUpload: True
modified.conffile..etc.NetworkManager.NetworkManager.conf: [modified]
modified.conffile..etc.dnsmasq.d.network.manager: [modified]
mtime.conffile..etc.NetworkManager.NetworkManager.conf: 2015-09-12T15:03:20.815898
mtime.conffile..etc.dnsmasq.d.network.manager: 2014-07-29T22:12:51.096293
nmcli-con:
NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT AUTOCONNECT-PRIORITY READONLY DBUS-PATH ACTIVE DEVICE STATE ACTIVE-PATH
hld-2.4GHz deffb41a-c707-4088-a887-36d63f43a6a0 802-11-wireless 1457784347 Sat 12 Mar 2016 11:05:47 PM AEDT yes 0 no /org/freedesktop/NetworkManager/Settings/0 yes wlp3s0 activated /org/freedesktop/NetworkManager/ActiveConnection/12
nmcli-dev:
DEVICE TYPE STATE DBUS-PATH CONNECTION CON-UUID CON-PATH
wlp3s0 wifi connected /org/freedesktop/NetworkManager/Devices/0 hld-2.4GHz deffb41a-c707-4088-a887-36d63f43a6a0 /org/freedesktop/NetworkManager/ActiveConnection/12
lo loopback unmanaged /org/freedesktop/NetworkManager/Devices/1 -- -- --
nmcli-nm: Error: command ['nmcli', '-f', 'all', 'nm'] failed with exit code 2: Error: Object 'nm' is unknown, try 'nmcli help'. |
|
2016-03-12 12:11:08 |
Haw Loeung |
attachment added |
|
CRDA.txt https://bugs.launchpad.net/bugs/1556357/+attachment/4596796/+files/CRDA.txt |
|
2016-03-12 12:11:10 |
Haw Loeung |
attachment added |
|
Dependencies.txt https://bugs.launchpad.net/bugs/1556357/+attachment/4596797/+files/Dependencies.txt |
|
2016-03-12 12:11:12 |
Haw Loeung |
attachment added |
|
IpAddr.txt https://bugs.launchpad.net/bugs/1556357/+attachment/4596798/+files/IpAddr.txt |
|
2016-03-12 12:11:13 |
Haw Loeung |
attachment added |
|
IpRoute.txt https://bugs.launchpad.net/bugs/1556357/+attachment/4596799/+files/IpRoute.txt |
|
2016-03-12 12:11:16 |
Haw Loeung |
attachment added |
|
IwConfig.txt https://bugs.launchpad.net/bugs/1556357/+attachment/4596800/+files/IwConfig.txt |
|
2016-04-02 14:58:43 |
Launchpad Janitor |
network-manager (Ubuntu): status |
New |
Confirmed |
|
2016-04-02 14:58:43 |
Launchpad Janitor |
wpasupplicant (Ubuntu): status |
New |
Confirmed |
|
2016-04-08 19:26:37 |
Alberto Salvia Novella |
wpasupplicant (Ubuntu): importance |
Undecided |
High |
|
2016-04-08 19:26:39 |
Alberto Salvia Novella |
network-manager (Ubuntu): importance |
Undecided |
High |
|
2016-04-13 02:49:42 |
Tim Kuhlman |
bug |
|
|
added subscriber Tim Kuhlman |
2016-04-19 21:20:27 |
Christian Reis |
tags |
apport-collected xenial |
apport-collected regression-release xenial |
|
2016-05-13 03:25:03 |
Yanti |
bug |
|
|
added subscriber Yanti |
2016-07-02 23:36:23 |
Matheus Rossi Saciotto |
bug |
|
|
added subscriber Matheus Rossi Saciotto |
2016-07-06 10:25:30 |
Martin Wimpress |
marked as duplicate |
|
1585863 |
|
2016-07-08 15:29:08 |
Ernst |
bug |
|
|
added subscriber Ernst |
2016-07-09 21:34:56 |
Rik Shaw |
bug |
|
|
added subscriber Rik Shaw |
2016-08-06 16:30:37 |
daincredibleholg |
bug |
|
|
added subscriber hlibrenz |
2016-08-12 11:42:00 |
Moritz Wachsmuth-Melm |
bug |
|
|
added subscriber Moritz Wachsmuth-Melm |
2016-08-27 22:40:35 |
aptgetmoo |
bug |
|
|
added subscriber aptgetmoo |
2016-08-31 15:58:18 |
Valtteri Suojanen |
bug |
|
|
added subscriber Valtteri Suojanen |
2016-09-03 18:34:45 |
Valtteri Suojanen |
removed subscriber Valtteri Suojanen |
|
|
|
2016-09-16 13:36:52 |
Pablo Lalloni |
bug |
|
|
added subscriber Pablo Lalloni |
2016-09-22 07:39:29 |
Fabio Silva |
bug |
|
|
added subscriber Fabio Silva |
2016-10-02 10:48:57 |
gmelchior |
bug |
|
|
added subscriber gmelchior |
2016-10-22 07:40:39 |
strazer |
bug |
|
|
added subscriber strazer |
2016-10-24 20:37:09 |
Robert Taylor |
bug |
|
|
added subscriber Robert Taylor |
2016-12-24 22:21:19 |
mialwe |
bug |
|
|
added subscriber mialwe |
2016-12-25 10:44:42 |
Fudaraku |
bug |
|
|
added subscriber Fudaraku |
2017-01-31 22:59:14 |
goliy |
bug |
|
|
added subscriber goliy |
2017-02-22 18:30:55 |
Fabio Silva |
removed subscriber Fabio Silva |
|
|
|
2017-03-08 22:45:22 |
Shuhao |
bug |
|
|
added subscriber Shuhao |
2017-03-08 22:45:41 |
Shuhao |
removed subscriber Shuhao |
|
|
|
2017-07-13 07:29:40 |
Jm |
bug |
|
|
added subscriber Jm |
2017-07-30 19:14:51 |
R |
bug |
|
|
added subscriber R |
2017-12-12 16:10:19 |
VeDocha Sinjin |
bug |
|
|
added subscriber VeDocha Sinjin |
2020-10-31 16:34:23 |
yitzhaq |
bug |
|
|
added subscriber yitzhaq |