2012-04-12 89 views
0

我在我的嵌入式系統上配置與tftpd的命令:當我使用Linux應用程序(TFTP,atftp)作爲客戶端TFTP PUT失敗,TFTPD32(atftp和TFTP作品)

# udpsvd -E 0 69 tftpd -c /flash0/app/Binary/ 

,一切工作正常。 但使用Windows工具(由Ph.Jounin TFTPD32) - 在公司中我不能將PUT文件放入服務器。

正確的痕跡(幾行):

# sending 4 bytes 
00 04 00 00 
received 516 bytes: 0003 0001 
sending 4 bytes 
00 04 00 01 
received 516 bytes: 0003 0002 
sending 4 bytes 
00 04 00 02 
received 516 bytes: 0003 0003 
sending 4 bytes 

錯誤跟蹤:

# sending 10 bytes 
00 06 74 73 69 7a 65 00 30 00 
received 516 bytes: 0003 0001 
sending 10 bytes 
00 06 74 73 69 7a 65 00 30 00 
received 516 bytes: 0003 0001 
sending 10 bytes 
00 06 74 73 69 7a 65 00 30 00 
received 516 bytes: 0003 0001 
sending 10 bytes 
00 06 74 73 69 7a 65 00 30 00 
received 516 bytes: 0003 0001 
sending 10 bytes 
00 06 74 73 69 7a 65 00 30 00 
received 516 bytes: 0003 0001 
sending 10 bytes 
00 06 74 73 69 7a 65 00 30 00 
received 516 bytes: 0003 0001 
sending 10 bytes 
00 06 74 73 69 7a 65 00 30 00 
received 516 bytes: 0003 0001 
sending 10 bytes 
00 06 74 73 69 7a 65 00 30 00 
received 516 bytes: 0003 0001 
sending 10 bytes 
00 06 74 73 69 7a 65 00 30 00 
received 516 bytes: 0003 0001 
sending 10 bytes 
00 06 74 73 69 7a 65 00 30 00 
received 516 bytes: 0003 0001 
sending 10 bytes 
00 06 74 73 69 7a 65 00 30 00 
received 516 bytes: 0003 0001 
sending 10 bytes 
00 06 74 73 69 7a 65 00 30 00 
received 516 bytes: 0003 0001 
tftpd: timeout 
tftpd: malformed packet 
tftpd: malformed packet 

回答

0

確定。這是tftp執行的依賴和問題。 我使用ddwrt/busybox發行版中的一個。 我需要禁用FEATURE_TFTP_BLOCKSIZE,並避免tftp_get_option(「blksize」...)。