Hi all, I have a centos 5 box I have setup, current with updates. (I have done this many times on centos 4). I did the yum install tftp-server, changed the /etc/xinetd.d/tftp file as shown. # default: off # description: The tftp server serves files using the trivial file transfer \ # protocol. The tftp protocol is often used to boot diskless \ # workstations, download configuration files to network-aware printers, \ # and to start the installation process for some operating systems. service tftp { socket_type = dgram protocol = udp wait = yes user = root server = /usr/sbin/in.tftpd server_args = -v -s /tftpboot disable = no per_source = 11 cps = 100 2 flags = IPv4 } Did the service xinetd restart. Now from another computer on the network I am trying manually "tftp IP -c get myfile" and nothing happens. /tftpboot permissions are: drwxr-xr-x 4 root root 4096 Oct 2 16:26 tftpboot the myfile is also world readable in that directory. I have disabled the iptables "service iptables stop". I ran "tcpdump port 69" to show me all tftp traffic an I see NOTHING when I manually run the tftp command above on another computer. The second computer can ssh into the server no problem. I can, on the server, to tftp localhost -c get myfile and that works fine. What or HOW can I determine why I cannot tftp from that machine? This seems so straight forward. Thanks, frustrated me... Jerry
Do you have any networkr device between your client and your server ? When running tcpdump, do you see any packet when runing "telnet localhost 69" ? Do you have multiple NIC on your server ? On 11/1/07, Jerry Geis <geisj at pagestation.com> wrote:> Hi all, > > I have a centos 5 box I have setup, current with updates. (I have done > this many times on centos 4). > I did the yum install tftp-server, changed the /etc/xinetd.d/tftp file > as shown. > > # default: off > # description: The tftp server serves files using the trivial file > transfer \ > # protocol. The tftp protocol is often used to boot diskless \ > # workstations, download configuration files to network-aware > printers, \ > # and to start the installation process for some operating systems. > service tftp > { > socket_type = dgram > protocol = udp > wait = yes > user = root > server = /usr/sbin/in.tftpd > server_args = -v -s /tftpboot > disable = no > per_source = 11 > cps = 100 2 > flags = IPv4 > } > > > Did the service xinetd restart. > > Now from another computer on the network I am trying manually "tftp IP > -c get myfile" > and nothing happens. > > /tftpboot permissions are: drwxr-xr-x 4 root root 4096 Oct 2 16:26 > tftpboot > the myfile is also world readable in that directory. > > I have disabled the iptables "service iptables stop". > > I ran "tcpdump port 69" to show me all tftp traffic an I see NOTHING > when I manually > run the tftp command above on another computer. > The second computer can ssh into the server no problem. > > I can, on the server, to tftp localhost -c get myfile and that works fine. > > What or HOW can I determine why I cannot tftp from that machine? > This seems so straight forward. > > Thanks, frustrated me... > > Jerry > > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >-- Alain Spineux aspineux gmail com May the sources be with you
Jerry Geis wrote: ...> Now from another computer on the network I am trying manually "tftp IP > -c get myfile" > and nothing happens.Works for me (F7 client, Centos 5 server).> > /tftpboot permissions are: drwxr-xr-x 4 root root 4096 Oct 2 16:26 > tftpboot > the myfile is also world readable in that directory. > > I have disabled the iptables "service iptables stop".What about firewall on _client_? What does tcpdump port 69 show on _client_ when you try tftp'ing? I get: server tcpdump port 69: 14:33:28.366478 IP mk.crc.dk.34258 > server1.crc.dk.tftp: 20 RRQ "test.dat" netascii client tcpdump port 69: 14:33:28.366884 IP mk.crc.dk.34258 > server1.crc.dk.tftp: 20 RRQ "test.dat" netascii Mogens -- Mogens Kjaer, Carlsberg A/S, Computer Department Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark Phone: +45 33 27 53 25, Fax: +45 33 27 47 08 Email: mk at crc.dk Homepage: http://www.crc.dk