Nextelco:TFTP

= TFTP server = Trivial File Transfer Protocol (TFTP) is a file transfer protocol notable for its simplicity. It is generally used for automated transfer of configuration or boot files between machines in a local environment. Compared to FTP, TFTP is extremely limited, providing no authentication, and is rarely used interactively by a user.

Due to its simple design, TFTP can be implemented using a very small amount of memory. It is therefore useful for booting computers such as routers which may not have any data storage devices. It is an element of the Preboot Execution Environment (PXE) network boot protocol, where it is implemented in the firmware ROM / NVRAM of the host's network card.

Installation
In order to install it, this is the only command that is needed: host# apt-get install tftpd-hpa

Configuration
In order to be able to upload files without the need of creating them before, the settings has to be changed from TFTP_USERNAME="tftp" TFTP_DIRECTORY="/srv/tftp" TFTP_ADDRESS="0.0.0.0:69" TFTP_OPTIONS="--secure"
 * 1) /etc/default/tftpd-hpa

to

TFTP_USERNAME="tftp" TFTP_DIRECTORY="/srv/tftp" TFTP_ADDRESS="0.0.0.0:69" TFTP_OPTIONS="--secure --create --listen --verbose" RUN_DAEMON="yes"
 * 1) /etc/default/tftpd-hpa

To do that, just edit the configuration file and restart the service.

Host#vi /etc/default/tftpd-hpa Host#/etc/init.d/tftpd-hpa restart

The last setting is to change the owner and permissions of /src/tftp folder. Take into account that tftp-hpa is running by tftp user.

Host#chown tftp /srv/tftp/ Host#chmod 755 /srv/tftp/

Return to Maintenance page.

Return to Application Server page.

Return to Technology page.