<?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>Roo&#039;s View</title>
	<atom:link href="http://lowtek.ca/roo/feed/" rel="self" type="application/rss+xml" />
	<link>http://lowtek.ca/roo</link>
	<description>A clever tagline should go here</description>
	<lastBuildDate>Sat, 05 May 2012 02:13:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>When Ubuntu fails</title>
		<link>http://lowtek.ca/roo/2012/when-ubuntu-fails/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=when-ubuntu-fails</link>
		<comments>http://lowtek.ca/roo/2012/when-ubuntu-fails/#comments</comments>
		<pubDate>Sat, 05 May 2012 02:13:46 +0000</pubDate>
		<dc:creator>Roo</dc:creator>
				<category><![CDATA[Computing]]></category>

		<guid isPermaLink="false">http://lowtek.ca/roo/?p=1165</guid>
		<description><![CDATA[I&#8217;ve been busy IRL so posting here has taken a backseat to other things, as well I haven&#8217;t had a lot of time to tinker. This is an old draft I had kicking around that I&#8217;ve cleaned up a bit. Yes, I&#8217;m guilty of running for &#8216;weeks&#8217; with a pending reboot required, this is probably not [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been busy <a href="http://www.urbandictionary.com/define.php?term=IRL">IRL</a> so posting here has taken a backseat to other things, as well I haven&#8217;t had a lot of time to tinker. This is an old draft I had kicking around that I&#8217;ve cleaned up a bit.</p>
<p>Yes, I&#8217;m guilty of running for &#8216;weeks&#8217; with a pending reboot required, this is probably not helping the situation.  I&#8217;ve probably also had several power fails etc with the system in a suspended state. Still, I didn&#8217;t expect my <a href="http://www.ubuntu.com/">Ubuntu</a> system to get to the state it did.</p>
<p>After rebooting my system, the system drive would no longer boot and I was dumped into the (initramfs) busybox</p>
<p><code>mount: mounting /dev on /root/dev failed: No such file or directory<br />
mount: mounting /sys on /root/sys failed: No such file or directory<br />
mount: mounting /proc on /root/proc failed: No such file or directory<br />
Target Filesystem doesn't have /sbin/init.<br />
No init found. Try passing init=bootarg.</code></p>
<p><code>BusyBox v1.10.2 (Ubuntu 1:1.10.2-2ubuntu7) built-in shell (ash)<br />
Enter 'help' for a list of built-in commands.</code></p>
<p><code>(initramfs)</code></p>
<p>Ok I think, so there is some filesystem issue with my boot drive &#8211; booting a live CD version of Ubuntu should give me the tools to fix it. It turns out the answer was no &#8211; the live CD won&#8217;t help me either. Sigh, this is the type of thing I&#8217;d expect of <a href="http://lowtek.ca/roo/2012/windows-vista-recovery/">Windows Vista</a> but not Ubuntu.</p>
<p>Off the to forums and I turn up <a href="http://ubuntuforums.org/showthread.php?t=1601810">a post which shows others have had the same issue</a> and the solution. From here it was a <a href="https://twitter.com/#!/andrew_low/status/32622475703492609">simple matter</a> of booting the <a href="https://help.ubuntu.com/community/LiveCD">Ubuntu live CD</a> to download a copy of <a href="http://www.slax.org/">SLAX</a> to burn to CD then boot from the new SLAX CD to repair the <a href="http://en.wikipedia.org/wiki/Ext4">ext4</a> filesystem. Good thing I had a Ubuntu live CD around.</p>
<p>Once your booted into SLAX, start a root shell and find the volume.</p>
<p><code>root@slax:~# fdisk -l<br />
</code><br />
This will list all of the drives (if you have more than one) and the partitions on those drives. Next is simply a matter of issuing the filesystem check and repair command on the correct partition</p>
<p><code>root@slax:~# fsck /dev/sda2</code></p>
<p>You&#8217;ll want to say <strong>yes</strong> to fixing the problems obviously. Once this completes, simply reboot back to a working system.</p>
]]></content:encoded>
			<wfw:commentRss>http://lowtek.ca/roo/2012/when-ubuntu-fails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Review: OCZ Vertex 3 120G SSD</title>
		<link>http://lowtek.ca/roo/2012/review-ocz-vtx3-25sat3-120g/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=review-ocz-vtx3-25sat3-120g</link>
		<comments>http://lowtek.ca/roo/2012/review-ocz-vtx3-25sat3-120g/#comments</comments>
		<pubDate>Thu, 12 Apr 2012 00:41:09 +0000</pubDate>
		<dc:creator>Roo</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://lowtek.ca/roo/?p=1150</guid>
		<description><![CDATA[I&#8217;m not entirely certain which event triggered my gear lust for a solid state drive (SSD), it was probably a mix of Jeff Atwood&#8217;s post, TechReport&#8217;s storage section, and the falling prices resulting in smaller SSDs down below the $100 price point. Whatever it was, I couldn&#8217;t really shake the idea of having a SSD [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://lowtek.ca/roo/wp-content/uploads/2012/04/IMG_2612.jpg"><img class="aligncenter size-full wp-image-1151" title="IMG_2612" src="http://lowtek.ca/roo/wp-content/uploads/2012/04/IMG_2612.jpg" alt="" width="500" height="292" /></a></p>
<p>I&#8217;m not entirely certain which event triggered my gear lust for a solid state drive (<a href="http://en.wikipedia.org/wiki/Solid-state_drive">SSD</a>), it was probably a mix of <a href="http://www.codinghorror.com/blog/2011/05/the-hot-crazy-solid-state-drive-scale.html">Jeff Atwood&#8217;s post</a>, <a href="http://techreport.com/storage/">TechReport&#8217;s storage section</a>, and the falling prices resulting in smaller SSDs down <a href="http://www.canadacomputers.com/search_result.php?keywords=&amp;category1=Solid+State+Drives&amp;category2=SATA+3+%286Gb%2Fs%29&amp;category3=&amp;category4=&amp;search=1&amp;ccid=1088&amp;path=179_1088&amp;manu=0&amp;pricerange=%240.00+-+%2499.99">below the $100 price point</a>. Whatever it was, I couldn&#8217;t really shake the idea of having a SSD in my work laptop &#8211; so I decided to get one.</p>
<p>Initially I had thought that a 60G-64G drive would fit the bill, being under the $100 price point and just big enough to hold the OS plus my <a href="http://en.wikipedia.org/wiki/IBM_Lotus_Notes">Lotus Notes</a> mail installation. After reviewing benchmarks, and reviews I decided to focus on the 120G size &#8211; in part due to a general recommendation that the 60G size is a bit small for most, and the benchmark numbers on the 120G are a bit better. The price was higher, but still within a very reasonable budget as SSDs are approaching $1 a Gig. The <a href="http://techreport.com/articles.x/21672">TechReport comparison of 120G-128G</a> size helped me narrow my choice down to the <a href="http://www.ocztechnology.com/ocz-vertex-3-sata-iii-2-5-ssd.html">OCZ</a><a href="http://techreport.com/articles.x/20622"> Vertex 3</a>.</p>
<p>While the Vertex 3 has been on the market a year, it still ranks as one of the fastest drives available. There were <a href="http://www.tomshardware.com/news/SandForce-SF-2200-Firmware-bsod-update,13738.html">some issues</a> with the SandForce SF-2881 controller, but firmware 2.15 is reported to be solid.</p>
<p>My laptop was running a 500G <a href="http://en.wikipedia.org/wiki/Sata">SATA</a>2 Toshiba drive, configured as a single large partition running Windows 7. I had no interest in re-installing from scratch so my approach was to clone the working system onto the smaller drive. There are likely plenty of ways to do this, I was able to easily find <a href="http://geekyprojects.com/storage/how-to-clone-hard-drive-to-smaller-drive/">a blog post</a> describing how to do it &#8211; I roughly followed those steps but will document exactly what I did here.</p>
<p><strong>Step 1)</strong> Reduce the partition on the big hard drive to be a bit less than the formatted capacity of the SSD. Initially after reading a bit I was hesitant to use <a href="http://gparted.sourceforge.net/">GParted</a> to do this as it seemed <a href="http://www.techsupportforum.com/forums/f217/solved-windows-7-not-genuine-post-gparted-partition-resize-505639.html">some folks had had problems</a> with Windows 7 and GParted. Windows 7 also has a built in <a href="http://www.howtogeek.com/howto/windows-vista/resize-a-partition-for-free-in-windows-vista/">partition resize capability</a>.</p>
<p>I ran into several issues trying to use the built in Windows 7 functionality. First up was some <a href="http://superuser.com/questions/88131/how-to-shrink-windows-7-boot-partition-with-unmovable-files">unmovable files</a> causing issues. Even after turning off <a href="http://en.wikipedia.org/wiki/Virtual_memory">virtual memory</a> and <a href="http://en.wikipedia.org/wiki/System_Restore">system restore</a>, I still had issues. The <a href="http://en.wikipedia.org/wiki/Event_Viewer">Event Viewer</a> was a help in identifying <a href="http://www.google.ca/chrome">Chrome</a> as holding onto some unmovable files, then I hit what I believe was an issue with <a href="http://en.wikipedia.org/wiki/NTFS#Metafiles">NTFS Metafiles</a> being unmovable and blocking my ability to shrink the partition smaller than 245G. At this point I threw my hands in the air and ran GParted from an <a href="http://www.ubuntu.com/download/ubuntu/download">Ubuntu Live USB key</a>.</p>
<p>GParted ran to completion, but oddly gave me an error indicating something was wrong &#8211; but I couldn&#8217;t spot anything actually wrong. [Normally GParted should not give an error] The damage was done so I just rebooted and let Windows perform the necessary <a href="http://en.wikipedia.org/wiki/Chkdsk">chkdsk</a> activity. Things were fine, so either I mis-read that there was an error or it was something that was recoverable. Either way I was now happily running with a 100G partition.</p>
<p><strong>Step 2)</strong> Use <a href="http://clonezilla.org/">Clonezilla</a>&#8216;s &#8220;savepart&#8221; option to capture an image of the partition. Since I had a 500G drive which now had lots of empty space after the 100G system partition, I created a 2nd volume to store the captured image to. You can use a second USB mounted drive, or any number of other options including ssh with Clonezilla to store your image.</p>
<p>I will comment that Clonezilla is not for the timid, the user interface appear very complex and requires some careful reading to make sure you&#8217;re doing what you think you&#8217;re doing. Youtube has a number of <a href="http://www.youtube.com/results?search_query=clonezilla">walk throughs</a>. For the 100G partition it took about 1:35 to backup.</p>
<p><a href="http://lowtek.ca/roo/wp-content/uploads/2012/04/IMG_2619.jpg"><img class="aligncenter size-full wp-image-1153" title="IMG_2619" src="http://lowtek.ca/roo/wp-content/uploads/2012/04/IMG_2619.jpg" alt="" width="500" height="291" /></a></p>
<p>Above you see the SSD attached to the ultra slim sled that the laptop hard disk was in, this is a very slim metal sleeve with a pull tab and some rubber bumpers. It fit nicely into my <a href="http://shop.lenovo.com/us/products/professional-grade/thinkpad-laptops/w-series/w520.shtml">W520</a>.</p>
<p><strong>Step 3)</strong> Swap the drives. If you have a password on the drive, it&#8217;s a good idea to disable before removing it as USB enclosures and passworded drives don&#8217;t mix well. Install the new SSD, and place the existing drive into a USB enclosure. Boot the laptop into Ubuntu Live again and partition the new SSD drive, make sure to tag the new partition as with the &#8216;boot&#8217; flag.</p>
<p><strong>Step 4)</strong> Restore the image you saved with Clonezilla&#8217;s &#8220;restore part&#8221; option. In this case I was restoring from the 2nd partition on the original hard drive that is now mounted as a USB volume. Clonezilla warns you twice when restoring a partition to validate you&#8217;ve got the correct destination, a nice paranoid touch.</p>
<p>The restore ran nearly 3x faster taking about 37 minutes.</p>
<p><strong>Step 5)</strong> Boot into windows, chkdsk may have run again but with the SSD it seemed to take no time at all. You might want to visit the <a href="http://www.ocztechnology.com/ssd_tools/SandForce_Based/">OCZ site</a> and grab the toolbox utility to validate you&#8217;ve got the latest firmware, I did this to verify I had 2.15.</p>
<p><strong><span style="text-decoration: underline;">Performance</span></strong></p>
<p>After I did the clone, I ran some boot time tests on the hard drive. I tested immediately after I had completed step 5 with the SSD. For work I need Lotus Notes up and running to access my calendar etc, so that was a logical pattern to benchmark &#8211; how long to get back to key information? I used a stop watch, and the times include the time I spent typing in the two passwords and navigating to the icon to launch Notes. It&#8217;s not terribly scientific, but I think the results still speak for themselves.</p>
<table width="100%" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td></td>
<td>Disk test 1</td>
<td>Disk test 2</td>
<td>Disk test 3</td>
<td>SSD test 1</td>
<td>SSD test 2</td>
<td>SSD test 3</td>
</tr>
<tr>
<td>Cold boot to Windows login</td>
<td>1:22</td>
<td>1:24</td>
<td>55</td>
<td>23</td>
<td>23</td>
<td>23</td>
</tr>
<tr>
<td>Login to launch of Notes</td>
<td>1:42</td>
<td>1:13</td>
<td>1:44</td>
<td>10</td>
<td>10</td>
<td>10</td>
</tr>
<tr>
<td>Lotus Notes ready</td>
<td>40</td>
<td>44</td>
<td>40</td>
<td>10</td>
<td>10</td>
<td>11</td>
</tr>
<tr>
<td>Total time</td>
<td>3:45</td>
<td>3:22</td>
<td>3:19</td>
<td>43</td>
<td>43</td>
<td>44</td>
</tr>
</tbody>
</table>
<p>This is <a href="http://www.codinghorror.com/blog/2011/05/the-hot-crazy-solid-state-drive-scale.html">crazy hot</a> - more than 3x faster, under a minute from a cold boot.</p>
<p>Now certain operations don&#8217;t seem any faster. Resuming from <a href="http://en.wikipedia.org/wiki/Hibernation_(computing)">hibernation</a> feels to be about the same speed. This makes sense as the performance difference for sequential reads isn&#8217;t much different. It seems in normal usage, lots of little things are more immediate too. Some of this is likely simply moving from a SATA2 to a SATA3 drive, but I&#8217;m convinced no spinning platter could keep up with the SSD.</p>
<p><a href="http://lowtek.ca/roo/wp-content/uploads/2012/04/IMG_2614.jpg"><img class="aligncenter size-full wp-image-1152" title="IMG_2614" src="http://lowtek.ca/roo/wp-content/uploads/2012/04/IMG_2614.jpg" alt="" width="500" height="302" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://lowtek.ca/roo/2012/review-ocz-vtx3-25sat3-120g/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Flour Tortillas</title>
		<link>http://lowtek.ca/roo/2012/flour-tortillas/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=flour-tortillas</link>
		<comments>http://lowtek.ca/roo/2012/flour-tortillas/#comments</comments>
		<pubDate>Thu, 05 Apr 2012 02:10:25 +0000</pubDate>
		<dc:creator>Roo</dc:creator>
				<category><![CDATA[Cooking]]></category>

		<guid isPermaLink="false">http://lowtek.ca/roo/?p=1142</guid>
		<description><![CDATA[I&#8217;m a huge fan of Mexican food and while Fajitas are more Tex-Mex they are still yummy. The Lone Star is a local restaurant that is known for their Fajitas, and for me the shells really stand out. It turns out you can make as good (or arguably better) tortilla shells at home. I tried [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://lowtek.ca/roo/wp-content/uploads/2012/04/IMG_20120331_165918.jpg"><img class="aligncenter size-full wp-image-1143" title="IMG_20120331_165918" src="http://lowtek.ca/roo/wp-content/uploads/2012/04/IMG_20120331_165918.jpg" alt="" width="500" height="293" /></a></p>
<p>I&#8217;m a huge fan of Mexican food and while <a href="http://en.wikipedia.org/wiki/Fajita">Fajitas</a> are more <a href="http://en.wikipedia.org/wiki/Tex-Mex_cuisine">Tex-Mex</a> they are still yummy. The <a href="http://www.lonestartexasgrill.com/">Lone Star</a> is a local restaurant that is known for their Fajitas, and for me the shells really stand out. It turns out you can make as good (or arguably better) tortilla shells at home.</p>
<p>I tried several recipes until <a href="http://www.texasrollingpins.com/tortillarecipe.html">I came across this one</a>. In all honesty they don&#8217;t vary that much, this is very basic cooking. With my thanks to the original authors, I&#8217;ll replicate it here with my notes:</p>
<p>3 cups unbleached flour<br />
2 tsp. baking powder<br />
1 tsp.  salt<br />
4-6 Tbsp. vegetable shortening or lard<br />
1 1/4 cups warm water (from the tap)</p>
<p>This should make a dozen tortillas, I often double the recipe and have loads of leftovers for the next day. In the batch I did for the photos I substituted one cup of the flour for whole wheat flour. I prefer just using unbleached flour, but this is a good way to make it a bit healthier. If you&#8217;re looking to replicate the Lone Star, make sure you go heavy on the shortening and skip the whole wheat flour.</p>
<p>Mix the dry ingredients in a large bowl. Cut in the shortening. Once this mixture is well mixed, add the water all at once.</p>
<p><a href="http://lowtek.ca/roo/wp-content/uploads/2012/04/IMG_20120331_161307.jpg"><img class="aligncenter size-full wp-image-1144" title="IMG_20120331_161307" src="http://lowtek.ca/roo/wp-content/uploads/2012/04/IMG_20120331_161307.jpg" alt="" width="500" height="282" /></a></p>
<p>I mix it by hand and consider that one of the secrets to getting this to work well. Overworking the dough mixture will result in them being hard to roll and tougher when you eat them. Initially it should be really sticky, as you work (knead) the dough it will blend more and the stick should mostly go away. Give the dough 10mins or so to rest.</p>
<p>Now&#8217;s a good time to put a large frying pan on the stove, you want it to be really hot. Make your 12 balls of dough.</p>
<p>I use a large rolling pin and work directly on our counter tops. You shouldn&#8217;t need any additional flour to keep things from sticking, but don&#8217;t be afraid to use a little if you&#8217;re having trouble. Remember that rolling is a lot like kneading, so you want to avoid over-rolling it but these dough balls need to be smashed paper flat. I find that a little bit of counter stick helps me roll it out. My pattern is roll in one direction, pick it up and flip + rotate 90 degrees and roll the other way. Don&#8217;t worry about them being perfectly round, just make sure they are really thin.</p>
<p>It does take a bit of getting used to, but you should be able to roll and cook at the same time. Nearly continuous as it&#8217;ll take you almost as much time to roll as it does cook.</p>
<p><a href="http://lowtek.ca/roo/wp-content/uploads/2012/04/IMG_20120331_164743.jpg"><img class="aligncenter size-full wp-image-1146" title="IMG_20120331_164743" src="http://lowtek.ca/roo/wp-content/uploads/2012/04/IMG_20120331_164743.jpg" alt="" width="500" height="335" /></a></p>
<p>If your tortillas are thin enough, and the pan is hot enough &#8211; you&#8217;ll be rewarded with bubbles forming in the tortilla after a brief time in the pan. That&#8217;s when you want to flip it.</p>
<p><a href="http://lowtek.ca/roo/wp-content/uploads/2012/04/IMG_20120331_163523.jpg"><img class="aligncenter size-full wp-image-1145" title="IMG_20120331_163523" src="http://lowtek.ca/roo/wp-content/uploads/2012/04/IMG_20120331_163523.jpg" alt="" width="500" height="382" /></a></p>
<p>The last photo is a nearly done tortilla. They will be a bit dry and stiff coming out of the pan, we have a tortilla warmer that I stick them into and once they sit covered for a little they get nice and soft. Any covered container will work for this.</p>
<p>It takes some practice to get the pan heat right. I often start with it too cold (I haven&#8217;t let it heat up properly) and end with it almost too hot (smoking). The recipe is very forgiving, I often have the kids help and even with that chaos things work. If you&#8217;re having trouble getting it to go right, try some brand new flour. I&#8217;ve used old flour and bread products in general never seem to work with old flour.</p>
]]></content:encoded>
			<wfw:commentRss>http://lowtek.ca/roo/2012/flour-tortillas/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How To: DD-WRT on the Netgear WNR3500L</title>
		<link>http://lowtek.ca/roo/2012/how-to-dd-wrt-on-the-netgear-wnr3500l/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-dd-wrt-on-the-netgear-wnr3500l</link>
		<comments>http://lowtek.ca/roo/2012/how-to-dd-wrt-on-the-netgear-wnr3500l/#comments</comments>
		<pubDate>Thu, 29 Mar 2012 01:28:20 +0000</pubDate>
		<dc:creator>Roo</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://lowtek.ca/roo/?p=1133</guid>
		<description><![CDATA[I&#8217;ve been a fan of DD-WRT for some time, a Linksys WRT54GL is the heart of my home network. While I don&#8217;t have an immediate need for a new router, I&#8217;ve been thinking for some time that I should pick up a reasonable backup in case the WRT54GL fails. There are also some really interesting [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://lowtek.ca/roo/wp-content/uploads/2012/03/IMG_2608.jpg"><img class="aligncenter size-full wp-image-1134" title="IMG_2608" src="http://lowtek.ca/roo/wp-content/uploads/2012/03/IMG_2608.jpg" alt="" width="500" height="216" /></a></p>
<p>I&#8217;ve been a fan of <a href="http://en.wikipedia.org/wiki/DD-WRT">DD-WRT</a> for some time, a <a href="http://www.dd-wrt.com/wiki/index.php/WRT54GL">Linksys WRT54GL</a> is the heart of my home network. While I don&#8217;t have an immediate need for a new router, I&#8217;ve been thinking for some time that I should pick up a reasonable backup in case the WRT54GL fails. There are also some really interesting projects you can do with a modified router, and having a spare will let me tinker with some of those.</p>
<p>I came across a good deal on a refurbished <a href="http://www.dd-wrt.com/wiki/index.php/Netgear_WNR3500L">Netgear WNR3500L</a>, it was about half the price of a <a href="http://www.canadacomputers.com/product_info.php?cPath=27_365&amp;item_id=031500">new unit</a>. This was too tempting: <a href="http://en.wikipedia.org/wiki/Wireless_N">N networking</a> (I don&#8217;t really need it, but why not stay current?), <a href="http://en.wikipedia.org/wiki/Gigabit_Ethernet">gigabit</a> wired networking (a must have), USB port (I wanted this for expansion options), but the feature that really sold me was 64MB <a href="http://en.wikipedia.org/wiki/Random-access_memory">RAM</a> and 8MB <a href="http://en.wikipedia.org/wiki/Read-only_memory">ROM</a> &#8211; more than enough for DD-WRT with all the features.</p>
<p>This particular router is also supported by <a href="http://tomatousb.org/doc:build-types">Tomato</a> another very popular firmware. There is also a somewhat suspect Netgear sponsored <a href="http://www.myopenrouter.com/">open firmware</a>, the site seems to have instructions for installing an older version of Tomato &#8211; personally I&#8217;d steer clear of this. Unfortunately the other popular router firmware <a href="http://wiki.openwrt.org/toh/netgear/wnr3500l">OpenWRT</a> doesn&#8217;t currently support this router. Of course, I prefer DD-WRT which <a href="http://www.dd-wrt.com/wiki/index.php/Netgear_WNR3500L">does support this router</a>.</p>
<p>One of the reasons that I blog is to have a record of what I did, far too often I end up needing to do something again, or refer back when I&#8217;m doing an upgrade. Another reason is to help me get organized to do some of these things &#8211; finding the instructions is usually easy, understanding them and what you&#8217;re about to do takes some time. I probably spent 2hrs reading through forums and searching various things before I leapt in to flash the router, I strongly recommend you do the same. Also this write-up skips over some of the frustrating head scratching I do when things don&#8217;t work, that&#8217;s part of the learning process.</p>
<p>There is a <a href="http://www.dd-wrt.com/phpBB2/viewtopic.php?t=148419">v2 of this router</a>, and v2 is NOT supported by DD-WRT. Apparently the boxes they come in are identical, but the router itself has a v2 marking. I did find a wiki that documents the <a href="http://www.wikidevi.com/wiki/Netgear_WNR3500Lv1">v1</a> and the <a href="http://www.wikidevi.com/wiki/Netgear_WNR3500Lv2">v2</a>, I was able to match the <a href="http://en.wikipedia.org/wiki/Federal_Communications_Commission">FCC</a> numbers listed to confirm I had a v1. For what it&#8217;s worth, my stock firmware was V1.0.2.50_31.1.25NA.</p>
<p>The DD-WRT site has some <a href="http://www.dd-wrt.com/wiki/index.php/Netgear_WNR3500L#Installation_of_DD-WRT">excellent instructions on doing the installation</a>, I&#8217;ll avoid repeating those but will document the steps I took. I will repeat some of the cautions from the site:</p>
<ul>
<li>The WNR3500L requires a NEWD-2, K2.6 build of DD-WRT</li>
<li>You will first need to upload a special .chk build (also K2.6) of DD-WRT to the router to go from Netgear’s factory firmware. Then you may install a .bin build of DD-WRT.</li>
<li>Spend some time browsing the <a href="http://www.dd-wrt.com/phpBB2/">DD-WRT Forums</a>. There’s a lot of chaotic information to ingest.</li>
<li>Read the <a href="http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486">peacock thread</a>.</li>
</ul>
<p>Before we get started, let&#8217;s talk about the <a href="http://www.dd-wrt.com/wiki/index.php/Hard_reset_or_30/30/30">30/30/30 reset</a>. Yes, it&#8217;s over the top and very conservative. Weigh those 90 seconds against the potential problems you might run into trying to by rushing through this, sure building a JTAG connector to resurrect a bricked router might be interesting but it&#8217;s going to take you a lot more than 90 seconds.</p>
<p>The following steps should not be considered an alternate installation procedure, please use the <a href="http://www.dd-wrt.com/wiki/index.php/Netgear_WNR3500L#Installation_of_DD-WRT">official DD-WRT instructions</a> &#8211; consider this a walk through of the official instructions:</p>
<ol>
<li>Power on the device. Give it a minute to finish booting, the front panel LEDs should stabilize.</li>
<li>Plug in your linux box, it&#8217;ll automatically get an IP address (192.168.1.2)</li>
<li>Perform a <a href="http://www.dd-wrt.com/wiki/index.php/Hard_reset_or_30/30/30">30/30/30 reset</a><br />
a) With unit powered on, press and hold the reset button for 30s<br />
b) Without releasing the reset button, unplug the router, wait 30s<br />
c) Still holding the reset button, plug the router in and wait 30s</li>
<li>Now wait for the PC to get an IP address assigned to it, this may take a minute or two be patient.</li>
<li>As I&#8217;m using Linux <a href="http://en.wikipedia.org/wiki/Firefox">Firefox</a> will be the browser of choice<br />
Connect to 192.168.1.1<br />
user: admin<br />
password: password<br />
(<a href="http://support.netgear.com/app/answers/detail/a_id/1148/~/default-password-for-netgear-devices">the default user and password</a>)</li>
<li>Since the router isn&#8217;t connected to anything except my PC the automatic upgrade process will fail due to no internet connection, that&#8217;s fine.</li>
<li>Click on &#8220;Router Upgrade&#8221; in the menu on the left side.</li>
<li>Choose the <a href="http://www.dd-wrt.com/routerdb/de/download/Netgear/WNR3500L/-/dd-wrt.v24-14311_NEWD-2_K2.6_mini-WNR3500L.chk/3467">.chk file you downloaded</a> as per the <a href="http://www.dd-wrt.com/wiki/index.php/Netgear_WNR3500L#Installation_of_DD-WRT">DD-WRT site</a></li>
<li>You will get a warning: <em>&#8220;Warning! You are trying to download the firmware which the region is different from the current firmware you had.&#8221;</em> &#8211; this is ok, continue.</li>
<li>Wait for the upload process to complete.<br />
Once the upload is done, it will automatically move on to updating settings.<br />
A minute or so more it will show a DD-WRT screen.</li>
<li>Start a timer for 5 minutes and wait. Yes, likely paranoid as we could have probably started the timer when we started the upload process, but again this isn&#8217;t something you really want to rush. Time for coffee.</li>
<li>At this point we&#8217;re running DD-WRT, just not the version we want.</li>
<li>Do another <a href="http://www.dd-wrt.com/wiki/index.php/Hard_reset_or_30/30/30">30/30/30 reset</a></li>
<li>It took my system about 2 minutes to get an IP address (192.168.1.101)</li>
<li>DD-WRT will force us to set a username and password, for now I suggest the same as stock.</li>
<li>Click on the Administration tab, followed by the Firmware Upgrade sub-tab.</li>
<li>I set &#8216;After flashing, reset to&#8217; -&gt;  &#8221;Reset to Default settings&#8221;<br />
Pick the <a href="tp://ftp.dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2010/08-12-10-r14929/broadcom_K26/dd-wrt.v24-14929_NEWD-2_K2.6_big.bin">big file you downloaded</a> as per the <a href="http://www.dd-wrt.com/wiki/index.php/Netgear_WNR3500L#Installation_of_DD-WRT">DD-WRT site</a>.</li>
<li>It will flip to a reset screen once the firmware has been installed</li>
<li>Wait 5 minutes. If you&#8217;re really paranoid perform another 30/30/30 reset after that.</li>
<li>Done. Configure you&#8217;re new router.</li>
</ol>
<p>I primarily use <a href="http://en.wikipedia.org/wiki/Chrome_browser">Chrome</a>, but have experienced problems with DD-WRT and Chrome in the past. It turns out this time that FireFox was unable to configure the router (but it did handle the firmware install just fine). Consider this a caution, if you&#8217;re having trouble with this process it might be your browser.</p>
]]></content:encoded>
			<wfw:commentRss>http://lowtek.ca/roo/2012/how-to-dd-wrt-on-the-netgear-wnr3500l/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restore Rogers Galaxy Tab 7 to stock</title>
		<link>http://lowtek.ca/roo/2012/restore-rogers-galaxy-p1000r-to-stock/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=restore-rogers-galaxy-p1000r-to-stock</link>
		<comments>http://lowtek.ca/roo/2012/restore-rogers-galaxy-p1000r-to-stock/#comments</comments>
		<pubDate>Thu, 22 Mar 2012 01:52:20 +0000</pubDate>
		<dc:creator>Roo</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://lowtek.ca/roo/?p=1121</guid>
		<description><![CDATA[When I got my Galaxy Tab 7&#8243; one of the first things I did was to see if I could collect the stock firmware in a format that was useful in case I ever wanted to restore the tablet back to it&#8217;s stock form. It turned out that the 2.2 based firmware was not easily [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://lowtek.ca/roo/wp-content/uploads/2012/03/gtab_stock_heimdall.png"><img class="aligncenter size-full wp-image-1122" title="gtab_stock_heimdall" src="http://lowtek.ca/roo/wp-content/uploads/2012/03/gtab_stock_heimdall.png" alt="" width="500" height="351" /></a></p>
<p>When I got my <a href="http://en.wikipedia.org/wiki/Galaxy_Tab">Galaxy Tab 7&#8243;</a> one of the first things I did was to see if I could collect the stock firmware in a format that was useful in case I ever wanted to restore the tablet back to it&#8217;s stock form. It turned out that the <a href="http://en.wikipedia.org/wiki/Android_version_history#v2.2.x_Froyo">2.2</a> based firmware was not easily available on the net, and neither was the <a href="http://en.wikipedia.org/wiki/Android_version_history#v2.3.x_Gingerbread">2.3</a> version.</p>
<p>The results of my work are captured in <a href="http://forum.xda-developers.com/showthread.php?t=1365433">an XDA thread</a>, but restoring from those captures was an exercise left to the reader. The 2.2 (froyo) image is captured directly from the device, I first rooted the tablet with <a href="http://forum.xda-developers.com/showthread.php?t=803682">SuperOneClick</a> then used <a href="http://forum.xda-developers.com/showthread.php?t=850359">rotobackup</a> to capture a <a href="http://www.glassechidna.com.au/products/heimdall/">heimdall</a> friendly set of files for flashing. The original work was tracked in <a href="http://forum.xda-developers.com/showthread.php?t=1342365">another XDA thread</a> where you can read the blow by blow if you&#8217;re interested. For 2.3 (gingerbread) I was able to grab the intermediate files from <a href="http://en.wikipedia.org/wiki/Samsung_Kies">Kies</a> during the normal upgrade process &#8211; the rest of this post will talk about how to use those files to restore the P1000R to a stock 2.3 state.</p>
<p>I&#8217;m using heimdall version 1.3.1 on Linux, but other versions and platforms should work fine. I particularly like using Linux to flash the GalaxyTab as it doesn&#8217;t suffer the same driver madness that Windows seems to have, USB devices just work. I&#8217;ll assume you can find the <a href="http://forum.xda-developers.com/showthread.php?t=1365433">download</a> and extract the files.</p>
<p>You&#8217;ll want to specify the PIT file &#8211; <code>gt-p1000_mr.pit</code>, it&#8217;s safe to select the repartition box as we&#8217;ll be doing the <a href="http://en.wikipedia.org/wiki/The_Full_Monty_(phrase)">full monty</a> here [sharp eyed readers will notice that the picture at the top of this post doesn't have the box checked, that's a mistake on my part - go ahead and check it]. The files map to the heimdall partition names as follows:</p>
<p><code>MODEM -&gt; modem.bin<br />
CACHE -&gt; cache.rfs<br />
KERNEL -&gt; zImage<br />
FACTORYFS -&gt; factoryfs.rfs<br />
PARAM -&gt; param.lfs<br />
IBL+PBL -&gt; boot.bin<br />
SBL -&gt; sbl.bin</code></p>
<p>So click on the Add button and specify the partition type and files from the downloaded and extracted ROM.</p>
<p>Next you need to get your device into download mode. My preferred approach is to hold the power+volume down buttons until the download screen appears (yellow triangle with android digging). Now you can click start on heimdall.</p>
<p>Under Linux at least , this will hit 100% and then fail to reboot. That&#8217;s ok. Wait a minute or two to make sure it&#8217;s really done, then force it to reboot into recovery mode by holding power+volume up until you see the recovery screen.</p>
<p>Assuming the flash has gone well, the stock recovery will start up and automatically try to install some updates. You should see:</p>
<p><code>-- Updating filesystem...<br />
<span style="color: #ff0000;">E:failed to mount /dbdata (Invalid argument)</span><br />
<span style="color: #ff0000;"> E:discard_filesystem_for_rfs:Can't mount /dbdata</span></code></p>
<p><code>-- Wiping cache...<br />
Formatting /cache<br />
<span style="color: #ff0000;">Cache wipe failed.</span></code></p>
<p>Don&#8217;t panic. Remember that this update was expecting to have come from a properly installed 2.2 stock, we&#8217;re leaping into the middle of the process.</p>
<p><a href="http://lowtek.ca/roo/wp-content/uploads/2012/03/gtab_stock_home.png"><img class="alignright  wp-image-1124" title="gtab_stock_home" src="http://lowtek.ca/roo/wp-content/uploads/2012/03/gtab_stock_home.png" alt="" width="122" height="209" /></a>Using the recovery menus, select &#8216;factory reset + wipe data&#8217; followed by &#8216;wipe cache&#8217;. One hint for those not used to the stock recovery image, the capacitive home button is used to select entries and volume up/down for navigation.</p>
<p>Now you can reboot. The first boot will take a while as it sorts things out and rebuilds the cache(s).  All should go well and you&#8217;ll be greeted by the stock home screen.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://lowtek.ca/roo/2012/restore-rogers-galaxy-p1000r-to-stock/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Creating DVD Videos with Ubuntu</title>
		<link>http://lowtek.ca/roo/2012/creating-dvd-videos-with-ubuntu/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=creating-dvd-videos-with-ubuntu</link>
		<comments>http://lowtek.ca/roo/2012/creating-dvd-videos-with-ubuntu/#comments</comments>
		<pubDate>Wed, 14 Mar 2012 23:56:52 +0000</pubDate>
		<dc:creator>Roo</dc:creator>
				<category><![CDATA[Computing]]></category>

		<guid isPermaLink="false">http://lowtek.ca/roo/?p=1113</guid>
		<description><![CDATA[There are many different ways to take some video on Ubuntu and convert it to a physical DVD that will play back on most DVD players and while the command line would be fine, it&#8217;s certainly nice to see there is at least one option that provides a reasonable GUI and supports the creation of [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://lowtek.ca/roo/wp-content/uploads/2012/03/bombono.png"><img class="aligncenter size-full wp-image-1114" title="bombono" src="http://lowtek.ca/roo/wp-content/uploads/2012/03/bombono.png" alt="" width="371" height="101" /></a></p>
<p>There are many different ways to take some video on Ubuntu and convert it to a physical DVD that will play back on most DVD players and while the command line would be fine, it&#8217;s certainly nice to see there is at least one option that provides a reasonable GUI and supports the creation of menus.</p>
<p>I tried <a href="http://packages.ubuntu.com/oneiric/devede">DeVeDe</a> before coming across <a href="http://www.bombono.org/">Bombono</a>. I was trying to take a number of 15 and 30 minute recorded children&#8217;s shows stored as mp4&#8242;s and convert them into a playable DVD. For some reason DeVeDe aborted with little to no diagnostic information after a couple of videos, it was easier to move on than mess with it.</p>
<p>Bombono was able to convert all of my videos, but the version available in the Ubuntu repository was older and had some serious issues related to menu editing. It turns out there is a <a href="https://launchpad.net/ubuntu/+ppas">PPA</a> that is current (1.2.1), <a href="http://www.bombono.org/cgi-bin/wiki/Install_In_Ubuntu">instructions for installing via the PPA are hosted on the bombono wiki</a>. I expect in future the Ubuntu repository version will catch up and be the easiest way to get this utility, but in the near future I recommend getting it from the PPA.</p>
<p>The PPA install places things in the <code>/opt/bombono-dvd-testing</code> hierarchy, which is fine but it doesn&#8217;t provide an easy way to run it. I added a link in <code>/usr/local/bin</code> so that I can launch it from the command line</p>
<p><code>$sudo ln -s /opt/bombono-dvd-testing/bin/bombono-dvd /usr/local/bin/bombono-dvd</code></p>
<p>It does appear that there is a <code>.desktop</code> file in <code>/opt/bombono-dvd-testing/share/applications</code> so a little creativity and I&#8217;m sure you could easily integrate it into the Ubuntu menu system.</p>
<p>The 1.2.1 version (via the PPA) has quite nice menu editing. I wouldn&#8217;t claim this is the same level you&#8217;d expect on a Mac, but it very easy to use. One of the more polished utilities I&#8217;ve seen on Linux. Menus support background images and buttons that can be stills or motion video clips. I did experience problems trying to use too many motion clips on a single menu (it rendered most of them as stills), it may be possible to work around this by generating the DVD folder then manually adding the appropriate video clips. The alignment and snap to grid tools are handy for making the menu line up.</p>
<p>You of course can choose to create a DVD without a menu. Simply omit any menu and the DVD will play the video when the disk is inserted.</p>
<p>Before you get going with Bombono, make sure you use the <em>Project</em> menu and select <em>Preferences</em>, you&#8217;ll want to choose <a href="http://en.wikipedia.org/wiki/Ntsc">NTSC</a> or <a href="http://en.wikipedia.org/wiki/Pal">PAL</a> as appropriate and choose how many cores for it to use.</p>
<p>The size estimation is terrible, a 4.4GB estimate (with warning it wouldn&#8217;t fit) resulted in 3.3GB iso. This is a bit frustrating if you&#8217;re trying to maximize the quality of a full length movie on a single layer DVD (then again, if you&#8217;re burning a 2hr movie to a single layer DVD you&#8217;ve already made a number of compromises). There is an option to create dual layer DVDs, but I didn&#8217;t try this out. It appears to create <a href="http://en.wikipedia.org/wiki/16:9">16:9</a> <a href="http://www.thedigitalbits.com/articles/anamorphic/">animorphic DVDs</a> just fine, but either mixed <a href="http://en.wikipedia.org/wiki/4:3#4:3_standard">4:3</a> content (or possibly 4:3 content in general) ends up stretched.</p>
<p>I&#8217;ll include a reference to the <a href="http://forum.bombono.org/">forum</a>, but it does seem fairly quiet there.</p>
]]></content:encoded>
			<wfw:commentRss>http://lowtek.ca/roo/2012/creating-dvd-videos-with-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

