Solved

TFTPD Configuration

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

Scale it in WD Gold

With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

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…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

863 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

23 Experts available now in Live!

Get 1:1 Help Now