From owner-freebsd-questions Fri Aug 3 5:22:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from karon.dynas.se (karon.dynas.se [192.71.43.4]) by hub.freebsd.org (Postfix) with SMTP id F3B1737B405 for ; Fri, 3 Aug 2001 05:22:37 -0700 (PDT) (envelope-from mikko@dynas.se) Received: (qmail 31099 invoked from network); 3 Aug 2001 12:22:35 -0000 Received: from spirit.sto.dynas.se (HELO spirit.dynas.se) (172.16.1.10) by 172.16.1.1 with SMTP; 3 Aug 2001 12:22:35 -0000 Received: (qmail 13689 invoked from network); 3 Aug 2001 12:22:35 -0000 Received: from mikko.dynas.se (172.16.1.126) by spirit.dynas.se with SMTP; 3 Aug 2001 12:22:35 -0000 Received: (from mikko@localhost) by mikko.dynas.se (8.11.4/8.11.4) id f73CMXl26348; Fri, 3 Aug 2001 14:22:33 +0200 (CEST) (envelope-from mikko) Date: Fri, 3 Aug 2001 14:22:33 +0200 (CEST) From: Mikko Tyolajarvi Message-Id: <200108031222.f73CMXl26348@mikko.dynas.se> To: dinjo@touchtunes.com Cc: questions@freebsd.org Subject: Re: DHCP and hosts Newsgroups: local.freebsd.questions References: <20010803074656.B74135@dinjo.touchtunes.com> X-Newsreader: NN version 6.5.6 (NOV) 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 In local.freebsd.questions you write: >Is there any way to have FreeBSD 4.X automagically update /etc/hosts >when using a cable modem with DHCP? For example, I have [...] With a little shellscripting, you can do pretty much anything. Have a look at dhclient-script(8). Look for "hooks". $.02, /Mikko -- Mikko Työläjärvi_______________________________________mikko@rsasecurity.com RSA Security To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message