How to Install and Setup the TFTP Server on Ubuntu
Step 1 First install TFTP Package using following code, sudo apt-get install xinetd tftpd tftp Step 2 Create the new folder like following Path /etc/xinetd.d/tftp Step 3 and then, put the following entry,
1 2 3 4 5 6 7 8 9 10 11 |
service tftp { protocol = udp port = 69 socket_type = dgram wait = yes user = nobody server = /usr/sbin/in.tftpd server_args = /tftpboot disable = no } |
Step 4 Create the new folder name as ‘/tftpboot‘. Make sure the same name you are given in above array as server_args‘s value. Most of the time, we are giving tftpboot only.
1 2 3 |
$ sudo mkdir /tftpboot $ sudo chmod -R 777 /tftpboot $ sudo chown -R nobody /tftpboot |
Step 5 Now you want to restart your xinetd service using below code, sudo /etc/init.d/xinetd restart Important Notes: 1) For newer system you can use sudo service xinetd restart for Restart your xinetd service. 2) Make sure you should allow...