Solved

TFTPD Configuration

Posted on 1997-05-28
1
1,862 Views
Last Modified: 2012-05-04
Using the 1.2.13 Slackware distribution, how do I set up the TFTPD server?  I have created a user, TFTP, created the directory /TFTPBOOT, TFTP has 777 access to it as does the group guest.
I use touch to create the file in the directory, verify ownership and attribute, then have the client (cisco router) send the file.
The server always kicks back with an access violation.
In /etc/inetd.conf I have used the lines:
tftp   dgram   udp     wait    tftp    /usr/sbin/in.tftpd      /usr/sbin/in.tftpd -s /tftpboot
           and
tftp    dgram   udp     wait    tftp    /usr/sbin/tcpd  /usr/sbin/in.tftpd -s /tftpboot

with the same results.  The answer is not in the source distribution and I cannot find a MAN page for tftpd anywhere.
0
Comment
Question by:masonke
1 Comment
 
LVL 1

Accepted Solution

by:
rfedane earned 100 total points
ID: 1584748

The most common mistake people make is not specifying the
full path to the file on the server. For example to save your
config file from a cisco router, when prompted for the config
filename, you need to type something like this:

c4000#wri net
Remote host []? 192.168.0.254
Name of configuration file to write [c4000-confg]? /tftpboot/c4000-confg
Write file /tftpboot/c4000-confg on host 192.168.0.254? [confirm]
Building configuration...

Writing /tftpboot/c4000-confg .!! [OK]
c4000#

Some "secure" version of tftpd (Solaris, SunOS) change the root
directory for you, so the whole path is not required.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question