Linux下tftp安装与配置

1. 背景

开发板在u-boot下从pc获取文件的方式有三种:

1)dnw传输:http://www.cnblogs.com/tanghuimin0713/p/3614768.html

2)串口传输:http://www.cnblogs.com/tanghuimin0713/p/3619446.html

3)tftp传输

2. 安装
yum install xinetd
yum install tftp
yum install tftp-server

3. 配置
修改/etc/xinetd.d/tftp文件,
disable=yes    ===>    disable=no
server_args指定tftp server的根目录,可以根据自己的需要指定。

4. 启动
/etc/init.d/iptables stop    //关闭防火墙
service xinetd restart 或 /etc/init.d/xinetd start

5. 查看是否已启动
netstat -a | grep tftp
posted @ 2014-04-25 07:42  tanghuimin0713  阅读(271)  评论(0编辑  收藏  举报