Slackware TFTP ServerI needed to be able to write files to and from a reliable TFTP server. I wanted to use my slackware 12.0 box, and this is how I did it. Step 1 I created a user account called tftp:- Login name.......: tftp UID..............: [ Next available ] Initial group....: nobody Additional groups: [ None ] Home directory...: /home/tftp Shell............: /bin/bash Expiry date......: [ Never ] I added tftp to the nobody initial group. Step 2 I edited the /etc/inetd.conf file. Replacing existing tftp line with this:- tftp dgram udp wait root /usr/sbin/in.tftpd in.tftpd -c -v -s /home/tftp Save and exit. Step 3 Restart the inted module. /etc/rc.d/rc.inetd restart Step 4 You need a directory that the group nobody can write to. I have a Cisco 1801 router, so under /home/tftp I created a directory called 1801. drwxrwx--- 2 tftp nobody 6 2008-04-22 07:55 1801/ Using chown tftp:nobody 1801 to give the correct user settings then using chmod 770 1801 to give the user and group full write access as shown above. Step 5 Copying a config file from the router to the tftp server. Sams1801#copy running-config tftp://192.168.68.2/1801/sams1801-config Address or name of remote host [192.168.68.2]? Destination filename [1801/sams1801-config]? !! 8093 bytes copied in 2.624 secs (3084 bytes/sec) Sams1801# Copying to a location that doesn't have sufficient write permissions will cause the following error on the Cisco device:- Sams1801#copy running-config tftp://192.168.68.2/sams1801-config Address or name of remote host [192.168.68.2]? Destination filename [sams1801-config]? TFTP: error code 0 received - 20581 %Error opening tftp://192.168.68.2/sams1801-config (Undefined error) | ||