From: Dan <morrildl@nycap.rr.com>
To: axp-list@redhat.com
Subject: Re[2]: Anyone have a working DHCPCD for 2.2.0preXX?
Date: Sun, 10 Jan 1999 01:22:58 -0500 (EST) [thread overview]
Message-ID: <199901100622.BAA15323@mail-atm.nycap.rr.com> (raw)
In-Reply-To: <199901100309.UAA01113@ellpspace.math.ualberta.ca>
[-- Attachment #1: Body --]
[-- Type: text/plain, Size: 2815 bytes --]
I've also been trying to get DHCP working on my box. So far I have dhcpcd-0.70
working with kernel 2.2.0-pre3. I have to do a
`route add default gw <gateway-addr>` after dhcpcd "fails" to actually get
routing to work (dhcpcd will get an IP address and then fail to set the default
route), but it does work.
Michal Jaegermann wrote:
> Don_Munroe@ns.pcp.ca wrote:
> > The one from rawhide.redhat.com doesn't work for me...
> It is not supposed to. It should be something on the topic in
> Documentation/Changes or other files there.
Well, it is dhcpcd-1.3.16-2.alpha.rpm, so it SHOULD be recent enough.
Is there some other reason why it shouldn't work? (The same version compiled
from the .tar.gz has the same results.)
> First of all you have to turn it on by doing
> echo 1 > /proc/sys/net/ipv4/ip_bootp_agent
That's what the ISC's documentation says, at least. The problem is that
/proc/sys/net/ipv4/ip_bootp_agent does not exist since 2.1.117 (which is the
earliest version I tried.) This is either because it's no longer necessary or
because I cannot for the life of me figure out what kernel config option turns
it on. Is anyone else missing this option?
> somewhere in your startup files. The second you likely need another
> client (and, possibly, also ipchains).
I've tried every client I can get my hands on, from dhcpcd-0.70 through
dhcpcd-1.3.16, and several versions of the ISC client. In some cases, the
client just dies with an error message that I can't remember just now, in other
cases it just does nothing and emits no errors, and with recent kernels it
assigns an IP address but fails to set the default route, getting an "operation
not permitted" error. (Note that by "recent kernels" I mean 2.2.0-pre3, which
is what I'm running right now, and dhcpcd-0.70. Apparently they re-added
support for the obsolete raw socket access that dhcpcd-0.70 requires.)
dhcpcd-1.3.16 does nothing, and times out after failing to find a DHCP server.
My understanding of ipchains is that it's a firewall utility. Does it have
some impact on DHCP support as well?
> In general 2.1/2.2 kernels require various changes and expecting
> that everything will work without spending some time reading
> documentation has to end in failures.
Unfortunately, in this case the documentation isn't good enough; the ISC's
documentation for their client, for example, only refers to fairly early
development kernels, whereas recent kernels do not seem to have the
ip_bootp_agent sysctl option. This has also become a minor FAQ on the kernel
list, and the answer is always "get the latest client", which fails to help.
I, at least, am stumped.
Hopefully using dhcpcd-0.70 with the `route` command above will at least get
you working.
Dan Morrill
Computer Scientist, Physicist
next prev parent reply other threads:[~1999-01-10 6:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-01-10 0:55 Anyone have a working DHCPCD for 2.2.0preXX? Don_Munroe
1999-01-10 3:09 ` Michal Jaegermann
1999-01-10 6:22 ` Dan [this message]
1999-01-10 9:08 ` Maurice Hilarius
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox