From owner-freebsd-questions Mon Oct 1 15:51:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from chmls05.mediaone.net (chmls05.mediaone.net [24.147.1.143]) by hub.freebsd.org (Postfix) with ESMTP id 78A3537B407 for ; Mon, 1 Oct 2001 15:51:41 -0700 (PDT) Received: from canada.acadia.ne.mediaone.net (acadia.ne.mediaone.net [65.96.185.189]) by chmls05.mediaone.net (8.11.1/8.11.1) with ESMTP id f91MpYr02419 for ; Mon, 1 Oct 2001 18:51:35 -0400 (EDT) Received: (from leblanc@localhost) by canada.acadia.ne.mediaone.net (8.11.5/8.11.5) id f91MnLU02945 for freebsd-questions@FreeBSD.org; Mon, 1 Oct 2001 18:49:21 -0400 (EDT) (envelope-from leblanc) Date: Mon, 1 Oct 2001 18:49:20 -0400 From: Louis LeBlanc To: freebsd-questions@FreeBSD.org Subject: dhclient hook questions Message-ID: <20011001184920.B1780@acadia.ne.mediaone.net> Reply-To: freebsd-questions@FreeBSD.org Mail-Followup-To: freebsd-questions@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.3.22.1i 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 Hey folks. I am still working on dhclient to set up a FreeBSD system on a cable modem. I currently have a venerable Linux system there, and want to replace it. Anyway, I have been reading the dhclient associated manpages, and I read on the list that /etc/dhclient-exit-hooks could be called several times when a lease was obtained, and that a 'REASON' variable was set. I wonder if anyone knows of a web site or howto dump that has documentation on the possible settings of the REASON variable, and what syntax restrictions, if any, exist for the hook scripts. A few example dhclient-enter-hooks and dhclient-exit-hooks scripts would be awesome too, but if you can just help me find the FM . . . TIA and HAND Lou -- Louis LeBlanc leblanc@acadia.ne.mediaone.net Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://acadia.ne.mediaone.net ԿԬ Polymer physicists are into chains. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message