Installing TFTP on Fedora

Say you want TFTP server to be run on Fedora Core 6 whose IP is 192.168.0.1.

Installing packages

yum install tftp-server

Setting up

vi /etc/xinetd.d/tftp

Find disable = yes, make it no

Bringing it up

/sbin/chkconfig tftp on
/sbin/chkconfig xinetd on
/sbin/service xinetd start

Note: auto-startup tftp might not be good idea.

Testing

touch /tftproot/test

From another computer, Linux, OS X:

tftp 192.168.0.1
tftp> get test
tftp> quit

Windows:

tftp 192.168.0.1 GET test

If you can see “test” under the current directory, then this TFTP server should work properly.

If not, check the firewall, open UDP port 69. You can run system-config-security to open it.

Related Posts

6 Comments

  1. Neel
    Posted July 22, 2007 at 6:22 pm | Permalink

    Thank you

  2. giuseppe
    Posted February 13, 2008 at 9:13 am | Permalink

    I did the above steps, but still the connection goes in timeout. My firewall is disabled and the selinux manager as well.
    G

  3. Posted February 13, 2008 at 10:30 am | Permalink

    @giuseppe: What’s your environment? Have you also tested on localhost?

  4. Pranav
    Posted December 17, 2008 at 7:50 am | Permalink

    Installing tftp server on Fedora Core 9 : Don’t forget to disable FireWall :-)

  5. Posted March 6, 2009 at 3:34 pm | Permalink

    Nice tips. Thanks so much

  6. Posted March 21, 2009 at 10:20 am | Permalink

    I have still a problem with copy from other my computer to my tftp server, although I have installed tftp client on my computer. Is there any problem with opened port? Actually, I want use this tftp server to backup my Cosco Router IOS. Thx.


One Trackback

  1. [...] got frustrated when my TFTP server didn’t work even though I followed all the steps from here. At first, I tried the TFTP server that comes under the Fedora [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*