Solved

TFTPD Configuration

Posted on 1997-05-28
1
1,864 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

735 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