Dirtbag's Blog

Enable tftp on slowaris 10

[ link: solaris10tftp | tags: solaris | updated: Fri, 17 Apr 2020 12:12:08 -0400 ]

How the hell do you enable the tftp server (smf service) on a solaris 10 box?!?!

First, make sure that you have the appropriate packages installed:

[root@s10box]$ pkginfo | grep tftp
system      SUNWtftp                         Trivial File Transfer Server
system      SUNWtftpr                        Trivial File Transfer Server (Root)
[root@s10box]$

then, enable it by uncommenting the following entry in the /etc/inet/inetd.conf file:

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

then run the secret squirrel inetconv command on it!

[root@s10box]$ inetconv -i /etc/inet/inetd.conf
tftp -> /var/svc/manifest/network/tftp-udp6.xml
Importing tftp-udp6.xml ...Done

and then you should see it running:

[root@s10box]$ svcs | grep tftp
online         Sep_19   svc:/network/tftp/udp6:default
[root@s10box]$

-db

Like this article? Buy me a beer!