[Dnsmasq-discuss] pxe boot problem
stevea
steve-alexander at adelphia.net
Sat Oct 6 15:33:34 BST 2007
I am attempting to use dnsmasq-2.38 to support pxe (etherboot) for
LynxOS and have run onto a problem.
The bootfile name is supplied by the server in the rfc2132 option field,
but does not appear in the main packet body (similarly the servername
appears only in the option field, but this doesn't matter to me). The
following hack solves my problem and always inserts the bootfile name in
the packet body (and optionally in the option field).
--- rfc2131.c.orig 2007-10-06 10:04:58.000000000 -0400
+++ rfc2131.c 2007-09-25 09:46:14.000000000 -0400
@@ -1347,7 +1347,7 @@
{
if (req_options && in_list(req_options, OPTION_FILENAME))
option_put_string(mess, end, OPTION_FILENAME, boot->file, 1);
- else
+ //sja- else
strncpy((char *)mess->file, boot->file, sizeof(mess->file)-1);
}
dnsmasq.conf contains:
> dhcp-boot=targe.0,lycoperdon,192.168.133.1
Is there a configuration file parameter I've missed to place the
bootfile name in main packet body or is this controlled by the
target/requester ? If the latter could someone point me to the rfc that
describes this please.
great package btw,
-SteveA
More information about the Dnsmasq-discuss
mailing list