[ipxe-devel] Issue with TFTP Windows

Michael Brunetti Michael.Brunetti at akunacapital.com
Wed May 7 15:39:01 UTC 2014

Good morning,

I have found an issue with windows TFTP loading an WDS image (wdsnbp.com).   It appears that the older version of IPXE included a "strip initial" function to make windows TFTP work with IPXE.  The newest version of source does not include this function.  I have added the old tftp.c (not sure of the date of download) file to the new source(pulled today) and rebuild the undionly.pxe binary and everything started working again.

prompt --key 0x02 --timeout 5000 Press Ctrl-B for the iPXE command line... && shell ||
set net0
chain tftp://ch1infwds01.akunacapital.local/boot\\x64\\wdsnbp.com

Please let us know if we are using the incorrect syntax or if this should be included in the .c file.


Mike Brunetti

Output of a diff on the two files (tftp.c = Old source, tftp.c.bak = current source)
diff tftp.c tftp.c.bak
>       const char *path = tftp->uri->path;
<       const char *path;
<       /* Strip initial '/' if present.  If we were opened via the
<        * URI interface, then there will be an initial '/', since a
<        * full tftp:// URI provides no way to specify a non-absolute
<        * path.  However, many TFTP servers (particularly Windows
<        * TFTP servers) complain about having an initial '/', and it
<        * violates user expectations to have a '/' silently added to
<        * the DHCP-specified filename.
<        */
<       path = tftp->uri->path;
<       if ( *path == '/' )
<               path++;

Michael Brunetti | Trade Support Engineer
Akuna Capital LLC
36 S Wabash, Suite 310 Chicago IL 60603 USA | www.akunacapital.com <http://www.akunacapital.com>
p: +1 312 994 4672 | f: +1 312 750 1667 | Michael.Brunetti at akunacapital.com

Please consider the environment, before printing this email.

This electronic message contains information from Akuna Capital LLC that may be confidential, legally privileged or otherwise protected from disclosure. This information is intended for the use of the addressee only and is not offered as investment advice to be relied upon for personal or professional use. Additionally, all electronic messages are recorded and stored in compliance pursuant to applicable SEC rules. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, printing or any other use of, or any action in reliance on, the contents of this electronic message is strictly prohibited. If you have received this communication in error, please notify us by telephone at (312)994-4640 and destroy the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20140507/bf3f4e07/attachment.htm>

More information about the ipxe-devel mailing list