Date: Fri, 25 Aug 2000 09:15:14 -0700 From: "Nathaniel G H" <bsd_appliance@bemail.org> To: freebsd-questions@freebsd.org Subject: Re: DHCP "refresh" question Message-ID: <200008251615.JAA19532@mail25.bigmailbox.com>
next in thread | raw e-mail | index | archive | help
>> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008251615.JAA19532>