Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 2001 14:01:18 -0600 
From:      GB/DEV - Doug Poland <doug.poland@omniresources.com>
To:        'trini0' <trini0@optonline.net>
Cc:        FreeBSD Questions <questions@freebsd.org>
Subject:   RE: restarting or renewing dhclient
Message-ID:  <DF5018B3C986D11196FF0060089A903C32CCA6@gbdev.omniresource.com>

next in thread | raw e-mail | index | archive | help
> -----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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DF5018B3C986D11196FF0060089A903C32CCA6>