Configuring Solaris 10 as a TFTP Server

TFTP or Trivial File Transfer Protocol is a file transfer protocol designed and used for it’s simplicity. In Solaris it has two primary uses: transferring information during Jumpstart and updating system firmware. Solaris 10 comes with a TFTP server installed but not enabled.
Enabling TFTP:
Copy /etc/inetd.conf

cp /etc/inetd.conf /tmp/tftp_inetd.conf

Open and edit the new copy

vi /tmp/tftp_inetd.conf

By default it contains the following line:

#tftp   dgram   udp6    wait    root    /usr/sbin/in.tftpd      in.tftpd -s /tftpboot

Uncomment this line. If desired you can also change the tftp root directory from /tftpboot.
You can now create the /tftpboot or other directory. To serve files “other users” will need read access. For other TFTP clients to be able to upload files to this server “other users” will need write access.

mkdir -m 744 /tftpboot

Now you can enable TFTP with inetconv to update /etc/inetd.conf
inetconv -i /tmp/tftp_inetd.conf

Now confirm the service is running

svcs /network/tftp/udp6

After that you’re all set to go and other TFTP users can access files in /tftpboot.

Related Articles:


ABOUT US
Seeds of Genius, Inc. offers a full range of IT solutions including hardware and software products in addition to consulting, installation and support services. For more information, please visit our main web site at http://www.seedsofgenius.com or contact our Technical Sales department at (410) 312-9806.