[syslinux] pxelinux, pxe requesting bad filename from tftp

Rek Jed rekjed at gmail.com
Wed Feb 20 13:56:29 PST 2008


Hey,

> Some old PXE stacks have a bug where they incorrectly include an extra byte 
> in the filename, which happens to be 0xff.  It's been a while since I 
> looked at this, so I can't remember if that's actually an end option or 
> comes from some other source, but it's always 0xff.  You haven't said what 
> TFTP server you're using, but if it happens to be tftp-hpa, you can use the 
> -m option to specify a map file, and put the following line at the top of 
> the map file:
>
> rg (.*)ÿ$ \1
>
> where ÿ is character 0xff, which is what tcpdump means by "M-^?".  You can 
> get this character in vim by typing CTRL-V x f f (see :help i_CTRL-V). 
> Note that depending on how your system is configured, to get the right 
> thing to happen, you may have to :set fileencoding=iso-8859-1.  Use hexdump 
> -C to make sure you got what you expected.
>   


I was using stock FreeBSD tftp server, but I switched to tftp-hpa, 
followed your instructions and the problem has gone away.


Many thanks,



Rekjed.




More information about the Syslinux mailing list