Thread View: ch.comp.os.linux
8 messages
8 total messages
Started by Luca Decurtins
Fri, 19 Feb 1999 00:00
tftp problem
Author: Luca Decurtins
Date: Fri, 19 Feb 1999 00:00
Date: Fri, 19 Feb 1999 00:00
29 lines
1297 bytes
1297 bytes
Hoi z�m� Ich habe hier einen Router und will nun die Config Files �ber tftp auf einen Linux Rechner uppen. Ich mache dann: tftp 10.10.50.160 put lab2.cfg und er meldet mit: Error code 1: File not found Das File gibts aber. Wenn ich dann im /tftpboot ein file lab2.cfg erstelle und readonly setzte dann kommt: Error code 2: Access violation Komisch ist auch das in jedem Fall (egal ob put oder get) im /var/log/messages folgendes steht: ... tftpd: trying to get file: lab2.cfg ... tftpd: serving file from /tftpboot Im inetd.conf steht: tftp dgram upd wait root /usr/sbin/tcpd in.ftpd /tftpboot hat jemand ne ahnung warum es nicht tut? -luca.
Re: tftp problem
Author: Fretz Dominik
Date: Fri, 19 Feb 1999 00:00
Date: Fri, 19 Feb 1999 00:00
30 lines
1120 bytes
1120 bytes
Luca Decurtins wrote: > > Hoi z�m� > > Ich habe hier einen Router und will nun die Config Files �ber tftp auf > einen Linux Rechner uppen. Ich mache dann: > tftp 10.10.50.160 put lab2.cfg > > und er meldet mit: > Error code 1: File not found [snip] > hat jemand ne ahnung warum es nicht tut? > > -luca. hi nen mich unwissend, aber: l�uft das tftp auf dem router? egal: ich hab mal die erfahrung gemacht (mit nem andern ftp client), das ich das lokale file und das remote file angeben musste. versuchmal follgendes: tftp 10.10.50.160 put ./lab2.cfg lab2.cfg eventuell hilfts. gruss DOminik
Re: tftp problem
Author: mthomi
Date: Sat, 20 Feb 1999 00:00
Date: Sat, 20 Feb 1999 00:00
25 lines
1257 bytes
1257 bytes
Luca Decurtins wrote: > Ich habe hier einen Router und will nun die Config Files �ber tftp auf > einen Linux Rechner uppen. Ich mache dann: > tftp 10.10.50.160 put lab2.cfg > Das File gibts aber. Wenn ich dann im /tftpboot ein file lab2.cfg > erstelle und readonly setzte dann kommt: > > Error code 2: Access violation > > Komisch ist auch das in jedem Fall (egal ob put oder get) im > /var/log/messages folgendes steht: > > ... tftpd: trying to get file: lab2.cfg > ... tftpd: serving file from /tftpboot > > -luca. hallo Was willst Du genau machen? - das ascii cfg file vom linux auf den router uppen? (importieren) - die cfg vom router auf den linux in ein ascii cfg file exportieren? mike
Re: tftp problem
Author: Dominik Fretz
Date: Wed, 24 Feb 1999 00:00
Date: Wed, 24 Feb 1999 00:00
42 lines
1791 bytes
1791 bytes
Luca Decurtins wrote:
>
> Hoi z�m�
>
> Ich habe hier einen Router und will nun die Config Files �ber tftp auf
> einen Linux Rechner uppen. Ich mache dann:
> tftp 10.10.50.160 put lab2.cfg
>
> und er meldet mit:
> Error code 1: File not found
>
> Das File gibts aber. Wenn ich dann im /tftpboot ein file lab2.cfg
> erstelle und readonly setzte dann kommt:
>
> Error code 2: Access violation
>
> Komisch ist auch das in jedem Fall (egal ob put oder get) im
> /var/log/messages folgendes steht:
>
> ... tftpd: trying to get file: lab2.cfg
> ... tftpd: serving file from /tftpboot
>
> Im inetd.conf steht:
> tftp dgram upd wait root /usr/sbin/tcpd in.ftpd /tftpboot
>
> hat jemand ne ahnung warum es nicht tut?
>
> -luca.
hi
hast du inzwischen das mit dem localfile und remote file mal versucht?
gruss DOminik
--
The White Rabbit put on his spectacles. "Were shall I beginn,
please your Majesty?" he asked. "Beginn at the beginning,"
the King said very gravely, "and go on till you come to the end: then
stop."
Alice's Adventures in Wonderland
Re: tftp problem
Author: r.hess
Date: Wed, 24 Feb 1999 00:00
Date: Wed, 24 Feb 1999 00:00
63 lines
2473 bytes
2473 bytes
Wir machen genau das gleiche im geschaeft (Cisco Konfigs per TFTP sichern), das problem ist folgendes: Um ein File per TFTP uploaden zu koennen, muss es bereits auf dem Server existieren, und es muessen schreibrechte fuer den TFTP Daemon gesetzt sein. Wenn du also lab2.cfg nach /tftpboot uploaden willst, geht das folgendermassen: 1. File das so heisst auf dem Server erstellen, z.B. touch /tftpboot/lab2.cfg 2. Schreibrechte fuer den TFTP User (resp. Daemon) setzen, z.B. chmod 777 /tftpboot/lab2.cfg 3. das file uploaden, tftp 10.10.50.160 put lab2.cfg sollte dann ohne probleme funktionieren (tuts hier jedenfalls ;-)) cu ralph P: r.hess@datacomm.ch G: ralph.hess@ubs.com Dominik Fretz schrieb: > Luca Decurtins wrote: > > > > Hoi z�m� > > > > Ich habe hier einen Router und will nun die Config Files �ber tftp auf > > einen Linux Rechner uppen. Ich mache dann: > > tftp 10.10.50.160 put lab2.cfg > > > > und er meldet mit: > > Error code 1: File not found > > > > Das File gibts aber. Wenn ich dann im /tftpboot ein file lab2.cfg > > erstelle und readonly setzte dann kommt: > > > > Error code 2: Access violation > > > > Komisch ist auch das in jedem Fall (egal ob put oder get) im > > /var/log/messages folgendes steht: > > > > ... tftpd: trying to get file: lab2.cfg > > ... tftpd: serving file from /tftpboot > > > > Im inetd.conf steht: > > tftp dgram upd wait root /usr/sbin/tcpd in.ftpd /tftpboot > > > > hat jemand ne ahnung warum es nicht tut? > > > > -luca. > > hi > > hast du inzwischen das mit dem localfile und remote file mal versucht? > > gruss DOminik > > -- > The White Rabbit put on his spectacles. "Were shall I beginn, > please your Majesty?" he asked. "Beginn at the beginning," > the King said very gravely, "and go on till you come to the end: then > stop." > Alice's Adventures in Wonderland
Re: tftp problem
Author: Luca Decurtins
Date: Wed, 24 Feb 1999 00:00
Date: Wed, 24 Feb 1999 00:00
37 lines
1695 bytes
1695 bytes
Hi Ich will ein cfg file vom router zum linux rechner uppen. Damit ich dort eine art backup hab oder so. aber unterdessen hab ichs noch von anderen maschinen aus probiert.. leider ohne erfolg :( -luca. mthomi wrote: > > Luca Decurtins wrote: > > Ich habe hier einen Router und will nun die Config Files �ber tftp auf > > einen Linux Rechner uppen. Ich mache dann: > > tftp 10.10.50.160 put lab2.cfg > > Das File gibts aber. Wenn ich dann im /tftpboot ein file lab2.cfg > > erstelle und readonly setzte dann kommt: > > > > Error code 2: Access violation > > > > Komisch ist auch das in jedem Fall (egal ob put oder get) im > > /var/log/messages folgendes steht: > > > > ... tftpd: trying to get file: lab2.cfg > > ... tftpd: serving file from /tftpboot > > > > -luca. > > hallo > > Was willst Du genau machen? > > - das ascii cfg file vom linux auf den router uppen? (importieren) > - die cfg vom router auf den linux in ein ascii cfg file exportieren? > > mike
Re: tftp problem
Author: Luca Decurtins
Date: Thu, 25 Feb 1999 00:00
Date: Thu, 25 Feb 1999 00:00
76 lines
2968 bytes
2968 bytes
hallo scheint nun zu gehen. danke vielmals. nun noch eines ;)) wie kann ich dem cisco sagen das er das nun ned alle paar minuten wieder machen soll? syntax? tschue-huess -luca. r.hess wrote: > > Wir machen genau das gleiche im geschaeft (Cisco Konfigs per TFTP sichern), das > problem ist folgendes: > Um ein File per TFTP uploaden zu koennen, muss es bereits auf dem Server > existieren, und es muessen > schreibrechte fuer den TFTP Daemon gesetzt sein. > > Wenn du also lab2.cfg nach /tftpboot uploaden willst, geht das folgendermassen: > > 1. File das so heisst auf dem Server erstellen, z.B. touch /tftpboot/lab2.cfg > 2. Schreibrechte fuer den TFTP User (resp. Daemon) setzen, z.B. chmod 777 > /tftpboot/lab2.cfg > 3. das file uploaden, tftp 10.10.50.160 put lab2.cfg > sollte dann ohne probleme funktionieren (tuts hier jedenfalls ;-)) > > cu > ralph > > P: r.hess@datacomm.ch > G: ralph.hess@ubs.com > > Dominik Fretz schrieb: > > > Luca Decurtins wrote: > > > > > > Hoi z�m� > > > > > > Ich habe hier einen Router und will nun die Config Files �ber tftp auf > > > einen Linux Rechner uppen. Ich mache dann: > > > tftp 10.10.50.160 put lab2.cfg > > > > > > und er meldet mit: > > > Error code 1: File not found > > > > > > Das File gibts aber. Wenn ich dann im /tftpboot ein file lab2.cfg > > > erstelle und readonly setzte dann kommt: > > > > > > Error code 2: Access violation > > > > > > Komisch ist auch das in jedem Fall (egal ob put oder get) im > > > /var/log/messages folgendes steht: > > > > > > ... tftpd: trying to get file: lab2.cfg > > > ... tftpd: serving file from /tftpboot > > > > > > Im inetd.conf steht: > > > tftp dgram upd wait root /usr/sbin/tcpd in.ftpd /tftpboot > > > > > > hat jemand ne ahnung warum es nicht tut? > > > > > > -luca. > > > > hi > > > > hast du inzwischen das mit dem localfile und remote file mal versucht? > > > > gruss DOminik > > > > -- > > The White Rabbit put on his spectacles. "Were shall I beginn, > > please your Majesty?" he asked. "Beginn at the beginning," > > the King said very gravely, "and go on till you come to the end: then > > stop." > > Alice's Adventures in Wonderland
Re: tftp problem
Author: r.hess
Date: Sat, 27 Feb 1999 00:00
Date: Sat, 27 Feb 1999 00:00
85 lines
3282 bytes
3282 bytes
Sorry, da kann ich dir leider nicht helfen, wir mussten die Konfigurations immer von Hand von den Ciscos auf den TFTP Server speichern. (net write heisst der befehl zum sichern, soweit ichs im kopf habe...) cu ralph Luca Decurtins schrieb: > hallo > > scheint nun zu gehen. danke vielmals. > nun noch eines ;)) > wie kann ich dem cisco sagen das er das nun ned alle paar minuten wieder > machen soll? > syntax? > > tschue-huess > -luca. > > r.hess wrote: > > > > Wir machen genau das gleiche im geschaeft (Cisco Konfigs per TFTP sichern), das > > problem ist folgendes: > > Um ein File per TFTP uploaden zu koennen, muss es bereits auf dem Server > > existieren, und es muessen > > schreibrechte fuer den TFTP Daemon gesetzt sein. > > > > Wenn du also lab2.cfg nach /tftpboot uploaden willst, geht das folgendermassen: > > > > 1. File das so heisst auf dem Server erstellen, z.B. touch /tftpboot/lab2.cfg > > 2. Schreibrechte fuer den TFTP User (resp. Daemon) setzen, z.B. chmod 777 > > /tftpboot/lab2.cfg > > 3. das file uploaden, tftp 10.10.50.160 put lab2.cfg > > sollte dann ohne probleme funktionieren (tuts hier jedenfalls ;-)) > > > > cu > > ralph > > > > P: r.hess@datacomm.ch > > G: ralph.hess@ubs.com > > > > Dominik Fretz schrieb: > > > > > Luca Decurtins wrote: > > > > > > > > Hoi z�m� > > > > > > > > Ich habe hier einen Router und will nun die Config Files �ber tftp auf > > > > einen Linux Rechner uppen. Ich mache dann: > > > > tftp 10.10.50.160 put lab2.cfg > > > > > > > > und er meldet mit: > > > > Error code 1: File not found > > > > > > > > Das File gibts aber. Wenn ich dann im /tftpboot ein file lab2.cfg > > > > erstelle und readonly setzte dann kommt: > > > > > > > > Error code 2: Access violation > > > > > > > > Komisch ist auch das in jedem Fall (egal ob put oder get) im > > > > /var/log/messages folgendes steht: > > > > > > > > ... tftpd: trying to get file: lab2.cfg > > > > ... tftpd: serving file from /tftpboot > > > > > > > > Im inetd.conf steht: > > > > tftp dgram upd wait root /usr/sbin/tcpd in.ftpd /tftpboot > > > > > > > > hat jemand ne ahnung warum es nicht tut? > > > > > > > > -luca. > > > > > > hi > > > > > > hast du inzwischen das mit dem localfile und remote file mal versucht? > > > > > > gruss DOminik > > > > > > -- > > > The White Rabbit put on his spectacles. "Were shall I beginn, > > > please your Majesty?" he asked. "Beginn at the beginning," > > > the King said very gravely, "and go on till you come to the end: then > > > stop." > > > Alice's Adventures in Wonderland
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads