<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>CodeWord: Apokalyptik &#187; Apple</title>
	<atom:link href="http://blog.apokalyptik.com/category/apple/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.apokalyptik.com</link>
	<description>The random things that spew forth from my brain...</description>
	<lastBuildDate>Thu, 04 Mar 2010 09:45:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=3.0-alpha</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Debian Lenny, Avahi, AFP&#8230; Linux Fileserver for OSX Clients</title>
		<link>http://blog.apokalyptik.com/2009/02/12/debian-lenny-avahi-afp-linux-fileserver-for-osx-clients/</link>
		<comments>http://blog.apokalyptik.com/2009/02/12/debian-lenny-avahi-afp-linux-fileserver-for-osx-clients/#comments</comments>
		<pubDate>Fri, 13 Feb 2009 01:25:51 +0000</pubDate>
		<dc:creator>apokalyptik</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Random Thoughts]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://blog.apokalyptik.com/?p=391</guid>
		<description><![CDATA[If you&#8217;re like me you have an OSX computer or 3 at home, and a debian file server. If you&#8217;re like me you hate samba/nfs on principle and want your debian server to show up in finder.  If you&#8217;re like me you arent using debian 3 which is what most of the walkthroughs seem to [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re like me you have an OSX computer or 3 at home, and a debian file server. If you&#8217;re like me you hate samba/nfs on principle and want your debian server to show up in finder.  If you&#8217;re like me you arent using debian 3 which is what most of the walkthroughs seem to expect&#8230;  This is how I did it&#8230; With Debian Lenny.</p>
<p>What we&#8217;re using, and why:</p>
<ul>
<li>Avahi handles zeroconf (making it show up in finder) (most howtos involve howl which is no longer in apt)</li>
<li>netatalk has afpd</li>
<li>afpd is the fileserver</li>
</ul>
<p>From: <a href="http://blog.damontimm.com/how-to-install-netatalk-afp-on-ubuntu-with-encrypted-authentication/">http://blog.damontimm.com/how-to-install-netatalk-afp-on-ubuntu-with-encrypted-authentication/</a></p>
<ul>
<li>apt-get update</li>
<li>mkdir -p ~/src/netatalk</li>
<li>cd ~/src/netatalk</li>
<li>apt-get install cracklib2-dev libssl-dev</li>
<li>apt-get source netatalk</li>
<li>apt-get build-dep netatalk</li>
<li>cd netatalk-2.0.3</li>
</ul>
<p>From: <a href="http://www.sharedknowhow.com/2008/05/installing-netatalk-under-centos-5-with-leopard-support/">http://www.sharedknowhow.com/2008/05/installing-netatalk-under-centos-5-with-leopard-support/</a></p>
<ul>
<li>vim bin/cnid/cnid_index.c ## replace &#8220;ret = db-&gt;stat(db, &amp;sp, 0);&#8221; with &#8220;ret = db-&gt;stat(db, NULL, &amp;sp, 0);&#8221; line 277</li>
<li>vim etc/cnid_dbd/dbif.c ## replace &#8220;ret = db-&gt;stat(db, &amp;sp, 0);&#8221; with &#8220;ret = db-&gt;stat(db, NULL, &amp;sp, 0);&#8221; line 517</li>
</ul>
<p>Mine</p>
<ul>
<li>./configure &#8211;prefix=/usr/local/netatalk</li>
<li>make</li>
<li>make install</li>
<li>vim /etc/rc.local ## add &#8220;/usr/local/netatalk/sbin/afpd&#8221;</li>
<li>/usr/local/netatalk/sbin/afpd</li>
</ul>
<p>From: <a href="http://www.disgruntled-dutch.com/2007/general/how-to-get-your-linux-based-afp-server-to-show-up-correctly-in-leopards-new-finder">http://www.disgruntled-dutch.com/2007/general/how-to-get-your-linux-based-afp-server-to-show-up-correctly-in-leopards-new-finder</a></p>
<ul>
<li>apt-get install avahi-daemon</li>
<li>vim /etc/nsswitch.conf ## make the hosts line read &#8220;hosts: files dns mdns4&#8243;</li>
<li>cd /etc/avahi/services</li>
<li>wget http://www.disgruntled-dutch.com/media/afpd.service</li>
<li>/etc/init.d/avahi-daemon restart</li>
</ul>
<p>in case that file drops off the face of the net, this is its contents (except &#8220;&lt; ?&#8221; is &#8220;&lt;?&#8221; and &#8220;&lt; !&#8221; is &#8220;&lt;!&#8221;) :</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;">&lt; ?xml <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">standalone</span>=<span style="color: #ff0000;">'no'</span><span style="color: #000000; font-weight: bold;">?&gt;</span></span><span style="color: #808080; font-style: italic;">&lt;!--*-nxml-*--&gt;</span>
<span style="color: #009900;">&lt; !DOCTYPE service-group SYSTEM <span style="color: #ff0000;">&quot;avahi-service.dtd&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;service</span> -group<span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name</span> <span style="color: #000066;">replace-wildcards</span>=<span style="color: #ff0000;">&quot;yes&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>%h<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/service<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;service<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;type<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>_afpovertcp._tcp<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/type<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;port<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>548<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/port<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/service<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>At this point your server should show up under the network in your finder&#8230; and you should be able to connect with any system username/pw combo</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.apokalyptik.com/2009/02/12/debian-lenny-avahi-afp-linux-fileserver-for-osx-clients/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>The iPhone&#8230; Its not even out yet and everyone is drooling over it</title>
		<link>http://blog.apokalyptik.com/2007/06/11/the-iphone-its-not-even-out-yet-and-everyone-is-drooling-over-it/</link>
		<comments>http://blog.apokalyptik.com/2007/06/11/the-iphone-its-not-even-out-yet-and-everyone-is-drooling-over-it/#comments</comments>
		<pubDate>Mon, 11 Jun 2007 23:46:57 +0000</pubDate>
		<dc:creator>apokalyptik</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[In The News]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Web Stuff]]></category>

		<guid isPermaLink="false">http://blog.apokalyptik.com/2007/06/11/the-iphone-its-not-even-out-yet-and-everyone-is-drooling-over-it/</guid>
		<description><![CDATA[And if they aren&#8217;t, they should be!  Ajax has long been the missing link between phones as a mobile computing platform and phones as a simple messaging device.  the fact is that there is a vastly larger poll of people willing to write useful web apps than useful java apps.  I would also argue that [...]]]></description>
			<content:encoded><![CDATA[<p>And if they aren&#8217;t, they should be!  Ajax has long been the missing link between phones as a mobile computing platform and phones as a simple messaging device.  the fact is that there is a vastly larger poll of people willing to write useful web apps than useful java apps.  I would also argue that it&#8217;s easier to write good web apps than java apps of the same magnitude.  So with apples announcement that the <a href="http://www.apple.com/pr/library/2007/06/11iphone.html?sr=hotnews.rss" target="_blank">iPhone will support web 2.0 standards (read AJAX)</a> what was once a tasty looking new toy has become something more. It&#8217;s become a tasty toy with a good enough reason for the cost.   I&#8217;d have to pay to break my contract with Sprint, start a contract with Cingular, buy the new iPhone, buy the wife a new phone (shared Sprint plan)&#8230;. I&#8217;m probably looking at $700-$1000 to make the switch.  And I&#8217;m already thinking that its worth it.  I&#8217;m going to hold off though&#8230; as long as I can stand it.  I want someone to review it, I want to see how the web explosion hits Cingulars networks&#8230; I want to see how hard they are to find at first&#8230;  Mostly I just want the damn phone really bad&#8230; But I&#8217;m gonna try to be a good boy and hold off&#8230; Maybe</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.apokalyptik.com/2007/06/11/the-iphone-its-not-even-out-yet-and-everyone-is-drooling-over-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
