I'll start this evening on getting something together, probably start by
going with a basic Dachstein floppy, with both dhcpd, and dhclient, and then
start, and replacing it with the udhcp stuff at the same time.  This will be
just the type of experiment I needed to play with tonight.. thanks ...

Joey


-----Original Message-----
From: Charles Steinkuehler [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 4:52 PM
To: [EMAIL PROTECTED]; guitarlynn;
[EMAIL PROTECTED]
Subject: Re: [Leaf-user] 1680K Dachstein-IPSec floppy

> I am sure that both Lynn and I would love to test such a package if you
> could compile it against the small and normal packages.

OK...have at it.  The compiled udhcp package is available here:
http://lrp.steinkuehler.net/files/kernels/misc-stuff/udhcp-0.9.6-compiled.ta
r.gz

And is a whopping 74K...that's *WITH* all object files, source code,
documentation, *AND* the actual binaries.  See the included README and the
udhcp website for details.

I compiled a single udhcpd binary, which does double-duty as both server and
client (make a symlink for udhcpc pointing to udhcpd).  I also edited the
source to make the default location of the client script /etc/udhcpc.script,
rather than /usr/share/udhcpc/default.script.

I suggest merging the four sample scripts in samples/ into a single script
(/etc/udhcpc.script).  Remember you'll have to translate route commands to
"ip route ...", and ifconfig commands to "ip addr ..." and "ip link set up".
Don't forget to do the link set up before running the client, and after
assigning an IP.

I'd also suggest including the dumpleases binary, since it's pretty small,
and otherwise you can't examine any dhcp lease information, which is
necessary when you have to figure out which M$ machine started spewing
garbage out to the net all of a sudden...

Holler if you get stuck on anything.  I can help with the client scripting
if needed...

NOTE:  I just gave the client scripts a quick glance, but it didn't look
like they were creating /etc/resolv.conf properly (no "search domain" line
added), and it would be really nice if there was support for an
/etc/udhcpc.conf file or similar, allowing setting of the hostname &
client-id, as well as supporting the pre-pend, append, supersede, and
default options for the various settings.  I can help with the shell-script
magic for this if someone can get the guts running and play guinea-pig :-)

Charles Steinkuehler
http://lrp.steinkuehler.net
http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)


_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to