Howto Tftp Server (Français)





HOWTO

Tftp Server


Author:  JUL <JUL_AT_julnav.com>

Contributor:
  

Release supported: SME 6.x

License: color=#ff0000>GPL


Last updated:

Friday, August 20, 2004


Problem: 
Vous voulez installer un serevru tftp sur votre SME.

Solution:
  Suivre ce How to.




STEP 1: Télécharger et installer les deux contribs



Télécharger et installer

tftp-0.28-2.i386.rpm

tftp-server-0.28-2.i386.rpm


STEP 2: Création du répertoire de stockage



Création du répertoire de stockage et modification des droits.
# mkdir /tftpboot

# chown nobody:nobody /tftpboot

# chmod 755 /tftpboot



STEP 3: Modification du paramétrage de xinet.d

#

pico -w /etc/xinet.d/tftp

# default: off

# description: The tftp server serves files using the trivial file transfer \

# protocol. The tftp protocol is often used to boot diskless \

# workstations, download configuration files to network-aware printers, \

# and to start the installation process for some operating systems.

service tftp

{

        disable = no

        socket_type = dgram

        protocol = udp

        wait = yes

        user = root

        server = /usr/sbin/in.tftpd

        server_args = -c -s /tftpboot

        per_source = 11

        cps = 100 2

}

Modifier disable et server-args comme ci dessus.



STEP 4:  Relancer Xinetd



#

/etc/init.d/xinetd restart



STEP 5: Modifier les templates de hosts.allow



# mkdir -p / etc/e-smith/templates-custom/etc/hosts.allow /

# pico -w /etc/e-smith/templates-custom/etc/hosts.allow/tftp

in.tftpd: ALL

ctrl-o

ctrl-x



# /sbin/e-smith/expand-template /etc/hosts.allow





Et le tour est joué. il est maintenant possible de booter des stations diskless du lan ou de faire la mise à jour de routeurs, switchs, etc. via tftp.
Category: 
Howtos pour E-Smith/SME