Hello Russ, On Sun, 30 May 2010 16:09:15 -0700, Russ Allbery wrote:
> David Paleino <da...@debian.org> writes: > > > What happens if you manually run these commands, in this exact order? > > > wpa_supplicant -B -i wlan0 -c /var/lib/wicd/configurations/001310d30b2a -D > > wext iwconfig wlan0 essid -- Eyrie > > iwconfig wlan0 channel 3 > > iwconfig wlan0 ap 00:13:10:D3:0B:2A > > /sbin/dhclient -cf /var/lib/wicd/dhclient.conf wlan0 > > This fails the same way wicd does: > [..] Ok. > For some reason, the way that wicd is calling dhclient is not working, > whereas the way that ifup is calling it is working fine. Strange. Definitely strange. > > Can you run "ifup --verbose wlan0", and attach it here? (I hope that > > gives us enough information). > > Here you go: > > Configuring interface wlan0=wlan0 (inet) > run-parts --verbose /etc/network/if-pre-up.d > run-parts: executing /etc/network/if-pre-up.d/wireless-tools > run-parts: executing /etc/network/if-pre-up.d/wpasupplicant > > dhclient3 -pf /var/run/dhclient.wlan0.pid > -lf /var/lib/dhcp3/dhclient.wlan0.leases wlan0 The only notable difference here is that wicd is passing a -cf, while ifup passes a -lf. Can you check the contents of /var/lib/dhcp3/dhclient.leases, /var/lib/wicd/dhclient.conf and /etc/dhcp3/dhclient.conf? Analyzing the output of run-parts at pre-up, I see that /etc/network/if-pre-up.d/wireless-tools executes more-or-less the same set of "iwconfig" commands wicd does. "More-or-less" because it sets things based on environment variables, and the output of "set | grep ^IF" would be nice to have ;) (*hint*) The call to wpasupplicant is rather convoluted, I'll investigate that further ASAP. Thanks, David -- . ''`. Debian developer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 ----|---- http://deb.li/dapal `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
signature.asc
Description: PGP signature