Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > TFTP

Reply
 
 
Fred Atkinson
Guest
Posts: n/a
 
      08-14-2010
I am running Windows 7 Professional with AVG Anti-virus
protection. I have installed the Solarwinds TFTP server.

When I use Putty to SSH into my router, I connect and then
type 'copy star tftp'.

It prompts me for the IP address I want to send a copy of the
startup config file to. I enter the IP address to my Windows 7
machine.

Then it prompts me [with a default nmae] what I want to name
the file on the TFTP server. I hit enter so it will write the default
name on the file when it copies it to the TFTP server directory.

When it starts to send via TFTP, I only see the five dots
(meaning it was unsuccessfuly transfering the file).

I've played around with the setting on the Solarwinds TFTP
software and I've looked at the AVG anti-virus software (it might be
blocking the TFTP port or protocol).

But not matter what I try, I cannot successfully tranfer the
startup config file.

Does anyone have an idea as to what is wrong?




Fred
 
Reply With Quote
 
 
 
 
JF Mezei
Guest
Posts: n/a
 
      08-15-2010
Fred Atkinson wrote:

> When I use Putty to SSH into my router, I connect and then
> type 'copy star tftp'.


Here are my aliases to move the config files to/from a server:

savetftp:
copy running-config tftp://10.0.0.20/router1/config.txt


loadconfig:
copy tftp://10.0.0.20/router1/config.txt startup-config


I have no idea how Microsoft's interpretation of the standard differs,
but generally speaking, with TFTP, there are *some* security provisions
to lower the exposure to this insecure transfer method.

Some TFTP servers require that the files be read or written to a
subdirectory below the TFTP root and that the directory name match the
host name writing to it (ag: switch1 cannot write into router2's
subdirectory). Not sure if yours does that.

Most TFTP servers require that a file already exist in the target
location. It will not allow a remote host to create a file on the TFTP
server's disk. This is fairly w1despread measure.



> When it starts to send via TFTP, I only see the five dots
> (meaning it was unsuccessfuly transfering the file).


This is what I get for a succesfull transfer:

router1#savetftp
Address or name of remote host [10.0.0.20]?
Destination filename [router1/config.txt]?
!!
7513 bytes copied in 6.132 secs (1225 bytes/sec)
router1#


> software and I've looked at the AVG anti-virus software (it might be
> blocking the TFTP port or protocol).


Here is the dialogue when trying to copy to a non existent host (nobody
listening to port 69):

router1#copy running-config tftp://10.0.0.47/router1/config.txt
Address or name of remote host [10.0.0.47]?
Destination filename [router1/config.txt]?
......
%Error opening tftp://10.0.0.47/router1/config.txt (Timed out)
router1#

If you get the 5 dots, it is likely that your machine is not listening
to port 69. Are you sure your TFTP server software is running ? Is it
giving you any indication that it was unable to begin listening on port 69 ?
 
Reply With Quote
 
 
 
 
Fred Atkinson
Guest
Posts: n/a
 
      08-15-2010
I am one hundred per cent sure the TFTP server is running.
I've used the Solarwinds TFTP server on a number of different machines
and I'm very experienced with using it.

I'm inclined to believe that you are correct about the machine
not listening to port 69. I've looked through my AVG software for a
firewall setting to change. But I can't seem to find it.

Usually, when an application that it doesn't recognize tries
to execute, the AVG software prompts me as an alert and asks if I want
to let that application or service run. That didn't happen this time.
Regards,




Fred

On Sat, 14 Aug 2010 22:54:39 -0400, JF Mezei
<> wrote:

>Fred Atkinson wrote:
>
>> When I use Putty to SSH into my router, I connect and then
>> type 'copy star tftp'.

>
>Here are my aliases to move the config files to/from a server:
>
>savetftp:
>copy running-config tftp://10.0.0.20/router1/config.txt
>
>
>loadconfig:
>copy tftp://10.0.0.20/router1/config.txt startup-config
>
>
>I have no idea how Microsoft's interpretation of the standard differs,
>but generally speaking, with TFTP, there are *some* security provisions
>to lower the exposure to this insecure transfer method.
>
>Some TFTP servers require that the files be read or written to a
>subdirectory below the TFTP root and that the directory name match the
>host name writing to it (ag: switch1 cannot write into router2's
>subdirectory). Not sure if yours does that.
>
>Most TFTP servers require that a file already exist in the target
>location. It will not allow a remote host to create a file on the TFTP
>server's disk. This is fairly w1despread measure.
>
>
>
>> When it starts to send via TFTP, I only see the five dots
>> (meaning it was unsuccessfuly transfering the file).

>
>This is what I get for a succesfull transfer:
>
>router1#savetftp
>Address or name of remote host [10.0.0.20]?
>Destination filename [router1/config.txt]?
>!!
>7513 bytes copied in 6.132 secs (1225 bytes/sec)
>router1#
>
>
>> software and I've looked at the AVG anti-virus software (it might be
>> blocking the TFTP port or protocol).

>
>Here is the dialogue when trying to copy to a non existent host (nobody
>listening to port 69):
>
>router1#copy running-config tftp://10.0.0.47/router1/config.txt
>Address or name of remote host [10.0.0.47]?
>Destination filename [router1/config.txt]?
>.....
>%Error opening tftp://10.0.0.47/router1/config.txt (Timed out)
>router1#
>
>If you get the 5 dots, it is likely that your machine is not listening
>to port 69. Are you sure your TFTP server software is running ? Is it
>giving you any indication that it was unable to begin listening on port 69 ?

 
Reply With Quote
 
