Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
en:general_information:tftp [2020/07/15 14:43] – external edit 127.0.0.1en:general_information:tftp [2020/11/19 09:43] – [Ubuntu 14.04/16.04 x86 in vmware player] liedmann
Line 2: Line 2:
 ====== TFTP Server ====== ====== TFTP Server ======
  
-===== Ubuntu 14.04/16.04 x86 in vmware player =====+===== Setting up TFTP Server in Ubuntu =====
  
-First you have to install xinetd tftp +TFTP (Trivial File Transfer Protocol) is a simplified version of FTP (File Transfer Protocol),running on port 69. It can be setup with very litte effort.  
 +For example the TFTP server can be used to provide the u-boot, device tree blob and Linux kernel binaries for firmware updates in u-boot on the target hardware. 
 +   
 + 
 +The first thing is to install install the client and the server package together with xinetd superserver.
  
 <code> <code>
 sudo apt-get install xinetd tftpd tftp sudo apt-get install xinetd tftpd tftp
 +</code>
 +
 +The next step is to create folder to act as TFTP root, the files for e.g. the firmware updates has to be stored there.
 +Typically this folder is located at the root level and named **tftpboot**   
 +<code>
 +sudo mkdir /tftpboot
 +sudo chmod -R 777 /tftpboot
 +sudo chown -R nobody /tftpboot
 +sudo /etc/init.d/xinetd restart
 </code> </code>
  
  
-create the file **/etc/xinetd.d/tftp** and add the following lines of code to it: +Now a new xinetd serivce has to be created  the file **/etc/xinetd.d/tftp** and add the following lines of code to it: 
  
 <code> <code>
Line 27: Line 40:
 </code> </code>
  
-Then create a tftp folder and restart xinetd. +
-<code> +
-sudo mkdir /tftpboot +
-sudo chmod -R 777 /tftpboot +
-sudo chown -R nobody /tftpboot +
-sudo /etc/init.d/xinetd restart +
-</code>+
  
  
  • Last modified: 2023/06/21 14:52