[syslinux] Please help: how to enable tftp-hpa (0.33) for large file

H. Peter Anvin hpa at zytor.com
Fri Apr 11 00:51:51 PDT 2003


Geefu Wang (gfwang) wrote:
> Hi:
> 
> I compiled and run tftp-hpa-0.33 on my Solaris 2.7
> but it does not support file size larger than 16MB.
> The tftpd time out when 16MB of file is transfered.
> 
> Can anyone offer a hint for how to enable tftp-hpa
> to support large file size ?
> 

I have seen this problem on Solaris 7 as well, and it seems to have 
something to do with ntohs() returning a signed number (which is wrong).

You may want to try to compile with -Dntohs='(unsigned short)ntohs' and 
see what happens.

	-hpa




More information about the Syslinux mailing list