tftp server

General support questions
Post Reply
sammy404
Posts: 9
Joined: 2011/08/02 19:31:22

tftp server

Post by sammy404 » 2011/08/22 18:35:58

Hello me and my friend are trying to set up a tftp server for work and right now when we have to client boot from ipxe it connects to our server then gives the error

Could not chain image: Operation not supported (http://ipxe.org/3c126003)

We went to that website and it tells us it may be a problem with the client not finding the file..
Any help would be awesome we are new to this stuff so any help would be awesome....

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: tftp server

Post by AlanBartlett » 2011/08/22 19:17:46

Please review the [url=https://www.centos.org/modules/newbb/viewforum.php?forum=54]forum guidelines[/url] and [b]do not[/b] multi-post.

Your other two identical postings have been locked. Any assistance will be provided here.

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

tftp server

Post by gerald_clark » 2011/08/22 19:33:39

Welcome to CentOS.
new users need to read
http://www.centos.org/modules/newbb/viewforum.php?forum=47

Since you failed to supply any configuration information,
I would guess that your dhcpd.conf does not properly define the file to load relative to tftpboot's root definition in /etc/xinetd.d/tftp.

This is not the CentOS supplied pxe, you may have better luck at http://ipxe.org/

sammy404
Posts: 9
Joined: 2011/08/02 19:31:22

Re: tftp server

Post by sammy404 » 2011/08/25 20:35:45

Where would be the root definition in the file?

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: tftp server

Post by TrevorH » 2011/08/25 20:46:18

If you want help then you need to post some details about what you've done, how things are configured, what errors you are seeing. Without any of this, anything anyone suggests is just going to be guesswork (and probably wrong).

sammy404
Posts: 9
Joined: 2011/08/02 19:31:22

Re: tftp server

Post by sammy404 » 2011/08/25 20:49:39

Okay our error is this.. Could not chain image: Operation not supported (http://ipxe.org/3c126003)

we get that when we try and boot a computer from our network and it tries to connect to our server.
we have done no configuring all we did was install clonezilla, drbl, and all its dependencies.

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: tftp server

Post by TrevorH » 2011/08/25 21:08:28

You haven't configured anything? And you wonder why it doesn't work? Without wishing to be rude, have you tried RTFM?

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: tftp server

Post by pschaff » 2011/09/09 14:05:40

[quote]
sammy404 wrote:
Hello me and my friend are ...[/quote]
Pardon my pedantry, but the repeated "Hello" is rather unnecessary, and if you are going to continue to include your silent partner in every thread please employ proper English and start off - "My friend and I are ..." or just "We are ...".

I'm not sure why you are throwing [url=http://drbl.sourceforge.net/]DRBL[/url] into the mix, how you installed it, nor what dependencies might be required, as I see no CentOS packages for it, although the website does have [url=http://drbl.sourceforge.net/download/sourceforge/stable/pkg-files.php]i386 and source RPMs[/url].

A good starting point for reading may be [url=http://wiki.centos.org/HowTos/PXE/Clonezilla]HowTos/PXE/Clonezilla[/url].

scottro
Forum Moderator
Posts: 2556
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Re: tftp server

Post by scottro » 2011/09/09 14:13:46

Some notes of mine from 2008---however, I can't answer any questions about it, as it was a temp setup that we no longer use.

[quote]
yum install tftp-server
This creates a directory, /tftpboot

If being used for Cisco images, 777 permissions are necessary.

chmod -R 777 /tftpboot
To start it as standalone, use the command

/usr/sbin/in.tftpd -cpl
(That is a lower case L)

EXPLANATION

The -l makes it run as a standalone server. The -c allows new files to be created. The -p will enable the files to take permissions of a user, rather than defalting to 777.

Running from xinetd

If run as a service from xinetd, tftp can be turned on and off with chkconfig. (The service command doesn't work.)

There is a file /etc/xinet.d/tftp with a line reading

disabled = yes
Running

/sbin/chkconfig --level 345 tftp on
will immediately change the disabled = yes to disabled = no and start the service. There is no need to restart xinetd.

To check if it's listening

netstat -a |grep tftp
This should return

udp 0 0 *:tftp *:*
If you are simply returned to a command prompt then tftp isn't running.

When done using tftp, the service can be stopped with

/sbin/chkconfig --level 345 tftp off
If being run as a standalone server, then it can be stopped with pkill.[/quote]

It was something we were doing in a hurry, don't remember the reasons, but at any rate, that's how we did it. I'm guessing we had to do some Cisco stuff since I have the line about Cisco in there.

Post Reply