[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dhcpcd on slink



A long time ago, in a galaxy far, far way, someone said...

> Hi. I've been RTFM and the Debian e-mail archives for quite awhile, and I 
> can't get dhcpcd to work on slink (2.2.12).
> 
> I'm trying to do dhcp to MediaOne in Cambridge, MA.
> 
> When I run the daemon, I get the error: SIOCADDRT
> 
> Any ideas?

A dhcpcd compiled for a 2.0 kernel won't work with a 2.2 kernel - the
programming interfaces changed for the better during the 2.1 development
series, with the side effect of breaking binary compatibility.  To get
DHCP to work you need to do one of:

* Stop using 2.2 kernels and keep using 2.0 kernels
* Install the dhcpcd from potato

* Compile one of the many DHCP clients available in source form youself.  
  I like to use dhclient - that's the DHCP client included in ISC's DHCP
  server package.  I have it mirrored (in source form) as
  http://tux.creighton.edu/~pbrutsch/dhcp-2.0.tar.gz

> Is dhcpcd known to work on Debian? I'm trying to use version 0.70-5

It works as long as you use the right binary with the right kernel.  
Fortunately it doesn't look like the programming interfaces are going to
change anytime soon - I've been using a dhclient compiled for 2.2 kernels
with 2.3 kernels (the current development series) without a single glitch.

-- 
----------------------------------------------------------------------
Phil Brutsche					pbrutsch@creighton.edu

"There are two things that are infinite; Human stupidity and the
universe. And I'm not sure about the universe." - Albert Einstein


Reply to: