Teresa,
the dhcp root-path option is really a "numbered option" in
dhcp. it's quite common that dhcp servers don't support all
the named options, like 'root-path', but they might support it
if you know the proper option number. I think that the
option number for root-path is 17, so maybe you can specify it
that way.
If not, here's the options that I can see:
1) Don't use the router/firewall as your dhcp server, use Linux instead.
2) If you can't do #1, then you could create a kernel command line
parameter, maybe call it 'ROOTPATH', and set it with the 'append'
directive, like you are trying for nfsroot.
BUT, this would require a change to the initrd, to pay attention
to that new parameter. It actually wouldn't involve dhclient at
all, because kernel command line arguments that don't get swallowed
up by the kernel actually get passed on to the /linuxrc script
as environment variables. So, within the /linuxrc script that
exists inside the initrd, you'd end up with an env variable
called 'ROOTPATH' and it's value would be:
192.168.0.29:/opt/ltsp/i386
So, you'd need to modify /linuxrc to do something with that info,
and not bomb out because dhclient didn't get a root-path.
Jim McQuillan
[EMAIL PROTECTED]
On Thu, 25 Mar 2004, Teresa Jeremy wrote:
> I'm using a router/firewall appliance as my dhcp server. As a result, it is not
> possible to specify the root-path DHCP option.
>
> Is it possible to force my ltsp RAM image to use nfsroot directive in my
> pxelinux.cfg\default file instead of looking for it in the DHCP offer packet?
>
> I've tried
>
> label lts
> kernel bzImage-2.4.22-ltsp-1
> append init=/linuxrc rw root=/dev/ram0 nfsroot=192.168.0.29:/opt/ltsp/i386
> initrd=initrd-2.4.22-ltsp-1.gz
>
> However, the dhclient apparents to ignore this parameter.
>
>
> Thx.
> TJ
>
>
>
> Need a new email address that people can remember
> Check out the new EudoraMail at
> http://www.eudoramail.com
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _____________________________________________________________________
> Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
> https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> For additional LTSP help, try #ltsp channel on irc.freenode.net
>
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net