> TFTP Methode:
> ---
<snip>
Dunno about the tftp operation, could be a number of things.
Try looking in /var/log/messages for ftpd[xx] error messages.
>
> FTP Methode:
> ---
> Router#copy ftp://x.x.x.48/tftpboot/c3640-i-mz.120-7.XK1.bin flash:
> Destination filename [c3640-i-mz.120-7.XK1.bin]?
> Accessing ftp://x.x.x.48/tftpboot/c3640-i-mz.120-7.XK1.bin...
> %Error opening ftp://x.x.x.48/tftpboot/c3640-i-mz.120-7.XK1.bin
> (Protocol error)
> Router#
> ---
here, you are missing the username:passwd combination. If you have
a local account on the box, say "jean" then try copying the bin
flash image to your local account:-
freebsd$ cp /tftpboot/c3640-i-mz.120-7.XK1.bin ~jean/
Then, on the cisco do :-
router> copy ftp://jean:[EMAIL PROTECTED]/c3640-i-mz.120-7.XK1.bin flash:
where you put your local account passwd after ftp://jean:
Regards
Andy
>
> This is the sample of /etc/inetd.conf:
> ---
> ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l
> #telnet stream tcp nowait root /usr/libexec/telnetd telnetd
> #shell stream tcp nowait root /usr/libexec/rshd rshd
> #login stream tcp nowait root /usr/libexec/rlogind rlogind
> #finger stream tcp nowait/3/10 nobody /usr/libexec/fingerd fingerd -s
> #exec stream tcp nowait root /usr/libexec/rexecd rexecd
> #uucpd stream tcp nowait root /usr/libexec/uucpd uucpd
> #nntp stream tcp nowait usenet /usr/libexec/nntpd nntpd
> # run comsat as root to be able to print partial mailbox contents w/ biff,
> # or use the safer tty:tty to just print that new mail has been received.
> #comsat dgram udp wait tty:tty /usr/libexec/comsat comsat
> #ntalk dgram udp wait tty:tty /usr/libexec/ntalkd ntalkd
> tftp dgram udp wait root /usr/libexec/tftpd tftpd -l
> -s /tftpboot
> #bootps dgram udp wait root /usr/libexec/bootpd bootpd
> ---
>
> where:
> ---
> %cd /
> %ls -l
> ...
> drwxr-xr-x 2 nobody nobody 512 Mar 5 18:37 tftpboot
> ...
> ---
>
>
> Regards,
> Jean-Christophe.
>
> On Tue, 6 Mar 2001, Andy [TECC NOPS] wrote:
>
> > I always had these kinda problems both with
> > FreeBSD, Linux, etc etc. Found various ways
> > around them in the end but the best way is if
> > you are running a version of IOS 12.0 or later
> > on the Cisco then use the newer copy commands
> > in IOS that allow ftp eg:-
> >
> > router> copy ftp://user:[EMAIL PROTECTED]/config.cond startup-config
> >
> > much better than :-
> >
> > router> copy tftp startup-config
> >
> > Regards
> > Andy
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of Alfred Perlstein
> > > Sent: 05 March 2001 18:23
> > > To: Jean-Christophe Varaillon
> > > Cc: [EMAIL PROTECTED]
> > > Subject: Re: - TFTP: Time out -
> > >
> > >
> > > * Jean-Christophe Varaillon <[EMAIL PROTECTED]> [010305 10:17] wrote:
> > > >
> > > > +-----------+ +------------+
> > > > |FreeBSD 4.1|<--------->| Cisco 3640 |
> > > > +-----------+ +------------+
> > > >
> > > > I want to transfer a file from the FreeBSD machine to the Cisco.
> > > > My machine is configured as a TFTP server and the cisco is
> "configured"
> > > > as a client.
> > > >
> > > > The TFTP communication is stopped because of a timeout.
> > > >
> > > > Why should I have a timeout ?
> > >
> > > Because afaik tftp has a really terrible client/server notion,
> > > there's no good way to tell if a client has 'gone away'. Without
> > > the timeout, if a client was to disappear the tftpd server would
> > > hang around forever.
> > >
> > > > BUT, I can transfer a files from the Cisco to my machine witout any
> > > > trouble. at this moment, the cisco is configured as a TFTP
> > > Server, and I
> > > > think that my machine also, but it reacts as a client.
> > >
> > > You should probably be able to fix this by changing the value of
> > > "TIMEOUT" in /usr/src/libexec/tftpd/tftpd.c, then doing this in
> > > /usr/src/libexec/tftpd:
> > >
> > > make ; make install
> > >
> > > --
> > > -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
> > >
> > > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > > with "unsubscribe freebsd-net" in the body of the message
> > >
> >
> >
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-net" in the body of the message
>
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message