It is probably some corner case, auto reconnect works fine for me. Il giorno dom 14 lug 2019 alle ore 12:58 Vincent Lefevre <vinc...@vinc17.net> ha scritto: > > 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: > > _______________________________________________ > pkg-wicd-maint mailing list > pkg-wicd-ma...@alioth-lists.debian.net > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-wicd-maint
-- Salvo Tomaselli "Io non mi sento obbligato a credere che lo stesso Dio che ci ha dotato di senso, ragione ed intelletto intendesse che noi ne facessimo a meno." -- Galileo Galilei http://ltworf.github.io/ltworf/