From owner-freebsd-current@FreeBSD.ORG Fri Nov 13 12:21:00 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 818901065676 for ; Fri, 13 Nov 2009 12:21:00 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id 0CD1A8FC15 for ; Fri, 13 Nov 2009 12:20:59 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id e12so164986fga.13 for ; Fri, 13 Nov 2009 04:20:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=d3qbhNw38vplanzeXpt2STtY9D0+0QUHBH6DwN0LfN0=; b=sPmnCUAcs2H3F6BR9BtEhY+EOJJyd6RVoKKIWuD5MWMOnpBAB11CdR6fsmDpz/jOuU hBxhc0uDru9dewAjjTgpxdOppqAL/Gqz9zlMowvGkDeKTvqSzdzFcWPWNFRWQpcP5KQ6 cNsf215QzPwL/SItq8yEE3oqUzTGs3Qe48WNg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=UlLCBsn8AihyfFmjofpi/ZACcPbSXqeG9864cqdUMXqGVHI7Bi4g+ZjDPLyIzKVDvy C+R4pQ3UMGxuDY97CZb/KtnZ006Ek3fVSd/rEJ4M34Q6CztmlP7QpuEuGYrncD5pCCbq t5DmaYovxYBCv8hTqanmveeJwv3g6sMGG2E9s= Received: by 10.86.203.30 with SMTP id a30mr1128784fgg.32.1258114858911; Fri, 13 Nov 2009 04:20:58 -0800 (PST) Received: from mac-mini.lan (bl11-192-25.dsl.telepac.pt [85.244.192.25]) by mx.google.com with ESMTPS id e11sm193431fga.17.2009.11.13.04.20.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 13 Nov 2009 04:20:58 -0800 (PST) Sender: Rui Paulo Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Rui Paulo In-Reply-To: <20091111154359.GB1351@albert.catwhisker.org> Date: Fri, 13 Nov 2009 12:20:56 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <9A74A20E-67E9-4C32-BFDA-B0F6518BFD02@freebsd.org> References: <20090923140936.GF1320@albert.catwhisker.org> <3a142e750909231508j1a5092f8nfae264f367ba410@mail.gmail.com> <20090925162403.GM1320@albert.catwhisker.org> <20091111154359.GB1351@albert.catwhisker.org> To: David Wolfskill X-Mailer: Apple Mail (2.1077) Cc: current@freebsd.org 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: Fri, 13 Nov 2009 12:21:00 -0000 On 11 Nov 2009, at 15:43, 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. >>=20 >> 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.) >>=20 >> Under stable/6 and stable/7, each works fine with iwi(4). >>=20 >> Under head (presently at r197479), the Linksys WAP-11 works = (associates >> & dhclient(8) negotiates a DHCP lease using iwi(4)/wlan(4)). >>=20 >> Under head, the Apple Airport associates, but dhclient(8) cannot see = a >> DHCP offer via iwi(4)/wlan(4).=20 >> ... >=20 > This morning, after upgrading head to r199179, I now cannot get a DHCP > lease using teh Linksys WAP-11. >=20 > Prior to the upgrade, I was last running head r199134, which was able = to > get a DHCP lease from teh Linksys WAP-11. >=20 > uname strings: >=20 > 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 >=20 > 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 >=20 > [The latter has no current hostname, since dhclient-exit-hooks > didn't get an IP address.] >=20 > I verified that the iwi0/wlan0 NIC did associate first. I recall > the UPDATING entry from a couple of days ago: >=20 > 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. >=20 > 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.) Well, wpa_supplicant should've been rebuilt even with NOCLEAN (I used = NOCLEAN, IIRC). Anyway, you wouldn't be able to associate if = wpa_supplicant wasn't updated. BTW, wpa_supplicant uses scan results too. P.S.: if wpa_supplicant is old, it will display empty SSIDs if you run = it with the debugging mode enabled. -- Rui Paulo