Re: fetch+run extra rcS.d init script via livecd+dhcpcd
On Tue, May 30, 2006 at 12:12:15AM -0600, Scott Edwards wrote:
> Well, i've been at this off and on today. Not much dice....
>
> to recap, I'm trying to use dhcp-client-identifier on a live cd
> (eventually) so I can additional settings when they boot (without
> affecting their normal setup while not on the livecd).
>
> If someone else has invented this wheel, let me know where it is!
> Just reply to the list. Thanks.
Read the Fantastic Manual of the debian-installer.
If you are in a hurry, go directly
to http://d-i.alioth.debian.org/manual/en.powerpc/apbs02.html#preseed-dhcp
> The configuration snippets and debug output follow:
>
> dhcpd.conf (snippet)
>
> class "supalive" {
> match if substring (option dhcp-client-identifier, 1, 8) = "supalive";
> }
<snip/>
> pool {
> allow members of "supalive";
> range 10.40.0.2 10.40.255.254;
> option routers 10.40.0.1;
> option root-path "riddle:/var/diskless/x86";
> filename "/tftpboot/linux.x86-diskless-live";
> }
<snip/>
> OP: 1 (BOOTPREQUEST)
<snip/>
> OPTION: 61 ( 8) Client-identifier 73:75:70:61:6c:69:76:65
<snip/>
> OP: 2 (BOOTPREPLY)
<snip/>
> FNAME: .
The filename, FNAME, should be '/tftpboot/linux.x86-diskless-live'
In other words, there is something wrong the setup of your DHCP server.
Something else:
If I understand the original problem of the original poster correct,
then I dare to say that it can be solved with d-i.
Cheers
Geert Stappers
Reply to: