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

U-Boot移植(15)TFTP installation and setting(tftp-hpa and tftpd-hpa)

2011-07-14 15:58 405 查看
Today i installed and set the tftp,because i may use this tool to download your kernel and filesystem image to my target board.

process:

sudo -i

1、Install tftpd and related packages.

# apt-get install xinetd tftpd-hpa tftp-hpa

2、modify etc/default/tftpd-hpa

#Defaults for tftpd-hpa

RUN_DAEMON="yes" //before is no。

OPTIONS="-l -s /var/lib/tftpboot" //this dir is default

3、Start tftpd through xinetd

# /etc/init.d/xinetd restart

4、Start tftpd-hpa

#/etc/init.d/tftpd-hpa start

5、Testing

#vi /var/lib/tftpboot

#touch test

#chmod 777 test

#cd /tmp

#tftp 127.0.0.1 //ifconfig ->we know :Local loopback address

tftp> get test

tftp>quit

#ls

gedit.huanghuang.2620001893 plugtmp test

keyring-WrqFBb pulse-sxRcajPKvfQ2 virtual-huanghuang.wxpaQO

orbit-huanghuang ssh-xgUUTO1602

This is proved that installation is success
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