Date: Thu, 04 Jan 2001 23:15:31 -0500 From: trini0 <trini0@optonline.net> To: dmaddox@sc.rr.com, FreeBSD Questions <questions@freebsd.org> Subject: Re: restarting or renewing dhclient Message-ID: <3A554A62.6486A1E@optonline.net> References: <3A54C701.A836F5DA@optonline.net> <20010104142350.A9296@cae88-102-101.sc.rr.com> <3A54E446.A73FB7D@optonline.net> <20010104225349.A1207@cae88-102-101.sc.rr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Don't know. Anyway, the script works and I set cron to execute it a 6am every
day. Ill see how that goes.
Thanks for your insight.
> Hmmm... That's not how DHCP is *supposed* to work. My IP stays the
> same for long periods too, but when it changes, it just does :) with
> no ill-effects. Maybe you have an issue with your ISP here...
>
> On Thu, Jan 04, 2001 at 03:59:50PM -0500, trini0 wrote:
> > 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
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
--
_____________________________
| 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?3A554A62.6486A1E>
