From owner-freebsd-current@FreeBSD.ORG Wed Nov 11 17:31:54 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99002106566B for ; Wed, 11 Nov 2009 17:31:54 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id 2D0898FC1B for ; Wed, 11 Nov 2009 17:31:53 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 25so322554eya.3 for ; Wed, 11 Nov 2009 09:31:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=cN9vZ/YZ8BFu9Zw9ZKVatZbjdLjqADzVWZr5ALCTq1k=; b=sE5bX92xxZiXeq//0dTVoBM6fi+JYU1YXLa7bH7qpPw/8W4iVkPMz63m/qSi3MptZ3 TNYPByxe1lavRROlI77VFgzA9bXyg5MxJJS48dPkDGt35v0kinyNfqWV2uli+paPEIBx YqgmQv6V9qYMeBo2dXOkFzRew1h8R17BIAQTM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=WI6wuvGV/qiOjD5pfxzPhOZEZkkAZaivy9NiRS/5iPFVo17Y/AjBlqYOmj+QdBTd3r 9085MaK1s4g/xa4NiO1Odeku46pdMoejFy02eXBk0Icraq5JfDLetV8GC84rFe+rT6cN qpN8pUFx9mmIlaBZHZtFBLbWwarKIHvG6hP9w= MIME-Version: 1.0 Received: by 10.213.23.156 with SMTP id r28mr3618755ebb.86.1257960712844; Wed, 11 Nov 2009 09:31:52 -0800 (PST) In-Reply-To: <20091111154359.GB1351@albert.catwhisker.org> References: <20090923140936.GF1320@albert.catwhisker.org> <3a142e750909231508j1a5092f8nfae264f367ba410@mail.gmail.com> <20090925162403.GM1320@albert.catwhisker.org> <20091111154359.GB1351@albert.catwhisker.org> Date: Wed, 11 Nov 2009 18:31:52 +0100 Message-ID: <3a142e750911110931x153a46ebhe8de0c1f6f96df2b@mail.gmail.com> From: Paul B Mahol To: David Wolfskill , current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: No DHCP lease with iwi(4)/wlan(4); works with an(4) at r197399 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Nov 2009 17:31:54 -0000 On 11/11/09, David Wolfskill wrote: > On Fri, Sep 25, 2009 at 09:24:03AM -0700, David Wolfskill wrote: >> ... >> But I did find one rather curious thing: I was able to get the >> iwi(4) to work OK (while running head) with one of my access points; >> it's the other that seems to have an issue with iwi(4) under head. >> >> I have 2 different access points at home: >> * An original Apple Airport >> * A Linksys WAP-11. >> (Each is, within the bounds of their rather different natures, >> configured the same except for channel: One is on channel 1; the other >> is on channel 6. Neither is a DHCP server: each merely passes the DHCP >> traffic.) >> >> Under stable/6 and stable/7, each works fine with iwi(4). >> >> Under head (presently at r197479), the Linksys WAP-11 works (associates >> & dhclient(8) negotiates a DHCP lease using iwi(4)/wlan(4)). >> >> Under head, the Apple Airport associates, but dhclient(8) cannot see a >> DHCP offer via iwi(4)/wlan(4). >>... > > This morning, after upgrading head to r199179, I now cannot get a DHCP > lease using teh Linksys WAP-11. > > Prior to the upgrade, I was last running head r199134, which was able to > get a DHCP lease from teh Linksys WAP-11. > > uname strings: > > FreeBSD g1-106.catwhisker.org 9.0-CURRENT FreeBSD 9.0-CURRENT #1172 r199134: > Tue Nov 10 10:47:11 PST 2009 > root@d254.dwolf.juniper.net.:/common/S4/obj/usr/src/sys/CANARY i386 > > FreeBSD 9.0-CURRENT FreeBSD 9.0-CURRENT #1173 r199179: Wed Nov 11 06:50:22 > PST 2009 root@g1-106.catwhisker.org:/common/S4/obj/usr/src/sys/CANARY > i386 > > [The latter has no current hostname, since dhclient-exit-hooks > didn't get an IP address.] > > I verified that the iwi0/wlan0 NIC did associate first. I recall > the UPDATING entry from a couple of days ago: > > 20091109: > The layout of the structure ieee80211req_scan_result has changed. > Applications that require wireless scan results (e.g. ifconfig(8)) > from net80211 need to be recompiled. > > and admit that I did the upgrade with -DNOCLEAN. But it worked OK > for the upgrade yesterday -- and I don't expect that I actually use > scan results in any case. (Recall that association still works.) How scan results look now? Try sysctl debug options for your driver (debug.iwi).