[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] image.bin, download.bit



Hi Rahul,

Rahul Sarvadevabhatla wrote:
> I cannot get or put files locally. 

That will explain why it didn't work from microblaze! :)  You should try 
ther same for your regular ftp service as well.

> Should the tftpd path be in the 
> inetd.conf and passwd in the /etc directory. In my case it is not.

tftp is generally disabled by default - it's very insecure, never run it 
outside a trusted firewall zone.

You said you run Manrake 9.1 - I'm a RedHat user myself, so I expect the 
configuration will be different.  Anyway, here's how I've configured it 
on my box - note that I'm not a network admin - check the correctness of 
this for yourself before doing it!

Make sure you have the tftpd executable somewhere (on my machine it's 
/usr/sbin/in.tftpd), then place the attached file (tftp) in your 
/etc/xinetd.d directory (or perhaps just edit the one that's already 
there).

Finally, you need to restart network services

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

All of this must be done as root, of course.

A google search for mandrake tftp server find plenty of hits.

Regards,

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