【关于tftp】 imx283 与Linux主机 在tftp命令格式的不同
来源:互联网 发布:淘宝网真丝围巾 编辑:程序博客网 时间:2024/06/05 20:12
Linux主机在配置成功tftp服务器之后,主机测试成功的情况下,在283目标板上却不可使用。。。。
过程是这个样子滴
Linux主机:
linux@linux-virtual-machine:~$ tftp 192.168.1.231
tftp> get hello
tftp> q
linux@linux-virtual-machine:~$ ls
examples.desktop hello nfs 公共的 模板 视频 图片 文档 下载 音乐 桌面
可以发现hello已经成功从tftp下载下来
但是在目标板imx283上面 使用相同指令得到如下结果
[root@M28x ~]# tftp 192.168.1.231
BusyBox v1.18.4 (2014-03-19 15:41:22 CST) multi-call binary.
Usage: tftp [OPTIONS] HOST [PORT]
Transfer a file from/to tftp server
Options:
-l FILE Local FILE
-r FILE Remote FILE
-g Get file
-p Put file
-b SIZE Transfer blocks of SIZE octets
很明显格式不正确 但是这个格式说明让我更加摸不到北
于是乎
[root@M28x ~]# tftp -rg 192.168.1.231:/hello
BusyBox v1.18.4 (2014-03-19 15:41:22 CST) multi-call binary.
Usage: tftp [OPTIONS] HOST [PORT]
Transfer a file from/to tftp server
Options:
-l FILE Local FILE
-r FILE Remote FILE
-g Get file
-p Put file
-b SIZE Transfer blocks of SIZE octets
[root@M28x ~]# tftp -r 192.168.1.231
BusyBox v1.18.4 (2014-03-19 15:41:22 CST) multi-call binary.
Usage: tftp [OPTIONS] HOST [PORT]
Transfer a file from/to tftp server
Options:
-l FILE Local FILE
-r FILE Remote FILE
-g Get file
-p Put file
-b SIZE Transfer blocks of SIZE octets
[root@M28x ~]# tftp -r 192.168.1.231 -g hello
tftp: bad address 'hello'
[root@M28x ~]# tftp -r 192.168.1.231 -g /hello
tftp: bad address '/hello'
[root@M28x ~]# tftp -g 192.168.1.231:/hello
BusyBox v1.18.4 (2014-03-19 15:41:22 CST) multi-call binary.
Usage: tftp [OPTIONS] HOST [PORT]
Transfer a file from/to tftp server
Options:
-l FILE Local FILE
-r FILE Remote FILE
-g Get file
-p Put file
-b SIZE Transfer blocks of SIZE octets
各种尝试之后 终于找到了正确的格式 真囧。。。。
[root@M28x opt]# tftp 192.168.1.231 -g -r hello
[root@M28x opt]# ls
hello my_first*
- 【关于tftp】 imx283 与Linux主机 在tftp命令格式的不同
- tftp 命令格式
- 嵌入式linux的tftp安装配置及tftp命令用法
- 嵌入式linux的tftp安装配置及tftp命令用法
- 嵌入式linux的tftp安装配置及tftp命令用法
- 嵌入式linux的tftp安装配置及tftp命令用法
- 嵌入式linux的tftp安装配置及tftp命令用法
- 嵌入式linux的tftp安装配置及tftp命令用法
- 嵌入式linux的tftp安装配置及tftp命令用法
- 嵌入式linux的tftp安装配置及tftp命令用法
- 关于在Linux下使用tftp的一些心得
- Linux tftp 命令
- linux tftp 命令
- Linux 下的FTP, TFTP命令
- tftp在Linux下的使用
- tftp在linux下的使用
- linux下vsftpd服务与tftp服务有什么不同
- relhat 5 linux 下 TFTP安装与使用(客户端 一定要安装 否则找不到tftp命令)
- RxJava转换操作符cast
- ubuntu下使用360随身创建无线热点(真实可以使用)
- ORALCE-HASH-JOIN
- iOS开发集成七牛
- 记一次mapreduce程序错误调试
- 【关于tftp】 imx283 与Linux主机 在tftp命令格式的不同
- Android中自定义RatingBar
- 组原(2)
- java中接口实现的大概标准格式
- uva 1152 4 Values whose Sum is 0 map会超时
- 在spring 中如何注入map,set,list,property等参数
- Eclipse上安装svn插件及解决Fail to load JavaHL Library的错误
- 设计模式之六大原则
- java 基本语法(一)