On Sun, 30 May 2010 23:17:28 -0700, Russ Allbery wrote:

> David Paleino <[email protected]> writes:
> > On Sun, 30 May 2010 16:09:15 -0700, Russ Allbery wrote:
> 
> >> 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?
> 
> I think you mean /var/lib/dhcp3/dhclient.wlan0.leases.  Attached.
> /var/lib/wicd/dhclient.conf and /etc/dhcp3/dhclient.conf are byte-for-byte
> identical; I attached a copy of that file as well.
> 
> Maybe there's something weird going on with requiring the previous lease
> file to get a new lease?  That makes no sense to me, but then none of this
> really makes much sense to me.

Ok, well.

Let's try something.

> 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 

What happens if you add -lf /var/lib/dhcp3/dhclient.wlan0.leases to the last
command? Does it get a lease?
OTOH, if you move dhclient.wlan0.leases out of the way, or empty it, does "ifup
wlan0" still work?

Cluelessly,
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

Attachment: signature.asc
Description: PGP signature

Reply via email to