From owner-freebsd-questions Thu Jan 4 12: 1:59 2001 From owner-freebsd-questions@FreeBSD.ORG Thu Jan 4 12:01:56 2001 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from webhost.omniresource.com (www.omniresource.com [207.170.23.21]) by hub.freebsd.org (Postfix) with ESMTP id 06A5A37B400 for ; Thu, 4 Jan 2001 12:01:56 -0800 (PST) Received: by WEBHϪϪOST with Internet Mail Service (5.5.2650.21) id ; Thu, 4 Jan 2001 14:00:20 -0600 Message-ID: From: GB/DEV - Doug Poland To: 'trini0' Cc: FreeBSD Questions Subject: RE: restarting or renewing dhclient Date: Thu, 4 Jan 2001 14:01:18 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > -----Original Message----- > From: trini0 [mailto:trini0@optonline.net] > Sent: Thursday, January 04, 2001 12:55 > To: FreeBSD Questions > Subject: restarting or renewing dhclient > > > Hey all. I have had my box serving my lan on a > cable modem with the same external ip address, > until this morning. I had to restart the box > in order to get the network going again. I > tried looking in man 5 dhclient.conf for clues > to see if I could say restart/refresh dhclient > once a day. I came across a renew statement, > but it seems limited in its time field format, > unlike cron's. Does anyone know of a way to > flush, restart/renew dhclient. I know about > isc mailing list, I figured I'd ask here before > subscribing with them, just for one ?. > Thanks > > -- > trini0@optonline.net I'm using RoadRunner and have been experiencing a similar problem. Often, between 2-12 hours before /var/db/dhclient.leases renew specifies, I loose connectivity to any machine past my cable modem. If I leave it alone, dhclient will renew the lease at the specified time. Since I'm obviously not willing to wait, I wrote a cron/shell script that polls my ISP's dns, if it get's no response, and forces a dhclient refresh. It's worked well in the month or so I've been using it. Let me know if you want it and I'll send it to you. -- Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message