From owner-freebsd-net Tue Mar 6 4:52:43 2001 Delivered-To: freebsd-net@freebsd.org Received: from relay.tecc.co.uk (luggage.tecc.co.uk [193.128.6.129]) by hub.freebsd.org (Postfix) with SMTP id C775337B719 for ; Tue, 6 Mar 2001 04:52:38 -0800 (PST) (envelope-from andy@tecc.co.uk) Received: from fw-smtp.tecc.co.uk [195.217.37.39] by relay.tecc.co.uk with esmtp (Exim 1.70 #1) id 14aGxB-0007AW-00; Tue, 6 Mar 2001 12:52:37 +0000 Received: from [195.217.37.155] (helo=southampton) by fw-smtp.tecc.co.uk with smtp (Exim 2.12 #3) id 14aGvB-0004au-00; Tue, 6 Mar 2001 12:50:33 +0000 From: "Andy [TECC NOPS]" To: "Jean-Christophe Varaillon" Cc: Subject: RE: - TFTP: Time out - Date: Tue, 6 Mar 2001 12:57:01 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 In-Reply-To: Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > you are missing the portion ftp://user:passwd@host...... and > > putting in ftp://host.... so the cisco is trying to use anon > > ftp. You should use a real account as per my last email! > > I followed your e-mail: > --- > Router#conf t > Router(config)#ip ftp username Jean > Router(config)#ip ftp password poty89 > Router(config)#end > 19:16:29: %SYS-5-CONFIG_I: Configured from console by console > Router#copy ftp://Jean:poty89@x.x.x.48/c3640-i-mz.120-7.XK1.bin flash: > Destination filename [c3640-i-mz.120-7.XK1.bin]? > Accessing ftp://Jean:poty89@x.x.x.48/c3640-i-mz.120-7.XK1.bin... > %Error opening ftp://Jean:poty89@x.x.x.48/c3640-i-mz.120-7.XK1.bin > (Protocol error) > Router# err, no you didn't, I meant an account on your freebsd box, not the cisco. That snippet above created an acct on the cisco. > > > Concerning the TFTP Methode: > oups, mistake. > Never c3640-i-mz.120-7.XK1.bin has been a directory. > This is the way it was and it is: > %cd / > %ls -l > total 15122 > -rw-r--r-- 1 jcv jcv 0 Feb 26 14:10 ARCHIVE > -rw-r--r-- 1 jcv jcv 1166 Nov 29 12:33 BGP > -r--r--r-- 1 root wheel 4735 Jul 28 2000 COPYRIGHT > -rw-r--r-- 1 jcv jcv 898 Mar 2 17:53 HowTo > drwxr-xr-x 3 root wheel 512 Dec 4 14:23 RISCom > -rw-r--r-- 1 jcv jcv 1580 Nov 6 15:54 VoIP > -rw-r--r-- 1 jcv jcv 1004667 Sep 7 10:36 Zebra > drwxr-xr-x 2 root wheel 1024 Aug 22 2000 bin > drwxr-xr-x 3 root wheel 512 Aug 22 2000 boot > -rw-r--r-- 1 nobody nobody 4991380 Mar 5 16:56 > c3640-i-mz.120-7.XK1.bin > .... right, so where is the directory /tftpboot in the "ls -l" listing? The file c3640.... should then be in that directory. try this:- %cd /tmp %tftp localhost tftp> get c3640-i-mz.120-7.XK1.bin Received x bytes in 0.0 seconds tftp> quit % If you don't get that message, your local freebsd setup is at fault. Andy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message