<?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>SUNWfrk’s Blog &#187; Apple</title>
	<atom:link href="http://www.sunwfrk.com/blog/category/apple/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sunwfrk.com/blog</link>
	<description>a blog about my passion, hobby and work</description>
	<lastBuildDate>Mon, 12 Jul 2010 10:43:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>1Tb Maxtor basic drives &amp; ZFS</title>
		<link>http://www.sunwfrk.com/blog/2009/06/28/1tb-maxtor-basic-drives-zfs/</link>
		<comments>http://www.sunwfrk.com/blog/2009/06/28/1tb-maxtor-basic-drives-zfs/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 12:37:46 +0000</pubDate>
		<dc:creator>SUNWfrk</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Sun]]></category>
		<category><![CDATA[Maxtor]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[ZFS]]></category>

		<guid isPermaLink="false">http://www.sunwfrk.com/blog/?p=233</guid>
		<description><![CDATA[I have two 1TB Maxtor basic drives connected to my opensolaris box. On there I run a ZFS mirror. All working well, maybe not on mega speeds but fairly enough for home use (it does stream movies to my AppleTV with XBMC over smb) The downside I discovered later, is that they auto sleep after [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sunwfrk.com%2Fblog%2F2009%2F06%2F28%2F1tb-maxtor-basic-drives-zfs%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sunwfrk.com%2Fblog%2F2009%2F06%2F28%2F1tb-maxtor-basic-drives-zfs%2F" height="61" width="51" /></a></div><p><img class="alignleft" title="Maxtor1T basic" src="http://www.sunwfrk.com/upload/20090628-maxtor.png" alt="" width="173" height="166" />I have two 1TB Maxtor basic drives connected to my opensolaris box. On there I run a ZFS mirror. All working well, maybe not on mega speeds but fairly enough for home use (it does stream movies to my AppleTV with XBMC over smb) The downside I discovered later, is that they auto sleep after 15minutes of being idle and I will tell you this, ZFS doesn&#8217;t like this feature&#8230; I fixed this with a crontab writing a tmp file in a directory on the disk but that gave me some unwanted problems in some cases. This morning I was fed up with it and I wanted a good solution and it seems, there is one&#8230; but the application doesn&#8217;t have a lot of functions when you use it on MacOSX it appeared&#8230; so you really need to do this on a windows computer (scary huh) so <a href="http://www.google.com/search?q=FreeAgent-DT-WW.exe+site%3Aseagate.com" target="_blank">here is the application</a>. Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunwfrk.com/blog/2009/06/28/1tb-maxtor-basic-drives-zfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Specify the Finder icon with Avahi on OpenSolaris 2008.11</title>
		<link>http://www.sunwfrk.com/blog/2009/04/05/specify-the-finder-icon-with-avahi-on-opensolaris-200811/</link>
		<comments>http://www.sunwfrk.com/blog/2009/04/05/specify-the-finder-icon-with-avahi-on-opensolaris-200811/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 10:36:43 +0000</pubDate>
		<dc:creator>SUNWfrk</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Sun]]></category>
		<category><![CDATA[avahi]]></category>
		<category><![CDATA[MacosX]]></category>
		<category><![CDATA[OpenSolaris]]></category>

		<guid isPermaLink="false">http://www.sunwfrk.com/blog/?p=156</guid>
		<description><![CDATA[I found this article from Simon Wheatley and found it very nice to do. But it didn&#8217;t seem to work on OpenSolaris&#8230; but don&#8217;t worry, it just needs a small fix, don&#8217;t use port 0 for _device-info._tcp, but just give it a port you are already advertising. like: &#60;?xml version=&#8221;1.0&#8243; standalone=&#8217;no&#8217;?&#62;&#60;!&#8211;*-nxml-*&#8211;&#62; &#60;!DOCTYPE service-group SYSTEM &#8220;avahi-service.dtd&#8221;&#62; [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sunwfrk.com%2Fblog%2F2009%2F04%2F05%2Fspecify-the-finder-icon-with-avahi-on-opensolaris-200811%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sunwfrk.com%2Fblog%2F2009%2F04%2F05%2Fspecify-the-finder-icon-with-avahi-on-opensolaris-200811%2F" height="61" width="51" /></a></div><p>I found this article from <a title="Specify the Finder icon with Avahi" href="http://www.simonwheatley.co.uk/2008/04/06/avahi-finder-icons/" target="_blank">Simon Wheatley</a> and found it very nice to do. But it didn&#8217;t seem to work on OpenSolaris&#8230; but don&#8217;t worry, it just needs a small fix, don&#8217;t use port 0 for _device-info._tcp, but just give it a port you are already advertising.<br />
<span id="more-156"></span>like:</p>
<blockquote>
<p style="font-size: 10px;">&lt;?xml version=&#8221;1.0&#8243; standalone=&#8217;no&#8217;?&gt;&lt;!&#8211;*-nxml-*&#8211;&gt;<br />
&lt;!DOCTYPE service-group SYSTEM &#8220;avahi-service.dtd&#8221;&gt;<br />
&lt;service-group&gt;<br />
&lt;name replace-wildcards=&#8221;yes&#8221;&gt;%h&lt;/name&gt;<br />
&lt;service&gt;<br />
&lt;type&gt;_device-info._tcp&lt;/type&gt;<br />
&lt;port&gt;548&lt;/port&gt;<br />
&lt;txt-record&gt;model=RackMac&lt;/txt-record&gt;<br />
&lt;/service&gt;<br />
&lt;service&gt;<br />
&lt;type&gt;_afpovertcp._tcp&lt;/type&gt;<br />
&lt;port&gt;548&lt;/port&gt;<br />
&lt;/service&gt;<br />
&lt;/service-group&gt;</p>
</blockquote>
<p><!--adsensestart--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunwfrk.com/blog/2009/04/05/specify-the-finder-icon-with-avahi-on-opensolaris-200811/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Share your OpenSolaris 2008.11 screen to Mac Os X</title>
		<link>http://www.sunwfrk.com/blog/2009/04/05/share-your-opensolaris-200811-screen-to-mac-os-x/</link>
		<comments>http://www.sunwfrk.com/blog/2009/04/05/share-your-opensolaris-200811-screen-to-mac-os-x/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 10:14:53 +0000</pubDate>
		<dc:creator>SUNWfrk</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Sun]]></category>

		<guid isPermaLink="false">http://www.sunwfrk.com/blog/?p=139</guid>
		<description><![CDATA[I found some info on how to share your OpenSolaris Screen with vnc, and those manuals just didn&#8217;t do it for Mac Os X unless you use a vnc viewer. But I wanted to use the build in screen sharing build in to Mac Os X which support vnc but it didn&#8217;t seem to work.. [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sunwfrk.com%2Fblog%2F2009%2F04%2F05%2Fshare-your-opensolaris-200811-screen-to-mac-os-x%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sunwfrk.com%2Fblog%2F2009%2F04%2F05%2Fshare-your-opensolaris-200811-screen-to-mac-os-x%2F" height="61" width="51" /></a></div><p>I found some info on how to share your <a href="http://blogs.sun.com/darren/entry/vnc_for_opensolaris_2008_05" target="_blank">OpenSolaris Screen with vnc</a>, and those manuals just didn&#8217;t do it for Mac Os X unless you use a vnc viewer. But I wanted to use the build in screen sharing build in to Mac Os X which support vnc but it didn&#8217;t seem to work.. The resolution was Mac Os X wants authentication and thus the fix was easy, here you go:<span id="more-139"></span></p>
<blockquote style="font-size: 10px;"><p>svccfg -s x11-server<br />
svc:/application/x11/x11-server&gt; setprop options/server = &#8220;/usr/X11/bin/Xvnc&#8221;<br />
svc:/application/x11/x11-server&gt; setprop options/server_args = astring: (&#8220;-SecurityTypes&#8221; &#8220;Vncauth&#8221; &#8220;-RfbAuth&#8221; &#8220;/etc/X11/.vncpasswd&#8221;)<br />
svc:/application/x11/x11-server&gt; end</p>
<p>vncpasswd /etc/X11/.vncpasswd<br />
chown root:root /etc/X11/.vncpasswd<br />
chmod 400 /etc/X11/.vncpasswd</p>
<p>svcadm restart gdm</p></blockquote>
<p>I found out gdm will go into maintenance mode after a while, so just do this when this happens</p>
<blockquote>
<p style="font-size: 10px;">svcadm clear gdm</p>
</blockquote>
<p>Now you want bonjour to pick this service up so add this to /etc/avahi/services/rfb.service</p>
<blockquote>
<p style="font-size: 10px;">&lt;?xml version=&#8221;1.0&#8243; standalone=&#8217;no&#8217;?&gt;&lt;!&#8211;*-nxml-*&#8211;&gt;<br />
&lt;!DOCTYPE service-group SYSTEM &#8220;avahi-service.dtd&#8221;&gt;<br />
&lt;service-group&gt;<br />
&lt;name replace-wildcards=&#8221;yes&#8221;&gt;%h&lt;/name&gt;<br />
&lt;service&gt;<br />
&lt;type&gt;_rfb._tcp&lt;/type&gt;<br />
&lt;port&gt;5900&lt;/port&gt;<br />
&lt;/service&gt;<br />
&lt;/service-group&gt;</p></blockquote>
<p>and then restart the avahi daemon</p>
<blockquote>
<p style="font-size: 10px;">svcadm restart avahi-bridge-dsd</p>
</blockquote>
<p>and then you should have something like this</p>
<p><a href="http://www.sunwfrk.com/upload/20090405-opensolaris-afp-screensharing.png"><img class="alignnone" title="OpenSolaris Screen Sharing to Mac Os X" src="http://www.sunwfrk.com/upload/20090405-th-opensolaris-afp-screensharing.png" alt="" width="288" height="162" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunwfrk.com/blog/2009/04/05/share-your-opensolaris-200811-screen-to-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Very strange Superdrive problem</title>
		<link>http://www.sunwfrk.com/blog/2009/01/06/very-strange-superdrive-problem/</link>
		<comments>http://www.sunwfrk.com/blog/2009/01/06/very-strange-superdrive-problem/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 20:00:59 +0000</pubDate>
		<dc:creator>SUNWfrk</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[calibrate]]></category>
		<category><![CDATA[laser]]></category>
		<category><![CDATA[MacosX]]></category>
		<category><![CDATA[superdrive]]></category>

		<guid isPermaLink="false">http://sunwfrk.wordpress.com/?p=13</guid>
		<description><![CDATA[My macbook pro suddenly refused to write dvd’s. Offcourse you think your dvd writer is dead, but reading cd and dvd’s worked just fine. The error I got was: The device failed to calibrate the laser power level for this media So I started to investigate and found out thanks to macosxhints forum it was [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sunwfrk.com%2Fblog%2F2009%2F01%2F06%2Fvery-strange-superdrive-problem%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sunwfrk.com%2Fblog%2F2009%2F01%2F06%2Fvery-strange-superdrive-problem%2F" height="61" width="51" /></a></div><p>My macbook pro suddenly refused to write dvd’s. Offcourse you think your dvd writer is dead, but reading cd and dvd’s worked just fine.</p>
<p>The error I got was:</p>
<blockquote><p><em>The device failed to calibrate the laser power level for this media</em></p></blockquote>
<p>So I started to investigate and found out thanks to macosxhints forum it was a MacOS X software problem with a crazy and unbelievable fix which is the following:</p>
<blockquote><p><em>Open System Preferences.<br />
Click on “International”<br />
Under “Languages”: Drag any of the other languages to the top,<br />
then drag English back to the top.<br />
Set “Order for sorted lists” to English<br />
Set “Word Break” to  English (United States, computer)<br />
Close System Preferences<br />
Restart computer (this seemed not necessary)<br />
</em></p></blockquote>
<p>A response from Apple support stated:</p>
<blockquote><p><em>Perhaps there is a communication problem somewhere so that the proper region code can not be determined.</em></p></blockquote>
<p>Anyway, It works</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunwfrk.com/blog/2009/01/06/very-strange-superdrive-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Store Time Machine backups on AFP</title>
		<link>http://www.sunwfrk.com/blog/2008/11/17/store-time-machine-backups-on-afp/</link>
		<comments>http://www.sunwfrk.com/blog/2008/11/17/store-time-machine-backups-on-afp/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 19:53:46 +0000</pubDate>
		<dc:creator>SUNWfrk</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Sun]]></category>
		<category><![CDATA[AFP]]></category>

		<guid isPermaLink="false">http://sunwfrk.wordpress.com/?p=5</guid>
		<description><![CDATA[Off-course you want to use timemachine now when you’ve set up your AFP server, I found everything whats needed in 3 easy steps on macosxhints.com. on your local mac in Terminal type the following command. hdiutil create -size $SIZE -type SPARSEBUNDLE -nospotlight -volname “Backup of $HOSTNAME” -fs “Case-sensitive Journaled HFS+” -verbose ~/Desktop/$HOSTNAME_$MAC_ADDRESS.sparsebundle $SIZE = the maximum [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sunwfrk.com%2Fblog%2F2008%2F11%2F17%2Fstore-time-machine-backups-on-afp%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sunwfrk.com%2Fblog%2F2008%2F11%2F17%2Fstore-time-machine-backups-on-afp%2F" height="61" width="51" /></a></div><p>Off-course you want to use timemachine now when you’ve set up your AFP server, I found everything whats needed in 3 easy steps on <a href="http://www.macosxhints.com/article.php?story=20080420211034137" target="_blank">macosxhints.com</a>.</p>
<p>on your local mac in Terminal type the following command.</p>
<blockquote><p>hdiutil create -size $SIZE -type SPARSEBUNDLE -nospotlight -volname “Backup of $HOSTNAME” -fs “Case-sensitive Journaled HFS+” -verbose ~/Desktop/$HOSTNAME_$MAC_ADDRESS.sparsebundle</p></blockquote>
<p>$SIZE = the maximum size of the backups (example: 160G)<br />
$HOSTNAME = the hostname of your mac<br />
$MAC_ADDRESS = the mac address of your first ethernet card without the columns</p>
<p>now move that file you just created to the destination afp share you created for timemachine backups (with rsync, scp, mv,..)</p>
<p>now issue the following command in the Terminal if you are running a lower version than MacosX 10.5.2<br />
You don’t need to sudo for this!</p>
<blockquote><p><em>defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1</em></p></blockquote>
<p>now to be sure restart your mac, (logoff and logon should be enough, but hey..)</p>
<p>You should now be able to select your afp share as a time machine backup location and even some say your backup can get corrupted but then you still have your zfs snapshots right? I’ll explain that later!</p>
<p style="text-align: center;"><a href="http://www.sunwfrk.com/upload/20081117-timemachine-on-AFP.png" target="_blank"><img class="aligncenter" style="border: 0px initial initial;" src="http://www.sunwfrk.com/upload/20081117-timemachine-on-AFP.png" border="0" alt="" align="middle" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunwfrk.com/blog/2008/11/17/store-time-machine-backups-on-afp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solaris as your Mac-NAS</title>
		<link>http://www.sunwfrk.com/blog/2008/11/14/solaris-as-your-mac-nas/</link>
		<comments>http://www.sunwfrk.com/blog/2008/11/14/solaris-as-your-mac-nas/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 19:47:36 +0000</pubDate>
		<dc:creator>SUNWfrk</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Sun]]></category>
		<category><![CDATA[AFP]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[ZFS]]></category>

		<guid isPermaLink="false">http://sunwfrk.wordpress.com/2008/11/14/solaris-as-your-mac-nas/</guid>
		<description><![CDATA[If your first question is ‘why not linux?’ is that I truly think Solaris is a better and more mature operating system. Solaris has native ZFS wich is still a major issue with the GNU part of linux. Solaris is also very ready for what you expect from a NAS and you can download it [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sunwfrk.com%2Fblog%2F2008%2F11%2F14%2Fsolaris-as-your-mac-nas%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sunwfrk.com%2Fblog%2F2008%2F11%2F14%2Fsolaris-as-your-mac-nas%2F" height="61" width="51" /></a></div><p>If your first question is ‘why not linux?’ is that I truly think Solaris is a better and more mature operating system. Solaris has native ZFS wich is still a major issue with the GNU part of linux. Solaris is also very ready for what you expect from a NAS and you can download it for free. Solaris has nfs, cifs, iscsi, snapshotting, raid protection directly built into it. I’m also a big Mac user so I also installed the mdns responder (howl) so now my Solaris server nicely shows up in the Finder and I can see my AFP shares which are protected with ZFS selfhealing.</p>
<p style="text-align: center;"><a href="http://www.sunwfrk.com/upload/20081117-Solaris-Mac-AFP.png"><img class="aligncenter" title="Mac AFP on Solaris" src="http://www.sunwfrk.com/upload/20081117-Solaris-Mac-AFP.png" alt="" /></a></p>
<p>The following link helped me cofiguring it:<a href="http://www.tek-ops.com/archives/20" target="_blank"><br />
</a><a href="http://www.tek-ops.com/archives/20" target="_blank">http://www.tek-ops.com/archives/20</a></p>
<p>This link helped me further understaning the user management and setting up the right permissions on the directories:<br />
<a href="http://users.phg-online.de/tk/netatalk/doc/test-afpd/" target="_blank">http://users.phg-online.de/tk/netatalk/doc/test-afpd/</a></p>
<p>[update 2009/march/01] here a link howto compile on opensolaris<a title="compile afp on opensolaris" href="http://darkdust.net/writings/opensolaris/compilingnetatalkonopensolaris" target="_blank"></p>
<p>http://darkdust.net/writings/opensolaris/compilingnetatalkonopensolaris</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunwfrk.com/blog/2008/11/14/solaris-as-your-mac-nas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
