This
page describes using TFTP on Sun systems.
Typical Sun
installations do not start TFTP. This is the ViewStation's default
protocol. A startup line for TFTP is present in the /etc/inetd.conf
file, but is usually commented out. With the comment character removed,
the TFTP protocol is run in "secure" mode on the Sun system. If you
want to run TFTP as your file transfer protocol for the ViewStation, you
must verify that it is running, and then decide if you want to use it in
secure mode or not.
To start your TFTP service on the Sun (you must be root user
to do these steps):
1. Check to see if TFTP was started. Look
in the /etc/inetd.conf file to see if the TFTP line has a comment
character. The line looks like this:
#tftp dgram udp wait root /usr/etc/in.tftpd
in.tftpd -s /tftpboot
2. Remove the comment character ( # ) from the beginning of
the line.
3. Restart the inetd process. Find the process identification
number (PID) from the following command: ps -aux |
grep inetd
Then issue this command: kill -1 [PID]
This restarts the inetd process and starts the TFTP
daemon.
TFTP in Secure Mode
If the TFTP process is in secure mode (check for the "-s /tftpboot"
at the end of the line), the TFTP process must change to the /tftpboot
directory to move requested files. If your files are not in that
directory, or you don't want to put them there, or you want to transfer
files from other directories, you will have to make some changes.
You have several options:
Use secure TFTP - this means that all your files must
be located in the /tftpboot directory. This partition is usually fairly
small, so check the available stor age space with the "df" command. The
HDSware tape requires about 60 MB for a complete installation, or about
9 MB for a minimal installation.
Note that the Sun prepends /tftpboot to whatever directory you
specify in your paths, so take this into account when you enter your
HDSware path.
Use unsecure TFTP - remove "-s /tftpboot" from the
TFTP line. This means that TFTP is not secure and can move files from
or to any directory on the system. This is convenient, but you may want
to keep the security features.
Link your files to /tftpboot - for instance,
you could create a tftpboot directory in your /usr partition,
/usr/tftpboot, and link it to /tftpboot, as follows:
cp -r /tftpboot /usr
rm -rf /tftpboot
ln -s
/usr/tftpboot /tftpboot
Return to Section Heading Page
Return to the Home Page
If you need more information than is available here, you can reach
HDS via email at info@hds.com, or
call us at 1.800.HDS.1551 in the USA, or at +610.277.8300 from outside
the US. For questions or problems regarding the HDS WWW page, contact
webmaster@hds.com.
© 1996 by HDS Network Systems
Inc.