On Friday 26 Feb 2010 23:00:21 David Paleino wrote: > Yes. And $PATH isn't involved here :) > I'm curious to know how this worked in 1.6.2.*, since that particular piece > of code didn't change -- or maybe I just remember wrong. >
Hmm!! It did work with 1.6.x. That is why I asked to keep a copy of that deb.
> You should be able to fix this problem by putting a full path to a script
> -- those fields are not meant to contain any "command", just something
> like /home/ritesh/my-wicd-preconnect.sh (it could also be something
> different from Bash, if you wish -- it's run by python's
> subprocess.Popen()).
>
> If this fixes the problem for you, I'll proceed in fixing the manpage about
> it.
This does not seem to be fixing the problem.
2010/03/01 15:37:01 :: ifconfig wlan0 up
2010/03/01 15:37:02 :: iwconfig wlan0
2010/03/01 15:37:03 :: enctype is None
2010/03/01 15:37:03 :: ['iwconfig', 'wlan0', 'essid', 'netapp']
2010/03/01 15:37:03 :: iwconfig wlan0 channel 6
2010/03/01 15:37:03 :: iwconfig wlan0 ap 00:17:94:3B:78:60
2010/03/01 15:37:04 :: Running DHCP with hostname champaran
2010/03/01 15:37:04 :: attempting to set hostname with dhclient
2010/03/01 15:37:04 :: using dhcpcd or another supported client may work
better
2010/03/01 15:37:04 :: /sbin/dhclient -cf /var/lib/wicd/dhclient.conf wlan0
2010/03/01 15:37:04 :: Internet Systems Consortium DHCP Client V3.1.3
2010/03/01 15:37:04 :: Copyright 2004-2009 Internet Systems Consortium.
2010/03/01 15:37:04 :: All rights reserved.
2010/03/01 15:37:04 :: For info, please visit
https://www.isc.org/software/dhcp/
2010/03/01 15:37:04 ::
2010/03/01 15:37:04 :: Listening on LPF/wlan0/00:26:c6:72:07:9a
2010/03/01 15:37:04 :: Sending on LPF/wlan0/00:26:c6:72:07:9a
2010/03/01 15:37:04 :: Sending on Socket/fallback
2010/03/01 15:37:04 :: iwconfig wlan0
2010/03/01 15:37:06 :: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67
interval 6
2010/03/01 15:37:06 :: DHCPOFFER from 10.73.112.4
2010/03/01 15:37:06 :: DHCPREQUEST on wlan0 to 255.255.255.255 port 67
2010/03/01 15:37:06 :: DHCPACK from 10.73.112.4
2010/03/01 15:37:06 :: iwconfig wlan0
2010/03/01 15:37:07 :: bound to 10.73.114.253 -- renewal in 33787 seconds.
2010/03/01 15:37:07 :: DHCP connection successful
2010/03/01 15:37:07 :: not verifying
2010/03/01 15:37:07 :: Executing post-connection script
2010/03/01 15:37:07 :: Expanded '/home/rrs/bin/vpnc-wicd.sh post-connect' to
'/home/rrs/bin/vpnc-wicd.sh post-connect'
2010/03/01 15:37:07 :: Executing '/home/rrs/bin/vpnc-wicd.sh post-connect'
with params
2010/03/01 15:37:07 :: '/home/rrs/bin/vpnc-wicd.sh post-connect' returned 127
2010/03/01 15:37:07 :: Connecting thread exiting.
2010/03/01 15:37:07 :: ifconfig wlan0
2010/03/01 15:37:07 :: IP Address is: 10.73.114.253
2010/03/01 15:37:07 :: Sending connection attempt result Success
2010/03/01 15:37:07 :: ifconfig eth0
2010/03/01 15:37:08 :: iwconfig wlan0
2010/03/01 15:37:09 :: ifconfig eth0
2010/03/01 15:37:09 :: ifconfig wlan0
It gave me the very same error code.
I also discovered some more problems. I populated the an ESSID with pre/post
script details. Later, I removed the Pre-XX setting. But on re-looking at the
window I could see the same value back. The setting wasn't being removed at
all. I had to go and edit the setting in the /etc/wicd/wireless-settings.conf
file ultimately.
Haven't tried it again as wicd is a "critical" package for me that provides me
the network service. Just want to get my network working. :-(
Perhaps we should have a more conservative policy for such core packages.
Rgds,
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.

