cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2182
Views
0
Helpful
1
Replies

TFTP showing Transfer time out.

premavardhan
Level 1
Level 1

Hi Friends,

             I have a problem with TFTP server.

             I installed TFTP server in my machine. I opened the /etc/xinetd.d/tftp file and change the option  disable to no. 

            Now i am testing the TFTP is working fine or not.

           $echo "Hello, World" > /var/lib/tftpboot/hello.txt

           $telnet localhost

           telnet > get hello.txt

           Transfer time out.

           Why i am not getting "Transfer time out."

            I want to know how can we change tftp root dir to /tftpboot.

           Can any one tell me what was the broblem that i did.

Regards,

PVR.

1 Reply 1

Thomas Masters
Level 1
Level 1

Crete /tftpboot root:root 755

change the entry in /etc/xinetd.d/tftp to

server_args = -s /tftpboot

now you need to find the PID for xinetd

ps -ef | grep xinetd

kill -SIGHUP (this will cause xinetd to reread the configs)

now it should work assuming it is installed correctly.   If you are running selinux you may need to see if there are any special attributes that need set.  I do not use it so do not know.

Review Cisco Networking for a $25 gift card