Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - tftpd does not work in QNX Neutrino 6.5.0: Page 1 of 12 (12 Items)
   
tftpd does not work in QNX Neutrino 6.5.0  
Hi QNX Support,

I am using QNX Neutrino 6.5.0, and the tftpd does not work.
I have inetd running on my Neutrino 6.5.0 target, and the /etc/inetd.conf has following tftp setting:

# ps -ef |grep inetd
    0     344112          1  - Jan01 ?        00:00:00 inetd /etc/inetd.conf

# cat /etc/inetd.conf |grep tftp 
#tftp   dgram udp       wait    root    /usr/sbin/tftpd in.tftpd
tftp   dgram udp   wait    root    /usr/sbin/tftpd  tftpd -s /tftoboot

Since the tftp daemon in Neutrino 6.5.0 is "tftpd" (not in.tftpd), so I replace the "in.tftp" with "tftpd" in "/etc/
inetd.conf".

On my Neutrino 6.5.0 target, I have following files under /tftpboot:
# ls /tftpboot/
SDMA_MUTEX     inetd.pid      sshd.pid       test.txt

When I try to tftp download the "test.txt" file from my Neutrino 6.5.0 target to my Linux PC, I got the tftp timeout:

Linux PC$ tftp -v 172.17.16.1
Connected to 172.17.16.1 (172.17.16.1), port 69
tftp> trace
Packet tracing on.
tftp> status
Connected to 172.17.16.1.
Mode: netascii Verbose: on Tracing: on Literal: off
Rexmt-interval: 5 seconds, Max-timeout: 25 seconds
tftp> get test.txt
getting from 172.17.16.1:test.txt to test.txt [netascii]
sent RRQ <file=test.txt, mode=netascii>
sent RRQ <file=test.txt, mode=netascii>
sent RRQ <file=test.txt, mode=netascii>
sent RRQ <file=test.txt, mode=netascii>
sent RRQ <file=test.txt, mode=netascii>
Transfer timed out.

Any suggestions?

Thanks,
Jane Sun