Impossible de faire get/set sur serveur tftp

Fermé
OpenGLord - 7 sept. 2009 à 10:39
 OpenGLord - 7 sept. 2009 à 15:34
Bonjour,

J'ai suivi toutes les étapes nécessaires afin d'installer et configurer un server tftp sur ma machine (Fedora V11 Leonidas - noyau linux 2.6.29.6-217.2.16.fc11.i686.PAE - GNOME 2.26.3) :

Voici mon fichier tftp :
-------------------------

/etc/xinetd.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
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}

# server_args = -s /var/lib/tftpboot --> old value

Droits d'accès :
-------------------

Pour le dossier : drw-rw-rw-. 3 root root 4096 sept. 4 20:00 tftpboot
Le fichier qu'il contient que je veux récupérer : -rw-rw-rw-. 1 root root 14 sept. 4 16:08 pleasework.txt

Le test :
---------

service xinetd start
Démarrage de xinetd : [ OK ]

service xinetd status
xinetd (pid 3115) en cours d'exécution...

tftp localhost
tftp> verbose
Verbose mode on.
tftp> get pleasework.txt
getting from localhost:pleasework.txt to pleasework.txt [netascii]
Transfer timed out.

Le résultat :
--------------
J'ai sur mon bureau (répertoire courant) un fichier pleasework.txt mais VIDE (le fichier texte contient normalement "it is working")

Pouvez-vous m'aider ? Merci d'avance !

2 réponses

jipicy Messages postés 40842 Date d'inscription jeudi 28 août 2003 Statut Modérateur Dernière intervention 10 août 2020 4 895
7 sept. 2009 à 15:19
Salut,

J'ai suivi toutes les étapes nécessaires afin d'installer et configurer un server tftp sur ma machine (Fedora V11 Leonidas
Lesquelles ? T'as un lien ?
0
Salut et merci pour l'intérêt que tu portes à mon problème mais je l'ai réglé ;)

https://lonesysadmin.net/2007/10/29/how-to-install-a-tftp-server-on-red-hat-enterprise-linux/

Mon problème venait du fait que j'ai choisi localhost pour ma connexion tftp alors qu'il fallait mettre mon adresse ip, eh oui c'était pas grand chose mais fallait le trouver :D
0