2005-05-26 15:51:05

by Richard Whittaker

[permalink] [raw]
Subject: DHCP options in kernel...

Hiya..

I'm trying to setup a diskless boot system using a Debian Sarge base,
and everything's going well, but I've run into one snag... I want the
DHCP server to dynamically generate hostnames based on MAC addresses,
and supply those to the clients, and that part's working just fine.
However, the client (a diskless kernel) isn't taking the hostname and
applying it to itself... Is there an option that I can pass to the
kernel that functions like dhcpcd -H, or does something need to be
kludged at the debian end?...

Thanks,
Richard.



2005-05-26 20:10:35

by Stefan Smietanowski

[permalink] [raw]
Subject: Re: DHCP options in kernel...

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Richard Whittaker wrote:
> Hiya..
>
> I'm trying to setup a diskless boot system using a Debian Sarge base,
> and everything's going well, but I've run into one snag... I want the
> DHCP server to dynamically generate hostnames based on MAC addresses,
> and supply those to the clients, and that part's working just fine.
> However, the client (a diskless kernel) isn't taking the hostname and
> applying it to itself... Is there an option that I can pass to the
> kernel that functions like dhcpcd -H, or does something need to be
> kludged at the debian end?...

Just run dhcpcd -H in your init scripts unless there's something
I'm missing?

// Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)

iD8DBQFCli4OBrn2kJu9P78RAob4AJ42GpPZLnCOYY7vYb4yMbNYv8pj9wCffLeM
rsnRWP/N3vCQHmmBsur0OXg=
=1TMC
-----END PGP SIGNATURE-----