I have installed atftpd on Ubuntu 12.04, but it looks like I cannot start the tftp server, and there's a problem also with the tftpd daemon. With Ubuntu 11.10 there was no problem.

ureadahead will be reprofiled on next reboot
atftpd (0.7.dfsg-11) wird eingerichtet ...
unknown protocol: udp4

With rlinetd, and also as daemon, it doesn't work.
with ps -afe I see no process.

/var/log/syslog says it cannot bind to ip address.

with option --bind-adress the atftpd server starts but also doesn't work.

4 Answers 4


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

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.

  • This was my problem, I realised I needed to change the true to false but it was the OPTIONS line that caught me out. Thanks!
    – jwbensley
    Mar 4, 2014 at 17:07

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..


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.

  • what is the point of step 2?
    – cmcginty
    Jan 13, 2013 at 6:14

Ubuntu 12.04 LTS

This system has an ip address of

sudo touch /var/log/atftpd.log

sudo chmod 644 /var/log/atftpd.log

here's my /etc/default/atftpd

OPTIONS="--port=69 --tftpd-timeout 300 --retry-timeout 5 --mcast-port 1758 --mca
st-addr --mcast-ttl 1 --maxthread 100 --verbose=7 /tftpboot --lo
gfile /var/log/atftpd.log"

sudo mkdir /tftpboot

sudo chmod 777 /tftpboot

touch /tftpboot/simple.txt

sudo invoke-rc.d atftpd restart

From another system (on the same subnet) running busybox

tftp -l simple.txt -g

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.