[ipxe-devel] Issue with TFTP Windows
Michael.Brunetti at akunacapital.com
Wed May 7 16:39:01 BST 2014
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 ||
Please let us know if we are using the incorrect syntax or if this should be included in the .c file.
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 == '/' )
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...
More information about the ipxe-devel