Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-19-2005, 02:04 PM   #1
Registered: Jun 2004
Location: Belgrade
Distribution: Anything with a bash prompt :P
Posts: 74

Rep: Reputation: 15
Error "TFTP open timeout"

Hi all,

I am trying to setup PXE booting using DHCP and a tftpd server.

Now dhcp works and the mobo (intel PXE Boot Agent) gets an IP address and then tries to connect to TFTP, It then complains about "TFTP open timeout" and then "Loading the boot image failed"

Thats it.

This seems to me to be a problem with the TFTP server, but the TFTP server just confuses me.

looking at the processes ("ps -ef | grep tftp" ) yields no server, reading around tells me that tftp is run within inetd (which is running on my pc and i can see the process). is that supposed to be like that or is TFTP supposed to show up on the process list?

Another thing which confuses me is the lack of a configuration file anywhere, there seems apsolutely no configuration file for the TFTP server, and googling for an answer didnt help me here.

the only thing i found was the in.tftp program, googling about tells me that this is the server (which is invoked by inetd when required), but no matter what commands i give it it just fails silently, whether I tell it to run standalone, or in inetd, it just seems to fail silently, so in desperation i am here to ask if anyone can help me with TFTP?

Old 03-20-2005, 09:17 AM   #2
Registered: Dec 2004
Location: Ohio
Distribution: Fedora Core 3
Posts: 125

Rep: Reputation: 15
Your in.tftp is going to be launched via inetd or xinetd (varies by distribution)

If I recall correctly, tftp doesn't do authentication, so access is going to be based on your /etc/hosts.allow | /etc/hosts.deny or specified in inetd settings.

Additionally, you want to make sure your tftp files are world readable. ie chmod o+r filename.

To see if it's running, you can just

netstat -at |grep tftp

netatst -at will show all tcp ports

If you make changes, you'll have to kill -HUP pid-of-inetd or xinetd, to have it reread the configuration file.
Old 03-20-2005, 04:51 PM   #3
Registered: Mar 2005
Location: LAX
Distribution: Slackware
Posts: 40

Rep: Reputation: 15
I use a bootp / tftp method

The timeout could be a couple of things.

First thing I would check is that you have a line for tftp in /etc/inetd.conf telling inetd to start in.tftpd on request.
should look soething like:
tftp    dgram   udp     wait    root    /usr/sbin/tcpd  in.tftpd /mnt/tftpboot
And that /etc/bootptab is configured properly for the machine you are trying to boot.

Second I usally find that inetd/tftpd just does not respond fast enuff to the inital request and a simple reboot of the
machine your trying to net boot will get a response the second time.
Old 03-20-2005, 08:53 PM   #4
Registered: Dec 2004
Location: Malaysia
Distribution: Redhat/Fedora Core, Slackware, Ubuntu, Knoppix, Gentoo, SUSE, Ubuntu
Posts: 40

Rep: Reputation: 15

For my config, to ease life, leave all the hosts.allow and hosts.deny as default it is the first time u install it. What u need to do is just make sure

1. "pxelinux.0" file and "pxelinux.cfg" folder is under /tftpboot
2. Your dhcpd.conf for each client must be pointing to "/pxelinux.0" and NOT "/tftpboot/pxelinux.0"

Lastly restart your dhcpd.

3. If it doesnt work, give all these files the attribute to view by all others:

root# chmod +r -R /tftpboot
Old 01-14-2007, 12:08 PM   #5
LQ Newbie
Registered: Jan 2007
Posts: 13

Rep: Reputation: 0
hi all,

i met the same problem, how's is this tread going on??


Old 10-07-2009, 09:16 AM   #6
LQ Newbie
Registered: Apr 2007
Location: RO
Distribution: slackware
Posts: 4

Rep: Reputation: 0
A possible problem/solution (in hope it may be useful):

If there are more than one interface (especially if the interfaces are in the same network address) and the tftpd is not properly configured, messages like:

[07-Oct-09 17:01:33] Client /home/share/Provide/PXE-boot/pxelinux.0, Timeout
may appear in the tftpd log file.

Possible solutions are: bring down unused interfaces and/or properly configure the tftp daemon.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can you explain the difference between "Free Software (GNU)" and "Open Source"? vharishankar General 5 03-03-2005 09:40 AM
kdm_greet error: "Can't open default user face" ParticleMan Linux - Software 1 07-27-2004 04:20 AM
"X-MS" cant open because "x-Multimedia System" cant access files at "smb&qu ponchy5 Linux - Networking 0 03-29-2004 11:18 PM
ADSL Not working with DSL-300G. Error: "pppoe: timeout waiting for PADO packets" bitshifter Debian 1 01-15-2004 12:41 AM
tftp - "Destination Unreachable" due to "Port Unreachable" renjithgopal Linux - Security 5 07-24-2003 10:36 AM

All times are GMT -5. The time now is 03:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration