Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

TFTPD Configuration

Posted on 1997-05-28
1
Medium Priority
?
1,895 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 200 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

Industry Leaders: 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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

963 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