您的位置:首页 > 编程语言 > PHP开发

how to config the tftpd-hpa server in the ubuntu using for remote tftp client '-p' and '-r' command

2013-04-03 17:05 826 查看
1. sudo apt-get install tftpd-hpa

2. vim etc/default/tftpd-hpa

TFTP_USERNAME="tftp"

#TFTP_DIRECTORY="/var/lib/tftpboot"

#TFTP_DIRECTORY="/root/rt5350/RT288x_SDK/source/images"

TFTP_DIRECTORY="/root/rt5350"

TFTP_ADDRESS="0.0.0.0:69"

TFTP_OPTIONS="--secure --create --listen --verbose"

3. so, we can using remote tftp client sent command test it like following:

ralink is tftp-hpa client ubuntu is tftp-hpa server

a. put the ralinke file "test.bin" to ubuntu

command: tftp -p -l test.bin -r name.bin 10.10.10.152

b. get the ubuntu file "test.bin" to ralink

command: tftp -g -r test.bin -l name.bin 10.10.10.152
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