From owner-freebsd-questions Fri Aug 25 9:10:28 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail25.bigmailbox.com (mail25.bigmailbox.com [209.132.220.211]) by hub.freebsd.org (Postfix) with ESMTP id 3A45D37B424 for ; Fri, 25 Aug 2000 09:10:27 -0700 (PDT) Received: œby mail25.bigmailbox.com (8.8.7/8.8.7) id JAA19532; Fri, 25 Aug 2000 09:15:14 -0700 Date: Fri, 25 Aug 2000 09:15:14 -0700 Message-Id: <200008251615.JAA19532@mail25.bigmailbox.com> Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary X-Mailer: MIME-tools 4.104 (Entity 4.116) Mime-Version: 1.0 X-Originating-Ip: [4.33.194.94] From: "Nathaniel G H" To: freebsd-questions@freebsd.org Subject: Re: DHCP "refresh" question Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> That is quite obvious, and very simple... but it requires human >> intervention. I was trying to find out if there is a way to do >> this automatically. It needs to happen when the DHCP address is >> no longer valid, but the lease time has not expired. > > How is a daemon able to determine that the address is no longer > valid? I am well aware that the daemon would not be able to determine that. My idea was to have some part of the system that CAN determine it run a shell script that would cause dhclient to renew its lease. After all, the system displays something like "no route to host" and "last message repeated XXX times" a bunch of times when this happens. If it can log the message on the screen, can't it cause a shell script to run after it occurs X number of times Thanks to everybody who responded to my questions. -Nathaniel G H ------------------------------------------------------------ Free email: http://BeMail.org/ Free BeOS: http://free.be.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message