| Title: | DIGITAL UNIX (FORMERLY KNOWN AS DEC OSF/1) |
| Notice: | Welcome to the Digital UNIX Conference |
| Moderator: | SMURF::DENHAM |
| Created: | Thu Mar 16 1995 |
| Last Modified: | Fri Jun 06 1997 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 10068 |
| Total number of notes: | 35879 |
Anyone know of a way to specify more than one directory for the tftp
deamon in inetd.conf?
Customer is running V3.2c of dunix in a software develoopement
environment. He is trying to load some NCDX Xterminals which use
tftp directly and do not use bootp. He needs to specify the load
image location as well as the font directories and some additional
file locations.
He is trying to make a secure tftp environment which seems like a
contradiction. His doc's also speak of an -s switch (secure).
Did we not implement this on dunix?
I doubt that it will fix the problem but if a fix is possible in
V4, that 's no good. He is determined to remain at v3.2c.
Any help appreciated.
Al
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 9806.1 | It's in the man page | NNTPD::"[email protected]" | Brian Haley | Tue May 13 1997 18:34 | 23 |
Hi,
The tftpd man page gives the syntax on how to do this:
/usr/sbin/tftpd [-d] [-r pathname] [directory ...]
You can give up to 62 directories.
If you edit the line in /etc/inetd.conf and 'kill -HUP' the inetd
process, the changes will take effect the next time tftpd is restarted.
As an example:
tftp dgram udp wait root /usr/sbin/tftpd tftpd -d -r /tftpboot /tftpboot
If the X-terminals are just asking for file "foo", then file "bar" and
not absolute pathnames (yuk), then you will have to make links from the
default directory (use the -r switch) to where the files live. The -r
switch will cause a path to get prepended to any filenames that don't
start with a /.
-Brian
[Posted by WWW Notes gateway]
| |||||
| 9806.2 | Not working here! | CSC32::A_LICAUSE | Tue May 13 1997 20:21 | 22 | |
Well....according to the man pages on my v4.0 system and the man pages
on one of our v3.2c systems, it says:
-r pathname
Specifies the relative pathname a user can specify to
transfer a file that has no path associated with it. For example, -r
/tmp/tftp causes /tmp/tftp to be prefixed to a file that
has no path and the file is copied to and from the directory
/tmp/tftp.
Only one directory path can be specified with this option.
I tried this on my V4.0 system and it does not work. I tried it with
the -r switch and w/o. Neither one works.
The customer described this Xterminal as being very generic so I
suspect that it is asking for simple file names with on directory
information prepended.
Are you working from a V4.0a or V4.0b system?
Al
| |||||
| 9806.3 | Can you post some -d output | NNTPD::"[email protected]" | Brian Haley | Wed May 14 1997 11:12 | 12 |
Hi, Can you run tftpd in debug mode (-d) to see why it's not working? Please post the output. I've successfully booted LAT boxes that only specify a filename with no path. My system is running V4.0 rev 386. -Brian [Posted by WWW Notes gateway] | |||||