I was using 14.04 before, and I was able to setup and make tftp server and client work. Now that I upgrade to 14.10, tftp server isn't working anymore
Here's what I did:
Install the package.
sudo apt-get install tftpd-hpaEdit config file as follows.
sudo vi /etc/default/tftpd-hpa# /etc/default/tftpd-hpa TFTP_USERNAME="tftp" TFTP_DIRECTORY="/tftpboot" TFTP_ADDRESS="0.0.0.0:69" TFTP_OPTIONS="-s -c -l"Create TFTP folder.
sudo mkdir /tftpboot sudo chmod -R 777 /tftpboot sudo chown -R nobody /tftpbootRestart the app to apply new configuration.
sudo service tftpd-hpa restart
(Source)
At that time, I didn't know that tftpd-hpa is the package for TFTP server and tftp-hpa is for TFTP client so what I did was install another package for the TFTP CLIENT.
Install the following packages:
sudo apt-get install xinetd tftpd tftpChange permission of
/etc/xinetd.ddirectory.sudo chmod –R 777 xinetd.dCreate a file named tftp in
/etc/xinetd.dand write the following:service tftp { socket_type = dgram protocol = UDP. WAIT = YES user = root server = /usr/sbin/in.tftpd server_args =-s /tftpboot disable = no per_source = 11 cps = 100 2 flags = IPv4 }Save and exit.
Create
tftpbootdirectory and change permission.cd / sudo mkdir /tftpboot chmod –R 777 /tftpbootRestart the service
sudo /etc/init.d/xinetd restart
This step by step process of installing TFTP server and another package for TFTP Client workis in 14.04 but not in 14.10, and I think that the 2nd installation and set up (sudo apt-get install xinetd tftpd tftp) is the culprit why TFTP server isn't working. I've already uninstalled the packages which I think isn't needed. But TFTP server still isn't working. What can I do to make TFTP server work?