Setting up the atftpd server on Debian Squeeze

I have recently had some issues trying to use tftpd server in conjunction with some of my Cisco equipment.  I kept getting these errors regardless of actual permissions on the system:

%Error opening tftp:// (Permission denied)

So I uninstalled that and installed the atftpd server package.  That seemed to do the trick.  I did have to change the default directory as I did already have a directory full of IOS files that I was just too lazy to move where the maintainers think I should put it.  So here are the steps I took to get things working.

1. Install the atftpd package from the repository.

apt-get install atftpd

2. Add this line into /etc/inetd.conf:

tftp dgram udp4 wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd --tftpd-timeout 300 --retry-timeout 5 --mcast-port 1758 --mcast-addr --mcast-ttl 1 --maxthread 100 --verbose=5 /tftpboot

3. Create /tftpboot directory and change permissions to allow writing to the directory.

mkdir /tftpboot
chmod 777 /tftpboot

4. Restart the inetd server.  To restart the server on Debian run:

/etc/init.d/openbsd-inetd restart

After I followed those steps I was able to connect to the server from my Cisco equipment and transfer files both ways.  

You may want to disable the server when you are not actively using it.  To do this comment out the line you added to /etc/inetd.conf and restart or stop inetd.


  1. Thanks alot. Did it for me ;)


  2. Thank you very much for sharing useful information, clearly describing the sequence of steps
    Richard Brown secure data room

  3. If the vendor doesn’t have blackjack, the insurance coverage bet loses. Aces are worth 1 or 11; whichever makes a better hand. One of the dealer’s two playing cards is face down till the very end after every participant completes his hand. Online blackjack includes a Random Number Generator , whereas in stay blackjack the playing cards are dealt by stay dealers. Blackjack at Mr Green uses the RNG guarantee that|to ensure that} the 파라오카지노 random nature of the normal card game is observed.