*BSD News Article 37911


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!gatech!mailer.acns.fsu.edu!eshop!ryan
From: ryan@magnet.fsu.edu (Joe Ryan)
Newsgroups: comp.os.386bsd.questions
Subject: Need help with tftpd on FreeBSD 1.1.5.1
Date: Tue, 15 Nov 1994 16:43:18 GMT
Organization: FSU - MARTECH (Physics Dept.)
Lines: 59
Distribution: world
Message-ID: <ryan.36.2EC8E526@magnet.fsu.edu>
NNTP-Posting-Host: martech1.physics.fsu.edu
Keywords: tftp   tftpd   trivial ftp
X-Newsreader: Trumpet for Windows [Version 1.0 Rev A]


Greetings!

I am having trouble getting my trivial ftp daemon to work.  Has anyone
successfully gotten the tftpdaemon to run properly in FreeBSD 1.1.5.1 ??

tftp works fine.  I tested it downloading files from both an SGI
and Sun workstation.  However, my tftpdaemon gives:
        >>>>>   "Error code 2: Access violation"   <<<<<
whenever I try to tftp a file off it (my 1.1.5.1 server).

I have carefully read and re-read the necessary man pages and even 
compared my setup with the aforementioned Sun and SG workstations since
there are many similarities.

I have tried giving my tftpd root as well as low-level user privs in my
inetd.conf.

I have tried all various chmod permutations on the file and directory
where the file ("test.doc") is located. (I have my tftpd allowing access
to only one directory.)  My inetd.conf line is currently as follows:

tftp  dgram  udp  wait   root  /usr/libexec/tftpd    tftpd /tftpboot

My /tftpboot directory looks like this:


% ls -lag
total 5
drwxr-xr-x    2 root     wheel         512 Nov 15 16:12 .
drwxr-xr-x   13 root     wheel        1024 Nov 14 15:13 ..
-r-xr-xr-x    1 root     wheel          37 Nov 15 00:51 test.doc
%  


My attempts to download test.doc (an ascii garbage file) yeild
this result: 


/usr/ryan %tftp
tftp> connect 128.186.XXX.XXX         <---- my 1.1.5.1 server addr
tftp> get test.doc
Error code 2: Access violation
tftp> quit
/usr/ryan %


If anyone knows the "trick" to get this going or has advice, please
post to the newsgroup or email me at ryan@phy.fsu.edu

Thanks.
Joe Ryan


____________________________________________________________
Joe Ryan                                ryan@magnet.fsu.edu
MARTECH/Physics
Florida State University
------------------------------------------------------------