Zynq design from scratch. Part 24.
Setup a TFTP server in Ubuntu
Trivial File Transfer Protocol (TFTP) is a very simple file transfer protocol, with the functionality of a very basic form of FTP. We will install the server in our Ubuntu 64 bit Linux system.
Installing the TFTP server
We will install the following packages if not already installed.
--> sudo apg-get install tftp
--> sudo apt-get install xinetd
--> sudo apt-get install tftpd
Setting up the transfer directory
We will create a directory called /tftpboot in our host machine and allow everyone full access. Files put in this directory can be grabbed from other machines connected to the network.
--> sudo mkdir /tftpboot
--> sudo chmod -R 777 /tftpboot
--> sudo chown -R nobody /tftpboot
Setting up the configuration file
Create a file /etc/xinetd.d/tftp and include the following:
Starting the TFTP server
Use the following commands to start, stop and restart the server:
--> sudo /etc/init.d/xinetd stop
--> sudo /etc/init.d/xinetd start
--> sudo /etc/init.d/xinetd restart
Testing the TFTP server
Ensure the tftpd service is up and running.
Top Previous Next