From owner-freebsd-questions Mon Nov 5 8:58:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail-relay1.mirrorimage.net (mail-relay1.mirrorimage.net [209.58.140.11]) by hub.freebsd.org (Postfix) with ESMTP id B464537B418 for ; Mon, 5 Nov 2001 08:58:35 -0800 (PST) Received: from leblanc.mirrorimage.net (leblanc.mirrorimage.net [209.192.210.146]) by mail-relay1.mirrorimage.net (8.9.3/8.9.3) with ESMTP id LAA15783 for ; Mon, 5 Nov 2001 11:57:42 -0500 Received: (from leblanc@localhost) by leblanc.mirrorimage.net (8.11.6/8.11.4) id fA5GwmG34150 for freebsd-questions@freebsd.org; Mon, 5 Nov 2001 11:58:48 -0500 (EST) (envelope-from leblanc) Date: Mon, 5 Nov 2001 11:58:48 -0500 From: Louis LeBlanc To: freebsd-questions@freebsd.org Subject: Re: forcing renew of DHCP lease Message-ID: <20011105115847.A32065@keyslapper.org> Reply-To: freebsd-questions@freebsd.org Mail-Followup-To: freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23i X-bright-idea: Lets abolish HTML mail! Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --17pEHd4RhPHOinZp Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 11/05/01 11:36 AM, Peter Brezny sat at the `puter and typed: > How do you force an interface to renew its dhcp lease? >=20 > I've tried taking the devise up and down again >=20 > ifconfig fxp1 down|up >=20 > and=20 >=20 > ficonfig fxp1 inet DHCP >=20 > Searched the ifconfig man page for dhcp...no luck... Try this: killall dhclient Then run: dhclient fxp1 To verify the renewal, check /var/db/dhclient.leases - usually the last entry. This won't necessarily bring down your interface or even interrupt your connectivity, but the lease will be updated. HTH Lou --=20 Louis LeBlanc leblanc@keyslapper.org Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org =D4=BF=D4=AC life, n.: A whim of several billion cells to be you for a while. --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE75sVHeAPWYrNkRWIRAqlQAJ9rffkL5UMWeKmr0AnSVjQ2nG3jmACfd5pd wJRgX59tjCh9diXJ1yYN1lY= =gnDc -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message