[Pkg-utopia-maintainers] Bug#829019: Does not successfully reconnect to AP when AP is restarted

Thadeu Lima de Souza Cascardo cascardo at debian.org
Wed Jun 29 19:51:22 UTC 2016


Package: network-manager
Version: 1.2.2-2
Severity: important
Tags: upstream

When I restart my router/AP, NM will try to reconnect, but since the AP
is not fully booted yet, it might fail, but, then, NM will not try
again, which might cause lost connectivity.

In my usecase, for example, I may be accessing my laptop remotely, so I
can't ask NM to reconnect, since I am not in front of it. The reboot
might be caused by an accidental removal from power of the AP by someone
who does not have the laptop credentials to request the reconnect.



Jun 28 10:30:52 siri NetworkManager[1202]: <warn>  [1467120652.8524] sup-iface[0x185c6d0,wlan0]: connection disconnected (reason -4)
Jun 28 10:30:52 siri NetworkManager[1202]: <info>  [1467120652.8695] device (wlan0): supplicant interface state: completed -> disconnected
Jun 28 10:30:52 siri NetworkManager[1202]: <info>  [1467120652.9574] device (wlan0): supplicant interface state: disconnected -> scanning
Jun 28 10:31:08 siri NetworkManager[1202]: <warn>  [1467120668.0050] device (wlan0): link timed out.
Jun 28 10:31:08 siri NetworkManager[1202]: <info>  [1467120668.0085] device (wlan0): state change: activated -> failed (reason 'ssid-not-found') [100 120 53]
Jun 28 10:31:08 siri NetworkManager[1202]: <info>  [1467120668.0129] manager: NetworkManager state is now CONNECTED_LOCAL
Jun 28 10:31:08 siri NetworkManager[1202]: <warn>  [1467120668.0262] device (wlan0): Activation: failed for connection 'Auto CasLu'
Jun 28 10:31:08 siri NetworkManager[1202]: <info>  [1467120668.0336] device (wlan0): state change: failed -> disconnected (reason 'none') [120 30 0]
Jun 28 10:31:08 siri NetworkManager[1202]: <info>  [1467120668.0754] dhcp4 (wlan0): canceled DHCP transaction, DHCP client pid 1325
Jun 28 10:31:08 siri NetworkManager[1202]: <info>  [1467120668.0754] dhcp4 (wlan0): state changed bound -> done
Jun 28 10:31:08 siri NetworkManager[1202]: <info>  [1467120668.5891] device (wlan0): supplicant interface state: scanning -> inactive
Jun 28 10:31:34 siri NetworkManager[1202]: <info>  [1467120694.5854] policy: auto-activating connection 'Auto CasLu'
Jun 28 10:31:34 siri NetworkManager[1202]: <info>  [1467120694.5866] device (wlan0): Activation: starting connection 'Auto CasLu' (636c5690-f70a-4201-b095-770f2a41bfe3)
Jun 28 10:31:34 siri NetworkManager[1202]: <info>  [1467120694.5871] device (wlan0): state change: disconnected -> prepare (reason 'none') [30 40 0]
Jun 28 10:31:34 siri NetworkManager[1202]: <info>  [1467120694.5877] manager: NetworkManager state is now CONNECTING
Jun 28 10:31:34 siri NetworkManager[1202]: <info>  [1467120694.5925] device (wlan0): state change: prepare -> config (reason 'none') [40 50 0]
Jun 28 10:31:34 siri NetworkManager[1202]: <info>  [1467120694.5928] device (wlan0): Activation: (wifi) access point 'Auto CasLu' has security, but secrets are required.
Jun 28 10:31:34 siri NetworkManager[1202]: <info>  [1467120694.5929] device (wlan0): state change: config -> need-auth (reason 'none') [50 60 0]
Jun 28 10:31:34 siri NetworkManager[1202]: <info>  [1467120694.5979] device (wlan0): state change: need-auth -> prepare (reason 'none') [60 40 0]
Jun 28 10:31:34 siri NetworkManager[1202]: <info>  [1467120694.5990] device (wlan0): state change: prepare -> config (reason 'none') [40 50 0]
Jun 28 10:31:34 siri NetworkManager[1202]: <info>  [1467120694.5993] device (wlan0): Activation: (wifi) connection 'Auto CasLu' has security, and secrets exist.  No new secrets needed.
Jun 28 10:31:34 siri NetworkManager[1202]: <info>  [1467120694.5994] Config: added 'ssid' value 'CasLu'
Jun 28 10:31:34 siri NetworkManager[1202]: <info>  [1467120694.5994] Config: added 'scan_ssid' value '1'
Jun 28 10:31:34 siri NetworkManager[1202]: <info>  [1467120694.5994] Config: added 'key_mgmt' value 'WPA-PSK'
Jun 28 10:31:34 siri NetworkManager[1202]: <info>  [1467120694.5995] Config: added 'psk' value '<omitted>'
Jun 28 10:31:34 siri NetworkManager[1202]: <info>  [1467120694.6307] sup-iface[0x185c6d0,wlan0]: config: set interface ap_scan to 1
Jun 28 10:31:34 siri NetworkManager[1202]: <info>  [1467120694.6549] device (wlan0): supplicant interface state: inactive -> authenticating
Jun 28 10:31:34 siri NetworkManager[1202]: <info>  [1467120694.6616] device (wlan0): supplicant interface state: authenticating -> associating
Jun 28 10:31:34 siri NetworkManager[1202]: <info>  [1467120694.6782] device (wlan0): supplicant interface state: associating -> 4-way handshake
Jun 28 10:31:34 siri NetworkManager[1202]: <warn>  [1467120694.7206] sup-iface[0x185c6d0,wlan0]: connection disconnected (reason 2)
Jun 28 10:31:34 siri NetworkManager[1202]: <info>  [1467120694.7253] device (wlan0): supplicant interface state: 4-way handshake -> disconnected
Jun 28 10:31:34 siri NetworkManager[1202]: <info>  [1467120694.7273] device (wlan0): Activation: (wifi) disconnected during association, asking for new key
Jun 28 10:31:34 siri NetworkManager[1202]: <info>  [1467120694.7274] device (wlan0): state change: config -> need-auth (reason 'supplicant-disconnect') [50 60 8]
Jun 28 10:31:34 siri NetworkManager[1202]: <warn>  [1467120694.7562] device (wlan0): User canceled the secrets request.
Jun 28 10:31:34 siri NetworkManager[1202]: <info>  [1467120694.7562] device (wlan0): state change: need-auth -> failed (reason 'no-secrets') [60 120 7]
Jun 28 10:31:34 siri NetworkManager[1202]: <info>  [1467120694.7564] manager: NetworkManager state is now CONNECTED_LOCAL
Jun 28 10:31:34 siri NetworkManager[1202]: <warn>  [1467120694.7570] device (wlan0): Activation: failed for connection 'Auto CasLu'
Jun 28 10:31:34 siri NetworkManager[1202]: <info>  [1467120694.7582] device (wlan0): state change: failed -> disconnected (reason 'none') [120 30 0]
Jun 28 10:31:35 siri NetworkManager[1202]: <info>  [1467120695.3167] device (wlan0): supplicant interface state: disconnected -> inactive



