Topic: wicd connection problems

Hi.

I have a problem with wicd, this time with version 1.6.2.2 that runs on gentoo linux with kernel 2.6.31.3 from kernel.org. I have a laptop with an Intel 4965 AGN and the iwl-wifi firmware version 2 (228.61.2.24 exactly). Few monts ago I was using wicd 1.5.9-r1 with kernel 2.6.26 and firmware version 1 and I didn't get any errors. When I upgraded the kernel version and the firmware to version 2 but with wicd 1.5.9-r1 I got some errors connecting to my hidden network, I was unable to connect to my network sometimes. Thinking in an issue with wicd 1.5.9 and the firmware version 2 I upgraded to the wicd 1.6.2.2.

The first problem was with my network with a hidden SSID. I thought this could be the problem and with the router's panel I unhide the SSID and the problem was solved most of time but when I work on my laptop with battery I get the same error like when I worked with the hidden SSID.

If I try to connect to the wireless network using my laptop with the battery I get this error: Unable to connect to <SSID name>, or Unable to obtain IP address; but my config on wicd is with a static IP address, after the error all the SSID detected by wicd dissapear, after that I push the button refresh few times and the SSID dosen't appear and if I run iwlist wlan0 scan I get this error: wlan0     Interface doesn't support scanning : Device or resource busy. When I work with the AC I don't get the error "most of time".

This is wicd's log (with debug mode enable and dhcp):

