From owner-freebsd-mobile@FreeBSD.ORG Fri Dec 2 16:48:46 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFD7516A422 for ; Fri, 2 Dec 2005 16:48:46 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id A687943D7B for ; Fri, 2 Dec 2005 16:48:45 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id jB2GmisF024992; Fri, 2 Dec 2005 08:48:44 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id jB2GmigR024991; Fri, 2 Dec 2005 08:48:44 -0800 Date: Fri, 2 Dec 2005 08:48:44 -0800 From: Brooks Davis To: Jesse Sheidlower Message-ID: <20051202164844.GB22464@odin.ac.hmc.edu> References: <20051202124933.GA23213@panix.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MW5yreqqjyrRcusr" Content-Disposition: inline In-Reply-To: <20051202124933.GA23213@panix.com> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: freebsd-mobile@freebsd.org Subject: Re: Repost: DHCP failing with WiFi after 6.0 upgrade X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2005 16:48:46 -0000 --MW5yreqqjyrRcusr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 02, 2005 at 07:49:33AM -0500, Jesse Sheidlower wrote: > I sent this yesterday to -questions, but in retrospect perhaps this > really is the right place; sorry for the duplication.=20 >=20 > I recently took my IBM ThinkPad X23, which had been running 4.11, and > did a fresh install (backup files, wipe disk, install from scratch) > to 6.0. Most things have gone smoothly, though there are still a few > things to iron out. >=20 > My biggest problem is that I can't seem to get DHCP to work with my > wireless card. I have an Orinoco Gold 802.11b card that's always worked > fine; I'm about to replace it with something else for 802.11g with a > new WAP. >=20 > There seem to be minor differences in how the card goes in; under 4.11 > I would get various beeps when I plugged it in and after it associated, > but now it's silent. And I had to remember to load WEP in my kernel. > But I can seem to get things started by issuing the command >=20 > ifconfig wi0 ssid jesterWAP wepmode on wepkey 0x[DELETED] >=20 > which does seem to successfully reach my WAP: >=20 > # ifconfig wi0 > wi0: flags=3D8843 mtu 1500 > inet6 fe80::202:[DELETED] prefixlen 64 scopeid 0x3 > ether 00:02:[DELETED] > media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps) > status: associated > ssid jesterWAP channel 6 bssid 00:[DELETED] > stationname "FreeBSD WaveLAN/IEEE node" > authmode OPEN privacy MIXED deftxkey UNDEF wepkey 1:104-bit txpow= max 100 bintval 100 >=20 > I can't seem to get a DHCP lease, however: >=20 > # dhclient wi0 > DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 5 > DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 13 > DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 7 > DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 8 > DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 13 > DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 15 > No DHCPOFFERS received. > No working leases in persistent database - sleeping. >=20 > (Under 4.11, I didn't get any verbose output from dhcpclient.) >=20 > I can get a DHCP lease with fxp0, my Ethernet card; also, Macs > in the house have no problem getting leases through the > WAP. (The DHCP server is in a separate router, not in the > WAP.) >=20 > Is there something that's changed under 6.0, or is there just > something I'm forgetting to do? Am I actually connected, or > does it just look that way? I do plan to get a new card, but I > want to get this working too. dhclient in 6.0 is a new implementation from OpenBSD. For what ever reason, it works poorly with some wi(4) hardware/firmware combinations. Some users have reported success with problem devices after upgrading the card firmware. I'd personally suggest upgrading to an ath(4) card. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --MW5yreqqjyrRcusr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFDkHrqXY6L6fI4GtQRArpeAJ4i2r+9adazMhnmdhsXHdIP8iS+SACfaGfC B501e+LpYnpw36cy9oZjh8Q= =xvt8 -----END PGP SIGNATURE----- --MW5yreqqjyrRcusr--