Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2001 12:57:01 -0000
From:      "Andy [TECC NOPS]" <andy@tecc.co.uk>
To:        "Jean-Christophe Varaillon" <jcv@vbc.net>
Cc:        <freebsd-net@FreeBSD.ORG>
Subject:   RE: - TFTP: Time out -
Message-ID:  <NDBBKOKIGKLFGGPFHCGBCEPHCKAA.andy@tecc.co.uk>
In-Reply-To: <Pine.BSF.4.10.10103061233210.51397-100000@brunel.uk1.vbc.net>

next in thread | previous in thread | raw e-mail | index | archive | help
<snip>

 > 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:
<snip>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NDBBKOKIGKLFGGPFHCGBCEPHCKAA.andy>