cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
12491
Views
0
Helpful
14
Replies

tftp not working

garyrivers
Level 1
Level 1

I'm trying to upgrade the IOS on my 1761 using PumpKIN and it's failing.

i'm able it ping the PC from the router and vis-versa.

PumpKIN is giving me this msg:

UDP packet received failed.

inbalid opcode(0) during transfer received.

Any ideas on what could be screwed up.

1 Accepted Solution

Accepted Solutions

lgijssel
Level 9
Level 9

Two remarks about Pumpkin, I am using it myself also.

First verify that the path where the server looks for the file is really pointing to the folder where the file resides.

In the Pumpkin status window there is a checkbox for "server running". This box must be checked.

Both tend to be incorrect/off when you need them.

regards,

Leo

View solution in original post

14 Replies 14

avmabe
Level 3
Level 3

hmmm... Try using the 3com tftp daemon. Type it in google. That is the one I have used for several years with no problems whatsoever.

i tried to copy the new image using the 3Com program.

here are the results.

KSCW_RTR#copy tftp flash:

Address or name of remote host []? 10.30.40.12

Source filename []? c1700-k9o3sy7-mz.123-23.bin

Destination filename [c1700-k9o3sy7-mz.123-23.bin]?

Accessing tftp://10.30.40.12/c1700-k9o3sy7-mz.123-23.bin...

%Error opening tftp://10.30.40.12/c1700-k9o3sy7-mz.123-23.bin (Timed out)

KSCW_RTR#

what am I missing?

any ideas?

Check the logs on the 3com. Also check and double check the filename.

it downloaded as:

c1700-k9o3sy7-mz.123-23.bin

so when the router asks for the source file, I should be able to enter that file name.

Right?

yep, that sounds fine. Just making sure... I've made that mistake before ;)

Check the logs on the 3Com TFTP Daemon and see if the router is even querying it. If the router tries to d/l it at all and can communicate with the server, you will get something in the logs.

well, I tried the download again and here's what I got:

on the rotuer side:

KSCW_RTR#copy tftp: flash:

Address or name of remote host []? 10.30.40.12

Source filename []? c1700-k9o3sy7-mz.123-23.bin

Destination filename [c1700-k9o3sy7-mz.123-23.bin]?

Accessing tftp://10.30.40.12/c1700-k9o3sy7-mz.123-23.bin...

%Error opening tftp://10.30.40.12/c1700-k9o3sy7-mz.123-23.bin (Timed out)

KSCW_RTR#

and the tftp server didn't see the router at all.

ok that is good...

try this.

copy tftp://10.30.40.12/c1700-k9o3sy7-mz.123-23.bin flash:c1700-k9o3sy7-mz.123-23.bin

Can you ping 10.30.40.12 from the router? I really don't see anything wrong with you way you did it so I'm thinking maybe it can't talk to the tftp server.

Also, is there a Firewall running on the tftp server? That would also prevent this from working.

1st of all...thanks for your help.

I tried your suggestion and the router:

SCW_RTR#$12/c1700-k9o3sy7-mz.123-23.bin flash:c1700-k9o3sy7-mz.123-23.bin

Destination filename [c1700-k9o3sy7-mz.123-23.bin]?

Accessing tftp://10.30.40.12/c1700-k9o3sy7-mz.123-23.bin...

%Error opening tftp://10.30.40.12/c1700-k9o3sy7-mz.123-23.bin (Timed out)

KSCW_RTR#

the router can see my PC and the router is basically naked. Thru Cisco Network asst. I was able to delete the router's flash and but wasn't able to transfer the new flash to the router. I pretty sure I don't want to power cycle the router since if I do, the router will REALLY be stupid and I'll be hosed!

I tried to FTP the file and here's what the server log showed:

Sep 06, 2007 08:47:56 Session 5, Peer 10.30.46.242 FTP Server session started

Sep 06, 2007 08:47:56 Session 5, Peer 10.30.46.242 FTP Server session started

Sep 06, 2007 08:47:56 Session 5, Peer 10.30.46.242 USER anonymous

Sep 06, 2007 08:47:56 Session 5, Peer 10.30.46.242 331 User name ok, need password

Sep 06, 2007 08:47:56 Session 5, Peer 10.30.46.242 FTP: Login attempt by: anonymous

Sep 06, 2007 08:47:56 Session 5, Peer 10.30.46.242 PASS router@cisco.co

Sep 06, 2007 08:47:56 Session 5, Peer 10.30.46.242 230 User logged in

Sep 06, 2007 08:47:56 Session 5, Peer 10.30.46.242 FTP: Login successful

Sep 06, 2007 08:47:56 Session 5, Peer 10.30.46.242 TYPE I

Sep 06, 2007 08:47:56 Session 5, Peer 10.30.46.242 200 Type set to I.

Sep 06, 2007 08:47:56 Session 5, Peer 10.30.46.242 PASV

Sep 06, 2007 08:47:56 Session 5, Peer 10.30.46.242 227 Entering passive mode (10,30,40,12,18,202)

Sep 06, 2007 08:48:27 Session 5, Peer 10.30.46.242 FTP: Connection closed.

Sep 06, 2007 08:48:27 Session 5, Peer 10.30.46.242 Session closed by peer

your thoughts?

hmm... it's like it doesn't see the file where it (the tftpserver) thinks is should be.

Verify your config on the tftp and ftp server of the default directory where it serves files from and make sure the .bin file is in those directories.

Gary

I am a little puzzled. The discussion has been about using TFTP but the server output is for FTP:

Peer 10.30.46.242 FTP Server session started

Are you using FTP or are you using TFTP? If it is FTP please verify that the user (in this case looks like anonymous) has permissions to login, download, upload, and overwrite files.

I am wondering if the problem with the attempts at TFTP might be caused by some firewall running on your PC which might not like the incoming connection attempt. Are you running a firewall? Is it possibly part of the problem?

HTH

Rick

HTH

Rick

lgijssel
Level 9
Level 9

Two remarks about Pumpkin, I am using it myself also.

First verify that the path where the server looks for the file is really pointing to the folder where the file resides.

In the Pumpkin status window there is a checkbox for "server running". This box must be checked.

Both tend to be incorrect/off when you need them.

regards,

Leo

well I FINALLY got the image onto the router.

I ended up downloading solar winds and for some reason the tftp worked.

thanks everyone for your help.

Glad it worked out with Solarwinds. Sorry 3ComTFTP didn't seem to work for you.

How did you solve it?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: