Solved

TFTPD Configuration

Posted on 1997-05-28
1
1,857 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

760 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now