next up previous contents
Siguiente: Servidor NFS Subir: Instalación de los servicios Anterior: Servidor DHCP   Índice General

Servidor TFTP

El servicio TFTP es usado por PXEBOOT para obtener el binario pxelinux.

TFTP son las siglas de Trivial File Transfer Protocol (Protocolo de transferencia de archivos trivial). Es un protocolo de transferencia muy simple semejante a una versión básica de FTP. TFTP a menudo se utiliza para transferir pequeños archivos entre ordenadores en una red, como cuando un terminal X Window o cualquier otro cliente ligero arranca desde un servidor de red.

Instale el servicio con:

# emerge net-ftp/tftp-hpa

Revise la condiguración con:

nano -w /etc/conf.d/in.tftpd

Configure este servicio para que el directorio que contenga los archivos por entregar sea /var/tftp/:

# Path to server files from
# Depending on your application you may have to change this.
# This is commented out to force you to look at the file!
INTFTPD_PATH="/var/tftp/"

# For more options, see in.tftpd(8)
# -R 4096:32767 solves problems with ARC firmware, and obsoletes
# the /proc/sys/net/ipv4/ip_local_port_range hack.
# -s causes $INTFTPD_PATH to be the root of the TFTP tree.
# -l is passed by the init script in addition to these options.
INTFTPD_OPTS="-R 4096:32767 -s ${INTFTPD_PATH}"

También hay que crear el directorio del que hablamos:

# mkdir /var/tftp

Arrancaremos el servicio TFTP más adelante, cuando tengamos los archivos que vaya a entregar.



2007-10-24