MoonPoint Support Logo

 

Shop Amazon Warehouse Deals - Deep Discounts on Open-box and Used ProductsAmazon Warehouse Deals



Advanced Search
February
Sun Mon Tue Wed Thu Fri Sat
       
25      
2007
Months
Feb


Sun, Feb 25, 2007 6:14 pm

Enabling a TFTP Server on Solaris 10

I needed to configure a Solaris 10 system as a TFTP server. When I checked to see if the system was already functioning as a TFTP server, I found it was not.
# svcs | grep tftp
#

I removed the "#" from the following line in /etc/inetd.conf:

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

I then ran inetdconv.

# inetconv
inetconv: Notice: Service manifest for 100235/1 already generated as /var/svc/manifest/network/rpc/100235_1-rpc_ticotsord.xml, skipped
inetconv: Notice: Service manifest for 100083/1 already generated as /var/svc/manifest/network/rpc/100083_1-rpc_tcp.xml, skipped
inetconv: Notice: Service manifest for 100068/2-5 already generated as /var/svc/manifest/network/rpc/100068_2-5-rpc_udp.xml, skipped
tftp -> /var/svc/manifest/network/tftp-udp6.xml
Importing tftp-udp6.xml ...Done

When I then checked to ensure the system was functioning as a TFTP server, I found it was functioning as one.

# netstat -a | grep tftp
      *.tftp                                Idle
      *.tftp                                                        Idle
# svcs | grep tftp
online         16:21:53 svc:/network/tftp/udp6:default
# netstat -a | grep tftp
      *.tftp                                Idle
      *.tftp                                                        Idle

You can disable the TFTP service with inetadm -d svc:/network/tftp/udp6 and re-enable it with inetadm -e svc:/network/tftp/udp6.

Create a /tftpboot directory where files can be placed to be downloaded by tftp clients.

# mkdir /tftpboot

For further information on the TFTP service, you can use the man command man tftpd.

References:

  1. Enabling tftpd in Solaris 10
    By Lasse Østerild
    October 11, 2005
    unixzone.dk

[/os/unix/solaris] permanent link

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo