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

how make casting in htons and ntohs?

I have to use the two functions to convert the transmission data between client and server, the problem is that the data buffer must necessarily be uint8_t but ntohs and htons want uint16_t otherwise they don't work; so I have to bring the data into…
Bob02
  • 1
0
votes
0 answers

UDP socket can't receive data from server: python

I am establishing a TFTP connection using UDP. My client is able to successfully send a request to server cSocket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) cSocket.bind(('', clientPort)) cSocket.settimeout(1) …
Hari Krishnan
  • 5,992
  • 9
  • 37
  • 55
0
votes
1 answer

PXEBOOT, TFTPD-HPA and Firewall

I have setup a pxeboot which basically works fine. I can run any configured linux image. Then I have enabled the firewall, released UDP port 69 for TFTP ~# iptables -L |grep tftp ACCEPT udp -- anywhere anywhere udp…
0
votes
1 answer

File transferred via TFTP has different size than on host

For quite long time now I'm struggling with handling TFTP protocol in my Android app. Its main feature is downloading files from custom designed device which hosts TFTP server. I was browsing internet hoping to find some good, already written,…
otis_d
  • 71
  • 7
0
votes
1 answer

VxWorks and Virtual Box

I am setting up a virtual machine with virtualbox with vxworks 7 as guest. I follow the guide from the windriver documentation but I think something is missing. So, I am able to create successfully the virtual machine, but I need to load the boot…
mjdev
  • 149
  • 2
  • 8
0
votes
2 answers

Issue while copying a Configuration File from a TFTP Server to Cisco IOS Router

I have a Ubuntu machine which acts as a TFTP Server. I want to configure my cisco ios routers to take configuration from this TFTP server at boot time. I have a few doubts- Where do I store the configuration file for my cisco router in the TFTP…
Prarthana Shedge
  • 135
  • 1
  • 3
  • 11
0
votes
3 answers

Copy files from emmc via uboot to tftp-server

i got the problem that a device isnt booting up into linux. It just holds on "Starting kernel ...". To get a better grip on what goes wrong i thought it would be nice to get access to the logs from linux. I can access the userland from uboot via…
Heiko
  • 103
  • 1
  • 6
0
votes
1 answer

Is it possible to log the output of a uboot command into a file from u-boot prompt?

I am working with an embedded board which supports u-boot. I am trying to write and read the emmc device connected to the board, After read, i need to have a look at the contents and compare it with the data that I have written to it. Is there a way…
nishad kamdar
  • 67
  • 2
  • 11
0
votes
1 answer

Indy TFTP Server Exception EIdTFTPAllocationExceeded

I am receiving an EIdTFTPAllocationExceeded exception when transferring a file from me (the server - using the Indy TIdTrivialFTPServer component) to a device. I cannot find any information about what that exception might mean except maybe a disk…
Brian P.
  • 206
  • 3
  • 14
0
votes
1 answer

Where is tftp efi shell command?

Cannot find tftp command in shell.efi app from Tianocore. When type tftp, got 'tftp' is not recognized as an internal or external command, operable program, or batch file. Help also doesn't know about it. I looked at sources and found it is…
Dmitry
  • 436
  • 2
  • 7
0
votes
1 answer

TFTP timeout while bootstraping nodes (Mirantis Openstack)

I have a strange issue with TFTP server. While I'm trying to boot my bare-metal Dell R710 to provision new roles to Mirantis Openstack I'm getting: CLIENT MAC ADDR: .... CLIENT IP: ... GATEWAY IP: ... PXE-E32: TFTP open timeout But the most strange…
Oles Rid
  • 93
  • 1
  • 8
0
votes
1 answer

VMWare Ignores prefix in boot.cfg

I am trying to PXE boot VMWare ESXi and it gets to boot.cfg, tries to download all the modules, but runs into problem when it doesn't follow the prefix directive. I have configured boot.cfg as follows: bootstate=0 title=Loading ESXi…
0
votes
1 answer

Configuration Backup in JUNOS using TFTP

Is there any way to auto backup in Junos using TFTP like Cisco.. I can't find any specific documentation like this.. I have already did it in CISCO XR router by using those command: (config)#configuration commit auto-save filename…
0
votes
1 answer

Why does pinging makes UDP work faster for GSM module Telit GL865?

I have implemented my own TFTP library for STM32 on Keil using GSM Telit GL865 via Uart. I realized that, if I command continuous pinging starting from the initialization, TFTP packages are exhanged fast. If I do not start continuously pinging the…
0
votes
1 answer

Struct unpacking a Read Request in TFTP implementation

Regarding the RFC of TFTP (Trivial File Transfer Protocol), the RRQ/WRQ (Read\write requests) packet has this format: 2 bytes string 1 byte string 1 byte ------------------------------------------------ | Opcode | Filename …
xBurnsed
  • 410
  • 4
  • 12