[syslinux] gpxelinux and dhcp

H. Peter Anvin hpa at zytor.com
Sat Feb 28 10:49:58 PST 2009


Pierre wrote:
> Hello,
> 
> I'm playing with gpxelinux, it's works but ...
> In my dhcpd.conf I have the traditional:
> 
> option space gpxelinux;
> option gpxelinux-encap-opts code 175 = encapsulate gpxelinux;
> option gpxelinux.bus-id code 177 = string;
> 
> subnet 192.168.0.0 netmask 255.255.255.0 {
>    host essai {
>      hardware ethernet 00:11:22:33:44:55;
>      fixed-address 192.168.0.62;
>      if not exist gpxelinux.bus-id {
>        filename "gpxelinux.0";
>      } else {
>        filename "http://192.168.0.61/memtest.smp";
>      }
>    }
> }
> 
> gpwelinux info appears, and it redirect, not to memtest.smp
> but to http://192.168.0.61/pxelinux.0/default   !
> 

I think you're mixing instructions for raw gPXE and gPXELINUX here.
gPXELINUX is configured the same way that stock PXELINUX is configured,
that is, via a configuration file.  DHCP option 209 can be used to
override the default selection of a configuration file.

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.




More information about the Syslinux mailing list