https://wiki.archlinux.org/api.php?action=feedcontributions&user=Longname&feedformat=atomArchWiki - User contributions [en]2024-03-29T05:22:43ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=TFTP&diff=162758TFTP2011-09-28T04:10:32Z<p>Longname: Fixed typo that broke a link</p>
<hr />
<div>[[Category:Networking (English)]]<br />
<br />
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.<br />
<br />
This article describes how to set up a tftpd server under Arch Linux using the {{Package Official|tftp-hpa}} package.<br />
<br />
== Installation ==<br />
The first thing is to install the necessary package:<br />
# pacman -S tftp-hpa<br />
<br />
== Configuration ==<br />
The configuration for tftpd is in {{filename|/etc/conf.d/tftpd}}<br />
<br />
The default configuration is:<br />
<br />
#<br />
# Parameters to be passed to TFTPD<br />
#<br />
TFTPD_ARGS="-l -s /var/tftpboot" <br />
<br />
The directory {{filename|/var/tftpdboot}} is created automatically when tftp-hpa is installed.<br />
<br />
For a complete list of parameters:<br />
$ man in.tftpd<br />
<br />
== Run ==<br />
To start the daemon at boot, add {{codeline|tftpd}} to the {{codeline|DAEMONS}} array in {{filename|/etc/rc.conf}}.<br />
<br />
To start the daemon manually:<br />
# /etc/rc.d/tftpd start<br />
or, to start without a configuration file:<br />
# /usr/sbin/in.tftpd -l -s path/to/folder/to/export</div>Longname