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.
6 Comments
Thank you
I did the above steps, but still the connection goes in timeout. My firewall is disabled and the selinux manager as well.
G
@giuseppe: What’s your environment? Have you also tested on localhost?
Installing tftp server on Fedora Core 9 : Don’t forget to disable FireWall
Nice tips. Thanks so much
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
[...] 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 [...]