各位前辈:
我的/etc/xinetd.d/tftp设置如下:
代码:
#/etc/xinetd.d/tftp
#default:off
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = nobody
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
我在自己电脑的/tftpboot下建立了一个testfile,同时将
代码:
sudo chmod 777 /tftpboot
代码:
/etc/init.d/xinetd restart
进入到/home/下某个文件夹
代码:
tftp 本机 ip地址
代码:
tftp>get testfile
结果只传来一个0字节的文件(testfile有1.5M),显示“Transfer timed out.”不知咋回事?
尝试下载到开发板上,结果失败。各位前辈可知咋回事阿?谢谢阿!
[ 本帖最后由 cfd2006 于 2008-5-18 13:53 编辑 ]
cfd2006 于 2008-05-18 13:23:58发表:
请教:有何解决办法啊?先谢谢阿!(我之前在网上搜了,也是这个结论,但都没有讲怎么解决)
satisfy 于 2008-05-18 11:29:04发表:
tftpd服务没有启动