<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Netatalk on Notes from the Rabbit Hole</title><link>https://magnus919.com/tags/netatalk/</link><description>Recent content in Netatalk on Notes from the Rabbit Hole</description><generator>Hugo</generator><language>en</language><copyright>© [Magnus Hedemark](https://github.com/magnus919)</copyright><lastBuildDate>Thu, 01 Nov 2012 20:52:54 -0400</lastBuildDate><atom:link href="https://magnus919.com/tags/netatalk/index.xml" rel="self" type="application/rss+xml"/><item><title>Quick Tip: Netatalk 3.0.1 on Joyent SmartOS</title><link>https://magnus919.com/2012/11/quick-tip-netatalk-3.0.1-on-joyent-smartos/</link><pubDate>Thu, 01 Nov 2012 20:52:54 -0400</pubDate><guid>https://magnus919.com/2012/11/quick-tip-netatalk-3.0.1-on-joyent-smartos/</guid><description>&lt;p>I had to fiddle around with this a bit and thought it might be useful to others. I&amp;rsquo;m using a &lt;a href="http://joyent.com">Joyent&lt;/a> &lt;a href="http://smartos.org">SmartOS&lt;/a> zone as a file server for my Macs at home, and &lt;a href="http://netatalk.sourceforge.net">Netatalk&lt;/a> is really the best way to share files to a Mac from a UNIX system.&lt;/p>
&lt;p>Real quick, here&amp;rsquo;s how it was done:&lt;/p>
&lt;ul>
&lt;li>download netatalk source, untar the source, cd into the source directory&lt;/li>
&lt;li>&lt;code>./configure --with-bdb=/opt/local --with-init-style=solaris --without-pam --prefix=/opt/local&lt;/code>&lt;/li>
&lt;li>&lt;code>vim distrib/initscripts/Makefile&lt;/code>&lt;/li>
&lt;li>find the line that begins with &amp;ldquo;&lt;code>servicedir&lt;/code>&amp;rdquo; and change it to:&lt;/li>
&lt;li>&lt;code>servicedir = /var/svc/manifest/network/&lt;/code>&lt;/li>
&lt;li>save &amp;amp; exit the makefile&lt;/li>
&lt;li>&lt;code>make &amp;amp;&amp;amp; sudo make install&lt;/code>&lt;/li>
&lt;li>&lt;code>vim /opt/local/etc/afp.conf&lt;/code> and add your shares&lt;/li>
&lt;li>&lt;code>sudo svcadm enable netatalk&lt;/code>&lt;/li>
&lt;li>verify that it&amp;rsquo;s running with: &lt;code>svcs netatalk&lt;/code>&lt;/li>
&lt;/ul>
&lt;p>Special thanks to &lt;em>rmustacc&lt;/em> in Freenode/#illumos for helping me get the SMF manifest installing to the correct path. I hope some of you find this helpful.&lt;/p></description></item></channel></rss>