You are not logged in.

#1 2007-09-12 20:05:17

rquijanol
Member
Registered: 2007-03-24
Posts: 3

Mount a TFTP Server

Hi

I need to launch a tftp server in my box. Anyone can provide me an explanation on how to do this.

Did some research, installed the tftp-hpa, but can't connect to localhost. Any advice?

Offline

#2 2007-09-12 23:41:11

George_K
Member
From: Russie, Saint-Pétersbourg
Registered: 2006-09-27
Posts: 75

Re: Mount a TFTP Server

TFTP is not FTP. What client did you use to connect to your server?

Offline

#3 2007-09-12 23:50:19

hungsonbk
Member
Registered: 2007-05-26
Posts: 105
Website

Re: Mount a TFTP Server

There are somethings that you need to do to make your tftp server work.
1. To allow others to connect to tftp server, add this line to /etc/hosts.allow file:
in.tftpd:ALL
2. By default, tftp server does not allow your to upload file, so you need to modify the /etc/rc.d/tftpd script so that it will allow you to upload file. It will look like this:
start)
    stat_busy "Starting TFTPD"
    [ -z "$PID" ] && /usr/sbin/in.tftpd -l -s -c /var/tftpboot

3. Change the /var/tftpboot attribute so it allows other to upload file:
#chmod 777 /var/tftpboot

You need to manage your server because it will open a hole to others to upload files to your servers. You can control it by using /etc/hosts.allow file or using iptables.

Cheers.

Offline

Board footer

Powered by FluxBB