[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Clean up of dhcpd.conf



On Sun, Jun 03, 2007 at 12:50:36PM +0200, Andreas Schockenhoff wrote:
> thank you for clean up the dhcpd.conf!
> 
> I think you can also clean up:
> 
> host ltsp010 {
>         hardware ethernet     00:00:00:00:00:00;
>         fixed-address         ltsp010;
>         filename              "/var/lib/tftpboot/pxelinux.0";
>         #option option-128     e4:45:74:68:00:00;
>         #option option-129     "NIC=3c509";
> }
> 
> to 
> 
> host ltsp010 {
>         hardware ethernet     00:00:00:00:00:00;
>         fixed-address         ltsp010;
> }
 
> because filename overwrite the correct path upside:
> filename              "/var/lib/tftpboot/ltsp/i386/pxelinux.0";

not only that, but specifying NIC= won't work for the current ltsp
(technically, initramfs-tools). that was a feature specific to ltsp 4.x,
and i'm not sure what correlating options would work.

> And the old isa option I hope are no more needfull for the most thin
> clients.

i'm not sure how to configure isa cards with initramfs-tools...

option-128 and option-129 are specific to etherboot, but most clients
probably use PXE.

might be useful to show an example for machines that can't boot PXE and
use etherboot:

 host ltsp010 {
         hardware ethernet     00:00:00:00:00:00;
         fixed-address         ltsp010;
         # download etherboot image:
         #filename              "/var/lib/tftpboot/ltsp/i386/nbi.img";
         # enable etherboot options:
         #option option-128     e4:45:74:68:00:00;
         # kernel commandline options(needs etherboot options enabled):
         # some machines don't work well with acpi enabled:
         #option option-129     "acpi=off";
 }


also, a side note, why does debian-edu not run the tftpd chrooted (the
default on debian) ? so that: 

         filename              "/var/lib/tftpboot/ltsp/i386/pxelinux.0";

would be:

         filename              "/ltsp/i386/pxelinux.0";

live well,
  vagrant



Reply to: