Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I trying to set up a PXE boot server.

Everything is working but the TFTP client is timing out.

TFTP connection timeout

I am using this to setup the TFTP server. http://www.davidsudjiman.info/2006/03/27/installing-and-setting-tftpd-in-ubuntu/

/etc/xinet.d/tftp

service tftp
{
protocol        = udp
port            = 69
socket_type     = dgram
wait            = yes
user            = nobody
server          = /usr/sbin/in.tftpd
server_args     = /tftpboot
disable         = no
}

ps ax|grep tftp doesn't return it running.

any idea's what could be wrong?

share|improve this question
up vote 2 down vote accepted

That seems to be a very old tutorial you have there.

What version of Ubuntu are you using ?

A more up to date tutorial can be found here:

https://help.ubuntu.com/community/PXEInstallMultiDistro

From the wiki, you need to use the tftpd-hpa server (there are 2 servers in the repos).

sudo apt-get -y install tftpd-hpa
sudo /etc/init.d/openbsd-inetd stop
sudo update-rc.d -f openbsd-inetd remove
sudo sed -i s/no/yes/ /etc/default/tftpd-hpa
sudo /etc/init.d/tftpd-hpa start

Ubuntu installs the openbsd-inetd pakcage when the tfpd-hpa package is installed. In our example we will simply run TFTP as a daemon and will always be listening for connections.

If you are still having a problem with a time out, can you confirm the tftpd-hpa server is running and update your question.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.