Re: udhcpd question Debian squeeze

"Mike Scott" <[email protected]> Sat, 19 Mar 2011 17:22:37 -0700
Newsgroups gmane.org.user-groups.luni.tech
Message-ID <20110319172237.6095274834031e3691077dcdffae0724.6ce41d3d7c.wbe@email00.secureserver.net>
Well, there is no documentation to speak of for udhcpd from Debian and
it doesn't like any of the options.

I even tried entering them in the form keyword=value.  That caused no
errors, but it ignored them
I set up a test LAN consisting of the server and my work laptop.
The DHCP information it handed out was all over the map.
The IP, DNS, and gateway weren't even on the same network!

I posted the same question to the Debian forum, lots of views, but no
response.
Scratch Debian, move on to CentOS.

I put the diskboot.img on to my USB thumb drive and got it to boot.
Success?  Hardly.  The net install of this OS appears to be retarded.
I got all the way to the part where it asks for the website and CentOS
directory

The stage2.img is located in:
http://mirror.anl.gov/pub/centos/5.5/os/i386/images/

For the site I enter:  mirror.anl.gov
Directory I enter: pub/centos/5.5/os/i386

I purposely don't enter the leading / on the directory, but the response
I get back is:

Unable to retrieve:
http://mirror.anl.gov//pub/centos/5.5/os/i386/images/stage2.img

Because it added the leading slash to the directory path (helpful, huh?)

I remove the leading slash and re-try, but it puts it back in and
complains about it.
Lather, rinse, repeat.

I guess I will try the netinstall CD, but was hoping this would work. 
Sigh

- Mike Scott


-------- Original Message --------
Subject: [LUNI] udhcpd question Debian squeeze
From: "Mike Scott" <[email protected]>
Date: Tue, March 08, 2011 6:36 pm
To: [email protected]

I am setting up a general purpose server at home (DHCP/caching
DNS/SAMBA) and
have a question about the BusyBox DHCP daemon (udhcpd) in Debian
squeeze.

I have a pretty basic setup, but would like to have a couple devices at
a known IP address.
I currently have these reserved in the appliance that I am replacing so
that a specific MAC address always gets the same IP address.

I found info online about an option that can be added to udhcpd.conf:

static_lease 00:de:ad:be:ef:00 1.2.3.4

Which looks like exactly what I need. The problem is, I don't know if
it is supported in the version of udhcpd that is supplied with squeeze. 
None of the docs I have mentions Does anybody know if it is just an
undocumented command, or should I just try it and see if it complains?

If need be, I can convert the devices in question to static IP and
decrease the top end to below them since there are only a few and all
are at the top of the range. It would be nice if it worked though.

- Mike Scott

-- 
Linux Users Of Northern Illinois (Chicago) - Technical Discussion 
http://luni.org/mailman/listinfo/luni

-- 
Linux Users Of Northern Illinois (Chicago) - Technical Discussion 
http://luni.org/mailman/listinfo/luni