From owner-freebsd-current@FreeBSD.ORG Wed Sep 23 14:09:37 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 BD1A51065670 for ; Wed, 23 Sep 2009 14:09:37 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.freebsd.org (Postfix) with ESMTP id 70D2D8FC1E for ; Wed, 23 Sep 2009 14:09:37 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.3/8.14.3) with ESMTP id n8NE9aOQ016249 for ; Wed, 23 Sep 2009 07:09:36 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.3/8.14.3/Submit) id n8NE9aUZ016248 for current@freebsd.org; Wed, 23 Sep 2009 07:09:36 -0700 (PDT) (envelope-from david) Date: Wed, 23 Sep 2009 07:09:36 -0700 From: David Wolfskill To: current@freebsd.org Message-ID: <20090923140936.GF1320@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , current@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UBnjLfzoMQYIXCvq" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: No DHCP lease with iwi(4)/wlan(5); 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, 23 Sep 2009 14:09:37 -0000 --UBnjLfzoMQYIXCvq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I normally use wireless NICs on my laptop, especially at home, I swapped the miniPCI wi(4) for an iwi(4) a few weeks ago, and had it working in stable/6, stable/7, and head until a few days ago, when it seemed that the NIC was associating OK, but dhclient(8) reports: dhclient: Exiting /etc/dhclient-exit-hooks (PREINIT) with exit_status 0 DHCPREQUEST on wlan0 to 255.255.255.255 port 67 DHCPREQUEST on wlan0 to 255.255.255.255 port 67 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 16 ^C This morning, I had the time to try plugging in a wireless PCcard (an0) NIC; after doing that, I see: dhclient: Exiting /etc/dhclient-exit-hooks (PREINIT) with exit_status 0 DHCPDISCOVER on an0 to 255.255.255.255 port 67 interval 3 DHCPDISCOVER on an0 to 255.255.255.255 port 67 interval 7 DHCPOFFER from 172.17.0.1 DHCPREQUEST on an0 to 255.255.255.255 port 67 DHCPACK from 172.17.0.1 bound to 172.17.1.37 -- renewal in 302400 seconds. which is a bit closer to the desired effect. I realize that an(4) doesn't use wlan(4), so this could indicate a problem with either iwi(4) or wlan(4) -- but it seems to show that dhclient(8) itself is working, as is the basic infrastructure (my DHCP server; the access point; the ipfw(4) rules I have in place before & after DHCP activity). As I type, I'm running: FreeBSD g1-37.catwhisker.org 9.0-CURRENT FreeBSD 9.0-CURRENT #1123 r197399:= Tue Sep 22 06:16:11 PDT 2009 root@:/common/S4/obj/usr/src/sys/CANARY = i386 and am in the process of building head at r197427. Is there something I might do to help diagnose what's wrong here? Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --UBnjLfzoMQYIXCvq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAkq6LCAACgkQmprOCmdXAD0+hgCfa44dyct5JAHF/4+ur2uQMRxb QnEAnRhB7UBAJ7Sos2F6YiM8L1lWObxa =HChN -----END PGP SIGNATURE----- --UBnjLfzoMQYIXCvq--