Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

pb avec in.tftpd

2 réponses
Avatar
alex.d
j'essai de transferer un fichier de configuration d'un routeur cisco
vers une machine linux en utilisant tftp mais cela ne fonctionne
evidement pas :-(
La machine sous linux faisant office de serveur tftp,voici comment
j'ai procédé:

je lance le service tftp serveur puis verifie qu'il tourne bien ainsi:

[root@VEGA root]# in.tftpd -lvc -u root -s /tmp
[root@VEGA root]# ps aux | grep tftp
root 1645 0.0 0.7 1632 464 ? S 12:20 0:00
in.tftpd -lvc -u root -s /tmp
root 1649 0.0 1.0 1772 676 pts/0 R 12:21 0:00 grep
tftp

je verifie les droits sur le répértoire de transfert tftp , /tmp:

[root@VEGA root]# ls -al /tmp/
total 28
drwxrwxrwt 6 root root 4096 avr 5 2004 ./
drwxr-xr-x 17 root root 4096 avr 5 2004 ../

je lance l'upload d'une configuration d'un routeur vers ma machine
linux mais
celui ci me renvoie une erreur :

router-3550#copy running-config tftp:
Address or name of remote host []? 192.168.10.1
Destination filename [router-3550-confg]?
.....
%Error opening tftp://192.168.10.1/router-3550-confg (Undefined error)

voici les logs sur la machine linux pendant la tentative de transfert:

[root@VEGA root]# tail -f /var/log/messages | grep tftp
Apr 5 16:24:12 VEGA in.tftpd[1652]: WRQ from 36.28.99.10 filename
router-3550-confg
Apr 5 16:24:12 VEGA in.tftpd[1652]: tftpd: read: No route to host
...
...
Apr 5 16:24:27 VEGA in.tftpd[1657]: WRQ from 36.28.99.10 filename
router-3550-confg
Apr 5 16:24:27 VEGA in.tftpd[1657]: tftpd: read: No route to host

lorsque je liste /tmp ,je voie mon fichier de tranfert avec une taille
nul:

[root@VEGA root]# ls -al /tmp/
total 28
drwxrwxrwt 6 root root 4096 avr 5 12:24 ./
drwxr-xr-x 17 root root 4096 avr 5 2004 ../
-rw-rw-rw- 1 root root 0 avr 5 12:24
router-3550-confg

ici je lance le service tftpd en standalone (serveur independant de
inetd ou
xinetd) à la main mais si il est lancé avec xinetd cela ne change rien
le pb est le méme et l'erreur "tftpd: read: No route to host" apparait
tjr.
Si vous avez une explication,d'avance merci !
Alex

2 réponses

Avatar
Jean-Claude(06)
Peut etre d'abord tester la connectivite.

commande ping.

J.C
Avatar
alex.d
Jean-Claude(06) wrote in message news:...
Peut etre d'abord tester la connectivite.

commande ping.


le réseau marche trés bien :) entre le routeur et la machine linux.
Je suppose que la requete WRQ du routeur est bien prise en compte par
le service tftp serveur de ma machine (pour preuve ,le fichier de conf
vide crée dans le répértoire tftp et les trace dans les logs) mais
ensuite il y a un pb.

J.C



je suis perdu: help!