This is a discussion on Tftp server problem within the Linux Networking forums, part of the Linux Forums category; hi Experts, I am facing some problem with tftp-server in Redhat linux Actually we used this tftp server for ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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? |