/*ubuntu11.04安装TFTP*/ sudo mkdir /tftpboot sudo chmod 777 /tftpboot sudo apt-get install tftp /*安装客户端*/ sudo apt-get install tftpd /*安装服务器端*/ sudo apt-get install openbsd-inetd sudo vi /etc/inetd.conf 在最后加入一行: tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /tftpboot sudo /etc/init.d/openbsd-inetd reload sudo /etc/init.d/openbsd-inetd restart 以后每次启动系统的时候,要执行一下: sudo /etc/init.d/openbsd-inetd restart in netstat -an |grep udp 可以看到69端口已经启用: udp 0 0 0.0.0.0:69 0.0.0.0:* 测试TFTP: 拷贝一文件(如uImage)到tftpboot下,然后: tftp localhost 出现:tftp> 再输入:get uImage 提示下载成功后,看当前目录下多了个uImage文件.