Fred Atkinson
Guest
Posts: n/a
 
      08-15-2010
Gordon,

No, you weren't reasonable sure. You were absolutely correct.
As soon as I turned off the Windows firewall, I tried to
transfer the file again. This time, it worked.

Since I've got AVG working for me, I'm going to leave the
Windows firewall turned off.

Thanks so much for helping me resolve this.

Regards,



Fred

On Sun, 15 Aug 2010 03:39:35 GMT, not-a-real- (Gordon)
wrote:

>In article <>, Fred Atkinson <> wrote:
>> I am running Windows 7 Professional with AVG Anti-virus
>>protection. I have installed the Solarwinds TFTP server.
>>
>> When I use Putty to SSH into my router, I connect and then
>>type 'copy star tftp'.
>>
>> It prompts me for the IP address I want to send a copy of the
>>startup config file to. I enter the IP address to my Windows 7
>>machine.
>>
>> Then it prompts me [with a default nmae] what I want to name
>>the file on the TFTP server. I hit enter so it will write the default
>>name on the file when it copies it to the TFTP server directory.
>>
>> When it starts to send via TFTP, I only see the five dots
>>(meaning it was unsuccessfuly transfering the file).
>>
>> I've played around with the setting on the Solarwinds TFTP
>>software and I've looked at the AVG anti-virus software (it might be
>>blocking the TFTP port or protocol).
>>
>> But not matter what I try, I cannot successfully tranfer the
>>startup config file.
>>
>> Does anyone have an idea as to what is wrong?
>>
>>
>>
>>
>> Fred

>I am reasonably sure it is Windows 7 own firewall. Try this URL.
>
>http://windows.
>microsoft.com/en-US/windows7/Understanding-Windows-Firewall-settings
>
>Bugger, it wrapped. Anyway, good luck. I use Solarwinds TFTP server all
>the time and it works great with default settings.
>
>Gordon
>
>--- news://freenews.netfront.net/ - complaints: ---

 
Reply With Quote
 
Alael
Guest
Posts: n/a
 
      08-26-2010
Hi Fred...

Assuming you have administrator rights on the machine you could as easily
configure a exception on the firewall to either create a exception for the
TFTP Server, or to leave the 69 port open...

You could keep the firewall AND the AVG online that way...

No need to open yourself up to the world just to do a TFTP now and then
It's like killing a Bee with a Atom bomb...

Nuno

PS- It works too... I configured a client to do it last Friday

"Fred Atkinson" <> wrote in message
news:...
> Gordon,
>
> No, you weren't reasonable sure. You were absolutely correct.
> As soon as I turned off the Windows firewall, I tried to
> transfer the file again. This time, it worked.
>
> Since I've got AVG working for me, I'm going to leave the
> Windows firewall turned off.
>
> Thanks so much for helping me resolve this.
>
> Regards,
>
>
>
> Fred
>
> On Sun, 15 Aug 2010 03:39:35 GMT, not-a-real- (Gordon)
> wrote:
>
>>In article <>, Fred Atkinson
>><> wrote:
>>> I am running Windows 7 Professional with AVG Anti-virus
>>>protection. I have installed the Solarwinds TFTP server.
>>>
>>> When I use Putty to SSH into my router, I connect and then
>>>type 'copy star tftp'.
>>>
>>> It prompts me for the IP address I want to send a copy of the
>>>startup config file to. I enter the IP address to my Windows 7
>>>machine.
>>>
>>> Then it prompts me [with a default nmae] what I want to name
>>>the file on the TFTP server. I hit enter so it will write the default
>>>name on the file when it copies it to the TFTP server directory.
>>>
>>> When it starts to send via TFTP, I only see the five dots
>>>(meaning it was unsuccessfuly transfering the file).
>>>
>>> I've played around with the setting on the Solarwinds TFTP
>>>software and I've looked at the AVG anti-virus software (it might be
>>>blocking the TFTP port or protocol).
>>>
>>> But not matter what I try, I cannot successfully tranfer the
>>>startup config file.
>>>
>>> Does anyone have an idea as to what is wrong?
>>>
>>>
>>>
>>>
>>> Fred

>>I am reasonably sure it is Windows 7 own firewall. Try this URL.
>>
>>http://windows.
>>microsoft.com/en-US/windows7/Understanding-Windows-Firewall-settings
>>
>>Bugger, it wrapped. Anyway, good luck. I use Solarwinds TFTP server all
>>the time and it works great with default settings.
>>
>>Gordon
>>
>>--- news://freenews.netfront.net/ - complaints: ---


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
tftp & ftp troubles Draschl Clemens Cisco 1 10-08-2008 03:56 PM
booting router from tftp: image is stored within a sub-dir in tftp root Sharad Cisco 0 02-13-2007 11:31 AM
copy tftp to switch by useing snmpset strauch t Cisco 2 11-10-2003 07:20 AM
Re: TFTP problems with Cisco Router Ross Cisco 0 10-20-2003 08:31 PM
Re: Error Download file from TFTP after erasing Flash ( Cisco 2610) Rainer Temme Cisco 2 07-09-2003 02:17 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57