From owner-freebsd-current@FreeBSD.ORG Thu Jul 14 18:58:56 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6579E16A41C; Thu, 14 Jul 2005 18:58:56 +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 23C3943D4C; Thu, 14 Jul 2005 18:58:55 +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 j6EIwphn030572; Thu, 14 Jul 2005 11:58:51 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j6EIwpRQ030571; Thu, 14 Jul 2005 11:58:51 -0700 Date: Thu, 14 Jul 2005 11:58:51 -0700 From: Brooks Davis To: Robert Watson Message-ID: <20050714185851.GE19351@odin.ac.hmc.edu> References: <20050714182136.071B35D07@ptavv.es.net> <20050714192403.H35071@fledge.watson.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="o0ZfoUVt4BxPQnbU" Content-Disposition: inline In-Reply-To: <20050714192403.H35071@fledge.watson.org> 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-current@freebsd.org Subject: Re: Problems with OpenBSD dhclient 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: Thu, 14 Jul 2005 18:58:56 -0000 --o0ZfoUVt4BxPQnbU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 14, 2005 at 07:27:10PM +0100, Robert Watson wrote: >=20 > On Thu, 14 Jul 2005, Kevin Oberman wrote: >=20 > >More serious is that I can't roam. When I move between APs, dhclient=20 > >exits and I need to manually re-start it. I lose my SSH sessions. Ugh! > > > >Worse, I occasionally see my association drop momentarily when I am=20 > >simply sitting and typing. Once again, dhclient dies and I must manually= =20 > >restart it and then re-establish my SSH and recover anything broken when= =20 > >the connection dropped. This is fairly serious! I don't understand what= =20 > >causes this, but it is infrequent which makes it hard to catch. > > > >It looks like killing dhclient when the interface drops is not a good=20 > >idea. At very least, it needs to give a little time for re-association= =20 > >before dropping the DHCP client. >=20 > I'm experiencing similar or identical problems. When at the British=20 > Library the day before yesterday, slight blips in my association would=20 > result in loss of my IP address, requiring manual restarting of dhclient. >=20 > My normal approach for wireless/etc is to settle on a link -- be it wired= =20 > ethernet or 802.11, and run dhclient on it to get things going. When=20 > done, I'll typically kill off dhclient. This worked pretty well with the= =20 > old dhclient setup, but not so well with the new one. Because I range=20 > over a variety of network environments, from adhoc 802.11, wired ethernet= ,=20 > to base station based 802.11, I tend to want to say "do this for now", an= d=20 > have it stick until I move on. Maybe what I need to change is software= =20 > configuration -- i.e., devd to re-launch dhclient. But obviously what I'= m=20 > doing now isn't working, and results in a pretty poor user experience=20 > (blips or roaming and suddenly the network is gone). I'm seeing this as well. I think we're going to need to handle wireless and wired interfaces differently since their links work differently. -- 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 --o0ZfoUVt4BxPQnbU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFC1rXqXY6L6fI4GtQRAh+TAKCLv6wNWl8TM0LrCt23VMGBl4L/6ACgw1nN YGjMWE5Oa3h/J+bFij1JfO8= =0rEU -----END PGP SIGNATURE----- --o0ZfoUVt4BxPQnbU--