我在我的嵌入式系统上使用以下命令配置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发布于 2012-04-18 14:25:45
好的。这与tftp实现有关,也是个问题。我使用ddwrt/busybox发行版中的一个。我需要禁用FEATURE_TFTP_BLOCKSIZE,并避免tftp_get_option("blksize"...)。
https://stackoverflow.com/questions/10123863
复制相似问题