我使用以下命令在嵌入式系统上配置 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