[syslinux] gpxelinux and dhcp
Pierre
pierre.canal at laposte.net
Sat Feb 28 15:44:39 PST 2009
Hello,
I dont know if I'am mixing instructions for raw gPXE and gPXELINUX here.
But, I only use gpxelinux.
And to use http configuration file, I'm obliged to load gpxelinux.0 in a
first time, (first dhcp request)
And in a second time the configuration file (second dhcp request).
and I don't see how to do that with option 209.
Thank you for help
Pierre
H. Peter Anvin a écrit :
> 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
>
More information about the Syslinux
mailing list