Article View: ch.comp.os.linux
Article #23990Re: tftp problem
From: 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
Technical Details
Message-ID:
<36D46794.3AC679AD@datacomm.ch>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36CD5A1D.4251BD0A@siemens.ch> <36D45BA5.416BA52E@gmx.net>Show Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII X-Google-Thread: f4b73,50372efd9b4641d0 X-Google-Attributes: gidf4b73,public From: "r.hess" <r.hess@datacomm.ch> Subject: Re: tftp problem Date: 1999/02/24 Message-ID: <36D46794.3AC679AD@datacomm.ch> X-Deja-AN: 448028744 Content-Transfer-Encoding: 8bit References: <36CD5A1D.4251BD0A@siemens.ch> <36D45BA5.416BA52E@gmx.net> To: Dominik Fretz <roboto@gmx.net> Content-Type: text/plain; charset=iso-8859-1 X-Trace: 24 Feb 1999 21:55:43 +0100, 212.254.1.167 MIME-Version: 1.0 Newsgroups: ch.comp.os.linux