Debian Bug report logs - #932042
wicd-daemon: does not automatically reconnect on network connection loss if this network is invisible during the unique attempt

version graph

Package: wicd-daemon; Maintainer for wicd-daemon is Debian WICD Packaging Team <[email protected]>; Source for wicd-daemon is src:wicd (PTS, buildd, popcon).

Reported by: Vincent Lefevre <[email protected]>

Date: Sun, 14 Jul 2019 11:03:01 UTC

Severity: important

Tags: upstream

Found in version wicd/1.7.4+tb2-6

Full log


Message #5 received at [email protected] (full text, mbox, reply):

Received: (at submit) by bugs.debian.org; 14 Jul 2019 10:58:26 +0000
From [email protected] Sun Jul 14 10:58:26 2019
X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02
	(2018-09-13) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-11.6 required=4.0 tests=BAYES_00,DIGITS_LETTERS,
	FOURLA,HAS_PACKAGE,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham
	autolearn_force=no version=3.4.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 54; hammy, 150; neutral, 244; spammy,
	0. spammytokens: hammytokens:0.000-+--H*F:D*vinc17.net,
	0.000-+--H*rp:D*vinc17.net, 0.000-+--rfkill, 0.000-+--H*MI:vinc17,
	0.000-+--HX-Mailer-Info:mutt
Return-path: <[email protected]>
Received: from joooj.vinc17.net ([2001:4b99:1:3:216:3eff:fe20:ac98])
	by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.89)
	(envelope-from <[email protected]>)
	id 1hmcD4-0000xh-B8
	for [email protected]; Sun, 14 Jul 2019 10:58:26 +0000
Received: from smtp-zira.vinc17.net (unknown [37.171.251.106])
	by joooj.vinc17.net (Postfix) with ESMTPSA id ABA6A2A6;
	Sun, 14 Jul 2019 12:58:22 +0200 (CEST)
Received: by zira.vinc17.org (Postfix, from userid 1000)
	id B8091C2017E; Sun, 14 Jul 2019 12:58:21 +0200 (CEST)
Date: Sun, 14 Jul 2019 12:58:21 +0200
From: Vincent Lefevre <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: wicd-daemon: does not automatically reconnect on network connection
 loss when this is enabled
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 7.5.2
X-Mailer-Info: https://www.vinc17.net/mutt/
User-Agent: Mutt/1.12.1+33 (6a74e24e) vl-117499 (2019-06-23)
Delivered-To: [email protected]
Package: wicd-daemon
Version: 1.7.4+tb2-6
Severity: important

I have the option "Automatically reconnect on network connection loss"
ticked. But wicd does not automatically reconnect, whether the GUI is
open or not.

To reproduce:
1. Connect to a wifi hotspot (e.g. provided by an Android device).
2. Optionally close the wicd GUI.
3. Disable the hotspot on the device.
4. Reenable the hotspot on the device.

After (3), I get a disconnection, but after (4), no reconnection is
done.

An excerpt of the wicd.log file (where I've hidden the PSK):

[...]
2019/07/14 12:42:45 :: ifconfig wlp61s0
2019/07/14 12:42:45 :: GetCurrentNetworkID: Returning -1, current network not found
2019/07/14 12:42:45 :: Autoconnecting...
2019/07/14 12:42:45 :: Starting wireless autoconnect...
2019/07/14 12:42:45 :: No wired connection present, attempting to autoconnect to wireless network
2019/07/14 12:42:45 :: scanning start
2019/07/14 12:42:45 :: ifconfig wlp61s0 up
2019/07/14 12:42:45 :: iwlist wlp61s0 scan
2019/07/14 12:42:48 :: scanning done
2019/07/14 12:42:48 :: found 4 networks:
2019/07/14 12:42:48 :: Unable to autoconnect, you'll have to manually connect
2019/07/14 12:42:50 :: ifconfig wlp61s0
2019/07/14 12:42:50 :: GetCurrentNetworkID: Returning -1, current network not found
2019/07/14 12:42:50 :: Autoconnecting...
2019/07/14 12:42:50 :: Starting wireless autoconnect...
2019/07/14 12:42:50 :: No wired connection present, attempting to autoconnect to wireless network
2019/07/14 12:42:50 :: scanning start
2019/07/14 12:42:50 :: ifconfig wlp61s0 up
2019/07/14 12:42:50 :: iwlist wlp61s0 scan
2019/07/14 12:42:53 :: scanning done
2019/07/14 12:42:53 :: found 8 networks:
2019/07/14 12:42:53 :: found afterscript in configuration None
2019/07/14 12:42:53 :: found dhcphostname in configuration zira
2019/07/14 12:42:53 :: found ip in configuration None
2019/07/14 12:42:53 :: found dns_domain in configuration None
2019/07/14 12:42:53 :: found gateway in configuration None
2019/07/14 12:42:53 :: found use_global_dns in configuration False
2019/07/14 12:42:53 :: found postdisconnectscript in configuration None
2019/07/14 12:42:53 :: found beforescript in configuration None
2019/07/14 12:42:53 :: found psk in configuration XXX
2019/07/14 12:42:53 :: found netmask in configuration None
2019/07/14 12:42:53 :: found key in configuration *****
2019/07/14 12:42:53 :: found usedhcphostname in configuration 0
2019/07/14 12:42:53 :: found predisconnectscript in configuration None
2019/07/14 12:42:53 :: found bitrate in configuration auto
2019/07/14 12:42:53 :: found enctype in configuration wpa
2019/07/14 12:42:53 :: found allow_lower_bitrates in configuration 0
2019/07/14 12:42:53 :: found dns3 in configuration None
2019/07/14 12:42:53 :: found dns2 in configuration None
2019/07/14 12:42:53 :: found dns1 in configuration None
2019/07/14 12:42:53 :: found use_settings_globally in configuration False
2019/07/14 12:42:53 :: found use_static_dns in configuration False
2019/07/14 12:42:53 :: found search_domain in configuration None
2019/07/14 12:42:53 :: Gemini WiFi has profile
2019/07/14 12:42:53 :: Unable to autoconnect, you'll have to manually connect
2019/07/14 12:42:55 :: ifconfig wlp61s0
2019/07/14 12:42:55 :: GetCurrentNetworkID: Returning -1, current network not found
2019/07/14 12:42:55 :: Autoconnecting...
2019/07/14 12:42:55 :: Starting wireless autoconnect...
2019/07/14 12:42:55 :: No wired connection present, attempting to autoconnect to wireless network
2019/07/14 12:42:55 :: scanning start
2019/07/14 12:42:55 :: ifconfig wlp61s0 up
2019/07/14 12:42:55 :: iwlist wlp61s0 scan
2019/07/14 12:42:58 :: scanning done
2019/07/14 12:42:58 :: found 8 networks:
2019/07/14 12:42:58 :: found afterscript in configuration None
2019/07/14 12:42:58 :: found dhcphostname in configuration zira
2019/07/14 12:42:58 :: found ip in configuration None
2019/07/14 12:42:58 :: found dns_domain in configuration None
2019/07/14 12:42:58 :: found gateway in configuration None
2019/07/14 12:42:58 :: found use_global_dns in configuration False
2019/07/14 12:42:58 :: found postdisconnectscript in configuration None
2019/07/14 12:42:58 :: found beforescript in configuration None
2019/07/14 12:42:58 :: found psk in configuration XXX
2019/07/14 12:42:58 :: found netmask in configuration None
2019/07/14 12:42:58 :: found key in configuration *****
2019/07/14 12:42:58 :: found usedhcphostname in configuration 0
2019/07/14 12:42:58 :: found predisconnectscript in configuration None
2019/07/14 12:42:58 :: found bitrate in configuration auto
2019/07/14 12:42:58 :: found enctype in configuration wpa
2019/07/14 12:42:58 :: found allow_lower_bitrates in configuration 0
2019/07/14 12:42:58 :: found dns3 in configuration None
2019/07/14 12:42:58 :: found dns2 in configuration None
2019/07/14 12:42:58 :: found dns1 in configuration None
2019/07/14 12:42:58 :: found use_settings_globally in configuration False
2019/07/14 12:42:58 :: found use_static_dns in configuration False
2019/07/14 12:42:58 :: found search_domain in configuration None
2019/07/14 12:42:58 :: Gemini WiFi has profile
2019/07/14 12:42:58 :: Unable to autoconnect, you'll have to manually connect
2019/07/14 12:43:00 :: ifconfig wlp61s0
2019/07/14 12:43:00 :: GetCurrentNetworkID: Returning -1, current network not found
2019/07/14 12:43:00 :: Autoconnecting...
2019/07/14 12:43:00 :: Starting wireless autoconnect...
2019/07/14 12:43:00 :: No wired connection present, attempting to autoconnect to wireless network
2019/07/14 12:43:00 :: scanning start
2019/07/14 12:43:00 :: ifconfig wlp61s0 up
2019/07/14 12:43:00 :: iwlist wlp61s0 scan
2019/07/14 12:43:03 :: scanning done
2019/07/14 12:43:03 :: found 9 networks:
2019/07/14 12:43:03 :: found afterscript in configuration None
2019/07/14 12:43:03 :: found dhcphostname in configuration zira
2019/07/14 12:43:03 :: found ip in configuration None
2019/07/14 12:43:03 :: found dns_domain in configuration None
2019/07/14 12:43:03 :: found gateway in configuration None
2019/07/14 12:43:03 :: found use_global_dns in configuration False
2019/07/14 12:43:03 :: found postdisconnectscript in configuration None
2019/07/14 12:43:03 :: found beforescript in configuration None
2019/07/14 12:43:03 :: found psk in configuration XXX
2019/07/14 12:43:03 :: found netmask in configuration None
2019/07/14 12:43:03 :: found key in configuration *****
2019/07/14 12:43:03 :: found usedhcphostname in configuration 0
2019/07/14 12:43:03 :: found predisconnectscript in configuration None
2019/07/14 12:43:03 :: found bitrate in configuration auto
2019/07/14 12:43:03 :: found enctype in configuration wpa
2019/07/14 12:43:03 :: found allow_lower_bitrates in configuration 0
2019/07/14 12:43:03 :: found dns3 in configuration None
2019/07/14 12:43:03 :: found dns2 in configuration None
2019/07/14 12:43:03 :: found dns1 in configuration None
2019/07/14 12:43:03 :: found use_settings_globally in configuration False
2019/07/14 12:43:03 :: found use_static_dns in configuration False
2019/07/14 12:43:03 :: found search_domain in configuration None
2019/07/14 12:43:03 :: Gemini WiFi has profile
2019/07/14 12:43:03 :: Unable to autoconnect, you'll have to manually connect
2019/07/14 12:43:05 :: ifconfig wlp61s0
2019/07/14 12:43:10 :: ifconfig wlp61s0
2019/07/14 12:43:15 :: ifconfig wlp61s0
2019/07/14 12:43:20 :: ifconfig wlp61s0
[...]

Note: I think that wicd will automatically reconnect when the option
"Automatically connect to this network" for the network is on, just
because of that, independently from the "Automatically reconnect on
network connection loss" global setting. Thus make sure that this
option "Automatically connect to this network" for the tested network
is off when doing the test.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages wicd-daemon depends on:
ii  adduser           3.118
ii  dbus              1.12.16-1
ii  debconf           1.5.72
ii  iputils-ping      3:20190515-2
ii  isc-dhcp-client   4.4.1-2
ii  lsb-base          10.2019051400
ii  psmisc            23.2-1
ii  python            2.7.16-1
ii  python-dbus       1.2.8-3
ii  python-gobject-2  2.28.6-13+b1
ii  python-wicd       1.7.4+tb2-6
ii  wireless-tools    30~pre9-13
ii  wpasupplicant     2:2.8-3

Versions of packages wicd-daemon recommends:
ii  rfkill                     2.33.1-0.1
ii  wicd-curses [wicd-client]  1.7.4+tb2-6
ii  wicd-gtk [wicd-client]     1.7.4+tb2-6

Versions of packages wicd-daemon suggests:
pn  pm-utils  <none>

Versions of packages wicd depends on:
ii  wicd-curses [wicd-client]  1.7.4+tb2-6
ii  wicd-gtk [wicd-client]     1.7.4+tb2-6

Versions of packages wicd-gtk depends on:
ii  python         2.7.16-1
ii  python-glade2  2.24.0-6
ii  python-gtk2    2.24.0-6

Versions of packages wicd-gtk recommends:
ii  menu           2.1.47+b1
ii  policykit-1    0.105-25
ii  python-notify  0.1.1-4

Versions of packages wicd-curses depends on:
ii  python        2.7.16-1
ii  python-urwid  2.0.1-2+b1

Versions of packages wicd-curses recommends:
ii  sudo  1.8.27-1

Versions of packages python-wicd depends on:
ii  net-tools  1.60+git20180626.aebd88e-1
ii  python     2.7.16-1

Versions of packages python-wicd suggests:
ii  ethtool   1:4.19-1
ii  iproute2  5.2.0-1

-- Configuration Files:
/etc/wicd/encryption/templates/active changed:
wpa
wpa-peap
wpa-peap-wo-___domain
wpa-psk
wpa-psk-hex
wpa2-leap
wpa2-peap
wpa2-peap-wo-___domain
wep-hex
wep-passphrase
wep-shared
leap
ttls
eap
peap
peap-eduroam
peap-tkip
eap-tls
psu


-- debconf information:
* wicd/users:



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 17:29:37 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.