Difference between revisions of "TFTP"

From ArchWiki
Jump to: navigation, search
m (Fixed typo that broke a link)
Line 1: Line 1:
 
[[Category:Networking (English)]]
 
[[Category:Networking (English)]]
  
The [[Wikipedia:Trivial File Transfer Protocol|Trivial Fire Transfer Protocol]] (TFTP) provides a minimalistic means for transferring files.  It is generally used as a part of [[PXE]] booting or for updating configuration and firmware on devices which have limited memory such as routers and printers.
+
The [[Wikipedia:Trivial File Transfer Protocol|Trivial File Transfer Protocol]] (TFTP) provides a minimalistic means for transferring files.  It is generally used as a part of [[PXE]] booting or for updating configuration and firmware on devices which have limited memory such as routers and printers.
  
 
This article describes how to set up a tftpd server under Arch Linux using the {{Package Official|tftp-hpa}} package.
 
This article describes how to set up a tftpd server under Arch Linux using the {{Package Official|tftp-hpa}} package.

Revision as of 22:22, 3 November 2011


The Trivial File Transfer Protocol (TFTP) provides a minimalistic means for transferring files. It is generally used as a part of PXE booting or for updating configuration and firmware on devices which have limited memory such as routers and printers.

This article describes how to set up a tftpd server under Arch Linux using the Template:Package Official package.

Installation

The first thing is to install the necessary package:

# pacman -S tftp-hpa

Configuration

The configuration for tftpd is in Template:Filename

The default configuration is:

#
# Parameters to be passed to TFTPD
#
TFTPD_ARGS="-l -s /var/tftpboot" 

The directory Template:Filename is created automatically when tftp-hpa is installed.

For a complete list of parameters:

$ man in.tftpd

Run

To start the daemon at boot, add Template:Codeline to the Template:Codeline array in Template:Filename.

To start the daemon manually:

# /etc/rc.d/tftpd start

or, to start without a configuration file:

# /usr/sbin/in.tftpd -l -s path/to/folder/to/export