首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >tftp PUT失败,返回TFTPD32 (atftp,tftp有效)

tftp PUT失败,返回TFTPD32 (atftp,tftp有效)
EN

Stack Overflow用户
提问于 2012-04-12 20:46:38
回答 1查看 1.7K关注 0票数 0

我在我的嵌入式系统上使用以下命令配置tftpd:

代码语言:javascript
复制
# udpsvd -E 0 69 tftpd -c /flash0/app/Binary/

当我使用linux应用程序(tftp、atftp)作为客户端时,一切工作正常。但是使用windows工具(Ph.Jounin提供的TFTPD32)--我不能把文件放到服务器上。

正确的跟踪(几行):

代码语言:javascript
复制
# 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

错误跟踪:

代码语言:javascript
复制
# 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
EN

回答 1

Stack Overflow用户

发布于 2012-04-18 14:25:45

好的。这与tftp实现有关,也是个问题。我使用ddwrt/busybox发行版中的一个。我需要禁用FEATURE_TFTP_BLOCKSIZE,并避免tftp_get_option("blksize"...)。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/10123863

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档