<?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>frankly at a glance. &#187; DIY</title>
	<atom:link href="http://frankleng.me/category/diy/feed/" rel="self" type="application/rss+xml" />
	<link>http://frankleng.me</link>
	<description>the world according to Frank...</description>
	<lastBuildDate>Tue, 03 Jan 2012 10:19:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Connect to a FreeNAS Samba or AFP share on Mac OS X Lion [Workarounds] [Updated]</title>
		<link>http://frankleng.me/2011/07/21/connect-to-a-freenas-samba-or-afp-share-on-lion-workaround/</link>
		<comments>http://frankleng.me/2011/07/21/connect-to-a-freenas-samba-or-afp-share-on-lion-workaround/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 05:47:30 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[Apple Inc.]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[Macintosh]]></category>
		<category><![CDATA[Me]]></category>
		<category><![CDATA[AFP]]></category>
		<category><![CDATA[freeNAS]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[Lion]]></category>
		<category><![CDATA[MacOS]]></category>
		<category><![CDATA[NAS]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[NFS]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://frankleng.me/?p=579</guid>
		<description><![CDATA[As previously mentioned, OS X Lion does not support logging into NAS boxes running Samba or AFP servers that employ the DHCAST128 authentication method. Apple documented this as a security update, in which they outright disabled DHCAST128 in Lion. People who are running type of NAS system &#8211; FreeNAS or store bought boxes will not work [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_559" class="wp-caption alignright" style="width: 210px"><a href="http://frankleng.me/wp-content/uploads/2011/07/Screen-Shot-2011-07-20-at-11.48.34-PM.png" rel="lightbox[579]" title="SMB/AFP Authentication Issue"><img class="size-medium wp-image-559" title="SMB/AFP Authentication Issue" src="http://frankleng.me/wp-content/uploads/2011/07/Screen-Shot-2011-07-20-at-11.48.34-PM-200x113.png" alt="" width="200" height="113" /></a><p class="wp-caption-text">No support for legacy authentication method in SMB or AFP</p></div>
<p><a title="Mac OS X Lion early review" href="http://frankleng.me/2011/07/21/mac-os-x-lion-early-review/">As previously mentioned,</a> OS X Lion does not support logging into NAS boxes running Samba or AFP servers that employ the DHCAST128 authentication method. Apple documented this as a security update, in which they outright disabled DHCAST128 in Lion.</p>
<p>People who are running type of NAS system &#8211; FreeNAS or store bought boxes will not work in Lion!</p>
<p>Now some people have figured out a workaround to manually enable DHCAST128 in Lion, so <strong>if you don&#8217;t mind a little hacking in the system go ahead and use it.</strong> Otherwise try to enable NFS on your NAS. NFS is support by most NAS boxes running Linux. <strong>However, note that NFS does not provide any option for user authentication.</strong></p>
<h3><strong>Option 1 &#8211; Hacking the OS </strong></h3>
<p><strong>SMB/CIFS solution:<br />
</strong></p>
<ol>
<li><strong><a href="http://frankleng.me/wp-content/uploads/2011/07/Screen-Shot-2011-07-21-at-7.11.48-PM.png" rel="lightbox[579]" title="Connect to Server "><img class="alignright size-medium wp-image-594" title="Connect to Server " src="http://frankleng.me/wp-content/uploads/2011/07/Screen-Shot-2011-07-21-at-7.11.48-PM-200x101.png" alt="" width="200" height="101" /></a></strong>Upgrade FreeNAS to the latest <a title="download the latest FreeNAS stable build" href="http://sourceforge.net/projects/freenas/files/FreeNAS-7-Stable/" target="_blank">stable build</a>.<strong></strong></li>
<li>Setup your SMB/CIFS shares accordingly.</li>
<li>Go to Finder, click on Go-&gt;Connect to Server  or simply press <em>command + K</em>.</li>
<li>Connect to your server by typing <em>smb://your.ip/hostname</em> or use <em>cifs://your.ip/hostname</em></li>
<li>Login, and you should be good to go.</li>
<li>If you don&#8217;t see the login pop-up, connect to smb://user:pass@ip  instead.</li>
</ol>
<p><span id="more-579"></span>Do not use the link in Finder under the Shared category. It will not let you connect. It could be my settings somewhere that&#8217;s causing the problem, but so far I can&#8217;t figure out why it won&#8217;t let me connect straight from the Finder shortcut. However, the Connect to Server option works just fine.</p>
<p><a href="http://frankleng.me/wp-content/uploads/2011/07/Screen-Shot-2011-07-21-at-7.14.03-PM.png" rel="lightbox[579]" title="Finder will not let you connect to SMB/CIFS"><img class="aligncenter size-large wp-image-595" title="Finder will not let you connect to SMB/CIFS" src="http://frankleng.me/wp-content/uploads/2011/07/Screen-Shot-2011-07-21-at-7.14.03-PM-480x255.png" alt="" width="480" height="255" /></a></p>
<p>Leave a comment if you encounter problems.</p>
<p><strong><br />
AFP solution: </strong></p>
<ol>
<li>Launch /Applications/Utilities/Terminal and do:</li>
<ul>
<li>
<pre>sudo chmod o+w /Library/Preferences</pre>
</li>
<li>
<pre>defaults write /Library/Preferences/com.apple.AppleShareClient afp_host_prefs_version -int 1</pre>
</li>
<li>Now restart your computer.</li>
</ul>
<li>From Finder, select an AFP server, or use “Connect To…”.  This will cause the AFP Client to create the full preferences file</li>
<li>Launch Terminal again and do:</li>
<ul>
<li>
<pre>sudo defaults write /Library/Preferences/com.apple.AppleShareClient afp_disabled_uams -array "Cleartxt Passwrd" "MS2.0" "2-Way Randnum exchange"</pre>
</li>
<li>
<pre>sudo chmod o-w /Library/Preferences</pre>
</li>
<li>Now restart your computer.</li>
</ul>
</ol>
<p>To disable DHCAST128,</p>
<pre>sudo defaults write /Library/Preferences/com.apple.AppleShareClient afp_disabled_uams -array-add "DHCAST128"</pre>
<p>Credit for these command goes to Alexander Wilde, please visit his site for the <a href="http://www.alexanderwilde.com/2011/04/os-x-lion-connection-error-with-afp-and-workaround/" target="_blank">original post</a>. All credits go to him!</p>
<hr />
<h3><a href="http://frankleng.me/wp-content/uploads/2011/07/Screen-Shot-2011-07-21-at-1.23.35-AM.png" rel="lightbox[579]" title="FreeNAS NFS"><img class="alignright size-medium wp-image-580" title="FreeNAS NFS" src="http://frankleng.me/wp-content/uploads/2011/07/Screen-Shot-2011-07-21-at-1.23.35-AM-200x134.png" alt="" width="200" height="134" /></a><strong>Option 2 Enabling NFS</strong></h3>
<p>In FreeNAS, go to Services &#8211; &gt; NFS and enable 4 NFS servers.</p>
<p><!--more-->then configure your NFS shares, the easiest way is to point the share to your main storage folder under and share all sub-folders underneath.</p>
<div id="attachment_581" class="wp-caption aligncenter" style="width: 490px"><a href="http://frankleng.me/wp-content/uploads/2011/07/Screen-Shot-2011-07-21-at-1.24.13-AM.png" rel="lightbox[579]" title="Configure NFS shares"><img class="size-large wp-image-581" title="Configure NFS shares" src="http://frankleng.me/wp-content/uploads/2011/07/Screen-Shot-2011-07-21-at-1.24.13-AM-480x256.png" alt="" width="480" height="256" /></a><p class="wp-caption-text">Configure NFS shares</p></div>
<p><strong>Note that if you do not &#8220;Map all users to root&#8221; you will not have write access to the share!</strong></p>
<p>Save and apply. Then go to Disk Utilities on your Mac.</p>
<p>Click on File &#8211; &gt; NFS Mounts, click on the &#8216;+&#8217; to add a new mount.</p>
<div id="attachment_583" class="wp-caption aligncenter" style="width: 490px"><a href="http://frankleng.me/wp-content/uploads/2011/07/Screen-Shot-2011-07-21-at-1.36.59-AM.png" rel="lightbox[579]" title="Configure NFS mounts in Disk Utility"><img class="size-large wp-image-583" title="Configure NFS mounts in Disk Utility" src="http://frankleng.me/wp-content/uploads/2011/07/Screen-Shot-2011-07-21-at-1.36.59-AM-480x254.png" alt="" width="480" height="254" /></a><p class="wp-caption-text">Configure NFS mounts in Disk Utility</p></div>
<p>Replace the IP and folder names according to your FreeNAS share. Then click on &#8216;Verify&#8221; to close the dialog and close the window to save your settings. You may be asked to login to your admin account in order to save the setting. The mount will be auto-mounted to your system at boot time.</p>
<p>After you set everything up in Disk Utility. Quit it and wait a couple of minutes for it to show up in Finder. <strong>Note that even though we mounted it to a folder on the Desktop, it will NOT show up! The easiest solution here is to go to your Desktop in Finder and create an alias to the mounted folder. Or, create an actual folder on the Desktop beforehand then mount the share to it.</strong></p>
<p>This isn&#8217;t the safest approach since NFS in FreeNAS does not have any authentication support. But for my personal needs it&#8217;s actually quite nice, especially when NFS is about 30-50% faster than SMB in some cases. For many home networks, it&#8217;s the only way to stream HD videos over the air.</p>
<p>So please give NFS a shot if you don&#8217;t want to hack your system to use AFP!</p>
<div class="bottomcontainerBox" style="">
			<div style="float:left; width:100px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ffrankleng.me%2F2011%2F07%2F21%2Fconnect-to-a-freenas-samba-or-afp-share-on-lion-workaround%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=100px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:100px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://frankleng.me/2011/07/21/connect-to-a-freenas-samba-or-afp-share-on-lion-workaround/"></g:plusone>
			</div>
			<div style="float:left; width:100px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://frankleng.me/2011/07/21/connect-to-a-freenas-samba-or-afp-share-on-lion-workaround/"  data-text="Connect to a FreeNAS Samba or AFP share on Mac OS X Lion [Workarounds] [Updated]" data-count="horizontal" data-via="frankleng">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://frankleng.me/2011/07/21/connect-to-a-freenas-samba-or-afp-share-on-lion-workaround/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><img src="http://frankleng.me/?ak_action=api_record_view&id=579&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://frankleng.me/2011/07/21/connect-to-a-freenas-samba-or-afp-share-on-lion-workaround/feed/</wfw:commentRss>
		<slash:comments>98</slash:comments>
		</item>
		<item>
		<title>FreeNAS 8.0 &#8211; droboFS alternative 2.0</title>
		<link>http://frankleng.me/2011/05/22/freenas-8-0-drobofs-alternative-2-0/</link>
		<comments>http://frankleng.me/2011/05/22/freenas-8-0-drobofs-alternative-2-0/#comments</comments>
		<pubDate>Sun, 22 May 2011 15:32:02 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[drobo]]></category>
		<category><![CDATA[freeNAS]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[NAS]]></category>

		<guid isPermaLink="false">http://frankleng.me/?p=551</guid>
		<description><![CDATA[There&#8217;s something to celebrate this month &#8211; release of FreeNAS 8.0 Previously, the FreeNAS project has stuck with the decimal 0.x scheme for build numbers. the latest nightly build we used for the DIY storage appliance was 0.7.2. Since then, the number jumped from 0.x to 8.0, with 8.1 baking in the oven. Taking a [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s something to celebrate this month &#8211; release of FreeNAS 8.0</p>
<p>Previously, the FreeNAS project has stuck with the decimal 0.x scheme for build numbers. the latest nightly build we used for the DIY storage appliance was 0.7.2. Since then, the number jumped from 0.x to 8.0, with 8.1 baking in the oven.</p>
<p>Taking a deeper look inside, FreeNAS 8.0 is certainly miles apart from its 0.7.2 release, both in the OS architecture and the front end GUI.</p>
<ul>
<li>Based on FreeBSD 8.0</li>
<li>Modular system design, allow for 3rd-party plug-ins<span id="more-551"></span></li>
<li>Django based GUI, classic GUI still available</li>
<li>ZFS parameters per dataset, such as quotas, were added</li>
<li>LSI 6 gbps HBAs are now supported</li>
<li>Migrated to rc.d init system</li>
<li>CIFS settings that were mostly detrimental to performance have been removed</li>
<li>VLAN interfaces are fully supported and can be created from the GUI or from the CLI menu</li>
<li><strong>Added the ability to edit ZFS options from the GUI such as quotas, compression, reservations on existing volumes and datasets</strong></li>
<li><strong>Added the ability to create &#8220;stacked&#8221; ZFS configurations in the GUI as well as add devices to existing ZFS volumes</strong></li>
<li><strong>Spare, cache, and log devices can now be added to ZFS volumes through the GUI</strong></li>
</ul>
<p>As highlighted above, I am most excited about the add support of ZFS features that will greatly benefit our cause to create a cheaper and more functional device to the droboFS.<br />
FreeNAS 8.0 represents a more complete port of ZFS from OpenSolaris. The most exciting feature is the ability to add devices to an existing ZFS array. Although this has been available to the latest OpenSolaris systems, FreeNAS 0.7.2 did not support it.</p>
<p>To those of us who have been waiting for more ZFS support in FreeNAS this is perhaps too good to be true! So what is the catch? FreeNAS 8.0 BROKE config compatibility from past FreeNAS 0.7.x versions! There is no way of importing configuration from 0.7.2 to 8.0, so the backups are useless. There is also no way of safely upgrading from 0.7.x!</p>
<p>I&#8217;m not certain if FreeNAS 8.0 running from a USB stick can automatically recognize existing ZFS arrays created by 0.7.x. However, we need to keep in mind that ZFS version upgrades are PERMANENT. That means once you are on the FreeNAS 8.0 train, you cannot get off without losing all of your data.</p>
<p>In the next couple of weeks, I&#8217;m going to experiment with upgrading my 0.7.2 system to 8.0. The things I&#8217;m waiting for are more 2TB drives to backup my data on the NAS.</p>
<p>Please stay tuned, and comment if you have questions or insights to FreeNAS 8.0.</p>
<div class="bottomcontainerBox" style="">
			<div style="float:left; width:100px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ffrankleng.me%2F2011%2F05%2F22%2Ffreenas-8-0-drobofs-alternative-2-0%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=100px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:100px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://frankleng.me/2011/05/22/freenas-8-0-drobofs-alternative-2-0/"></g:plusone>
			</div>
			<div style="float:left; width:100px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://frankleng.me/2011/05/22/freenas-8-0-drobofs-alternative-2-0/"  data-text="FreeNAS 8.0 &#8211; droboFS alternative 2.0" data-count="horizontal" data-via="frankleng">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://frankleng.me/2011/05/22/freenas-8-0-drobofs-alternative-2-0/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><img src="http://frankleng.me/?ak_action=api_record_view&id=551&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://frankleng.me/2011/05/22/freenas-8-0-drobofs-alternative-2-0/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>greenpois0n RC 6.1 untetheredly jailbreaks iOS 4.2.1 [Mirrors Added]</title>
		<link>http://frankleng.me/2011/02/04/greenpois0n-rc-5-untetheredly-jailbreaks-all-ios-device-on-4-2-1/</link>
		<comments>http://frankleng.me/2011/02/04/greenpois0n-rc-5-untetheredly-jailbreaks-all-ios-device-on-4-2-1/#comments</comments>
		<pubDate>Fri, 04 Feb 2011 18:47:20 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://frankleng.me/?p=528</guid>
		<description><![CDATA[This will be a short post regarding the new Greenpois0n RC 6.1 Release for jailbreaking your iDevice running on 4.2.1. For the longest time, we had to use the alpha Redsn0w release that not only required a 4.2b SHSH but the actual 4.2b IPSW which is only available to iOS developers. The Greenpois0n RC 6.1 [...]]]></description>
			<content:encoded><![CDATA[<p>This will be a short post regarding the new Greenpois0n RC 6.1 Release for jailbreaking your iDevice running on 4.2.1.</p>
<p>For the longest time, we had to use the alpha Redsn0w release that not only required a 4.2b SHSH but the actual 4.2b IPSW which is only available to iOS developers.</p>
<p>The Greenpois0n RC 6.1 release is based on a different hack to the kernel that will allow untethered jailbreaking minus the need for 4.2b SHSH altogether. It also fixes the annoying DRM issue with iBooks.</p>
<p><strong>Steps: <span style="color: #666699;"><em>(mirrors updated, please read on)</em></span><span id="more-528"></span></strong></p>
<ul>
<li><strong>Download Greenpois0n RC 6.1 (fixes iBook  and DRM issue) <a title="Greenpois0n 6.1 mirror Mac" href="http://frankleng.me/wp-content/uploads/2011/02/gp_mac_rc6_1.zip"><br />
Mac</a> | <a title="Greenpois0n 6.1 mirror PC" href="http://frankleng.me/wp-content/uploads/2011/02/gp_win_rc6.1.zip">PC</a> &#8211; I&#8217;m providing a mirror at this time since the greenpois0n site is very unstable</strong></li>
<li><strong>Do the buttons combos as instructed.</strong></li>
<li><strong>Don&#8217;t be alarmed by the &#8220;Can&#8217;t find fs_mount&#8230;&#8221; errors.</strong></li>
<li><strong>At the last step, HOLD THE HOME BUTTON AND DON&#8217;T LET GO until the jailbreak is completed.</strong></li>
</ul>
<p>That&#8217;s it! Finally a jailbreak that works without hacks!</p>
<p>Note that the Loader app will not work until Greenpois0n&#8217;s site is back online. Just use Redsn0w to install Cydia for now.</p>
<div class="bottomcontainerBox" style="">
			<div style="float:left; width:100px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ffrankleng.me%2F2011%2F02%2F04%2Fgreenpois0n-rc-5-untetheredly-jailbreaks-all-ios-device-on-4-2-1%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=100px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:100px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://frankleng.me/2011/02/04/greenpois0n-rc-5-untetheredly-jailbreaks-all-ios-device-on-4-2-1/"></g:plusone>
			</div>
			<div style="float:left; width:100px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://frankleng.me/2011/02/04/greenpois0n-rc-5-untetheredly-jailbreaks-all-ios-device-on-4-2-1/"  data-text="greenpois0n RC 6.1 untetheredly jailbreaks iOS 4.2.1 [Mirrors Added]" data-count="horizontal" data-via="frankleng">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://frankleng.me/2011/02/04/greenpois0n-rc-5-untetheredly-jailbreaks-all-ios-device-on-4-2-1/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><img src="http://frankleng.me/?ak_action=api_record_view&id=528&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://frankleng.me/2011/02/04/greenpois0n-rc-5-untetheredly-jailbreaks-all-ios-device-on-4-2-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Downgrade iOS 4.2.1 on iPhone and iPod Touch</title>
		<link>http://frankleng.me/2010/12/07/downgrade-ios-4-2-1-on-iphone-and-ipod-touch/</link>
		<comments>http://frankleng.me/2010/12/07/downgrade-ios-4-2-1-on-iphone-and-ipod-touch/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 04:28:50 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[Apple Inc.]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[downgrade]]></category>
		<category><![CDATA[firmware]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPod]]></category>
		<category><![CDATA[IPSW]]></category>

		<guid isPermaLink="false">http://frankleng.me/?p=501</guid>
		<description><![CDATA[Apple recently released iOS 4.2.1 which added quite a few awesome features including AirPlay, AirPrint, Safari &#8220;find on page&#8221;, and free &#8220;Find your iPhone&#8221; feature for iPhone 4. (sorry 3GS and 3G users&#8230; Apple purposely wrote you guys out of the deal.) My personal favorite would have to be the Safari search feature. I have [...]]]></description>
			<content:encoded><![CDATA[<p>Apple recently released iOS 4.2.1 which added quite a few awesome features including AirPlay, AirPrint, Safari &#8220;find on page&#8221;, and free &#8220;Find your iPhone&#8221; feature for iPhone 4. (sorry 3GS and 3G users&#8230; Apple purposely wrote you guys out of the deal.) My personal favorite would have to be the Safari search feature. I have no idea why Apple didn&#8217;t include this simple feature in the year before&#8230;</p>
<p>HOWEVER&#8230; along with new features iOS 4.2.1 brought us more woes than ever before as well.</p>
<ol>
<li>Battery drains EXTREMELY quickly with this release. I would have nothing running in the background of my iPhone 4&#8230; and the phone will get warm. It almost feel like the phone is constantly accessing something&#8230; and it just drains the battery right out.</li>
<li>Jailbreak is still tethered! This means you have to physically attach your phone to your computer every single time you reboot. so imagine putting your phone into DFU mode and uploading the jailbreak exploit every single time. Not fun!</li>
<li>Cydia and other jailbroken apps still cannot work well with iOS 4.2.1 yet. Although Cydia has been updated to run on iOS 4.2.1 it is still not very stable from what I could tell.</li>
</ol>
<p>So to sum up&#8230; after having iOS 4.2.1 running for 4 days (3 days unjailbroken, 1 day jailbroken) I finally decided to revert back to 4.1<br />
Also, the heating/battery issue was worse after jailbreaking&#8230; I tested repeatedly and found this to be true.</p>
<p>So here is how to downgrade your iOS 4.2.1 device to iOS 4.1 or earlier.<span id="more-501"></span></p>
<p>Before we begin, you will need</p>
<ul>
<li>A PC or Mac.</li>
<li><strong>Backup your iPhone / iPod from iTunes.</strong></li>
<li>Saved SHSH on Cydia. <strong>You cannot downgrade if you didn&#8217;t save a SHSH for your post-iPhone 3G/iPod 2G devices and chosen iOS version.</strong></li>
<li>Apple firmware restore IPSW (I&#8217;ve listed the 4.1 files)
<ul>
<li><a href="http://appldnld.apple.com/iPhone4/061-7939.20100908.Lcyg3/iPhone3,1_4.1_8B117_Restore.ipsw" target="_blank">iPhone 4</a></li>
<li><a href="http://appldnld.apple.com/iPhone4/061-7938.20100908.F3rCk/iPhone2,1_4.1_8B117_Restore.ipsw" target="_blank">iPhone 3GS</a></li>
<li><a href="http://appldnld.apple.com/iPhone4/061-7932.20100908.3fgt5/iPhone1,2_4.1_8B117_Restore.ipsw" target="_blank">iPhone 3G</a></li>
<li><a href="http://appldnld.apple.com/iPhone4/061-7937.20100908.ghj4f/iPod2,1_4.1_8B117_Restore.ipsw" target="_blank">iPod touch 2G</a></li>
<li><a href="http://appldnld.apple.com/iPhone4/061-7941.20100908.sV9KE/iPod3,1_4.1_8B117_Restore.ipsw" target="_blank">iPod touch 3G</a></li>
<li><a href="http://appldnld.apple.com/iPhone4/061-8490.20100901.hyjtR/iPod4,1_4.1_8B117_Restore.ipsw" target="_blank">iPod touch 4G</a></li>
</ul>
</li>
<li>iREB from <a href="http://ih8sn0w.com/index.php/products/view/ireb.snow" target="_blank">here</a>.</li>
<li>iTunes 10.x</li>
</ul>
<p>There are guides out  there like <a href="http://www.redmondpie.com/how-to-downgrade-ios-4.2.1-to-4.1-4.0.2-4.0.1-on-iphone-4-3gs-3g-ipod-touch-and-ipad/" target="_blank">this one</a>, but none of those worked for me. Every time I tried to restore to 4.1 iTunes spits back an error 1600 or 200&#8230; and won&#8217;t continue.<br />
Here is how I made it work for my iPhone 4.</p>
<ol>
<li>Point gs.apple.com to the Cydia clone.
<ul>
<li>Open your host file, and add
<pre><strong>74.208.105.171 gs.apple.com</strong></pre>
</li>
<li>This will fool iTunes to recognize your SHSH saved on Cydia. However, this step is not need for iPhone 3G and iPod Touch 2G (MC version) because older devices are not required to have SHSH verification with Apple&#8217;s server for every firmware restore.</li>
<li>Better illustrated in Step 3 of <a href="http://www.redmondpie.com/how-to-downgrade-ios-4.2.1-to-4.1-4.0.2-4.0.1-on-iphone-4-3gs-3g-ipod-touch-and-ipad/" target="_blank">this guide</a>.</li>
</ul>
</li>
<li>Put your phone in DFU mode. Again check <a href="http://www.redmondpie.com/how-to-downgrade-ios-4.2.1-to-4.1-4.0.2-4.0.1-on-iphone-4-3gs-3g-ipod-touch-and-ipad/" target="_blank">this guide</a> if you are not sure how.</li>
<li>Connect your iPhone or iPod to the computer, and launch iREB. Click on the device you have, and it will upload a jailbreak exploit to the phone and prep your phone for the restore. Wait for iREB to tell you it has done the job.</li>
<li>Go to iTunes, it should recognize your iPhone/iPod in recovery mode.
<ul>
<li>On a PC, hold Shift and click on restore. Select the IPSW file you downloaded.</li>
<li>On Mac, hold Alt and click on restore.</li>
<li>iTunes will now extract the IPSW file and prepare your device for restore.</li>
</ul>
</li>
</ol>
<p><strong>You device should successfully restore without any error. When I upgraded to 4.2.1, my baseband was also upgraded to 03.10.01. I just want to confirm for others that iOS 4.1 can indeed work with the newer baseband.</strong></p>
<p>Good luck, and hope Apple fixes all the issues with another update soon!</p>
<div class="bottomcontainerBox" style="">
			<div style="float:left; width:100px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ffrankleng.me%2F2010%2F12%2F07%2Fdowngrade-ios-4-2-1-on-iphone-and-ipod-touch%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=100px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:100px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://frankleng.me/2010/12/07/downgrade-ios-4-2-1-on-iphone-and-ipod-touch/"></g:plusone>
			</div>
			<div style="float:left; width:100px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://frankleng.me/2010/12/07/downgrade-ios-4-2-1-on-iphone-and-ipod-touch/"  data-text="Downgrade iOS 4.2.1 on iPhone and iPod Touch" data-count="horizontal" data-via="frankleng">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://frankleng.me/2010/12/07/downgrade-ios-4-2-1-on-iphone-and-ipod-touch/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><img src="http://frankleng.me/?ak_action=api_record_view&id=501&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://frankleng.me/2010/12/07/downgrade-ios-4-2-1-on-iphone-and-ipod-touch/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Update on ZFS, OpenSolaris and our NAS build.</title>
		<link>http://frankleng.me/2010/11/08/update-on-zfs-opensolaris-and-our-nas-build/</link>
		<comments>http://frankleng.me/2010/11/08/update-on-zfs-opensolaris-and-our-nas-build/#comments</comments>
		<pubDate>Mon, 08 Nov 2010 23:55:51 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Me]]></category>

		<guid isPermaLink="false">http://frankleng.me/?p=481</guid>
		<description><![CDATA[A few months ago I wrote a post detailing my most recent NAS build, running FreeNAS powered by ZFS. Since then the post has gather a fair bit of attention from curious readers and people who are looking to finally DIY an alternative to commercial NAS products, especially the Drobo. So what has happened in [...]]]></description>
			<content:encoded><![CDATA[<p>A few months ago I wrote a post detailing my most recent NAS build, running FreeNAS powered by ZFS. Since then the post has gather a fair bit of attention from curious readers and people who are looking to finally DIY an alternative to commercial NAS products, especially the Drobo.</p>
<p>So what has happened in the months following my original post? Quite a lot! ZFS has gained much attention as the world begins to realize its potential and the lack of exposure in the media. AnandTech recently published <a href="http://www.anandtech.com/show/3963/zfs-building-testing-and-benchmarking/" target="_blank">a very good article</a> detailing the common features ZFS offers over traditional file systems. It goes over almost everything you need to know about ZFS, and the native system that carries it &#8211; Solaris. I recommend everyone to read it if you are interested, but it is quite long&#8230; so please keep reading this post if you just want the main points.<span id="more-481"></span></p>
<p><strong>ZFS and FreeNAS<br />
</strong>I&#8217;m going to focus on ZFS in the FreeNAS (FreeBSD port) arena. First of all, there is a new stable release of FreeNAS &#8211; FreeNAS 7.2. This release brings all the goodies from nightly builds to stable status along with a fix for the 4k sector problem with Advanced Format drives like the WD Green 2TB I used. I highly recommend everyone to upgrade their system ASAP. The process is simple, export your config and upload the new OS image and reboot! The out of the box tweaks in this release are very mature to give you the most out of the ZFS system, but please do read <a href="http://frankleng.me/2010/05/01/zfs-powered-nas-the-ultimate-alternative-to-drobo-droboshare-the-complete-guide/3/">my personal tweaks</a> and see if they can give you even more juice. FreeNAS 8 is also in the works and it is actually being tested right now. It is built on FreeBSD system 8, and it supports ZFS natively. I suspect that it will bring us a lot more native ZFS features, and hopefully implement the ability to add devices to an existing, live ZFS pool. It&#8217;s all very exciting!</p>
<p><strong>OpenSolaris<br />
</strong>There was a leaked memo from Oracle which now owns the Solaris and its branched systems like OpenSolaris that mentioned the possible abandonment of the open-sourced project. It mentioned that while Oracle plans to continue its use of Solaris technologies, it plans to slow down the code release for OpenSolaris and essentially devote even less attention to the project. So what does this mean to the community and daughter project built on OpenSolaris, like Nexenta? Personally I agree with Anandtech that the impact is going to be very small. OpenSolaris was never a very actively maintained project like many Linux counterparts. As far as NAS and SAN systems are concerned, it will take the community years to even fully implement the features of the current ZFS build. There really is no shortage of things to port as far as ZFS support is concerned. Outside of Solaris, FreeBSD is perhaps the most actively developed ZFS port, and by riding on the FreeNAS/FreeBSD train I&#8217;d say we are pretty much future-proof.</p>
<p>To sum up, for the purpose of building a NAS or even SAN system the current ZFS build from Solaris is more than powerful and polished to handle the task. For those of us on the FreeNAS train, the next version &#8211; version 8 of FreeNAS will be an exciting build!</p>
<p><strong>NAS Benchmark<br />
</strong>ZFS Build posted an <a href="http://www.zfsbuild.com/2010/09/10/freenas-vs-opensolaris-zfs-benchmarks/" target="_blank">interesting benchmark</a> between FreeNAS and OpenSolaris, the result was a landslide victory for OpenSolaris. I&#8217;m going to discuss the holes in his benchmarking techniques&#8230; personally there were too many unknowns and people already commented the article very heavily. One thing to note from reading the benchmarks, the speeds were measured with iSCSI connections, which is a completely different animal than our Samba setup. I&#8217;m not sure how well iSCSI is implemented in the 7.2 build of FreeNAS, but I have heard that FreeNAS/FreeBSD 8 includes a lot of optimizations for iSCSI.</p>
<p>What I can tell you is that although I have not performed any scientific benchmarking against the system, the throughput of my file transfers maxes out Gigabit standard quite easily, granted that I&#8217;m usually the only person accessing the NAS. To me, that is more than good enough. I mean unless I have the money to buy 10 Gigabit equipment&#8230; I&#8217;m happy with my DIY FreeNAS setup. I just want to tell everyone that please do not get discouraged over the poor benchmark you may have seen. Furthermore, ZFS is still considered to be an experimental feature and it only shines it true colours when you put in the appropriate system tweaks. Until FreeNAS 8 comes out, please read my guide and have yourself an extremely capable system.</p>
<p>Cheers!</p>
<div class="bottomcontainerBox" style="">
			<div style="float:left; width:100px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ffrankleng.me%2F2010%2F11%2F08%2Fupdate-on-zfs-opensolaris-and-our-nas-build%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=100px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:100px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://frankleng.me/2010/11/08/update-on-zfs-opensolaris-and-our-nas-build/"></g:plusone>
			</div>
			<div style="float:left; width:100px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://frankleng.me/2010/11/08/update-on-zfs-opensolaris-and-our-nas-build/"  data-text="Update on ZFS, OpenSolaris and our NAS build." data-count="horizontal" data-via="frankleng">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://frankleng.me/2010/11/08/update-on-zfs-opensolaris-and-our-nas-build/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><img src="http://frankleng.me/?ak_action=api_record_view&id=481&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://frankleng.me/2010/11/08/update-on-zfs-opensolaris-and-our-nas-build/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ZFS powered NAS, ultimate alternative to Drobo + Droboshare [Complete Guide]</title>
		<link>http://frankleng.me/2010/05/01/zfs-powered-nas-the-ultimate-alternative-to-drobo-droboshare-the-complete-guide/</link>
		<comments>http://frankleng.me/2010/05/01/zfs-powered-nas-the-ultimate-alternative-to-drobo-droboshare-the-complete-guide/#comments</comments>
		<pubDate>Sun, 02 May 2010 01:06:09 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Me]]></category>
		<category><![CDATA[Other]]></category>
		<category><![CDATA[drobo]]></category>
		<category><![CDATA[freeNAS]]></category>
		<category><![CDATA[NAS]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[ZFS]]></category>

		<guid isPermaLink="false">http://frankleng.me/?p=273</guid>
		<description><![CDATA[I apologize to everyone for the looooonnnggg wait for this post. I have swapped out a few hardware components as well as OS for this NAS build. It wasn&#8217;t all pretty&#8230; and at times it felt frustrating&#8230; However, my NAS box and I have lived to tell the story. In this post I will walk [...]]]></description>
			<content:encoded><![CDATA[<p>I apologize to everyone for the looooonnnggg wait for this post. I have swapped out a few hardware components as well as OS for this NAS build. It wasn&#8217;t all pretty&#8230; and at times it felt frustrating&#8230; However, my NAS box and I have lived to tell the story.<br />
In this post I will walk you through each step of the building process, so you won&#8217;t make the same mistakes I did. I have written two other posts detailing the thought-process on some of the choices, but for your convenience I&#8217;ll sum everything up in this one post.</p>
<p><strong>The Goal</strong><br />
The story here is simple &#8211; we are building a DIY storage appliance that is not only FASTER but CHEAPER than the Drobo. I have owned a 2nd generation Drobo for about 8 months. For the most part, it did its job. However, all the weakness of the device surfaced when I dug into the world of Network Attached Storage or simply NAS. I have written about my attempts to put the Drobo on my LAN &#8230;   <a href="http://frankleng.me/2010/02/11/droboshare-alternatives-tonidoplug-gigabit-switch/">http://frankleng.me/2010/02/11/droboshare-alternatives-tonidoplug-gigabit-switch/</a> I did not want to spend another $200 for the Droboshare! That setup worked for the most part, but performance was not even close to production-worthy.<br />
I mean try to live with a 4TB NAS that transferred at 3-5MB/s&#8230; which is actually on par with Droboshare&#8217;s throughput&#8230; need I say more?</p>
<p>What I needed was:</p>
<ol>
<li>Energy efficient, lower powered machine. (It&#8217;s a NAS after all, not a media center)</li>
<li>Able to let me swap a drive when it fails, and not lose data.</li>
<li>Able to expand, swapped out the smallest drive and replace with a larger drive.</li>
<li>Costs a lot less than $350USD. (that&#8217;s the price of the Drobo, not including drives)</li>
<li>Easily manageable, settings can be tweaked and system status can be monitored.</li>
<li>Speed, Speed, Speed. Must be able to sustain Gigabit throughput, even for larger files.</li>
</ol>
<p><strong>The Facts<br />
</strong>Most BYOD (Bring Your Own Drives) storage devices on the market today do NOT offer the features that the Drobo does. The Drobo was never designed as a NAS, but rather a DAS (Directly Attached Storage), and it did that job fairly well. So if you are an average user who favour ease-of-use than anything else&#8230; then read no more&#8230; you are better off with the Drobo. However, if you are like me and you want that blazing fast performance for the smallest price tag&#8230; you have found the right place. =)</p>
<p>NAS devices are computers too. The basic rules do apply &#8211; the faster the chipset the faster the throughput; the more RAM the better, etc.</p>
<p>Lastly, and most importantly NAS devices&#8217; throughput depend largely on caching and the CPU&#8217;s ability to translate between different storage and communication protocols.</p>
<p><span id="more-273"></span></p>
<div id="attachment_277" class="wp-caption alignright" style="width: 160px"><strong><strong><a href="http://frankleng.me/wp-content/uploads/2010/04/d510mo_lg.jpg" rel="lightbox[273]" title="Intel D510MO"><img class="size-thumbnail wp-image-277" title="Intel D510MO" src="http://frankleng.me/wp-content/uploads/2010/04/d510mo_lg-150x150.jpg" alt="Intel D510MO" width="150" height="150" /></a></strong> </strong><p class="wp-caption-text">Intel  D510MO </p></div>
<p><strong>The Hardware</strong></p>
<p><strong>CPU</strong><br />
It is really quite difficult to find a blazing fast computer by today&#8217;s standard without killing your electricity bill. Most high end processors run 100W + and even lower end chips easily go over 40W (That&#8217;s almost the same as the Drobo&#8217;s power consumption with 4 drives inserted&#8230; so it&#8217;s quite a lot for a single chip!) Thankfully, Intel created the Atom series of processors. Originally made for netbooks and mobile devices, the Atom series chips are Intel&#8217;s smallest and greenest &#8211; consume only about 10W. You can buy Atom from most local computer stores, but note that they are bundled with a motherboard and not sold separately.</p>
<p>I picked the latest generation, and the fastest Dual-Core Atom chip -D510 @ 1.66GHZ. This chip gives the equivalent performance of a Single-Core Celeron running at 900-1000MHZ but uses 1/4 of the power, TDP rated at 13W. Because the chip is so new, very few motherboard manufacturers have them shipped to stores. I grabbed the <strong>Intel D510MO</strong> motherboard bundle for <strong>$80 CAD.</strong>(It was the cheapest option I found, and had the same features as the more expensive ASUS and Supermicro boards).</p>
<p><strong>RAM<br />
</strong>The D510MO takes DDR2 memory, and  I happened to have two 1GB sticks. Obviously the more the better, DDR2 RAM sticks are super cheap nowadays and you don&#8217;t need the fancy ones. <strong>2GB RAM &#8211; $30</strong></p>
<p><strong>Add-ons</strong></p>
<div id="attachment_278" class="wp-caption alignright" style="width: 160px"><strong><strong><a href="http://frankleng.me/wp-content/uploads/2010/04/P1000385.jpg" rel="lightbox[273]" title="Modded PCI SATA Controller"><img class="size-thumbnail wp-image-278" title="Modded PCI SATA Controller" src="http://frankleng.me/wp-content/uploads/2010/04/P1000385-150x150.jpg" alt="Modded PCI SATA Controller" width="150" height="150" /></a></strong></strong><p class="wp-caption-text">Modded PCI SATA Controller</p></div>
<p>I want to talk about add-on cards because you will need one for this build. Like most Mini-ITX boards, the D510MO only has 2 onboard SATA ports and it&#8217;s not enough to have a more robust ZFS setup. Therefore, I searched online and bought a PCI-X/PCI SATA II controller card and gave me two more internal SATA ports. Later, I modded one of the the eSATA ports to SATA by replacing the connector head. The card was the <strong>SYBA SD-SATA2-2E2I &#8211; $36. </strong>There is a 4 SATA port version of the card, but I wasn&#8217;t able to find one at the store. I also liked the idea of having an eSATA port.</p>
<div id="attachment_220" class="wp-caption alignright" style="width: 160px"><a href="http://frankleng.me/wp-content/uploads/2010/03/CHENBRO_ES34069.jpg" rel="lightbox[273]" title="CHENBRO ES34069"><img class="size-thumbnail  wp-image-220" title="CHENBRO ES34069" src="http://frankleng.me/wp-content/uploads/2010/03/CHENBRO_ES34069-150x150.jpg" alt="CHENBRO ES34069" width="150" height="150" /></a><p class="wp-caption-text">CHENBRO ES34069</p></div>
<p><strong>Case</strong><br />
I went through 2 cases for this build. I originally bought the Chenbro ES34069 because it had 4 swappable drive bays. However, the proprietary power supply, the lack of space in the case and noise from the case fans(fans were not user replaceable as far as I could tell) eventually made me return the purchase.</p>
<p>The case requirement here is simple, find a small case (mATX or  mini-ITX) that has 4 drive bays. Do note that besides the Chenbro case, there really isn&#8217;t an alternative that has swappable bays. So go spend the $200 and buy it if you want ease of access. The case I ended up using was the <strong>Antec NSK-2480 &#8211; $100. </strong>It has plenty of space for the two 5.25&#8242; and 3.25&#8242; bays and a 380W standard power supply. It has the best cooling arrangement I have ever seen in a media center case. Head over to <a href="http://www.silentpcreview.com/Antec_NSK2400_Fusion" target="_blank">SilentPcReview</a> for some professional opinions.</p>
<div id="attachment_269" class="wp-caption aligncenter" style="width: 310px"><a href="http://frankleng.me/wp-content/uploads/2010/03/NSK2400.jpg" rel="lightbox[273]" title="Antec NSK2480"><img class="size-medium wp-image-269" title="Antec NSK2480" src="http://frankleng.me/wp-content/uploads/2010/03/NSK2400-300x163.jpg" alt="Antec NSK2480" width="300" height="163" /></a><p class="wp-caption-text">Antec NSK2480</p></div>
<p>I also considered the NSK 1380 case, but spacing arrangement inside the case was nowhere near what the NSK 2480 had. However, the first does have much smaller dimensions.</p>
<div id="attachment_275" class="wp-caption aligncenter" style="width: 160px"><a href="http://frankleng.me/wp-content/uploads/2010/04/NSK1380_front.jpg" rel="lightbox[273]" title="Antec NSK1380"><img class="size-thumbnail  wp-image-275" title="Antec NSK1380" src="http://frankleng.me/wp-content/uploads/2010/04/NSK1380_front-150x150.jpg" alt="Antec NSK1380" width="150" height="150" /></a><p class="wp-caption-text">Antec NSK1380</p></div>
<p><strong>Drives<br />
</strong>First of all, you will need a set of drives to store data and one other drive to host the OS. I have purchased <strong>4 WD Green 2TB 5400rpm</strong> drives because they are quiet, efficient and more than fast enough for a NAS. However, do know that you will need <strong>at least 3 drives</strong> to take full advantage of ZFS. Also, the current version of ZFS does not allow you to add physical drives to an existing ZFS pool. Although you will be able to REPLACE one of the four drives for a bigger  one, adding a 5th drive without rebuilding is not possible at the  moment. This means if you started out with 4 drives, you will always have 4 unless you recreate your logic pool and lose all the data in the process.</p>
<p>I guess this is the only spot where Drobo may have an edge over our ZFS build. You can add more drives into the Drobo at any time until the slots are full. I believe Drobo accomplishes this by pre-populating its storage pool with virtual devices, and a virtual total size. That way, any new drive can just slide into these pre-made virtual slots without affecting the storage pool as a whole. Lastly, the ZFS development team has plans to resolve this limitation in the near future. So let&#8217;s stay tuned.</p>
<p>For the OS drive I decided to use USB sticks. They are much cheaper and much more energy efficient than having another disk spinning at 5400rpm to keep the system running. I used a USB port expansion cable to make use the connector on the motherboard and keep the sticks inside the case. Check out the picture and you&#8217;ll know what I mean. =p</p>
<div id="attachment_305" class="wp-caption aligncenter" style="width: 310px"><a href="http://frankleng.me/wp-content/uploads/2010/05/Dual_USB_sticks.jpg" rel="lightbox[273]" title="Dual USB sticks"><img class="size-medium wp-image-305" title="Dual USB sticks" src="http://frankleng.me/wp-content/uploads/2010/05/Dual_USB_sticks-300x179.jpg" alt="" width="300" height="179" /></a><p class="wp-caption-text">Adapter with dual USB sticks</p></div>
<p><strong>Accessories<br />
</strong>The D510MO board does not have an IDE port to hook up a CD-ROM drive. It does support booting from USB. However, most OSes do not offer a .usb image for install. Therefore, I purchased an IDE to USB adapter so I could boot from my DVD drive. My IDE to SATA adapter was not recognized by BIOS for some reason&#8230; so please be aware if you are thinking about getting one of these things. It&#8217;s safer to get a SATA optical drive instead. I see them on sale now for under $20. Anyway, since FreeNAS supports USB images, there was no need for any additional accessories. (Note: Other OSes mentioned above will require a optical drive to install.)</p>
<p><strong>Total cost: $246 (shipping included, taxes not included)</strong></p>
<p><strong>Next up&#8230; the software.  Turn the page.  =p</strong></p>
<div class="bottomcontainerBox" style="">
			<div style="float:left; width:100px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ffrankleng.me%2F2010%2F05%2F01%2Fzfs-powered-nas-the-ultimate-alternative-to-drobo-droboshare-the-complete-guide%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=100px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:100px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://frankleng.me/2010/05/01/zfs-powered-nas-the-ultimate-alternative-to-drobo-droboshare-the-complete-guide/"></g:plusone>
			</div>
			<div style="float:left; width:100px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://frankleng.me/2010/05/01/zfs-powered-nas-the-ultimate-alternative-to-drobo-droboshare-the-complete-guide/"  data-text="ZFS powered NAS, ultimate alternative to Drobo + Droboshare [Complete Guide]" data-count="horizontal" data-via="frankleng">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://frankleng.me/2010/05/01/zfs-powered-nas-the-ultimate-alternative-to-drobo-droboshare-the-complete-guide/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><img src="http://frankleng.me/?ak_action=api_record_view&id=273&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://frankleng.me/2010/05/01/zfs-powered-nas-the-ultimate-alternative-to-drobo-droboshare-the-complete-guide/feed/</wfw:commentRss>
		<slash:comments>161</slash:comments>
		</item>
		<item>
		<title>drobo is no good&#8230; so I&#8217;m building my own NAS [updated]</title>
		<link>http://frankleng.me/2010/03/24/drobo-is-no-good-so-im-building-my-own-nas/</link>
		<comments>http://frankleng.me/2010/03/24/drobo-is-no-good-so-im-building-my-own-nas/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 15:12:42 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Me]]></category>
		<category><![CDATA[Other]]></category>
		<category><![CDATA[drobo]]></category>
		<category><![CDATA[mITX]]></category>
		<category><![CDATA[NAS]]></category>

		<guid isPermaLink="false">http://frankleng.me/?p=216</guid>
		<description><![CDATA[After a few months work with the drobo and trying to give it NAS capabilities via TonidoPlug. I got it to work, and I&#8217;m getting same performance as the droboshare for half  the cost. HOWEVER&#8230; I&#8217;m getting 3-5mb/s Write, and 3-20mb/s Read. The speed fluctuation is related to the limited CPU and I/O resource on [...]]]></description>
			<content:encoded><![CDATA[<p>After a few months work with the <a href="http://drobo.com" target="_blank">drobo</a> and trying to give it NAS capabilities via <a href="http://tonido.com" target="_blank">TonidoPlug</a>. I <a href="http://frankleng.me/2010/02/11/droboshare-alternatives-tonidoplug-gigabit-switch/">got it to work</a>, and I&#8217;m getting same performance as the <a href="http://www.drobo.com/Products/droboshare.php" target="_blank">droboshare</a> for half  the cost.</p>
<p><strong>HOWEVER&#8230; </strong>I&#8217;m getting 3-5mb/s Write, and 3-20mb/s Read. The speed fluctuation is related to the limited CPU and I/O resource on the TonidoPlug. For a $550 setup (2.3TB) the speed just doesn&#8217;t make any sense. Even a 300mb file takaes 10min to write&#8230; this is clearly not a viable option for any power user.</p>
<p>After speaking to a friend, I was quite inspired by his ZFS rig that actually cost less and is capable of delivering 3x the speed I get. The rig&#8217;s 75W power consumption wasn&#8217;t too great in my books, but I&#8217;m sure by using something less powerful I can crank the wattage down.</p>
<p>My checklist for this rig:</p>
<ul>
<li>- Cheaper than the Drobo and TonidoPlug, in other words less than $400USD.</li>
<li>- Efficient, low power consumption.</li>
<li>- <span style="text-decoration: line-through;">The rig must have at least 4 swappable drive bays</span>.  As it turns out, consumer grade swappable bays are prone to drive vibration. Especially when used with high speed drives 7200RPM+. Be warned.</li>
<li>- Must be fault-tolerant like the Drobo.</li>
<li>- Space must be easily upgradeable, again like the Drobo.</li>
<li>- Must be faster than the Drobo, and is able to sustain read/write speed even for large files.</li>
</ul>
<p><span id="more-216"></span>At first glance this looked to be a tough find, but the worry eased up after some research. It was clear that my rig will need to be in the <strong>mITX form-factor</strong>, and it will need an energy efficient CPU.</p>
<p>The slower Celeron chips caught my eye for a second, but it was the new Intel Dual Core Atom that shined. With a TDP (Thermal Design Power) of around 13W, the <a href="http://www.anandtech.com/cpuchipsets/showdoc.aspx?i=3692" target="_blank">dual-core Atom D510</a> offers faster performance at a cooler temperate than the previous generation N330 it replaces. (FYI, TDP only measures the amount of thermal energy that need to be dissipated to keep it at an optimal temperature, it does not measure total power consumption). The D510 offers a fast front-side bus, and dual-core architecture clocked at 1.6GHZ. According to previous performance comparisons, a single core Atom running at 1.6GHZ is equivalent to a 900MHZ Celeron.</p>
<p style="text-align: center;"><a href="http://frankleng.me/wp-content/uploads/2010/03/intel_atom_benchmark.gif" rel="lightbox[216]" title="Atom Benchmarks"><img class="aligncenter wp-image-218" title="Atom Benchmarks" src="http://frankleng.me/wp-content/uploads/2010/03/intel_atom_benchmark-300x179.gif" alt="Intel Atom Benchmark Comparison" width="300" height="179" /></a>Therefore, I&#8217;m assuming the dual-core will performance similar to 1.2GHZ Celeron M chips. For the purose it is going to serve, it got a gold star in my books. Lastly, since Intel does not sell the Atom chip as  a standalone product, I was looking for a bundle with a motherboard.</p>
<p>Due to the low cost of these parts, most motherboards offered will only carry 2 SATA ports. That is a big NO NO for a NAS box! The good thing is that most of these boards do have a PCI slot for expansion, so you can put a SATA controller card in there to expand its ports. (Note that in order to have Sata II  3Gbit/s , you will need a PCI-Express based controller).</p>
<p>I eventually nailed my choice down to the <a href="http://www.intel.com/products/desktop/motherboards/D510MO/D510MO-overview.htm" target="_blank">Intel Atom D510MO</a> bundle. It has 2 SATA, 7 USB, 1 PCI and 1 PCI-E mini slot. The board isn&#8217;t the most full-featured product, but it was cheap and made by the mighty Intel itself. Other alternatives from ASUS and Supermicro offer similar specifications for a higher price, and to be quite frank I don&#8217;t trust those vendors as much as I do with Intel. (Supermicro does offer a board for the D510 chip with 6 onboard SATA ports, but costs more than twice the Intel board). <strong>Price $80 CAD </strong></p>
<p><strong>The D510 uses DDR2 memory, but I already have 1GB sticks laying around. so no need to buy more. but they go for $30 nowadays.</strong></p>
<p>Along with my Intel D510MO I ordered a PCI SATA II controller. The model number is<a href="http://www.google.ca/search?sourceid=chrome&amp;ie=UTF-8&amp;q=Syba+SD-SATA2-2E2I" target="_blank"> Syba SD-SATA2-2E2I</a>, and it was the only SATA II controller I could find with a PCI interface. I know I won&#8217;t be able to get full SATA II speeds, but I&#8217;d rather not play around with the jumpers on my older SATA II drives to get it to work. <strong>Price $36 CAD.</strong></p>
<p>Lastly, I needed a small yet stylish case to house everything. <span style="text-decoration: line-through;">I know my budget allowed me to have a case with at least 2 hot-swappable bays, but I really need 4 of them. The obvious choice was the <a href="http://usa.chenbro.com/corporatesite/products_detail.php?sku=79">CHENBRO ES34069</a>. It comes with 4 hot-swappable SATA drive bays and either 120W or 180W power supply. The package I ordered from NCIX also included a riser card and a camera card reader. For more than $200 it wasn&#8217;t the cheapest option, but it certainly looked worthy and it had exactly what I needed. <strong>Price $ 207 CAD.</strong></span></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<div id="attachment_220" class="wp-caption aligncenter" style="width: 224px"><strong><a href="http://frankleng.me/wp-content/uploads/2010/03/CHENBRO_ES34069.jpg" rel="lightbox[216]" title="CHENBRO ES34069"><img class="size-medium wp-image-220" title="CHENBRO ES34069" src="http://frankleng.me/wp-content/uploads/2010/03/CHENBRO_ES34069-214x300.jpg" alt="CHENBRO ES34069" width="214" height="300" /></a></strong><p class="wp-caption-text">CHENBRO ES34069</p></div>
<div id="attachment_269" class="wp-caption alignright" style="width: 310px"><a href="http://frankleng.me/wp-content/uploads/2010/03/NSK2400.jpg" rel="lightbox[216]" title="Antec NSK2400"><img class="size-medium wp-image-269" title="Antec NSK2400" src="http://frankleng.me/wp-content/uploads/2010/03/NSK2400-300x163.jpg" alt="Antec NSK2400" width="300" height="163" /></a><p class="wp-caption-text">Antec NSK2400</p></div>
<p>After testing the Chenbro case for a week, I must say that the swappable bays are not exactly what I expected them to be. They share the same flaws as many consumer grade screw-less systems&#8230; DRIVE VIBRATION and NOISE! Since each swappable slot was not held tightly enough, drive vibration can be heard quite clearly. (Same problem we have with the Drobo actually&#8230;) The two fans in the back of the chassis were also inaccessible by the user, and there was no speed controller connector to allow the user to adjust their speed. Therefore, you end up with a system that spins 100% RPM at all times &#8211; something the Drobo solved by adding thermal sensitive cooling fans. Lastly, the external power supply is proprietary! The cable that plugs into the chassis looks more like a PS/2 port&#8230; rather than a standard PSU connector. You know what this means&#8230; if your PSU on the Chenbro ever give out on you&#8230; you are going to have fun finding a replacement&#8230; then burn a hole in your wallet to pay for it.</p>
<p>So without anymore ranting&#8230; I introduce to you the final piece of the puzzle &#8211; Antec NSK2400. It costs half as much as the Chenbro, it has 4 drive bays &#8211; two 3.5 inch and two 5.25 inch. <a href="http://www.silentpcreview.com/Antec_NSK2400_Fusion" target="_blank">Click here for a thorough review from slientpcreview.com</a><br />
I bought two 3.5 &#8211; 5.25 drive bay adapters to fit all four of my 3.5 inch SATA drives. Obviously the bays are swappable, but I don&#8217;t plan on having multiple drive failures everyday that I need to be swapping drives. =p</p>
<p>This case can accommodate up to mATX form factor, so it will make a good media center chassis as well. &#8211; <strong>Price $101.91CAD</strong></p>
<p><strong> </strong></p>
<p><strong><span style="font-weight: normal;">Finally, the total came to <strong>$230 after shipping and taxes </strong>- That&#8217;s almost half the price of the Drobo, even after you add the cost of RAM.<br />
</span></strong></p>
<p><strong><span style="font-weight: normal;"><span style="text-decoration: line-through;">As you can see, the case I decided to get was a bit more expensive than most. There are a lot of cheaper options out there, especially if you don&#8217;t need hot-swappable bays.</span> Secondly, if you are adventurous DIY is another way to go. Check out the DIY project here: <a href="http://paulstamatiou.com/diy-200-dollar-pc-part-3">http://paulstamatiou.com/diy-200-dollar-pc-part-3</a> to build an awesome looking acrylic case for your NAS! </span></strong></p>
<p><strong><span style="font-weight: normal;">Please check back for Part 2 of this NAS adventure. My parts should be in next week, but since the case was re-ordered it might take some time before I can post updates. Please stay tuned! and big thank yous go out to all the people who tweeted and commented on this thread. Thank you for the interest. I won&#8217;t let you down!  =p<br />
</span></strong></p>
<div class="bottomcontainerBox" style="">
			<div style="float:left; width:100px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ffrankleng.me%2F2010%2F03%2F24%2Fdrobo-is-no-good-so-im-building-my-own-nas%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=100px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:100px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://frankleng.me/2010/03/24/drobo-is-no-good-so-im-building-my-own-nas/"></g:plusone>
			</div>
			<div style="float:left; width:100px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://frankleng.me/2010/03/24/drobo-is-no-good-so-im-building-my-own-nas/"  data-text="drobo is no good&#8230; so I&#8217;m building my own NAS [updated]" data-count="horizontal" data-via="frankleng">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://frankleng.me/2010/03/24/drobo-is-no-good-so-im-building-my-own-nas/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><img src="http://frankleng.me/?ak_action=api_record_view&id=216&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://frankleng.me/2010/03/24/drobo-is-no-good-so-im-building-my-own-nas/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Fixing Benq DW1640 DVD Burner ejection problem&#8230;</title>
		<link>http://frankleng.me/2010/01/03/fixing-benq-dw1640-dvd-burner-ejection-problem/</link>
		<comments>http://frankleng.me/2010/01/03/fixing-benq-dw1640-dvd-burner-ejection-problem/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 05:21:00 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[DIY]]></category>

		<guid isPermaLink="false">http://frankleng.me/?p=154</guid>
		<description><![CDATA[I have been having this annoying problem with my DVD burner&#8230; the tray won&#8217;t eject unless I use the pinhole release. After Googling, I noticed there are a lot of DW1640 and rebranded Sony drives having the same problem. However, no solution was found. So today I decided to take a crack at it and [...]]]></description>
			<content:encoded><![CDATA[<p>I have been having this annoying problem with my DVD burner&#8230; the tray won&#8217;t eject unless I use the pinhole release. After Googling, I noticed there are a lot of DW1640 and rebranded Sony drives having the same problem. However, no solution was found.</p>
<p>So today I decided to take a crack at it and see if I can figure out the problem. The drive is out of warranty anyway&#8230; and it still burns fast and solid.</p>
<p>After some testing, I realized the cause of the problem was the little rubber belt connecting two spin wheels that controlled the ejection and retraction of the tray.</p>
<p>I guess the elasticity of the rubber must have worn out over the years, and the wheels were left to spin freely.</p>
<p><strong>The simple solution was to replaced the worn out belt with an elastic band. <img src='http://frankleng.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong></p>
<p>I found an elastic band with slightly shorter circumference than the original, so it was a bit tricky to put on. I hooked up the small wheel first, then used two tweezers and pull the band around the bigger wheel.</p>
<p>Problem solved! and gave the old drive a few more years to live.</p>
<div class="bottomcontainerBox" style="">
			<div style="float:left; width:100px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ffrankleng.me%2F2010%2F01%2F03%2Ffixing-benq-dw1640-dvd-burner-ejection-problem%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=100px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:100px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://frankleng.me/2010/01/03/fixing-benq-dw1640-dvd-burner-ejection-problem/"></g:plusone>
			</div>
			<div style="float:left; width:100px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://frankleng.me/2010/01/03/fixing-benq-dw1640-dvd-burner-ejection-problem/"  data-text="Fixing Benq DW1640 DVD Burner ejection problem&#8230;" data-count="horizontal" data-via="frankleng">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://frankleng.me/2010/01/03/fixing-benq-dw1640-dvd-burner-ejection-problem/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><img src="http://frankleng.me/?ak_action=api_record_view&id=154&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://frankleng.me/2010/01/03/fixing-benq-dw1640-dvd-burner-ejection-problem/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

