Click to See Complete Forum and Search --> : TFTP server on redhat 9


taimoor
04-22-2003, 07:37 PM
Using xinetd and have made disable no, restarted the xinetd service. It doesnt seem to be working, but more importantly can i see any errors, debugging anything. THer service seems to have started and am trying to make some tftp requests but wont work. I can ssh into the box from anywhere so i know its not ipchains/iptables.
ANy input would be appreciated.

cowanrl
04-22-2003, 08:53 PM
Just because you can ssh into a box doesn't mean that ipchains/iptables isn't blocking tftp access. ssh would use tcp/udp ports 22 and tftp usually uses udp port 69.

One of the easiest ways to see if tftp is listening after you restart xinetd is to scan port 69. Try this command as root after you start xinetd:

nmap -sTU -p 69 localhost

It should reply and show that port 69/udp is open. If it doesn't, then tftp isn't running or iptables has the port blocked.

By default, all tftp file transfers will be from the directory /tftpboot. This directory must exist and it must be world writeable before you start the tftp service.