cancel
Showing results for 
Search instead for 
Did you mean: 

TFTP / Solution for a linux server

TFTP / Solution for a linux server

skyvana
New Contributor III

hi,

I want to use a TFTP server ( like this for Windows https://extremeportal.force.com/ExtrArticleDetail?an=000081258) but on Linux to upload a file to a switch. I tested several solutions (tftpd-hpa ...), but none works. 

Do you know a solutions who work?

Many thanks in advanced

Alex

1 ACCEPTED SOLUTION

skyvana
New Contributor III
hi,

I already test this, but it not fix my problem, i absolutely test/check everything, that's sounds very strang.

So i test on a other Linux OS (raspbian that's is not virtual) and TADA it Work ! [ it's may be that my server was virtual ...]

Thank for your help !

Alex

View solution in original post

8 REPLIES 8

skyvana
New Contributor III
hi,

I already test this, but it not fix my problem, i absolutely test/check everything, that's sounds very strang.

So i test on a other Linux OS (raspbian that's is not virtual) and TADA it Work ! [ it's may be that my server was virtual ...]

Thank for your help !

Alex

Drew_C
Valued Contributor III
It's difficult to read your responses because they are posted as images. Please don't do this 🙂

I use tftpd-hpa in our lab. I believe the problem you're experiencing is due to the block size configuration. Here's the config I use:
code:
$ cat /etc/default/tftpd-hpa
# /etc/default/tftpd-hpa
RUN_DAEMON="yes"
TFTP_USERNAME="nobody"
TFTP_DIRECTORY="/media/TFTPsymlinks/"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="-c -B 16268 -l -s"

Note the -B 16268 option for max-block-size.

skyvana
New Contributor III

dd172cb25ea24e638d8b6f52ad5121eb_bfca6b78-cf00-45d5-8e0c-24af62631e56.png

ar1
Contributor
Hi Alex,
that's sounds strange:
  • You can send and receive files from a windows tftp client to/from the Linux server
  • You can send and receive files from the switch to/from the Windows server
  • but You cannot send/receive files to/from the Linux server ???
I don't know how your network looks like but can you ping the linux server from the switch?
Are all systems in the same network (IP Address, Netmask, Gateway)?
Is it possible that an ACL is running on the switch?
Maybe you have found a firmware bug ???
Very mystic,

Axel
GTM-P2G8KFN