Re: tftp boot server on Redhat linux 9

"Michael Anburaj" <[email protected]>
Newsgroups gmane.linux.redhat.devel
Message-ID <[email protected]>
Hi All,

Thanks a lot for you segestions.

I edited the configuration file '/etc/xinetd.d/tftp'

& now it has:

service tftp
{
	socket_type		= dgram
	protocol		= udp
	wait			= yes
	user			= root
	server			= /usr/sbin/in.tftpd
	server_args		= -u nobody -s /tftpboot
	disable			= no
	per_source		= 11
	cps			= 100 2
	flags			= IPv4
}

after that I issued the following command to restart the tftp server:

$ /etc/rc.d/init.d/xinetd restart

Then from my tftp client (target board running YAMON) issued the command to 
get a file using tftp:

YAMON> load tftp://4.42.102.5/vmlinux.rec
About to load tftp://4.42.102.5/vmlinux.rec
Press Ctrl-C to break
Error : TFTP READ-REQ timeout ERROR
Hint  : Check TFTP-server is up and running

where:
vmlinux.rec is in /tftpboot on the PC host
4.42.102.5 is the IP of my host PC running Redhat Linux 9
4.42.102.6 is the IP of Target board running YAMON (TFTP client)


Connection:

Target running YAMON <--> hub port - Ethernet HUB - hub port <--> PC running 
RH Linux 9

These are the only 2 machines physically connected in the network.

Ping works from either side.

Questions:
1. Is the network set-up OK for tftp (its a peer-to-peer connection)?
2. The TFTP status using 'redhat-config-services' shows xinetd. Is this too 
advanced for the YAMON - Compatibility issue?
3. Do I need to reboot RH Linux for the configuration to take effect?
4. Do you find anything missing or wrong.

Please advice me why I am not able to do tftp downloads.

Thanks,
-Mike.

>From: John <[email protected]>
>Reply-To: [email protected]
>To: [email protected]
>Subject: Re: tftp boot server on Redhat linux 9
>Date: Wed, 7 May 2003 09:08:58 +0800 (WST)
>
>On Tue, 6 May 2003, Michael Anburaj wrote:
>
> > Hi,
> >
> > I am trying to setup TFTP boot server on Redhat Linux 9. Please bare 
>with me
> > because I am new to the linux world.
> >
> > 1. Issue:
> > I am not sure even if the tftp-server rpm package is installed on my 
>system
>
>rpm -qa '*ftp*'
> >
> > 2. I don’t know how to configure it & start it. Some documents refer to 
>a
> > file ‘/etc/inetd.conf’ but I can only find ‘/etc/xinetd.conf’. & some 
>refer
> > to ‘/etc/xnetd.d/tftp’ & I don’t even have that file. Please point to a
> > document that clearly states the steps to install & configure simple 
>tftp
> > boot server.
>I think this is the modern way to do it.
>chkconfig tftp on
>
>RHL uses xinetd. Here is my working configuration from 7.x:
>[root@magpie root]# cat /etc/xinetd.d/tftp
># 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             = -r blksize -s /tftpboot
>}
>[root@magpie root]#
>
>
>--
>Please, reply only to the list.
>
>Join the "Linux Support by Small Businesses" list at
>http://mail.computerdatasafe.com.au/mailman/listinfo/lssb
>
>
>
>
>_______________________________________________
>Redhat-devel-list mailing list
>[email protected]
>https://listman.redhat.com/mailman/listinfo/redhat-devel-list

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.