Re: [SLUG] Staying connected

From: Ian C. Blenke (icblenke@nks.net)
Date: Mon Nov 04 2002 - 09:58:52 EST


On Saturday 02 November 2002 11:37, Paul M Foster wrote:
> On Sat, Nov 02, 2002 at 08:44:56AM -0500, Russell Hires wrote:
> > AAAhhhhh...the joys of Verizon's DSL service....This is all about DHCP,
> > pump, etc...
> >
> > So, I figured out (for now) my email situation, but now I have other
> > questions. How do I keep my computer connected to the net all the time?
> > When I switched from Earthlink to Verizon, and when I use pump to get my
> > address, everything works okay. It's just that after a time, the IP
> > expires, and I have manually re-run pump to get a new address. I know
> > that there is a better solution to this, but what is it? Isn't there a
> > dhcp daemon that runs in the background that checks this sort of thing?
>
> You should be able to run dhcpcd to keep your connection alive. That's
> what it's for.

There are three major players when it comes to DHCP clients:

        1) dhclient
        2) pump
        3) dhcpcd

>From experience, I prefer dhclient. It always works, and has no problems with
multiple interfaces. Painless, simple, I can't recommend it enough.

Pump has a nasty tendency to get seriously confused when there is more than
one network interface on a box. Once upon a time, I used pump. Now I know
better. RedHat derived boxen tend to use it by default (why, I ask?)

As for dhcpcd, I've had varying problems with it as well the few times I've
attempted to use it. Whereas pump will generally get a lease regardless on a
single-homed box, dhcpcd tends to be finicky about obtaining a lease at all.
Because of these experiences, I don't recommend it., but many others seem to
have no problems.

Also, remember that every DHCP client has a daemon piece that listens for
leases and requests renewals during the lease cycle to keep the existing
lease. THERE MUST BE ONLY ONE DHCP DAEMON RUNNING AT A TIME. If you have more
than one, you may see the symptoms you are experiencing (lack of renewal, no
lease at all, etc). Make sure that you only have one "pump", "dhclient", or
"dhcpcd" process running on your system at any given time.

Hope this helps.

-- 
- Ian C. Blenke <icblenke@nks.net>

(This message bound by the following: http://www.nks.net/email_disclaimer.html)



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:56:08 EDT