Questions tagged [tftp]

Trivial File Transfer Protocol (TFTP) is a file transfer protocol notable for its simplicity.

TFTP is a very simple and lightweight file transfer protocol.
It only supports to read and to write files from/to a remote. Even a directory listing is not supported. It is sometimes used to boot devices without data storage or to update firmware.
TFTP is build on top of UDP and using port 69.

215 questions
0
votes
1 answer

Multiple cobbler servers with single dhcp server in the same subnet

*I have two Cobbler Servers and one dhcp server, let us say 10.x.x.51 and 10.x.x.52(cobbler servers), 10.x.x.53(dhcp server).I have created profiles from iso which is mounted in each cobbler servers.I have created two pxe enabled bare metals and…
Sasikiran Vaddi
  • 2,199
  • 4
  • 23
  • 29
0
votes
0 answers

tftp server client example for lpc1768

I am trying to work a TFTP client for transferring files in MMC/SD card to PC through Ethernet on LPC1768 controller. For TFTP, it needs two ports to be connected to TFTP server. I am using TCP/IP stack which comes with LPC1768 webserver example. Is…
vinayak jadi
  • 859
  • 8
  • 16
0
votes
2 answers

How to Quit TFTP script

I have a tftp script here that when run it just hangs and brings me to a blank line (which tells me it's hanging). I can quit the script by Ctrl+C... #!/bin/bash hostname=$1; filename=$2; tftp <
harmonickey
  • 1,299
  • 2
  • 21
  • 35
0
votes
1 answer

Is there a standard timeout value for TFTP?

I've reviewed RFC 764 a number of times. Even though it describes the timeout mechanism, there doesn't seem to mention any default timeout value. Apparently, most implementations default to one second. But ultimately, is there any official…
C2H5OH
  • 5,452
  • 2
  • 27
  • 39
0
votes
1 answer

TFTP on top of UDP: Checking write permission on the Server/Client directory

I have implemented a TFTP on top of UDP in C, and I am trying to figure out how to check the read/write permission on the directory that transfer is going to take place. For the existence of the file and the case that file doesn't exist I have used…
EasyQuestions
  • 327
  • 1
  • 10
  • 23
0
votes
1 answer

How to read the buffer from a paquet (tftp)

I am currently trying to write a tftp in C. But i have some difficulties to read the packet that I sent. Here is what I have : The struct that I am sending : typedef struct { short type; short block_num; char* data; } data_t; the function (server's…
Exia0890
  • 441
  • 6
  • 21
0
votes
1 answer

TFTP packet example?

I'm writing a TFTP server in Ruby and I don't understand a couple things. First, I read through the entire RFC and I understand the TFTP part of the packet (2 bytes opcode, etc), but I don't know where the TID's go. Also, I've never done anything in…
pachun
  • 926
  • 2
  • 10
  • 26
0
votes
2 answers

PHY not connected !! MAC: error during MII initialization

I am trying to download 'rfsNV.gz' and 'uImageNV' to an ARM board using 'TFTP' server and 'U-boot' menu. I'm using a board developed by deramCatcher, tftp server on windows 7 with 'tftp32.exe', Hyperterminal, a cross over etherenet cable and USB…
croc
  • 241
  • 1
  • 4
  • 13
0
votes
1 answer

why unable to upload file using tftp?

Is it necessary to establish the connection each time during uploading the file in the multiple iteration for maintaining the stack size? I got a calloc failed error. I am using freertos with multithreading.
PYNUSYMAT
  • 1
  • 1
0
votes
1 answer

What happens to the port when IP changes?

I have small TFTP server running on port 8080. It is an Android application. When I try to connect it while being on Ethernet, it works seamlessly. However, when I switch from Ethernet to Wifi. I get 'Connection refuse' error. Or sometime it…
Arjun Patel
  • 345
  • 6
  • 22
0
votes
1 answer

How to handle unknown-length header (TFTP related)

It is probably relevant to other questions too. I need to build a simple TFTP server in C (octet mode only) that will work with most TFTP clients available today (I only need to implement the server). opcode //2 byte filename // string (unknown…
bomba6
  • 539
  • 1
  • 7
  • 21
0
votes
1 answer

"DHCP...PXE E-53 No boot Filename received" timeout takes way too long

I set up a PXE-boot network under Linux Debian. I used following components for this: pxelinux, dhcp3, tftp-hpa For every client in my network, i configured a host declaration in /etc/dhcp3/dhcpd.conf. In this host declaration they'll get: static…
madace
  • 9
  • 2
0
votes
1 answer

request to one IP and reply from other IP on same machine

I have a topology where my machine sends tftp traffic to tftp server[linux machine] on one IP address and receives reply from another IP address [2 NIC on tftp server] and there after uses second IP address for entire transfer. but i want to know…
j10
  • 2,009
  • 3
  • 27
  • 44
0
votes
1 answer

TFTP C++ not receiving ACK

I am writing a TFTP Client using C++. I was able to send a read request using "octet" mode to a default TFTP Client (tftpd32). The problem is that I am unable to send the ACK back at the regular TFTP respond. I am getting the following error:…
SpcCode
  • 887
  • 2
  • 13
  • 24
0
votes
1 answer

Why is this erlang tftpd server seemingly not accepting client requests?

I'm attempting to use inet's tftp, but I'm doing something incorrectly. This simple example application, while it does bind to the correct port, never returns data to a client. To reproduce, open a terminal in the project root and: make &&…
troutwine
  • 3,721
  • 3
  • 28
  • 62