User Tools

Site Tools

vmware.png nfs.png tftp.png subversion.png eclipse.png logo.png tutorial.png

TFTP Server

Ubuntu x86 in VMware player

Tested with Ubuntu

  • 14.04
  • 12.04

The following guide desribes how to install and setup a tftp server under Ubuntu, the default TFTP suite is tftp-hpa. To install the following step is needed:

user@ubuntu:~$ sudo apt-get install xinetd tftpd tftp

The TFTP default directory is /var/lib/tftpboot. For convinience the following changes can be applied to the system:

  • Creation of a new directory for the server
  • setting the ownership for the tftp user
  • add user to the tftp group to have rights to the tftpd dirctory
user@ubuntu:~$ sudo mkdir -p /srv/tftpd
user@ubuntu:~$ sudo chown <user>:tftp /srv/tftpd
user@ubuntu:~$ sudo chmod 775 /srv/tftpd
user@ubuntu:~$ sudo usermod -a -G tftp <user>

Finally the server configuration for the TFTP server has to be changed:

user@ubuntu:~$ sudo nano /etc/default/tftpd-hpa

Change the following line to point to the new created directory:


To restart the TFTP server type:

user@ubuntu:~$ sudo service tftpd-hpa restart

To test the server copy some file to the server and get it back with

user@ubuntu:~$ tftp -c get <filename> 

en/general_information/tftp.txt · Last modified: 2017/12/14 16:30 by schmid


TQ-Systems GmbH provides the Board Support Packages (BSP) free of charge. The software included in the shipment has been configured individually for the starter kits. The software is only intended to evaluate the module. The use of the Board Support Packages (BSP) is only allowed within the scope of functionality described by TQ-Systems GmbH. TQ-Systems GmbH does not accept any liability for all further changes of the Board Support Package and for any damage resulting from its use.

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki