Skip to contentSkip to conversation

DHCP options in kernel...

DISCUSSION Richard Whittaker 2 participants 2 messages May 26, 2005

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw

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

Quoted 10 lines · Richard Whittaker

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-----