On Friday 29 Jan 2010 18:28:25 David Paleino wrote: > > wicd (1.6.2) was able to auto-connect to my hidden network. But with > > 1.7.0, that is not the case. > > Can you post your /var/log/wicd/wicd.log, after enabling debugging mode (in > wicd-gtk) and stripping private information? >
Hello david, I have attached part of the wicd log where I used to feel there was a problem. 2010/02/25 21:44:59 :: found predisconnectscript in configuration sudo vpnc- disconnect 2010/02/25 21:44:59 :: found gateway in configuration None 2010/02/25 21:44:59 :: found use_global_dns in configuration False I think my problem is somewhere here. I have a pre-disconnection script, a command, `sudo vpnc-disconnect` I think, if the script exits un-clean, wicd behaves differently. I haven't looked much though. Just removing the pre-disconnection command solved the connection problem. Regards, Ritesh -- Ritesh Raj Sarraf RESEARCHUT - http://www.researchut.com "Necessity is the mother of invention."
2010/02/25 21:44:59 :: found predisconnectscript in configuration sudo vpnc-disconnect 2010/02/25 21:44:59 :: found gateway in configuration None 2010/02/25 21:44:59 :: found use_global_dns in configuration False 2010/02/25 21:44:59 :: found dns3 in configuration None 2010/02/25 21:44:59 :: found dns2 in configuration None 2010/02/25 21:44:59 :: found dns1 in configuration None 2010/02/25 21:44:59 :: found use_settings_globally in configuration False 2010/02/25 21:44:59 :: found use_static_dns in configuration False 2010/02/25 21:44:59 :: found ip in configuration None 2010/02/25 21:44:59 :: found beforescript in configuration None 2010/02/25 21:44:59 :: found enctype in configuration wpa 2010/02/25 21:44:59 :: found automatic in configuration True 2010/02/25 21:44:59 :: found search_domain in configuration None 2010/02/25 21:44:59 :: found netprop_width in configuration -1 2010/02/25 21:44:59 :: found netprop_height in configuration -1 2010/02/25 21:44:59 :: found netprop_width in configuration -1 2010/02/25 21:44:59 :: found netprop_height in configuration -1 2010/02/25 21:45:00 :: found netprop_width in configuration -1 2010/02/25 21:45:00 :: found netprop_height in configuration -1 2010/02/25 21:45:00 :: found netprop_width in configuration -1 2010/02/25 21:45:00 :: found netprop_height in configuration -1 2010/02/25 21:45:00 :: found netprop_width in configuration -1 2010/02/25 21:45:00 :: found netprop_height in configuration -1 2010/02/25 21:45:00 :: found netprop_width in configuration -1 2010/02/25 21:45:00 :: found netprop_height in configuration -1 2010/02/25 21:45:00 :: found netprop_width in configuration -1 2010/02/25 21:45:00 :: found netprop_height in configuration -1 2010/02/25 21:45:00 :: found netprop_width in configuration -1 2010/02/25 21:45:00 :: found netprop_height in configuration -1 2010/02/25 21:45:00 :: found netprop_width in configuration -1 2010/02/25 21:45:00 :: found netprop_height in configuration -1 2010/02/25 21:45:00 :: iwconfig wlan0 2010/02/25 21:45:01 :: ifconfig eth0 2010/02/25 21:45:01 :: ifconfig wlan0 2010/02/25 21:45:01 :: Connecting to wireless network rrs 2010/02/25 21:45:01 :: Running pre-disconnect script 2010/02/25 21:45:06 :: ifconfig eth0 2010/02/25 21:45:06 :: ifconfig wlan0 2010/02/25 21:45:11 :: ifconfig eth0 2010/02/25 21:45:11 :: ifconfig wlan0 2010/02/25 21:45:16 :: ifconfig eth0 2010/02/25 21:45:16 :: ifconfig wlan0 2010/02/25 21:45:16 :: scanning start 2010/02/25 21:45:16 :: ifconfig wlan0 up 2010/02/25 21:45:16 :: iwlist wlan0 scan 2010/02/25 21:45:19 :: scanning done 2010/02/25 21:45:19 :: found 10 networks: 2010/02/25 21:45:19 :: found afterscript in configuration sudo vpnc-connect 2010/02/25 21:45:19 :: found postdisconnectscript in configuration None 2010/02/25 21:45:19 :: found dns_domain in configuration None 2010/02/25 21:45:19 :: found netmask in configuration None 2010/02/25 21:45:19 :: found key in configuration xxxxxx 2010/02/25 21:45:19 :: found predisconnectscript in configuration sudo vpnc-disconnect 2010/02/25 21:45:19 :: found gateway in configuration None 2010/02/25 21:45:19 :: found use_global_dns in configuration False 2010/02/25 21:45:19 :: found dns3 in configuration None 2010/02/25 21:45:19 :: found dns2 in configuration None 2010/02/25 21:45:19 :: found search_domain in configuration None 2010/02/25 21:45:19 :: found use_settings_globally in configuration False 2010/02/25 21:45:19 :: found use_static_dns in configuration False 2010/02/25 21:45:19 :: found ip in configuration None 2010/02/25 21:45:19 :: found beforescript in configuration None 2010/02/25 21:45:19 :: found enctype in configuration wpa 2010/02/25 21:45:19 :: found automatic in configuration True 2010/02/25 21:45:19 :: found dns1 in configuration None 2010/02/25 21:45:19 :: found netprop_width in configuration -1 2010/02/25 21:45:19 :: found netprop_height in configuration -1 2010/02/25 21:45:19 :: found netprop_width in configuration -1 2010/02/25 21:45:19 :: found netprop_height in configuration -1 2010/02/25 21:45:19 :: found netprop_width in configuration -1 2010/02/25 21:45:19 :: found netprop_height in configuration -1 2010/02/25 21:45:19 :: found netprop_width in configuration -1 2010/02/25 21:45:19 :: found netprop_height in configuration -1 2010/02/25 21:45:19 :: found netprop_width in configuration -1 2010/02/25 21:45:19 :: found netprop_height in configuration -1 2010/02/25 21:45:19 :: found netprop_width in configuration -1 2010/02/25 21:45:19 :: found netprop_height in configuration -1 2010/02/25 21:45:19 :: found netprop_width in configuration -1 2010/02/25 21:45:19 :: found netprop_height in configuration -1 2010/02/25 21:45:19 :: found netprop_width in configuration -1 2010/02/25 21:45:19 :: found netprop_height in configuration -1 2010/02/25 21:45:19 :: found netprop_width in configuration -1 2010/02/25 21:45:19 :: found netprop_height in configuration -1 2010/02/25 21:45:19 :: found netprop_width in configuration -1 2010/02/25 21:45:19 :: found netprop_height in configuration -1 2010/02/25 21:45:19 :: iwconfig wlan0 2010/02/25 21:45:19 :: ifconfig eth0 2010/02/25 21:45:19 :: ifconfig wlan0 2010/02/25 21:45:21 :: ifconfig eth0 2010/02/25 21:45:21 :: ifconfig wlan0 2010/02/25 21:45:25 :: Forced disconnect on 2010/02/25 21:45:25 :: iwconfig wlan0 2010/02/25 21:45:25 :: Running pre-disconnect script 2010/02/25 21:45:25 :: ifconfig eth0 2010/02/25 21:45:25 :: ifconfig wlan0 2010/02/25 21:45:28 :: found netprop_width in configuration -1 2010/02/25 21:45:28 :: found netprop_height in configuration -1 2010/02/25 21:45:29 :: ifconfig eth0 2010/02/25 21:45:29 :: ifconfig wlan0 2010/02/25 21:45:35 :: ifconfig eth0 2010/02/25 21:45:35 :: ifconfig wlan0 2010/02/25 21:45:40 :: ifconfig eth0 2010/02/25 21:45:40 :: ifconfig wlan0 2010/02/25 21:45:40 :: found afterscript in configuration sudo vpnc-connect 2010/02/25 21:45:40 :: found postdisconnectscript in configuration None 2010/02/25 21:45:40 :: found predisconnectscript in configuration None 2010/02/25 21:45:40 :: found beforescript in configuration None 2010/02/25 21:45:42 :: ifconfig eth0 2010/02/25 21:45:42 :: ifconfig wlan0 2010/02/25 21:45:44 :: ifconfig eth0 2010/02/25 21:45:44 :: ifconfig wlan0 2010/02/25 21:45:48 :: ifconfig eth0 2010/02/25 21:45:48 :: ifconfig wlan0 2010/02/25 21:45:50 :: ifconfig eth0 2010/02/25 21:45:50 :: ifconfig wlan0 2010/02/25 21:45:51 :: Connecting to wireless network rrs 2010/02/25 21:45:51 :: iwconfig wlan0 2010/02/25 21:45:51 :: attempting to set hostname with dhclient 2010/02/25 21:45:51 :: using dhcpcd or another supported client may work better 2010/02/25 21:45:51 :: /sbin/dhclient -r wlan0 2010/02/25 21:45:51 :: ifconfig wlan0 0.0.0.0 2010/02/25 21:45:51 :: /sbin/ip route flush dev wlan0 2010/02/25 21:45:51 :: ifconfig wlan0 down 2010/02/25 21:45:51 :: ifconfig wlan0 up 2010/02/25 21:45:51 :: wpa_cli -i wlan0 terminate 2010/02/25 21:45:51 :: attempting to set hostname with dhclient 2010/02/25 21:45:51 :: using dhcpcd or another supported client may work better 2010/02/25 21:45:51 :: /sbin/dhclient -r eth0 2010/02/25 21:45:52 :: ifconfig eth0 0.0.0.0 2010/02/25 21:45:52 :: /sbin/ip route flush dev eth0 2010/02/25 21:45:52 :: ifconfig eth0 down 2010/02/25 21:45:52 :: ifconfig eth0 up 2010/02/25 21:45:52 :: Putting interface down 2010/02/25 21:45:52 :: ifconfig wlan0 down 2010/02/25 21:45:52 :: Releasing DHCP leases... 2010/02/25 21:45:52 :: attempting to set hostname with dhclient 2010/02/25 21:45:52 :: using dhcpcd or another supported client may work better 2010/02/25 21:45:52 :: /sbin/dhclient -r wlan0 2010/02/25 21:45:52 :: Setting false IP... 2010/02/25 21:45:52 :: ifconfig wlan0 0.0.0.0 2010/02/25 21:45:52 :: Stopping wpa_supplicant 2010/02/25 21:45:52 :: wpa_cli -i wlan0 terminate 2010/02/25 21:45:52 :: Flushing the routing table... 2010/02/25 21:45:52 :: /sbin/ip route flush dev wlan0 2010/02/25 21:45:52 :: iwconfig wlan0 mode managed 2010/02/25 21:45:52 :: Putting interface up... 2010/02/25 21:45:52 :: ifconfig wlan0 up 2010/02/25 21:45:53 :: iwconfig wlan0 2010/02/25 21:45:54 :: enctype is wpa 2010/02/25 21:45:54 :: Generating psk... 2010/02/25 21:45:54 :: ['/usr/bin/wpa_passphrase', 'rrs', 'xxxxx'] 2010/02/25 21:45:54 :: Attempting to authenticate... 2010/02/25 21:45:54 :: ['wpa_supplicant', '-B', '-i', 'wlan0', '-c', '/var/lib/wicd/configurations/0016b6a5e71c', '-D', 'wext'] 2010/02/25 21:45:54 :: ['iwconfig', 'wlan0', 'essid', 'rrs'] 2010/02/25 21:45:55 :: iwconfig wlan0 channel 6 2010/02/25 21:45:55 :: iwconfig wlan0 ap 00:16:B6:A5:E7:1C 2010/02/25 21:45:55 :: WPA_CLI RESULT IS DISCONNECTED 2010/02/25 21:45:56 :: WPA_CLI RESULT IS COMPLETED 2010/02/25 21:45:56 :: Running DHCP with hostname champaran 2010/02/25 21:45:56 :: attempting to set hostname with dhclient 2010/02/25 21:45:56 :: using dhcpcd or another supported client may work better 2010/02/25 21:45:56 :: /sbin/dhclient -cf /var/lib/wicd/dhclient.conf wlan0 2010/02/25 21:45:56 :: Internet Systems Consortium DHCP Client V3.1.3 2010/02/25 21:45:56 :: Copyright 2004-2009 Internet Systems Consortium. 2010/02/25 21:45:56 :: All rights reserved. 2010/02/25 21:45:56 :: For info, please visit https://www.isc.org/software/dhcp/ 2010/02/25 21:45:56 :: 2010/02/25 21:45:56 :: Listening on LPF/wlan0/00:26:c6:72:07:9a 2010/02/25 21:45:56 :: Sending on LPF/wlan0/00:26:c6:72:07:9a 2010/02/25 21:45:56 :: Sending on Socket/fallback 2010/02/25 21:45:56 :: iwconfig wlan0 2010/02/25 21:45:57 :: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3 2010/02/25 21:45:58 :: DHCPOFFER from 192.168.2.1 2010/02/25 21:45:58 :: DHCPREQUEST on wlan0 to 255.255.255.255 port 67 2010/02/25 21:45:58 :: DHCPACK from 192.168.2.1 2010/02/25 21:45:58 :: iwconfig wlan0 2010/02/25 21:45:59 :: bound to 192.168.2.102 -- renewal in 34400 seconds. 2010/02/25 21:45:59 :: DHCP connection successful 2010/02/25 21:45:59 :: not verifying 2010/02/25 21:45:59 :: Executing post-connection script 2010/02/25 21:45:59 :: Expanded 'sudo vpnc-connect' to 'sudo vpnc-connect' 2010/02/25 21:45:59 :: Executing 'sudo vpnc-connect' with params 2010/02/25 21:45:59 :: 'sudo vpnc-connect' returned 127 2010/02/25 21:45:59 :: Connecting thread exiting. 2010/02/25 21:45:59 :: ifconfig wlan0 2010/02/25 21:45:59 :: IP Address is: 192.168.2.102 2010/02/25 21:45:59 :: Sending connection attempt result Success 2010/02/25 21:45:59 :: ifconfig eth0 2010/02/25 21:46:00 :: iwconfig wlan0 2010/02/25 21:46:01 :: ifconfig eth0 2010/02/25 21:46:01 :: ifconfig wlan0 2010/02/25 21:46:03 :: iwconfig wlan0 2010/02/25 21:46:04 :: ifconfig eth0 2010/02/25 21:46:04 :: ifconfig wlan0 2010/02/25 21:46:05 :: iwconfig wlan0 2010/02/25 21:46:06 :: ifconfig eth0 2010/02/25 21:46:07 :: ifconfig wlan0 2010/02/25 21:46:07 :: iwconfig wlan0 2010/02/25 21:46:09 :: ifconfig eth0 2010/02/25 21:46:09 :: ifconfig wlan0 2010/02/25 21:46:10 :: iwconfig wlan0 2010/02/25 21:46:12 :: ifconfig eth0 2010/02/25 21:46:12 :: ifconfig wlan0 2010/02/25 21:46:13 :: iwconfig wlan0 2010/02/25 21:46:14 :: ifconfig eth0 2010/02/25 21:46:15 :: ifconfig wlan0
signature.asc
Description: This is a digitally signed message part.