Here is a sample of my dhcpd.conf file. I use K12LTSP.
It boots etherboot or PXE automagically.
Chris
--- ltsp <[EMAIL PROTECTED]> wrote:
> What if I'm running a mix of PXE, Etherboot, and
> regular dhcp clients -
> is there a class identifier for Etherboot, so that I
> can have my
> remaining clients fall into somewhere that I don't
> push an image on
> them? Or is that something that would merely be
> ignored by Windows and
> OSX clients? Thanks,
>
> Dunc
>
> Gudmund Areskoug wrote:
>
> > Hi Derek,
> >
> > Derek Harding wrote:
> >
> >> Hi,
> >>
> >> I want to boot both by etherboot and by PXE and I
> don't want to put a
> >> long list of MAC addresses for DHCP to choose
> from. There used to be a
> >> small section one could add to dhcpd.conf to
> allow the alternative boot
> >> process without having to specify MACs but I
> cannot find it.
> >
> >
> > I nicked this part:
> >
> > shared-network WORKSTATIONS {
> > subnet 192.168.0.0 netmask 255.255.255.0 {
> > range dynamic-bootp 192.168.0.100
> 192.168.0.253;
> > use-host-decl-names on;
> > option log-servers 192.168.0.254;
> >
> > # trick from Peter Rundle
> <[EMAIL PROTECTED]>
> > if substring (option vendor-class-identifier,
> 0, 9) = "PXEClient"
> > {
> > filename "/lts/pxe/pxelinux.bin";
> > # NOTE: kernels are specified in
> > /tftpboot/lts/pxe/pxelinux.cfg/
> > }
> > else
> > {
> > filename "/lts/vmlinuz-2.4.9-ltsp";
> > }
> > }
> > }
> >
> > from http://k12ltsp.org/server.html, (adapt to fit
> your situation),
> > works well.
> >
> > BR,
> > Gudmund
> >
> >
> >
>
-------------------------------------------------------
> > This SF.Net email is sponsored by: New Crystal
> Reports XI.
> > Version 11 adds new functionality designed to
> reduce time involved in
> > creating, integrating, and deploying reporting
> solutions. Free runtime
> > info,
> > new features, or free trial, at:
> http://www.businessobjects.com/devxi/728
> >
>
_____________________________________________________________________
> > 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
>
>
>
>
>
-------------------------------------------------------
> SF.Net email is sponsored by: Tell us your software
> development plans!
> Take this survey and enter to win a one-year sub to
> SourceForge.net
> Plus IDC's 2005 look-ahead and a copy of this survey
> Click here to start!
> http://www.idcswdc.com/cgi-bin/survey?id=105hix
>
_____________________________________________________________________
> 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
> # Sample configuration file for ISCD dhcpd
#
# Don't forget to set run_dhcpd=1 in /etc/init.d/dhcpd
# once you adjusted this file and copied it to /etc/dhcpd.conf.
#
default-lease-time 21600;
max-lease-time 21600;
ddns-update-style none;
allow booting;
allow bootp;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
option domain-name-servers 192.168.0.1;
option domain-name "ltsp";
option root-path "192.168.0.250:/opt/ltsp/i386";
option option-128 code 128 = string;
option option-129 code 129 = text;
shared-network WORKSTATIONS {
subnet 192.168.0.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.0.100 192.168.0.200;
use-host-decl-names on;
option log-servers 192.168.0.250;
# trick from Peter Rundle <[EMAIL PROTECTED]>
if substring (option vendor-class-identifier, 0, 9) = "PXEClient"
{
filename "/lts/pxe/pxelinux.0";
# NOTE: kernels are specified in /tftpboot/lts/pxe/pxelinux.cfg/
}
else
{
filename "/lts/vmlinuz.ltsp";
}
}
}
# example configurations for specifying specific kernels to specific clients
group {
use-host-decl-names on;
option log-servers 192.168.0.250;
host ws001 {
hardware ethernet 00:E0:06:E8:00:84;
fixed-address 192.168.0.1;
filename "/lts/vmlinuz.ltsp";
option option-128 e4:45:74:68:00:00;
option option-129 "NIC=3c509";
}
host ws002 {
hardware ethernet 00:D0:09:30:6A:1C;
fixed-address 192.168.0.2;
filename "/lts/vmlinuz.ltsp";
option option-128 e4:45:74:68:00:00;
option option-129 "NIC=ne";
}
host ws003 {
hardware ethernet 00:D0:09:30:28:B2;
fixed-address 192.168.0.3;
# kernels are specified in /tftpboot/lts/boot/pxe/pxelinux.cfg/
filename "/lts/boot/pxe/pxelinux.0";
}
}