-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages network-manager depends on:
ii  adduser                3.115
ii  dbus                   1.10.8-1
ii  init-system-helpers    1.36
ii  isc-dhcp-client        4.3.4-1
ii  libaudit1              1:2.6.1-1
ii  libbluetooth3          5.36-1+b1
ii  libc6                  2.22-13
ii  libglib2.0-0           2.48.1-1
ii  libgnutls30            3.4.13-1
ii  libgudev-1.0-0         230-3
ii  libmm-glib0            1.4.14-1
ii  libndp0                1.6-1
ii  libnewt0.52            0.52.18-3
ii  libnl-3-200            3.2.27-1
ii  libnm0                 1.2.2-2
ii  libpam-systemd         230-3
ii  libpolkit-agent-1-0    0.105-15
ii  libpolkit-gobject-1-0  0.105-15
ii  libreadline6           6.3-8+b4
ii  libselinux1            2.5-3
ii  libsoup2.4-1           2.54.1-1
ii  libsystemd0            230-3
ii  libteamdctl0           1.24-1
ii  libuuid1               2.28-5
ii  lsb-base               9.20160601
ii  policykit-1            0.105-15
ii  udev                   230-3
ii  wpasupplicant          2.3-2.3

Versions of packages network-manager recommends:
ii  crda            3.13-1+b1
ii  dnsmasq-base    2.76-1
ii  iptables        1.6.0-2
pn  iputils-arping  <none>
ii  modemmanager    1.4.14-1
ii  ppp             2.4.7-1+2

Versions of packages network-manager suggests:
pn  libteam-utils  <none>

-- no debconf information



More information about the Pkg-utopia-maintainers mailing list