WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TFTPD Block Size  (Read 2401 times)

Offline okinawajoe

  • Newbie
  • *
  • Posts: 1
TFTPD Block Size
« on: July 09, 2019, 03:45:17 AM »
Greetings TinyCore enthusiasts! I have deployed TC 10.0 as a VM within vSphere to function as a Time of Day server (not NTP mind you) within a small ISP / MSO and it works great! I would like to extend it's usability within our environment to also function as the TFTP server for customer cable modems, though the BusyBox TFTPD that is inherent with TC appears to only support a 512 byte blksize. This makes file transfers painfully slow.

Will a future release of TC add the --blksize=[size] option to TFTPD ?

Can someone please suggest how I might get a TFTPD integration which supports setting a higher block size with my current TC version 10.0 ?

With the 512 byte block size, firmware upgrades take about 2.5X times as long as running them with a 1468 block size. I go from 19 minutes to 7 minutes with the larger block size. Thanks in advance!

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11038
Re: TFTPD Block Size
« Reply #1 on: July 09, 2019, 03:56:17 AM »
CONFIG_FEATURE_TFTP_BLOCKSIZE=y

That feature is enabled. I use a blocksize of 64000 in my own use. Perhaps we have a busybox vs older implementation difference here, in busybox the client specifies the block size, not server.

edit: There's at least one other tftpd server in the repo, in inetutils-servers, if your clients can't use the busybox tftp client.
The only barriers that can stop you are the ones you create yourself.