2012-04-12 78 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

OK。それはtftpの実装依存の問題です。 私はddwrt/busyboxディストリビューションから1つを使用します。 FEATURE_TFTP_BLOCKSIZEを無効にし、tftp_get_option( "blksize" ...)を避ける必要がありました。

関連する問題