yoyothechicken
Posts: 4
Joined: Fri Jul 22, 2016 6:22 pm

Setting up TFTP Server

Tue Jul 26, 2016 4:39 pm

Hi, I'm working on setting up a TFTP server on my Raspberry Pi 3 using the following online tutorial:

https://dynamicparallax.wordpress.com/2 ... tp-server/

I followed the instructions exactly, and everything worked up to the point where the server was to tested from another computer. I can't seem to see why that is.

My tftp file:
tftp file.JPG
tftp file.JPG (12.73 KiB) Viewed 15287 times
Here is my attempt to test the tftp server from another computer.
tftp test.JPG
tftp test.JPG (10.43 KiB) Viewed 15287 times
Any help is greatly appreciated!

yoyothechicken
Posts: 4
Joined: Fri Jul 22, 2016 6:22 pm

Tue Jul 26, 2016 6:07 pm

.
Last edited by yoyothechicken on Tue Jul 26, 2016 8:48 pm, edited 1 time in total.

fruitoftheloom
Posts: 23549
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Setting up TFTP Server

Tue Jul 26, 2016 6:26 pm

tftpd - Trivial file transfer protocol server

Tftpd is a server which supports the Internet Trivial File Transfer Protocol (RFC 783). The TFTP server operates at the port indicated in the `tftp' service description; see services(5). The server is normally started by inetd(8). Tftpd is not suitable for use with the PXE bootloader; for that, use atftpd or tftpd-hpa.

https://packages.debian.org/jessie/tftpd

http://www.debianhelp.co.uk/tftp.htm

Code: Select all

sudo apt-get update
sudo apt-get install tftpd
http://linux.die.net/man/8/tftpd

.
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot) RaspiOS64 ARM64
Asus ChromeBox 3 Celeron is my other computer...

mfa298
Posts: 1387
Joined: Tue Apr 22, 2014 11:18 am

Re: Setting up TFTP Server

Wed Jul 27, 2016 8:36 am

Not tested on raspbian, but I've used the tftpd-hpa package, which doesn't require xinetd to get running and seems to work reasonably well on Ubuntu systems.

xanalaom00
Posts: 1
Joined: Sun Jul 16, 2017 2:24 am

Re: Setting up TFTP Server

Sun Jul 16, 2017 2:30 am

I am experiencing the same-thing, Verified service is running, ran a tcpdump -i eth0 -v -tttt dst x.x.x.x and port 69 and i see the request come in on the port, for some reason xinetd.d and or tftp server simply doesn't honor the request, I have the permissions set correctly and the folder location perfect, the client is requesting the right data, but data simply never flows from the server. something weird here too is that I get 2 instances of xinetd.d:
netstat -tulpen | grep 69
udp 0 0 0.0.0.0:69 0.0.0.0:* 0 352477 17922/xinetd
udp 0 0 0.0.0.0:69 0.0.0.0:* 0 352476 17922/xinetd



really strange

plasticpat
Posts: 1
Joined: Tue Feb 20, 2018 2:00 pm

Re: Setting up TFTP Server

Tue Feb 20, 2018 2:05 pm

Did anyone ever find an answer to this ? I'm having the same problem uploading from a Cisco router.
Running tcpdump on the Pi I see the request coming in so the router is doing it's thing correctly.
Download is fine but I can't upload anything - going mad trying to get this going.

climberboy
Posts: 1
Joined: Wed Oct 10, 2018 9:25 am

Re: Setting up TFTP Server

Wed Oct 10, 2018 9:27 am

Did you create the file in the destination directory before you tried to upload the config from your Cisco device? After you create the file in the tftp dest. dir, make sure it has rw permissions.

Return to “General discussion”