2009/11/08 14:46:12 :: ---------------------------
2009/11/08 14:46:12 :: wicd initializing...
2009/11/08 14:46:12 :: ---------------------------
2009/11/08 14:46:12 :: wicd is version 1.6.2.2 463
2009/11/08 14:46:12 :: setting backend to external
2009/11/08 14:46:12 :: trying to load backend external
2009/11/08 14:46:12 :: successfully loaded backend external
2009/11/08 14:46:12 :: WARNING: No path found for pump
2009/11/08 14:46:12 :: WARNING: No path found for udhcpc
2009/11/08 14:46:12 :: WARNING: No path found for gksudo
2009/11/08 14:46:12 :: WARNING: No path found for kdesu
2009/11/08 14:46:12 :: WARNING: No path found for ip
2009/11/08 14:46:12 :: WARNING: No path found for resolvconf
2009/11/08 14:46:12 :: trying to load backend external
2009/11/08 14:46:12 :: successfully loaded backend external
2009/11/08 14:46:12 :: WARNING: No path found for pump
2009/11/08 14:46:12 :: WARNING: No path found for udhcpc
2009/11/08 14:46:12 :: WARNING: No path found for gksudo
2009/11/08 14:46:12 :: WARNING: No path found for kdesu
2009/11/08 14:46:12 :: WARNING: No path found for ip
2009/11/08 14:46:12 :: WARNING: No path found for resolvconf
2009/11/08 14:46:12 :: Automatically detected wireless interface wlan0
2009/11/08 14:46:12 :: setting wireless interface wlan0
2009/11/08 14:46:12 :: automatically detected wired interface eth0
2009/11/08 14:46:12 :: setting wired interface eth0
2009/11/08 14:46:12 :: setting wpa driver wext
2009/11/08 14:46:12 :: setting use global dns to False
2009/11/08 14:46:12 :: setting global dns
2009/11/08 14:46:12 :: global dns servers are None None None
2009/11/08 14:46:12 :: domain is None
2009/11/08 14:46:12 :: search domain is None
2009/11/08 14:46:12 :: setting automatically reconnect when connection drops True
2009/11/08 14:46:12 :: found wired_connect_mode in configuration 1
2009/11/08 14:46:12 :: Setting dhcp client to 0
2009/11/08 14:46:12 :: Wireless configuration file found...
2009/11/08 14:46:12 :: Wired configuration file found...
2009/11/08 14:46:12 :: chmoding configuration files 0600...
2009/11/08 14:46:12 :: chowning configuration files root:root...
2009/11/08 14:46:12 :: Using wireless interface...wlan0
2009/11/08 14:46:12 :: Using wired interface...eth0
2009/11/08 14:46:12 :: scanning start
2009/11/08 14:46:12 :: ifconfig wlan0 up
2009/11/08 14:46:13 :: iwlist wlan0 scan
2009/11/08 14:46:15 :: scanning done
2009/11/08 14:46:15 :: found 4 networks:
2009/11/08 14:46:15 :: found afterscript in configuration None
2009/11/08 14:46:15 :: found psk in configuration 6116af8085d7b58b1534c023b50c7c12d4fe9ac437082d09c872d16dccce49f3
2009/11/08 14:46:15 :: found postdisconnectscript in configuration None
2009/11/08 14:46:15 :: found dns_domain in configuration None
2009/11/08 14:46:15 :: found netmask in configuration None
2009/11/08 14:46:15 :: found key in configuration xxxx
2009/11/08 14:46:15 :: found predisconnectscript in configuration None
2009/11/08 14:46:15 :: found gateway in configuration None
2009/11/08 14:46:15 :: found use_global_dns in configuration 0
2009/11/08 14:46:15 :: found dns3 in configuration None
2009/11/08 14:46:15 :: found dns2 in configuration None
2009/11/08 14:46:15 :: found dns1 in configuration None
2009/11/08 14:46:15 :: found use_settings_globally in configuration 0
2009/11/08 14:46:15 :: found use_static_dns in configuration 0
2009/11/08 14:46:15 :: found ip in configuration None
2009/11/08 14:46:15 :: found beforescript in configuration None
2009/11/08 14:46:15 :: found enctype in configuration wpa
2009/11/08 14:46:15 :: found automatic in configuration True
2009/11/08 14:46:15 :: found search_domain in configuration None
2009/11/08 14:46:15 :: found essid in configuration <my network>
2009/11/08 14:46:15 :: found afterscript in configuration None
2009/11/08 14:46:15 :: found psk in configuration 450a6f6a7f3bfff62ae6311d7fa7eb28c82782952cd9eb95fa0338baa5c17f22
2009/11/08 14:46:15 :: found postdisconnectscript in configuration None
2009/11/08 14:46:15 :: found dns_domain in configuration None
2009/11/08 14:46:15 :: found netmask in configuration None
2009/11/08 14:46:15 :: found key in configuration teconcaTDP
2009/11/08 14:46:15 :: found predisconnectscript in configuration None
2009/11/08 14:46:15 :: found gateway in configuration None
2009/11/08 14:46:15 :: found use_global_dns in configuration 0
2009/11/08 14:46:15 :: found dns3 in configuration None
2009/11/08 14:46:15 :: found dns2 in configuration None
2009/11/08 14:46:15 :: found dns1 in configuration None
2009/11/08 14:46:15 :: found use_settings_globally in configuration 0
2009/11/08 14:46:15 :: found use_static_dns in configuration 0
2009/11/08 14:46:15 :: found ip in configuration None
2009/11/08 14:46:15 :: found beforescript in configuration None
2009/11/08 14:46:15 :: found enctype in configuration wpa
2009/11/08 14:46:15 :: found search_domain in configuration None
2009/11/08 14:46:15 :: found essid in configuration Grupo Corp TDP
2009/11/08 14:46:18 :: ifconfig eth0
2009/11/08 14:46:18 :: ifconfig wlan0
2009/11/08 14:46:18 :: iwconfig wlan0
2009/11/08 14:46:18 :: GetCurrentNetworkID: Returning -1, current network not found
2009/11/08 14:46:18 :: Autoconnecting...
2009/11/08 14:46:18 :: ifconfig eth0 up
2009/11/08 14:46:20 :: Starting wireless autoconnect...
2009/11/08 14:46:20 :: No wired connection present, attempting to autoconnect to wireless network
2009/11/08 14:46:20 :: scanning start
2009/11/08 14:46:20 :: ifconfig wlan0 up
2009/11/08 14:46:20 :: iwlist wlan0 scan
2009/11/08 14:46:21 :: scanning done
2009/11/08 14:46:21 :: found 7 networks:
2009/11/08 14:46:21 :: found afterscript in configuration None
2009/11/08 14:46:21 :: found psk in configuration 6116af8085d7b58b1534c023b50c7c12d4fe9ac437082d09c872d16dccce49f3
2009/11/08 14:46:21 :: found postdisconnectscript in configuration None
2009/11/08 14:46:21 :: found dns_domain in configuration None
2009/11/08 14:46:21 :: found netmask in configuration None
2009/11/08 14:46:21 :: found key in configuration xxxx
2009/11/08 14:46:21 :: found predisconnectscript in configuration None
2009/11/08 14:46:21 :: found gateway in configuration None
2009/11/08 14:46:21 :: found use_global_dns in configuration 0
2009/11/08 14:46:21 :: found dns3 in configuration None
2009/11/08 14:46:21 :: found dns2 in configuration None
2009/11/08 14:46:21 :: found dns1 in configuration None
2009/11/08 14:46:21 :: found use_settings_globally in configuration 0
2009/11/08 14:46:21 :: found use_static_dns in configuration 0
2009/11/08 14:46:21 :: found ip in configuration None
2009/11/08 14:46:21 :: found beforescript in configuration None
2009/11/08 14:46:21 :: found enctype in configuration wpa
2009/11/08 14:46:21 :: found automatic in configuration True
2009/11/08 14:46:21 :: found search_domain in configuration None
2009/11/08 14:46:21 :: found essid in configuration <my network>
2009/11/08 14:46:21 :: found afterscript in configuration None
2009/11/08 14:46:21 :: found psk in configuration 450a6f6a7f3bfff62ae6311d7fa7eb28c82782952cd9eb95fa0338baa5c17f22
2009/11/08 14:46:21 :: found postdisconnectscript in configuration None
2009/11/08 14:46:21 :: found dns_domain in configuration None
2009/11/08 14:46:21 :: found netmask in configuration None
2009/11/08 14:46:21 :: found key in configuration teconcaTDP
2009/11/08 14:46:21 :: found predisconnectscript in configuration None
2009/11/08 14:46:21 :: found gateway in configuration None
2009/11/08 14:46:21 :: found use_global_dns in configuration 0
2009/11/08 14:46:21 :: found dns3 in configuration None
2009/11/08 14:46:21 :: found dns2 in configuration None
2009/11/08 14:46:21 :: found dns1 in configuration None
2009/11/08 14:46:21 :: found use_settings_globally in configuration 0
2009/11/08 14:46:21 :: found use_static_dns in configuration 0
2009/11/08 14:46:21 :: found ip in configuration None
2009/11/08 14:46:21 :: found beforescript in configuration None
2009/11/08 14:46:21 :: found enctype in configuration wpa
2009/11/08 14:46:21 :: found search_domain in configuration None
2009/11/08 14:46:21 :: found essid in configuration Grupo Corp TDP
2009/11/08 14:46:21 :: <my network> has profile
2009/11/08 14:46:21 :: trying to automatically connect to...<my network>
2009/11/08 14:46:21 :: Connecting to wireless network <my network>
2009/11/08 14:46:21 :: /sbin/dhcpcd -k eth0
2009/11/08 14:46:22 :: ifconfig eth0 0.0.0.0 
2009/11/08 14:46:22 :: /sbin/route del dev eth0
2009/11/08 14:46:22 :: ifconfig eth0 down
2009/11/08 14:46:22 :: ifconfig eth0 up
2009/11/08 14:46:22 :: Putting interface down
2009/11/08 14:46:22 :: ifconfig wlan0 down
2009/11/08 14:46:22 :: Releasing DHCP leases...
2009/11/08 14:46:22 :: /sbin/dhcpcd -k wlan0
2009/11/08 14:46:22 :: Setting false IP...
2009/11/08 14:46:22 :: ifconfig wlan0 0.0.0.0 
2009/11/08 14:46:23 :: Stopping wpa_supplicant
2009/11/08 14:46:23 :: wpa_cli -i wlan0 terminate
2009/11/08 14:46:23 :: Flushing the routing table...
2009/11/08 14:46:23 :: /sbin/route del dev wlan0
2009/11/08 14:46:23 :: iwconfig wlan0 mode managed
2009/11/08 14:46:23 :: Putting interface up...
2009/11/08 14:46:23 :: ifconfig wlan0 up
2009/11/08 14:46:23 :: enctype is wpa
2009/11/08 14:46:23 :: Generating psk...
2009/11/08 14:46:23 :: ['/usr/bin/wpa_passphrase', '<my network>', 'xxxx']
2009/11/08 14:46:23 :: Attempting to authenticate...
2009/11/08 14:46:23 :: ['wpa_supplicant', '-B', '-i', 'wlan0', '-c', '/var/lib/wicd/configurations/001d7ec2f049', '-D', 'wext']
2009/11/08 14:46:23 :: ['iwconfig', 'wlan0', 'essid', '<my network>']
2009/11/08 14:46:23 :: iwconfig wlan0 channel 11
2009/11/08 14:46:23 :: iwconfig wlan0 ap 00:xx:xx:xx:xx:xx
2009/11/08 14:46:23 :: WPA_CLI RESULT IS DISCONNECTED
2009/11/08 14:46:23 :: iwconfig wlan0
2009/11/08 14:46:24 :: WPA_CLI RESULT IS ASSOCIATING
2009/11/08 14:46:25 :: WPA_CLI RESULT IS ASSOCIATED
2009/11/08 14:46:26 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:46:27 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:46:28 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:46:29 :: iwconfig wlan0
2009/11/08 14:46:29 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:46:30 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:46:31 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:46:32 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:46:33 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:46:34 :: iwconfig wlan0
2009/11/08 14:46:34 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:46:35 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:46:36 :: WPA_CLI RESULT IS DISCONNECTED
2009/11/08 14:46:37 :: WPA_CLI RESULT IS DISCONNECTED
2009/11/08 14:46:38 :: WPA_CLI RESULT IS ASSOCIATING
2009/11/08 14:46:39 :: iwconfig wlan0
2009/11/08 14:46:39 :: WPA_CLI RESULT IS ASSOCIATED
2009/11/08 14:46:40 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:46:41 :: found window_width in configuration 654
2009/11/08 14:46:41 :: found window_height in configuration 523
2009/11/08 14:46:41 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:46:42 :: iwconfig wlan0
2009/11/08 14:46:42 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:46:43 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:46:44 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:46:44 :: iwconfig wlan0
2009/11/08 14:46:45 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:46:46 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:46:47 :: iwconfig wlan0
2009/11/08 14:46:47 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:46:48 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:46:49 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:46:49 :: iwconfig wlan0
2009/11/08 14:46:50 :: WPA_CLI RESULT IS DISCONNECTED
2009/11/08 14:46:51 :: WPA_CLI RESULT IS DISCONNECTED
2009/11/08 14:46:52 :: iwconfig wlan0
2009/11/08 14:46:52 :: WPA_CLI RESULT IS ASSOCIATING
2009/11/08 14:46:53 :: WPA_CLI RESULT IS ASSOCIATING
2009/11/08 14:46:54 :: iwconfig wlan0
2009/11/08 14:46:54 :: WPA_CLI RESULT IS ASSOCIATED
2009/11/08 14:46:55 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:46:56 :: iwconfig wlan0
2009/11/08 14:46:56 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:46:57 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:46:58 :: wpa_supplicant authentication may have failed.
2009/11/08 14:46:58 :: Running DHCP
2009/11/08 14:46:58 :: /sbin/dhcpcd wlan0
2009/11/08 14:46:58 :: wlan0: dhcpcd 4.0.13 starting
2009/11/08 14:46:58 :: 
2009/11/08 14:46:59 :: wlan0: waiting for carrier
2009/11/08 14:46:59 :: 
2009/11/08 14:46:59 :: iwconfig wlan0
2009/11/08 14:47:01 :: iwconfig wlan0
2009/11/08 14:47:04 :: iwconfig wlan0
2009/11/08 14:47:06 :: iwconfig wlan0
2009/11/08 14:47:08 :: iwconfig wlan0
2009/11/08 14:47:11 :: iwconfig wlan0
2009/11/08 14:47:13 :: iwconfig wlan0
2009/11/08 14:47:16 :: iwconfig wlan0
2009/11/08 14:47:18 :: iwconfig wlan0
2009/11/08 14:47:20 :: iwconfig wlan0
2009/11/08 14:47:23 :: iwconfig wlan0
2009/11/08 14:47:25 :: iwconfig wlan0
2009/11/08 14:47:28 :: iwconfig wlan0
2009/11/08 14:47:29 :: wlan0: timed out
2009/11/08 14:47:29 :: 
2009/11/08 14:47:29 :: DHCP connection failed
2009/11/08 14:47:29 :: exiting connection thread
2009/11/08 14:47:29 :: Sending connection attempt result dhcp_failed
2009/11/08 14:47:29 :: ifconfig eth0
2009/11/08 14:47:29 :: ifconfig wlan0
2009/11/08 14:47:31 :: ifconfig eth0
2009/11/08 14:47:31 :: ifconfig wlan0
2009/11/08 14:47:33 :: scanning start
2009/11/08 14:47:33 :: ifconfig wlan0 up
2009/11/08 14:47:33 :: iwlist wlan0 scan
2009/11/08 14:47:34 :: ifconfig eth0
2009/11/08 14:47:34 :: ifconfig wlan0
2009/11/08 14:47:35 :: scanning done
2009/11/08 14:47:35 :: found 11 networks:
2009/11/08 14:47:35 :: found afterscript in configuration None
2009/11/08 14:47:35 :: found psk in configuration 6116af8085d7b58b1534c023b50c7c12d4fe9ac437082d09c872d16dccce49f3
2009/11/08 14:47:35 :: found postdisconnectscript in configuration None
2009/11/08 14:47:35 :: found dns_domain in configuration None
2009/11/08 14:47:35 :: found netmask in configuration None
2009/11/08 14:47:35 :: found key in configuration xxxx
2009/11/08 14:47:35 :: found predisconnectscript in configuration None
2009/11/08 14:47:35 :: found gateway in configuration None
2009/11/08 14:47:35 :: found use_global_dns in configuration 0
2009/11/08 14:47:35 :: found dns3 in configuration None
2009/11/08 14:47:35 :: found dns2 in configuration None
2009/11/08 14:47:35 :: found dns1 in configuration None
2009/11/08 14:47:35 :: found use_settings_globally in configuration 0
2009/11/08 14:47:35 :: found use_static_dns in configuration 0
2009/11/08 14:47:35 :: found ip in configuration None
2009/11/08 14:47:35 :: found beforescript in configuration None
2009/11/08 14:47:35 :: found enctype in configuration wpa
2009/11/08 14:47:35 :: found automatic in configuration True
2009/11/08 14:47:35 :: found search_domain in configuration None
2009/11/08 14:47:35 :: found essid in configuration <my network>
2009/11/08 14:47:35 :: found afterscript in configuration None
2009/11/08 14:47:35 :: found psk in configuration 450a6f6a7f3bfff62ae6311d7fa7eb28c82782952cd9eb95fa0338baa5c17f22
2009/11/08 14:47:35 :: found postdisconnectscript in configuration None
2009/11/08 14:47:35 :: found dns_domain in configuration None
2009/11/08 14:47:35 :: found netmask in configuration None
2009/11/08 14:47:35 :: found key in configuration teconcaTDP
2009/11/08 14:47:35 :: found predisconnectscript in configuration None
2009/11/08 14:47:35 :: found gateway in configuration None
2009/11/08 14:47:35 :: found use_global_dns in configuration 0
2009/11/08 14:47:35 :: found dns3 in configuration None
2009/11/08 14:47:35 :: found dns2 in configuration None
2009/11/08 14:47:35 :: found dns1 in configuration None
2009/11/08 14:47:35 :: found use_settings_globally in configuration 0
2009/11/08 14:47:35 :: found use_static_dns in configuration 0
2009/11/08 14:47:35 :: found ip in configuration None
2009/11/08 14:47:35 :: found beforescript in configuration None
2009/11/08 14:47:35 :: found enctype in configuration wpa
2009/11/08 14:47:35 :: found search_domain in configuration None
2009/11/08 14:47:35 :: found essid in configuration Grupo Corp TDP
2009/11/08 14:47:36 :: iwconfig wlan0
2009/11/08 14:47:36 :: ifconfig eth0
2009/11/08 14:47:36 :: ifconfig wlan0
2009/11/08 14:47:38 :: Connecting to wireless network <my network>
2009/11/08 14:47:38 :: /sbin/dhcpcd -k eth0
2009/11/08 14:47:38 :: ifconfig eth0 0.0.0.0 
2009/11/08 14:47:38 :: /sbin/route del dev eth0
2009/11/08 14:47:38 :: ifconfig eth0 down
2009/11/08 14:47:38 :: ifconfig eth0 up
2009/11/08 14:47:38 :: Putting interface down
2009/11/08 14:47:38 :: ifconfig wlan0 down
2009/11/08 14:47:38 :: iwconfig wlan0
2009/11/08 14:47:38 :: Releasing DHCP leases...
2009/11/08 14:47:38 :: /sbin/dhcpcd -k wlan0
2009/11/08 14:47:38 :: Setting false IP...
2009/11/08 14:47:38 :: ifconfig wlan0 0.0.0.0 
2009/11/08 14:47:38 :: Stopping wpa_supplicant
2009/11/08 14:47:38 :: wpa_cli -i wlan0 terminate
2009/11/08 14:47:38 :: Flushing the routing table...
2009/11/08 14:47:38 :: /sbin/route del dev wlan0
2009/11/08 14:47:38 :: iwconfig wlan0 mode managed
2009/11/08 14:47:38 :: Putting interface up...
2009/11/08 14:47:38 :: ifconfig wlan0 up
2009/11/08 14:47:39 :: enctype is wpa
2009/11/08 14:47:39 :: Generating psk...
2009/11/08 14:47:39 :: ['/usr/bin/wpa_passphrase', '<my network>', 'xxxx']
2009/11/08 14:47:39 :: Attempting to authenticate...
2009/11/08 14:47:39 :: ['wpa_supplicant', '-B', '-i', 'wlan0', '-c', '/var/lib/wicd/configurations/001d7ec2f049', '-D', 'wext']
2009/11/08 14:47:39 :: ['iwconfig', 'wlan0', 'essid', '<my network>']
2009/11/08 14:47:39 :: iwconfig wlan0 channel 11
2009/11/08 14:47:39 :: iwconfig wlan0 ap 00:xx:xx:xx:xx:xx
2009/11/08 14:47:39 :: WPA_CLI RESULT IS DISCONNECTED
2009/11/08 14:47:40 :: WPA_CLI RESULT IS SCANNING
2009/11/08 14:47:40 :: iwconfig wlan0
2009/11/08 14:47:41 :: WPA_CLI RESULT IS SCANNING
2009/11/08 14:47:42 :: WPA_CLI RESULT IS SCANNING
2009/11/08 14:47:42 :: iwconfig wlan0
2009/11/08 14:47:43 :: WPA_CLI RESULT IS SCANNING
2009/11/08 14:47:44 :: WPA_CLI RESULT IS SCANNING
2009/11/08 14:47:45 :: iwconfig wlan0
2009/11/08 14:47:45 :: WPA_CLI RESULT IS SCANNING
2009/11/08 14:47:46 :: WPA_CLI RESULT IS ASSOCIATED
2009/11/08 14:47:47 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:47:47 :: iwconfig wlan0
2009/11/08 14:47:48 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:47:49 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:47:49 :: iwconfig wlan0
2009/11/08 14:47:50 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:47:51 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:47:51 :: iwconfig wlan0
2009/11/08 14:47:52 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:47:53 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:47:54 :: iwconfig wlan0
2009/11/08 14:47:54 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:47:55 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:47:55 :: canceling connection attempt
2009/11/08 14:47:55 :: /sbin/dhcpcd -k wlan0
2009/11/08 14:47:55 :: running kill dhcp.
2009/11/08 14:47:55 :: wpa_cli -i wlan0 terminate
2009/11/08 14:47:55 :: Forced disconnect on
2009/11/08 14:47:56 :: iwconfig wlan0
2009/11/08 14:47:56 :: WPA_CLI RESULT IS None
2009/11/08 14:47:56 :: exiting connection thread
2009/11/08 14:47:56 :: Sending connection attempt result aborted
2009/11/08 14:47:56 :: ifconfig eth0
2009/11/08 14:47:56 :: ifconfig wlan0
2009/11/08 14:47:57 :: scanning start
2009/11/08 14:47:57 :: ifconfig wlan0 up
2009/11/08 14:47:57 :: iwlist wlan0 scan
2009/11/08 14:47:57 :: scanning done
2009/11/08 14:47:57 :: found 0 networks:
2009/11/08 14:47:58 :: ifconfig eth0
2009/11/08 14:47:58 :: ifconfig wlan0
2009/11/08 14:47:59 :: scanning start
2009/11/08 14:47:59 :: ifconfig wlan0 up
2009/11/08 14:47:59 :: iwlist wlan0 scan
2009/11/08 14:47:59 :: scanning done
2009/11/08 14:47:59 :: found 0 networks:
2009/11/08 14:47:59 :: iwconfig wlan0
2009/11/08 14:47:59 :: scanning start
2009/11/08 14:47:59 :: ifconfig wlan0 up
2009/11/08 14:47:59 :: iwlist wlan0 scan
2009/11/08 14:47:59 :: scanning done
2009/11/08 14:47:59 :: found 0 networks:
2009/11/08 14:47:59 :: scanning start
2009/11/08 14:47:59 :: ifconfig wlan0 up
2009/11/08 14:47:59 :: iwlist wlan0 scan
2009/11/08 14:47:59 :: scanning done
2009/11/08 14:47:59 :: found 0 networks:
2009/11/08 14:48:00 :: scanning start
2009/11/08 14:48:00 :: ifconfig wlan0 up
2009/11/08 14:48:00 :: iwlist wlan0 scan
2009/11/08 14:48:00 :: scanning done
2009/11/08 14:48:00 :: found 0 networks:
2009/11/08 14:48:00 :: scanning start
2009/11/08 14:48:00 :: ifconfig wlan0 up
2009/11/08 14:48:00 :: iwlist wlan0 scan
2009/11/08 14:48:00 :: scanning done
2009/11/08 14:48:00 :: found 0 networks:
2009/11/08 14:48:00 :: ifconfig eth0
2009/11/08 14:48:00 :: ifconfig wlan0
2009/11/08 14:48:01 :: scanning start
2009/11/08 14:48:01 :: ifconfig wlan0 up
2009/11/08 14:48:01 :: iwlist wlan0 scan
2009/11/08 14:48:01 :: scan already in progress, skipping
2009/11/08 14:48:03 :: scanning done
2009/11/08 14:48:03 :: found 7 networks:
2009/11/08 14:48:03 :: found afterscript in configuration None
2009/11/08 14:48:03 :: found psk in configuration 6116af8085d7b58b1534c023b50c7c12d4fe9ac437082d09c872d16dccce49f3
2009/11/08 14:48:03 :: found postdisconnectscript in configuration None
2009/11/08 14:48:03 :: found dns_domain in configuration None
2009/11/08 14:48:03 :: found netmask in configuration None
2009/11/08 14:48:03 :: found key in configuration xxxx
2009/11/08 14:48:03 :: found predisconnectscript in configuration None
2009/11/08 14:48:03 :: found gateway in configuration None
2009/11/08 14:48:03 :: found use_global_dns in configuration 0
2009/11/08 14:48:03 :: found dns3 in configuration None
2009/11/08 14:48:03 :: found dns2 in configuration None
2009/11/08 14:48:03 :: found dns1 in configuration None
2009/11/08 14:48:03 :: found use_settings_globally in configuration 0
2009/11/08 14:48:03 :: found use_static_dns in configuration 0
2009/11/08 14:48:03 :: found ip in configuration None
2009/11/08 14:48:03 :: found beforescript in configuration None
2009/11/08 14:48:03 :: found enctype in configuration wpa
2009/11/08 14:48:03 :: found automatic in configuration True
2009/11/08 14:48:03 :: found search_domain in configuration None
2009/11/08 14:48:03 :: found essid in configuration <my network>
2009/11/08 14:48:03 :: ifconfig eth0
2009/11/08 14:48:03 :: ifconfig wlan0
2009/11/08 14:48:03 :: iwconfig wlan0
2009/11/08 14:48:04 :: found pref_width in configuration 450
2009/11/08 14:48:04 :: found pref_height in configuration 400
2009/11/08 14:48:04 :: trying to load backend external
2009/11/08 14:48:04 :: trying to load backend ioctl
2009/11/08 14:48:04 :: WARNING: python-iwscan not found, falling back to using iwlist scan.
2009/11/08 14:48:04 :: WARNING: python-wpactrl not found, falling back to using wpa_cli.
2009/11/08 14:48:04 :: found backend in configuration external
2009/11/08 14:48:05 :: ifconfig eth0
2009/11/08 14:48:05 :: ifconfig wlan0
2009/11/08 14:48:07 :: ifconfig eth0
2009/11/08 14:48:07 :: ifconfig wlan0
2009/11/08 14:48:10 :: ifconfig eth0
2009/11/08 14:48:10 :: ifconfig wlan0
2009/11/08 14:48:12 :: ifconfig eth0
2009/11/08 14:48:12 :: ifconfig wlan0
2009/11/08 14:48:14 :: ifconfig eth0
2009/11/08 14:48:14 :: ifconfig wlan0
2009/11/08 14:48:16 :: ifconfig eth0
2009/11/08 14:48:16 :: ifconfig wlan0
2009/11/08 14:48:19 :: ifconfig eth0
2009/11/08 14:48:19 :: ifconfig wlan0
2009/11/08 14:48:21 :: ifconfig eth0
2009/11/08 14:48:21 :: ifconfig wlan0
2009/11/08 14:48:24 :: ifconfig eth0
2009/11/08 14:48:24 :: ifconfig wlan0
2009/11/08 14:48:26 :: ifconfig eth0
2009/11/08 14:48:26 :: ifconfig wlan0
2009/11/08 14:48:28 :: ifconfig eth0
2009/11/08 14:48:28 :: ifconfig wlan0
2009/11/08 14:48:30 :: ifconfig eth0
2009/11/08 14:48:30 :: ifconfig wlan0
2009/11/08 14:48:33 :: ifconfig eth0
2009/11/08 14:48:33 :: ifconfig wlan0
2009/11/08 14:48:35 :: ifconfig eth0
2009/11/08 14:48:35 :: ifconfig wlan0
2009/11/08 14:48:38 :: ifconfig eth0
2009/11/08 14:48:38 :: ifconfig wlan0
2009/11/08 14:48:40 :: ifconfig eth0
2009/11/08 14:48:40 :: ifconfig wlan0
2009/11/08 14:48:42 :: ifconfig eth0
2009/11/08 14:48:42 :: ifconfig wlan0
2009/11/08 14:48:45 :: ifconfig eth0
2009/11/08 14:48:45 :: ifconfig wlan0
2009/11/08 14:48:47 :: ifconfig eth0
2009/11/08 14:48:47 :: ifconfig wlan0
2009/11/08 14:48:50 :: ifconfig eth0
2009/11/08 14:48:50 :: ifconfig wlan0
2009/11/08 14:48:52 :: ifconfig eth0
2009/11/08 14:48:52 :: ifconfig wlan0
2009/11/08 14:48:54 :: ifconfig eth0
2009/11/08 14:48:54 :: ifconfig wlan0
2009/11/08 14:48:56 :: ifconfig eth0
2009/11/08 14:48:56 :: ifconfig wlan0
2009/11/08 14:48:59 :: ifconfig eth0
2009/11/08 14:48:59 :: ifconfig wlan0
2009/11/08 14:49:01 :: ifconfig eth0
2009/11/08 14:49:01 :: ifconfig wlan0
2009/11/08 14:49:04 :: ifconfig eth0
2009/11/08 14:49:04 :: ifconfig wlan0
2009/11/08 14:49:06 :: ifconfig eth0
2009/11/08 14:49:06 :: ifconfig wlan0
2009/11/08 14:49:08 :: ifconfig eth0
2009/11/08 14:49:08 :: ifconfig wlan0
2009/11/08 14:49:10 :: ifconfig eth0
2009/11/08 14:49:10 :: ifconfig wlan0
2009/11/08 14:49:11 :: scanning start
2009/11/08 14:49:11 :: ifconfig wlan0 up
2009/11/08 14:49:11 :: iwlist wlan0 scan
2009/11/08 14:49:13 :: ifconfig eth0
2009/11/08 14:49:13 :: ifconfig wlan0
2009/11/08 14:49:13 :: scanning done
2009/11/08 14:49:13 :: found 6 networks:
2009/11/08 14:49:13 :: found afterscript in configuration None
2009/11/08 14:49:13 :: found psk in configuration 6116af8085d7b58b1534c023b50c7c12d4fe9ac437082d09c872d16dccce49f3
2009/11/08 14:49:13 :: found postdisconnectscript in configuration None
2009/11/08 14:49:13 :: found dns_domain in configuration None
2009/11/08 14:49:13 :: found netmask in configuration None
2009/11/08 14:49:13 :: found key in configuration xxxx
2009/11/08 14:49:13 :: found predisconnectscript in configuration None
2009/11/08 14:49:13 :: found gateway in configuration None
2009/11/08 14:49:13 :: found use_global_dns in configuration 0
2009/11/08 14:49:13 :: found dns3 in configuration None
2009/11/08 14:49:13 :: found dns2 in configuration None
2009/11/08 14:49:13 :: found dns1 in configuration None
2009/11/08 14:49:13 :: found use_settings_globally in configuration 0
2009/11/08 14:49:13 :: found use_static_dns in configuration 0
2009/11/08 14:49:13 :: found ip in configuration None
2009/11/08 14:49:13 :: found beforescript in configuration None
2009/11/08 14:49:13 :: found enctype in configuration wpa
2009/11/08 14:49:13 :: found automatic in configuration True
2009/11/08 14:49:13 :: found search_domain in configuration None
2009/11/08 14:49:13 :: found essid in configuration <my network>
2009/11/08 14:49:13 :: iwconfig wlan0
2009/11/08 14:49:14 :: Connecting to wireless network <my network>
2009/11/08 14:49:14 :: /sbin/dhcpcd -k eth0
2009/11/08 14:49:14 :: ifconfig eth0 0.0.0.0 
2009/11/08 14:49:14 :: /sbin/route del dev eth0
2009/11/08 14:49:14 :: ifconfig eth0 down
2009/11/08 14:49:15 :: ifconfig eth0 up
2009/11/08 14:49:15 :: Putting interface down
2009/11/08 14:49:15 :: ifconfig wlan0 down
2009/11/08 14:49:15 :: Releasing DHCP leases...
2009/11/08 14:49:15 :: /sbin/dhcpcd -k wlan0
2009/11/08 14:49:15 :: Setting false IP...
2009/11/08 14:49:15 :: ifconfig wlan0 0.0.0.0 
2009/11/08 14:49:15 :: Stopping wpa_supplicant
2009/11/08 14:49:15 :: wpa_cli -i wlan0 terminate
2009/11/08 14:49:15 :: Flushing the routing table...
2009/11/08 14:49:15 :: /sbin/route del dev wlan0
2009/11/08 14:49:15 :: iwconfig wlan0 mode managed
2009/11/08 14:49:15 :: Putting interface up...
2009/11/08 14:49:15 :: ifconfig wlan0 up
2009/11/08 14:49:15 :: enctype is wpa
2009/11/08 14:49:15 :: Generating psk...
2009/11/08 14:49:15 :: ['/usr/bin/wpa_passphrase', '<my network>', 'xxxx']
2009/11/08 14:49:15 :: Attempting to authenticate...
2009/11/08 14:49:15 :: ['wpa_supplicant', '-B', '-i', 'wlan0', '-c', '/var/lib/wicd/configurations/001d7ec2f049', '-D', 'wext']
2009/11/08 14:49:15 :: ['iwconfig', 'wlan0', 'essid', '<my network>']
2009/11/08 14:49:15 :: iwconfig wlan0 channel 11
2009/11/08 14:49:15 :: iwconfig wlan0 ap 00:xx:xx:xx:xx:xx
2009/11/08 14:49:15 :: WPA_CLI RESULT IS DISCONNECTED
2009/11/08 14:49:15 :: iwconfig wlan0
2009/11/08 14:49:16 :: WPA_CLI RESULT IS ASSOCIATING
2009/11/08 14:49:17 :: WPA_CLI RESULT IS 4WAY_HANDSHAKE
2009/11/08 14:49:18 :: iwconfig wlan0
2009/11/08 14:49:18 :: WPA_CLI RESULT IS COMPLETED
2009/11/08 14:49:18 :: Running DHCP
2009/11/08 14:49:18 :: /sbin/dhcpcd wlan0
2009/11/08 14:49:18 :: wlan0: dhcpcd 4.0.13 starting
2009/11/08 14:49:18 :: 
2009/11/08 14:49:18 :: wlan0: broadcasting for a lease
2009/11/08 14:49:18 :: 
2009/11/08 14:49:20 :: iwconfig wlan0
2009/11/08 14:49:21 :: wlan0: offered 192.168.30.63 from 192.168.30.52
2009/11/08 14:49:21 :: 
2009/11/08 14:49:21 :: wlan0: acknowledged 192.168.30.63 from 192.168.30.52
2009/11/08 14:49:21 :: 
2009/11/08 14:49:21 :: wlan0: checking 192.168.30.63 is available on attached networks
2009/11/08 14:49:21 :: 
2009/11/08 14:49:22 :: iwconfig wlan0
2009/11/08 14:49:24 :: iwconfig wlan0
2009/11/08 14:49:26 :: iwconfig wlan0
2009/11/08 14:49:26 :: wlan0: leased 192.168.30.63 for 86400 seconds
2009/11/08 14:49:26 :: 
2009/11/08 14:49:26 :: 
2009/11/08 14:49:26 :: DHCP connection successful
2009/11/08 14:49:26 :: Connecting thread exiting.
2009/11/08 14:49:26 :: ifconfig wlan0
2009/11/08 14:49:26 :: IP Address is: 192.168.30.63
2009/11/08 14:49:27 :: Sending connection attempt result Success
2009/11/08 14:49:27 :: ifconfig eth0
2009/11/08 14:49:29 :: ifconfig eth0
2009/11/08 14:49:29 :: ifconfig wlan0
2009/11/08 14:49:29 :: iwconfig wlan0
2009/11/08 14:49:31 :: ifconfig eth0
2009/11/08 14:49:31 :: ifconfig wlan0
2009/11/08 14:49:31 :: iwconfig wlan0
2009/11/08 14:49:33 :: ifconfig eth0
2009/11/08 14:49:33 :: ifconfig wlan0
2009/11/08 14:49:33 :: iwconfig wlan0
2009/11/08 14:49:35 :: ifconfig eth0
2009/11/08 14:49:35 :: ifconfig wlan0
2009/11/08 14:49:35 :: iwconfig wlan0

In the last one I could connect to my network.

dmesg shows some weird things like:

wlan0: authenticate with AP 00:xx:xx:xx:xx:xx
wlan0: authenticated
wlan0: associate with AP 00:xx:xx:xx:xx:xx
wlan0: RX AssocResp from 00:xx:xx:xx:xx:xx (capab=0x411 status=0 aid=1)
wlan0: associated
wlan0: disassociating by local choice (reason=3)
wlan0: authenticate with AP 00:xx:xx:xx:xx:xx
wlan0: authenticated
wlan0: associate with AP 00:xx:xx:x:xx:xx
wlan0: RX AssocResp from 00:xx:xx:xx:xx:xx (capab=0x411 status=0 aid=1)
wlan0: associated
wlan0: deauthenticating by local choice (reason=3)

This message was when I got the error trying to connect.

What is the problem? Can it be the firmware or kernel? Can it be Wicd?  anyting else?

Thanks for reading.

Excuse me for my english but is not my native language.

Last edited by Signum (2009-11-08 11:54:39)