"John J. LeMay Jr." wrote:
>
> Can anyone provide some detailed configuration info on getting tftp up and
> running on LM72? I've enabled it in xinetd and I can connect, but I have no idea
> where to start putting files, what directory perms should be, etc. Seems like
> tftp is barely documented anywhere (including what I could find on Google).
tftp normally uses /tftpboot though I prefer to make it a softlink to
/home/tftpboot which protects it over new installs.
Sounds like you have xinetd setup, so the only problem is using it...
Unless you have a version that can create a file, the destination file must
exist (touch <file>) before it can be transfered. Normally, the directory and
files are owned by nobody.nogroup (perm=0700) before one can be transfered.
This makes tftp insecure. To reduce the risks, once a file is successfully
transfered, you should change the permissions with at least -w.
To date, I have never gotten tftp to work between LM7.2 systems; the best I can
get it to do is to update the creation date on an empty target file. I did get
the version from netkit-tftp-0.17 to accept config files and serve router images
from/to a Cisco router by specifying the target as:
tftpboot/file
but not: /tftpboot/file
nor: file
So... hope you're not in too desperate a need for tftp... it sux.
HTH,
Pierre