0

次のコマンドを使用して、組み込みシステムで tftpd を構成します。

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

Linux アプリ (tftp、atftp) をクライアントとして使用すると、すべて正常に動作します。しかし、Windowsツール(Ph.JouninによるTFTPD32)を使用すると、会社で好まれ、ファイルをサーバーに入れることができません。

正しいトレース (数行):

# 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
4

1 に答える 1

0

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

于 2012-04-18T06:25:44.957 に答える