TFTP

From ArchWiki
Revision as of 21:11, 12 August 2011 by C0redumb (Talk | contribs) (Add configuration for tftpd, removed configuration for dhcpd (unrelated))

Jump to: navigation, search


Introduction

This HOWTO describes how to set up a tftpd server under Arch Linux.

Installation

The first thing is to install all necessary stuff:

# pacman -S tftp-hpa

Configuration

The configuration for tftpd is in /etc/conf.d/tftpd

The default configuration is

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

The directory /var/tftpdboot is created automatically when tftp-hpa is installed.

Run

Tftpd daemon can be started in one of the three ways.

1. From /etc/rc.conf

Add "tftpd" to the DAEMON line in /etc/rc.conf

2. From /etc/rc.d

/etc/rc.d/tftpd start

3. From commandline

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