This post is a guide on how to create a TFTP server for Cisco device configuration backups on Ubuntu 8.10.

1. Install atftpd.

sudo apt-get install atftpd

2. Configure atftpd as a separate server and modify the tftpboot location.

Modify the file with a text editor.

sudo vim /etc/default/atftpd

Set the configuration.

USE_INETD=true -> USE_INETD=false
/var/lib/tftpboot -> /srv/tftpboot

Save and exit.

3. Initialize the new configuration.

sudo invoke-rc.d atftpd start

4. Create and configure the tftpboot directory.

sudo mkdir -p /srv/tftpboot
cd /srv
sudo chmod -R 777 ./tftpboot
sudo chown -R nobody ./tftpboot

5. Restart the atftpd daemon.

sudo /etc/init.d/atftpd restart

6. Test the configuration from a Cisco device.

copy startup-config tftp

7. Verify the file transfer from the Cisco device.

ls -l /srv/tftpboot