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

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 6 Mar 2001, Andy [TECC NOPS] wrote:

> > In in /var/log/messages I have:
> >
> > Concerning the FTP Methode:
> > ---
> > Mar  6 11:22:35 homer ftpd[20832]: ANONYMOUS FTP LOGIN REFUSED FROM
> > <my router>
> > Mar  6 11:51:47 homer ftpd[21090]: FTP LOGIN FAILED FROM
> > <my router>, Jean
> > ---
> 
> 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#
---

In /var/log/messages I have:
---
Mar  6 12:44:21 homer ftpd[21484]: FTP LOGIN FAILED FROM <my router>,
Jean
---
 
> > Concerning the TFTP Methode:
> > ---
> > Mar  6 11:54:17 homer tftpd[21105]: read: Connection refused
> > Mar  6 11:54:21 homer tftpd[21107]: read: Connection refused
> > Mar  6 11:54:26 homer tftpd[21109]: read: Connection refused
> > ---
> >
> > So, finally I have a time out which stop my tftp communication because the
> > file I want to download cannot be read. Question of access ?
> > If so, why even with that it is not working properly:
> > --
> > %cd /
> > %ls -l
> > ...
> > drwxr-xr-x   2 nobody  nobody   512 Mar  5 18:37 c3640-i-mz.120-7.XK1.bin
> 
> err, what's this! You've done a %cd / and then ls -l produces that?!
> Surely you've done %cd /tftpboot; ls -l haven't you????? And why is
> the file name appearing to be a directory??

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
....
 


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?Pine.BSF.4.10.10103061233210.51397-100000>