Networking Forums

Networking Forums > Computer Networking > Linux Networking > Tftp server problem

Reply
Thread Tools Display Modes

Tftp server problem

 
 
bulli
Guest
Posts: n/a

 
      06-26-2008, 02:41 PM
hi Experts,
I am facing some problem with tftp-server in Redhat linux
Actually we used this tftp server for IOS image coping in to routers
the problem is
actually we installed tftp-server-0.40-1 package on my Redhat linux
server
and edited /etc/xinetd.d/tftp as below

service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -u root -c -U 111 -s /tftp/
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}

so our tftp server uses /tftp/ as default/public folder for our TFTP
server
and we kept our images in that /tfpt server and started the xinetd
service
then i loged in to router and when we started copying the image middle
its stoping the coping

R7348-PRE4#copy tftp: disk0:
Address or name of remote host []? 73.48.0.1
Source filename []? /tftp/images/test
Destination filename [test]?
Accessing tftp://73.48.0.1//tftp/images/test...
Loading /tftp/images/test from 73.48.0.1 (via
FastEthernet0/0/0): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...
[timed out]

%Error reading tftp://73.48.0.1//tftp/images/test (Timed out)

This is the problem we are facing
actually i tried for different images
the files/images which are less than 32MB is coping properly with out
any problem
the files/images which are more than 32MB are not able to copy and
giving timed out error
so i did some googling and found that some older version TFTP servers
will not support with a file size more than 32MB

"The original protocol has a file size limit of 32 MB,
although this was extended when RFC 2347 introduced option
negotiation,
which was used in RFC 2348 to introduce block-size negotiation in
1998
(allowing a maximum of 4 GB and potentially higher throughput).
If the server and client support block number wraparound, file size is
essentially unlimited."

but what the software we use, it will support up to 192MB
here we got strucked

here my question is.. Is there any file to see what is the tftp limit
in my server
or can any one give a solution for this one how to copy files which
are more then 32MB?

Thanks in advance
Surendra
 
Reply With Quote
 
 
 
 
David Schwartz
Guest
Posts: n/a

 
      06-27-2008, 07:25 AM
On Jun 26, 7:41*am, bulli <surendra.a...@gmail.com> wrote:
> hi Experts,
> I am facing some problem with tftp-server in Redhat linux
> Actually we used this tftp server for IOS image coping in to routers
> the problem is
> actually we installed tftp-server-0.40-1 package on my Redhat linux
> server
> and edited /etc/xinetd.d/tftp as below
>
> service tftp
> {
> * * * * socket_type * * * * * * = dgram
> * * * * protocol * * * * * * * *= udp
> * * * * wait * * * * * * * * * *= yes
> * * * * user * * * * * * * * * *= root
> * * * * server * * * * * * * * *= /usr/sbin/in.tftpd
> * * * * server_args * * * * * * = -u root -c -U 111-s /tftp/
> * * * * disable * * * * * * * * = no
> * * * * per_source * * * * * * *= 11
> * * * * cps * * * * * * * * * * = 100 2
> * * * * flags * * * * * * * * * = IPv4
>
> }


I thoroughly researched this problem back in 2006. I don't remember
the details, but I do remember the solution. Add '-r blksize' to your
server_args line and restart xinetd.

DS
 
Reply With Quote
 
bulli
Guest
Posts: n/a

 
      07-02-2008, 06:59 AM
On Jun 27, 12:25*pm, David Schwartz <dav...@webmaster.com> wrote:
> On Jun 26, 7:41*am, bulli <surendra.a...@gmail.com> wrote:
>
>
>
> > hi Experts,
> > I am facing some problem with tftp-server in Redhat linux
> > Actually we used this tftp server for IOS image coping in to routers
> > the problem is
> > actually we installed tftp-server-0.40-1 package on my Redhat linux
> > server
> > and edited /etc/xinetd.d/tftp as below

>
> > service tftp
> > {
> > * * * * socket_type * * * * * * = dgram
> > * * * * protocol * * * * * * * *= udp
> > * * * * wait * * * * * * * * * *= yes
> > * * * * user * * * * * * * * * *= root
> > * * * * server * * * * * * * * *= /usr/sbin/in.tftpd
> > * * * * server_args * * * * * * = -u root -c -U 111 -s /tftp/
> > * * * * disable * * * * * * * * = no
> > * * * * per_source * * * * * * *= 11
> > * * * * cps * * * * * * * * * * = 100 2
> > * * * * flags * * * * * * * * * = IPv4

>
> > }

>
> I thoroughly researched this problem back in 2006. I don't remember
> the details, but I do remember the solution. Add '-r blksize' to your
> server_args line and restart xinetd.
>
> DS


 
Reply With Quote
 
bulli
Guest
Posts: n/a

 
      07-02-2008, 06:59 AM
On Jun 27, 12:25*pm, David Schwartz <dav...@webmaster.com> wrote:
> On Jun 26, 7:41*am, bulli <surendra.a...@gmail.com> wrote:
>
>
>
> > hi Experts,
> > I am facing some problem with tftp-server in Redhat linux
> > Actually we used this tftp server for IOS image coping in to routers
> > the problem is
> > actually we installed tftp-server-0.40-1 package on my Redhat linux
> > server
> > and edited /etc/xinetd.d/tftp as below

>
> > service tftp
> > {
> > * * * * socket_type * * * * * * = dgram
> > * * * * protocol * * * * * * * *= udp
> > * * * * wait * * * * * * * * * *= yes
> > * * * * user * * * * * * * * * *= root
> > * * * * server * * * * * * * * *= /usr/sbin/in.tftpd
> > * * * * server_args * * * * * * = -u root -c -U 111 -s /tftp/
> > * * * * disable * * * * * * * * = no
> > * * * * per_source * * * * * * *= 11
> > * * * * cps * * * * * * * * * * = 100 2
> > * * * * flags * * * * * * * * * = IPv4

>
> > }

>
> I thoroughly researched this problem back in 2006. I don't remember
> the details, but I do remember the solution. Add '-r blksize' to your
> server_args line and restart xinetd.
>
> DS


Hi
i tried the -r blkszie option and restarted the xinetd service
but still facing the same prob
any other help from ur side?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
Asus WL500G Premium TFTP problem bman Wireless Internet 0 02-06-2008 06:37 PM
Which DHCP/DNS/TFTP Server Gerry Linux Networking 0 09-27-2005 03:50 PM
tftp server zero-ed files sizes ? Linux Networking 0 06-20-2005 05:41 PM
Can't access TFTP on a server Vicky Linux Networking 4 10-14-2004 07:35 PM
tftp server on linux Mike Wing Linux Networking 2 08-07-2003 11:30 PM



1 2 3 4 5 6 7 8 9 10 11