Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jan 2001 15:59:50 -0500
From:      trini0 <trini0@optonline.net>
To:        dmaddox@sc.rr.com, FreeBSD Questions <questions@freebsd.org>
Subject:   Re: restarting or renewing dhclient
Message-ID:  <3A54E446.A73FB7D@optonline.net>
References:  <3A54C701.A836F5DA@optonline.net> <20010104142350.A9296@cae88-102-101.sc.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ever since I set the network up 4-5 months ago, Ive had 1 ip address until
this morning. Even through all the reboots that I put this box through, the
ip address stayed the same.  This morning on the console, there was
"dhclient: send packet: No route to host" and it repeated itself about 9-10
times at different times.  I rebooted and I now have a new ip address and
gateway ip.  No problem, thats how dhcp works, I just didn't know how or if
dhclient refreshes itself.  The above error happened about 4:30am, and I
rebooted about 11am.  I figured out that I could kill -9 dhclient.pid and
restart it by dhclient ed0.  I just got to figure out how to do it in script
form so that I could have cron run it maybe once a day.  It seems to me that
its a crude way to do it, but it seems to work.  If anyone want to chime in
feel free to correct me.
Thanks

"Donald J . Maddox" wrote:

> Dhclient runs as a daemon and automatically renews the lease when it
> expires, etc.  What exactly went wrong with your network?
>
> On Thu, Jan 04, 2001 at 01:54:57PM -0500, trini0 wrote:
> > 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           |
         |                           |
     / ) | Systems Administrator     |
    / /  | Network Engineer          |
   ( (   | email ==>                 |
 (((\ \> |/ )  trini0@optonline.net  |
 (\\\\ \_/ /_________________________|
  \       /
   \    _/
   /   /
  /   /







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?3A54E446.A73FB7D>