Does anyone know how to configure tftp to recieve and send files. I have 10 brand new Cisco switches which have to be configured, and I do not care to much about telnetting into everyone of them to change config manually... /Mattias -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
By default (if you've installed the tftp package - I believe it is part of netkitb) it is enabled. Create a directory called /tftpboot and verify the existance of the tftp entry in the /etc/inetd.conf and the binary /usr/sbin/in.tftpd. Create the files (or at least 'touch' the name of the file). If you wish to copy a config from a Cisco to the tftp server, the file need to world writeable. If you only wish to copy the configs to the routers, then world readable is fine. That should be it. If you are running SuSE 6.3, make sure you apply the updates, as the stock tftp server that shipped with the 6.3 dist is broken. - Herman On Tue, 4 Apr 2000, Mattias Hermansson wrote: ->> ->>Does anyone know how to configure tftp to recieve and send files. I have ->>10 brand new Cisco switches which have to be configured, and I do not care ->>to much about telnetting into everyone of them to change config ->>manually... ->> ->>/Mattias ->> ->> ->>-- ->>To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com ->>For additional commands send e-mail to suse-linux-e-help@suse.com ->>Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/ ->> -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hi, On Tue, Apr 04, Herman Knief wrote:
By default (if you've installed the tftp package - I believe it is part of netkitb) it is enabled. Create a directory called /tftpboot and verify
That's wrong. tftp is not enabled by default. You need to edit /etc/inetd.conf and send a SIGHUP to inetd.
the existance of the tftp entry in the /etc/inetd.conf and the binary /usr/sbin/in.tftpd.
Create the files (or at least 'touch' the name of the file). If you wish to copy a config from a Cisco to the tftp server, the file need to world writeable. If you only wish to copy the configs to the routers, then world readable is fine.
Since tftpd runs as nobody, you should make sure that nobody can read and write the files. Thorsten -- Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de SuSE GmbH Schanzaeckerstr. 10 90443 Nuernberg Linux is like a Vorlon. It is incredibly powerful, gives terse, cryptic answers and has a lot of things going on in the background. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
By default (if you've installed the tftp package - I believe it is part of netkitb) it is enabled. Create a directory called /tftpboot and verify the existance of the tftp entry in the /etc/inetd.conf and the binary /usr/sbin/in.tftpd.
It worked great to transfer files from my computer to the SS5's netboot but transfering to or from the cisco didn't work..
Create the files (or at least 'touch' the name of the file). If you wish to copy a config from a Cisco to the tftp server, the file need to world writeable. If you only wish to copy the configs to the routers, then world readable is fine.
I added the -c flag, but it didn't help...
That should be it. If you are running SuSE 6.3, make sure you apply the updates, as the stock tftp server that shipped with the 6.3 dist is broken.
Actually, that wasn't needed as I'm using 6.3AXP, but I think I tried everything until... I got it working! The problem wasn't in my computer, the switch didn't pass an initial / to tftpd and was thus rejected. When I tried to correct this after typing copy command it didn't work but when typing it on the commandprompt it worked. Thus when copying configuration to/from cisco switch type: copy system:/running-config t<A HREF="ftp://name.of.tftp.server//tftpboot/<config">ftp://name.of.tftp.server//tftpboot/<config</A>> do not forget the extra / between server name and server path... /Mattias -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (3)
-
herman@knief.net
-
kukuk@suse.de
-
mattias@hemmet.chalmers.se