Click to See Complete Forum and Search --> : tftp not starting: installing PXES


NorMan-drake9
08-22-2003, 08:38 AM
Hello All,

I am trying to install PXES on a Redhat 8 box. Everything seems to fine except tftp-server.

I used the Services tool to check the status and all the options for tftp are greyed out so i can't even start it.

/etc/xinetd.d/tftp looks like this:

# 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
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -u nobody -s /tftpboot
per_source = 11
cps = 100 2
}

#########end #####

I chmod -R 666 /tftpboot

and I verified the /usr/sbin/in.tftp exsists.

So what am I missing?

I am using tftp-server .29 which comes with RH8.

Any help would be greatly appreciated!

Thanks

Norm

andysimmons
08-22-2003, 09:16 AM
I think 666 will just give everyone read/write permission, not execute. Not sure if that's the problem, but 4=read, 2=write, 1=execute, so add those up for the user, group, and others, and pick your chmod number that way.

NorMan-drake9
08-22-2003, 12:21 PM
Thank's for the guess. But that does not appear to be the problem. TFTP itself is not starting...from the get-go.

Does anyone know if there is somehing in xinetd that has to uncommented or added?

Norm

NorMan-drake9
08-22-2003, 12:28 PM
in /etc/sysconfig/xinetd there is a "EXTRAOPTIONS=" " and it is blank. What is that used for? Anyone know?

NorMan-drake9
08-23-2003, 09:16 AM
Ok Just for giggles I installed RH7.3 to see if there was a problem with RH8. No. Same thing TFTP does not work.

I double checked /etc/host, because I know that sometimes if that's not set right it can cause weird thing's to happen. I'm still out here in limbo, any ideas at all?

NorMan-drake9
08-25-2003, 07:35 AM
after reading and re-reading the info and man page I figured out what I was doing wrong.

to start the tftp deamon from the command line:

in.tftpd -l

the -l (L) option is for listen mode.

Hope this one helps someone else.

Norm

andysimmons
08-27-2003, 03:23 AM
Thanks for posting the solution! Appreciate it.