Bug#565483: Bug#567472: wicd: does not connect to my hidden (and unencrypted) wifi network
There seems to be problem with scripts that are executed from within wicd. This is what I am getting: 2010/02/26 21:29:16 :: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5 2010/02/26 21:29:17 :: DHCPOFFER from 192.168.2.1 2010/02/26 21:29:17 :: DHCPREQUEST on wlan0 to 255.255.255.255 port 67 2010/02/26 21:29:17 :: DHCPACK from 192.168.2.1 2010/02/26 21:29:18 :: bound to 192.168.2.102 -- renewal in 37222 seconds. 2010/02/26 21:29:18 :: DHCP connection successful 2010/02/26 21:29:18 :: not verifying 2010/02/26 21:29:18 :: Executing post-connection script 2010/02/26 21:29:18 :: Expanded '/usr/bin/sudo /usr/sbin/vpnc-connect' to '/usr/bin/sudo /usr/sbin/vpnc-connect' 2010/02/26 21:29:18 :: Executing '/usr/bin/sudo /usr/sbin/vpnc-connect' with params 2010/02/26 21:29:18 :: '/usr/bin/sudo /usr/sbin/vpnc-connect' returned 127 2010/02/26 21:29:18 :: Connecting thread exiting. 2010/02/26 21:29:18 :: ifconfig wlan0 2010/02/26 21:29:18 :: IP Address is: 192.168.2.102 2010/02/26 21:29:18 :: Sending connection attempt result Success 2010/02/26 21:29:18 :: ifconfig eth0 2010/02/26 21:29:18 :: iwconfig wlan0 As you can see, the error code returned is 127 which as per exit's manpage is: 127 A utility to be executed was not found. I though the the PATH variable was not defined so I gave the full path to the binary but that does not seem to be helping. 21:33:14 r...@champaran:/tmp/DebSources/vpnc-0.5.3 $ which vpnc-connect /usr/sbin/vpnc-connect 21:33:17 r...@champaran:/tmp/DebSources/vpnc-0.5.3 $ which sudo /usr/bin/sudo And this is what sudoers has: rrs ALL=NOPASSWD: /usr/sbin/vpnc-connect, /usr/sbin/vpnc-disconnect, /usr/bin/cowbuilder, /usr/bin/dpkg-buildpackage With the new wicd, have you had success in executing scripts (like vpnc) ? Regards, Ritesh On Thursday 25 Feb 2010 21:58:29 Ritesh Raj Sarraf wrote: 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. signature.asc Description: This is a digitally signed message part.
Bug#565483: Bug#567472: wicd: does not connect to my hidden (and unencrypted) wifi network
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 xx 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
Bug#565483: Bug#567472: wicd: does not connect to my hidden (and unencrypted) wifi network
Hi david, On Friday 29 Jan 2010 15:55:54 David Paleino wrote: The recent upgrade to 1.7.0 has broken hidden wifi support completely. I specify the hidden essid but wicd never connect to the network. This has already been followed-up to #565483. Please reply there, no need to open a separate bugreport. My problem might be slightly different. With wicd 1.6.2, I was very well able to connect to my hidden network (with the exception of this bug http://bugzilla.kernel.org/show_bug.cgi?id=14206 but that is a separate issue). wicd (1.6.2) was able to auto-connect to my hidden network. But with 1.7.0, that is not the case. BTW, Do you have the 1.6.2 debs available to share ? I checked on snapshot but couldn't find them there. Regards, Ritesh -- Ritesh Raj Sarraf RESEARCHUT - http://www.researchut.com Necessity is the mother of invention. signature.asc Description: This is a digitally signed message part.
Bug#565483: Bug#567472: wicd: does not connect to my hidden (and unencrypted) wifi network
Hello, no need to CC me, thanks :) On Friday 29 January 2010 13:44:50, Ritesh Raj Sarraf wrote: My problem might be slightly different. With wicd 1.6.2, I was very well able to connect to my hidden network (with the exception of this bug http://bugzilla.kernel.org/show_bug.cgi?id=14206 but that is a separate issue). 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? BTW, Do you have the 1.6.2 debs available to share ? I checked on snapshot but couldn't find them there. http://people.debian.org/~dapal/debs/wicd_1.6.2.2-4_all.deb However, I hope to fix this bug ASAP -- 1.6 is unsupported, and I'm not willing to keep it around :) Kindly, David -- . ''`. Debian developer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 | `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174 signature.asc Description: This is a digitally signed message part.