TFTP Server atftpd fails to start

Solution 1:

I've checked out atftpd source code, and find out that working line for /etc/default/atftpd is

USE_INETD=false
OPTIONS="--tftpd-timeout 300 --retry-timeout 5 --port=69 --maxthread 100 --verbose=5 /srv/tftp"

You need to specify port to fool atftpd. So now tftp server is available from all network interfaces.

Solution 2:

You are probably affected by bug #993101

Please confirm if you are having same problem! Eventually, you can always download the source and install by yourself..

Solution 3:

This is how I got atftpd working in 12.04:

  1. Edit /etc/default/atftpd

    a. Change inetd=true to inetd=false

    b. Removed all multicast options, added --bind-address=<my local static ip>

    c. Created /tftpboot directory (modify /etc/default/atftpd accordingly as the default directory is something else) with user nobody group nogroup

    d. Also added --logfile /var/log/atftpd.log (first touch /var/log/atftpd.log and set permissions accordingly)

    e. Set --verbose=7 to capture all messages

  2. Edit /etc/rlinetd.conf and made services available only local network by specifying my interface as my local IP address.

  3. Stopped started rlinetd

  4. Ran invoke-rc.d atftpd start as root.

Hope this is useful.