[syslinux] Special dhcp options and PXElinux

William Oakley woakley at verio.net
Fri Oct 15 02:30:19 PDT 2004


Hi

I am trying to enable my dhcpd and pxelinux setup to use a specific
config file for a booting client.  I have read the pxelinux page for
this (http://syslinux.zytor.com/pxe.php#special) but still seem to be
encountering problems.

When running the dhcpd with the '-d' debug option the daemon sees the
DHCPDISCOVER from the client and then core dumps.  On the client side
the DHCPDISCOVER simply fails.

<-------------------------
        DHCPDISCOVER from 00:0d:60:83:55:76 via qfe1
        Segmentation Fault (core dumped)
------------------------->

Without the changes advised on the aforementioned pxelinux page, the
dhcpd runs fine without any hitches.

Here is some system information:
version isc-dhcpd = 3.0pl2
version pxelinux = 2.11
version hpa-tftpd = 0.32

The hpa-tftp daemon is run in a secure manner with '-l -s /tftpboot'
arguments.


dhcpd.conf:
<-------------------------
authoritative;

allow booting;
allow bootp;
ddns-update-style none;
default-lease-time 3600;
max-lease-time 3600;
min-lease-time 3600;
one-lease-per-client true;
ping-check true;

option space pxelinux;
option pxelinux.magic      code 208 = string;
option pxelinux.configfile code 209 = text;
option pxelinux.pathprefix code 210 = text;
option pxelinux.reboottime code 211 = unsigned integer 32;

subnet 192.168.10.0 netmask 255.255.255.0 {
  range 192.168.10.5 192.168.10.254;
  option subnet-mask 255.255.255.0;
  option broadcast-address 192.168.10.255;
  option routers 192.168.10.1;
  next-server 192.168.10.1;

  site-option-space "pxelinux";
  option pxelinux.magic f1:00:74:7e;
    if exists dhcp-parameter-request-list {
      option dhcp-parameter-request-list = concat(option
dhcp-parameter-request-list,d0,d1,d2,d3);
    }
  option pxelinux.configfile = concat("pxelinux.cfg/",
binary-to-ascii(16, 8, ":", hardware));

  filename "pxelinux.bin";
}
------------------------->


config file: /tftpboot/pxelinux.cfg/1:0:d:6:83:55:76
<-------------------------
SERIAL 0 19200
PROMPT 0
DEFAULT rh

label rh
  kernel memdisk
    append initrd=disk.img keeppxe
------------------------->

Many thanks in advance for any assistance you might be able to give.

kind regards

William




More information about the Syslinux mailing list