tftp keeps timing out when I try to transfer files. I intend to use tftp with G4U to clone a standard workstation. I am testing it between two Dell poweredge servers running CentOS 4.3. "chkconfig --list |grep tftp" shows tftp up and running on both boxes. When connected "tftp>status" shows it is talking to the other box "tptp>trace" shows "sent WRQ <file=slavelit, mode=netascii>" and ends with Transfer timed out. I have tftp is being run under xinetd. I have modified /etc/xinetd.d/tftpd as follows: server_args -p -c -U 002 -u install -s /tster I have setup a user install, set read/write privileges on /tster which is owned by install Not sure what else I need to do to get this working, any suggestions would be appreciated Mark Snyder JMK Computerized TDIS Urbana, IL 61802
> tftp keeps timing out when I try to transfer files. I intend to usetftp with G4U to clone> a standard workstation. I am testing it between two Dell poweredgeservers running CentOS> 4.3. "chkconfig --list |grep tftp" shows tftp up and running on bothboxes. How are the transfer speeds when it is actually running? Do you see many dropped pkts when running other transfer protocols? It kinda sounds like a general network problem to me...if you run: ifconfig -a Do you see many errors? If you do..run this: mii-tool What is the duplex setting? Does it match what is on the other side (switch, or system if it is a cross-over cable) What is the link between the two systems? 100Mbit LAN, or are you going over a router or something? Mike
Mark Snyder wrote:> > tftp keeps timing out when I try to transfer files. I intend to use > tftp with G4U to clone a standard workstation. I am testing it between > two Dell poweredge servers running CentOS 4.3. "chkconfig --list > |grep tftp" shows tftp up and running on both boxes. When connected > "tftp>status" shows it is talking to the other box > "tptp>trace" shows "sent WRQ <file=slavelit, mode=netascii>" and ends > with Transfer timed out. > > I have tftp is being run under xinetd. > > I have modified /etc/xinetd.d/tftpd as follows: > > server_args -p -c -U 002 -u install -s /tster > > I have setup a user install, set read/write privileges on /tster which > is owned by install > > Not sure what else I need to do to get this working, any suggestions > would be appreciatedHave you checked the usual culprits? SELINUX or iptables? Try disabling them one at a time and see if the bad behavior disappears. Cheers,
I have found for pxe installs that tftp would only work (for me) if the owner:group of the files/directories in question are nobody:nogroup Jeff On Thu, 2006-12-28 at 14:05 -0600, Mark Snyder wrote:> > chrism at imntv.com wrote: > > Mark Snyder wrote: > >> > >> tftp keeps timing out when I try to transfer files. I intend touse> >> tftp with G4U to clone a standard workstation. I am testing itbetween> >> two Dell poweredge servers running CentOS 4.3. "chkconfig --list > >> |grep tftp" shows tftp up and running on both boxes. When connected> >> "tftp>status" shows it is talking to the other box > >> "tptp>trace" shows "sent WRQ <file=slavelit, mode=netascii>" andends> >> with Transfer timed out. > >> > >> I have tftp is being run under xinetd. > >> > >> I have modified /etc/xinetd.d/tftpd as follows: > >> > >> server_args -p -c -U 002 -u install -s /tster > >> > >> I have setup a user install, set read/write privileges on /tsterwhich> >> is owned by install > >> > >> Not sure what else I need to do to get this working, anysuggestions> >> would be appreciated > > > > Have you checked the usual culprits? SELINUX or iptables? Try > > disabling them one at a time and see if the bad behavior disappears. > > > > both are disabled, but it was a good thought. > > > Cheers, > > > > _______________________________________________ > > CentOS mailing list > > CentOS at centos.org > > http://lists.centos.org/mailman/listinfo/centos > > > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos
Hi Mark: On 28/12/06, Mark Snyder <mark at jmktdis.com> wrote:> > tftp keeps timing out when I try to transfer files. I intend to use tftp with G4U to clone>From my ancient memory when I wrote a tftp client+server many yearsago, my diagnose is that your firewall might be blocking it since tftp is using udp packets to transfer files with random port numbers. I'm not sure if there's a iptable plug-in for tftp similar to the amanda udp plug-in, but I'd just turn off the firewall to test it. Good luck, -- Alvin Chang Yu-Ming
On Thursday 28 December 2006 11:32, Mark Snyder wrote:> tftp keeps timing out when I try to transfer files. I intend to use tftp > with G4U to clone a standard workstation. I am testing it between two Dell > poweredge servers running CentOS 4.3. "chkconfig --list |grep tftp" shows > tftp up and running on both boxes. When connected "tftp>status" shows it is > talking to the other box > "tptp>trace" shows "sent WRQ <file=slavelit, mode=netascii>" and ends with > Transfer timed out. > > I have tftp is being run under xinetd. > > I have modified /etc/xinetd.d/tftpd as follows: > > server_args -p -c -U 002 -u install -s /tster > > I have setup a user install, set read/write privileges on /tster which is > owned by install > > Not sure what else I need to do to get this working, any suggestions would > be appreciatedSpecifying -v a couple of times may yield more information in the logs. tftp is pretty sparse in it's logging unless to tell it otherwise. If that doesn't yield any useful information, I would uninstall the tftp-server rpm and the xinetd config for it and reinstall stock, and try to get it working with stock settings. If that works, slowly change to your desired settings, to see what's causing the problem. -- - Kevan Benson - A-1 Networks
> -----Original Message----- > From: Mark Snyder > Sent: Thursday, December 28, 2006 2:32 PM > Subject: [CentOS] tftp times out > > > tftp keeps timing out when I try to transfer files. I intend to use tftp with G4U to clone > a standard workstation. I am testing it between two Dell poweredge servers running CentOS > 4.3. "chkconfig --list |grep tftp" shows tftp up and running on both boxes. When connected > "tftp>status" shows it is talking to the other box > "tptp>trace" shows "sent WRQ <file=slavelit, mode=netascii>" > and ends with Transfer timed out. > > I have tftp is being run under xinetd. > > I have modified /etc/xinetd.d/tftpd as follows: > > server_args -p -c -U 002 -u install -s /tster > > I have setup a user install, set read/write privileges on > /tster which is owned by install > > Not sure what else I need to do to get this working, any > suggestions would be appreciated >I had problems with the tftp-server (BSDish tftp-hpa) that ships with redhat, especially with large files. Ended up going with atftpd instead http://dag.wieers.com/packages/atftp/ and everything started to work. marc