Hello. 
Have the same bug. Wicd 1.7.0-ds1-5. 

Reproduce: 
Turn off notebook wi-fi via switcher, turn it on again. Wicd does not 
reconnect. And it can not reconnect even manually. Only after reboot. 

The trouble is that wicd (or wpa_supplicant) does not pass "key" value to 
iwconfig. If I set it manually (iwconfig wlan0 key <key>), wicd gets ip-address 
successfully. 

cat /var/lib/wicd/configurations/00212980898b 
ap_scan=1
ctrl_interface=/var/run/wpa_supplicant
network={
       ssid="linksys"
       scan_ssid=0
       key_mgmt=NONE
       wep_key0=<key>
       wep_tx_keyidx=0
       priority=5
}
2010/06/05 19:39:49 :: ---------------------------
2010/06/05 19:39:49 :: wicd initializing...
2010/06/05 19:39:49 :: ---------------------------
2010/06/05 19:39:49 :: wicd is version 1.7.0 552
2010/06/05 19:39:49 :: setting backend to ioctl
2010/06/05 19:39:49 :: trying to load backend ioctl
2010/06/05 19:39:49 :: WARNING: python-iwscan not found, falling back to using iwlist scan.
2010/06/05 19:39:49 :: WARNING: python-wpactrl not found, falling back to using wpa_cli.
2010/06/05 19:39:49 :: successfully loaded backend ioctl
2010/06/05 19:39:49 :: WARNING: No path found for dhcpcd
2010/06/05 19:39:49 :: WARNING: No path found for pump
2010/06/05 19:39:49 :: WARNING: No path found for udhcpc
2010/06/05 19:39:49 :: WARNING: No path found for ethtool
2010/06/05 19:39:49 :: WARNING: No path found for gksudo
2010/06/05 19:39:49 :: WARNING: No path found for ktsuss
2010/06/05 19:39:49 :: WARNING: No path found for resolvconf
2010/06/05 19:39:49 :: trying to load backend ioctl
2010/06/05 19:39:49 :: successfully loaded backend ioctl
2010/06/05 19:39:49 :: WARNING: No path found for dhcpcd
2010/06/05 19:39:49 :: WARNING: No path found for pump
2010/06/05 19:39:49 :: WARNING: No path found for udhcpc
2010/06/05 19:39:49 :: WARNING: No path found for ethtool
2010/06/05 19:39:49 :: WARNING: No path found for gksudo
2010/06/05 19:39:49 :: WARNING: No path found for ktsuss
2010/06/05 19:39:49 :: WARNING: No path found for resolvconf
2010/06/05 19:39:49 :: Couldn't detect a wireless interface.
2010/06/05 19:39:49 :: setting wireless interface wlan0
2010/06/05 19:39:49 :: automatically detected wired interface wlan0
2010/06/05 19:39:49 :: setting wired interface eth0
2010/06/05 19:39:49 :: setting wpa driver wext
2010/06/05 19:39:49 :: setting use global dns to False
2010/06/05 19:39:49 :: setting global dns
2010/06/05 19:39:49 :: global dns servers are None None None
2010/06/05 19:39:49 :: domain is None
2010/06/05 19:39:49 :: search domain is None
2010/06/05 19:39:49 :: setting automatically reconnect when connection drops True
2010/06/05 19:39:49 :: found wired_connect_mode in configuration 1
2010/06/05 19:39:49 :: found should_verify_ap in configuration 1
2010/06/05 19:39:49 :: Setting dhcp client to 0
2010/06/05 19:39:49 :: Wireless configuration file found...
2010/06/05 19:39:49 :: Wired configuration file found...
2010/06/05 19:39:49 :: chmoding configuration files 0600...
2010/06/05 19:39:49 :: chowning configuration files root:root...
2010/06/05 19:39:49 :: Using wireless interface...wlan0
2010/06/05 19:39:49 :: Using wired interface...eth0
2010/06/05 19:39:49 :: scanning start
2010/06/05 19:39:49 :: ifconfig wlan0 up
2010/06/05 19:39:50 :: iwlist wlan0 scan
2010/06/05 19:39:51 :: scanning done
2010/06/05 19:39:51 :: found 1 networks:
2010/06/05 19:39:51 :: found afterscript in configuration None
2010/06/05 19:39:51 :: found dhcphostname in configuration breton
2010/06/05 19:39:51 :: found postdisconnectscript in configuration None
2010/06/05 19:39:51 :: found dns_domain in configuration None
2010/06/05 19:39:51 :: found gateway in configuration None
2010/06/05 19:39:51 :: found use_global_dns in configuration False
2010/06/05 19:39:51 :: found ip in configuration None
2010/06/05 19:39:51 :: found beforescript in configuration None
2010/06/05 19:39:51 :: found netmask in configuration None
2010/06/05 19:39:51 :: found key in configuration <key>
2010/06/05 19:39:51 :: found usedhcphostname in configuration 1
2010/06/05 19:39:51 :: found predisconnectscript in configuration None
2010/06/05 19:39:51 :: found enctype in configuration wep-hex
2010/06/05 19:39:51 :: found dns3 in configuration None
2010/06/05 19:39:51 :: found dns2 in configuration None
2010/06/05 19:39:51 :: found dns1 in configuration None
2010/06/05 19:39:51 :: found use_settings_globally in configuration False
2010/06/05 19:39:51 :: found use_static_dns in configuration False
2010/06/05 19:39:51 :: found automatic in configuration 1
2010/06/05 19:39:51 :: found search_domain in configuration None
2010/06/05 19:39:54 :: GetCurrentNetworkID: Returning -1, current network not found
2010/06/05 19:39:54 :: Autoconnecting...
2010/06/05 19:39:54 :: Starting wireless autoconnect...
2010/06/05 19:39:54 :: No wired connection present, attempting to autoconnect to wireless network
2010/06/05 19:39:54 :: scanning start
2010/06/05 19:39:54 :: ifconfig wlan0 up
2010/06/05 19:39:54 :: iwlist wlan0 scan
2010/06/05 19:39:55 :: scanning done
2010/06/05 19:39:55 :: found 1 networks:
2010/06/05 19:39:55 :: found afterscript in configuration None
2010/06/05 19:39:55 :: found dhcphostname in configuration breton
2010/06/05 19:39:55 :: found postdisconnectscript in configuration None
2010/06/05 19:39:55 :: found dns_domain in configuration None
2010/06/05 19:39:55 :: found gateway in configuration None
2010/06/05 19:39:55 :: found use_global_dns in configuration False
2010/06/05 19:39:55 :: found ip in configuration None
2010/06/05 19:39:55 :: found beforescript in configuration None
2010/06/05 19:39:55 :: found netmask in configuration None
2010/06/05 19:39:55 :: found key in configuration <key>
2010/06/05 19:39:55 :: found usedhcphostname in configuration 1
2010/06/05 19:39:55 :: found predisconnectscript in configuration None
2010/06/05 19:39:55 :: found enctype in configuration wep-hex
2010/06/05 19:39:55 :: found dns3 in configuration None
2010/06/05 19:39:55 :: found dns2 in configuration None
2010/06/05 19:39:55 :: found dns1 in configuration None
2010/06/05 19:39:55 :: found use_settings_globally in configuration False
2010/06/05 19:39:55 :: found use_static_dns in configuration False
2010/06/05 19:39:55 :: found automatic in configuration 1
2010/06/05 19:39:55 :: found search_domain in configuration None
2010/06/05 19:39:55 :: linksys has profile
2010/06/05 19:39:55 :: trying to automatically connect to...linksys
2010/06/05 19:39:55 :: Connecting to wireless network linksys
2010/06/05 19:39:55 :: attempting to set hostname with dhclient
2010/06/05 19:39:55 :: using dhcpcd or another supported client may work better
2010/06/05 19:39:55 :: /sbin/dhclient -r wlan0
2010/06/05 19:39:55 :: ifconfig wlan0 0.0.0.0 
2010/06/05 19:39:55 :: /sbin/ip route flush dev wlan0
2010/06/05 19:39:55 :: ifconfig wlan0 down
2010/06/05 19:39:55 :: ifconfig wlan0 up
2010/06/05 19:39:55 :: wpa_cli -i wlan0 terminate
2010/06/05 19:39:55 :: Putting interface down
2010/06/05 19:39:55 :: ifconfig wlan0 down
2010/06/05 19:39:55 :: Releasing DHCP leases...
2010/06/05 19:39:55 :: attempting to set hostname with dhclient
2010/06/05 19:39:55 :: using dhcpcd or another supported client may work better
2010/06/05 19:39:55 :: /sbin/dhclient -r wlan0
2010/06/05 19:39:55 :: Setting false IP...
2010/06/05 19:39:55 :: ifconfig wlan0 0.0.0.0 
2010/06/05 19:39:55 :: Stopping wpa_supplicant
2010/06/05 19:39:55 :: wpa_cli -i wlan0 terminate
2010/06/05 19:39:55 :: Flushing the routing table...
2010/06/05 19:39:55 :: /sbin/ip route flush dev wlan0
2010/06/05 19:39:55 :: iwconfig wlan0 mode managed
2010/06/05 19:39:55 :: Putting interface up...
2010/06/05 19:39:55 :: ifconfig wlan0 up
2010/06/05 19:39:57 :: enctype is wep-hex
2010/06/05 19:39:57 :: Attempting to authenticate...
2010/06/05 19:39:57 :: ['wpa_supplicant', '-B', '-i', 'wlan0', '-c', '/var/lib/wicd/configurations/00212980898b', '-D', 'wext']
2010/06/05 19:39:57 :: ['iwconfig', 'wlan0', 'essid', '--', 'linksys']
2010/06/05 19:39:57 :: iwconfig wlan0 channel 6
2010/06/05 19:39:57 :: iwconfig wlan0 ap 00:21:29:80:89:8B
2010/06/05 19:39:57 :: WPA_CLI RESULT IS DISCONNECTED
2010/06/05 19:39:58 :: WPA_CLI RESULT IS COMPLETED
2010/06/05 19:39:58 :: Running DHCP with hostname breton
2010/06/05 19:39:58 :: attempting to set hostname with dhclient
2010/06/05 19:39:58 :: using dhcpcd or another supported client may work better
2010/06/05 19:39:58 :: /sbin/dhclient -cf /var/lib/wicd/dhclient.conf wlan0
2010/06/05 19:39:58 :: Internet Systems Consortium DHCP Client V3.1.3
2010/06/05 19:39:58 :: Copyright 2004-2009 Internet Systems Consortium.
2010/06/05 19:39:58 :: All rights reserved.
2010/06/05 19:39:58 :: For info, please visit https://www.isc.org/software/dhcp/
2010/06/05 19:39:58 :: 
2010/06/05 19:39:58 :: Listening on LPF/wlan0/00:15:af:e0:d4:04
2010/06/05 19:39:58 :: Sending on   LPF/wlan0/00:15:af:e0:d4:04
2010/06/05 19:39:58 :: Sending on   Socket/fallback
2010/06/05 19:40:00 :: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
2010/06/05 19:40:06 :: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
2010/06/05 19:40:14 :: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
2010/06/05 19:40:22 :: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
2010/06/05 19:40:31 :: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
2010/06/05 19:40:42 :: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 19
2010/06/05 19:41:01 :: No DHCPOFFERS received.
2010/06/05 19:41:01 :: No working leases in persistent database - sleeping.
2010/06/05 19:41:01 :: DHCP connection failed
2010/06/05 19:41:01 :: exiting connection thread
2010/06/05 19:41:03 :: Daemon going down, killing wicd-monitor...
2010/06/05 19:41:03 :: Removing PID file...
2010/06/05 19:41:03 :: Shutting down...

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to