<?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>CraigLayne.com</title>
	<atom:link href="http://craiglayne.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://craiglayne.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 11 May 2012 18:03:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Increasing performance and range of the Asus RT-N16</title>
		<link>http://craiglayne.com/increasing-performance-and-range-of-the-asus-rt-n16/</link>
		<comments>http://craiglayne.com/increasing-performance-and-range-of-the-asus-rt-n16/#comments</comments>
		<pubDate>Fri, 11 May 2012 18:03:17 +0000</pubDate>
		<dc:creator>Craig Layne</dc:creator>
				<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://craiglayne.com/?p=195</guid>
		<description><![CDATA[Since I upgraded to the Asus RT-N16 in November of 2011 I have been very happy. However, I was somewhat disappointed in the range of this router. While it was adequate, and I never lost signal on my property, it &#8230; <a href="http://craiglayne.com/increasing-performance-and-range-of-the-asus-rt-n16/">Continued</a>]]></description>
			<content:encoded><![CDATA[<p>Since I upgraded to the Asus RT-N16 in November of 2011 I have been very happy. However, I was somewhat disappointed in the range of this router. While it was adequate, and I never lost signal on my property, it would start to fade once I started moving away from my house.</p>
<p>Now that I have been using the router for a while I have decided to make a list of what I have done to make it even better.</p>
<p><strong>Install Tomato USB.</strong></p>
<p>I am not going to go into great detail about this, but after playing with the stock firmware, and DD-WRT, I decided that Tomato was where it was at. More feature filled than the stock firmware, and more stable than DD-WRT. Also, all of the features work out of the box (unlike port forwarding which seems to be broken with any recent DD-WRT build on this router.</p>
<p>To install Tomato USB you can follow this guide to install it with the Asus upgrade utility: <a href="http://tomatousb.org/tut:installing-on-asus-rt-n16">http://tomatousb.org/tut:installing-on-asus-rt-n16</a></p>
<p>However, if you are on a linux box (like me). You can follow the guide here (<a href="http://www.dd-wrt.com/wiki/index.php/Asus_RT-N16#Installation_Instructions">http://www.dd-wrt.com/wiki/index.php/Asus_RT-N16#Installation_Instructions</a>) to install DD-WRT, and then use DD-WRTs update utility to transition to tomato.</p>
<p><strong>Increase WiFi Range!</strong></p>
<p>This was my biggest gripe with the router, so I had to do something about it. First off you should try and position the router in a central location, with all three antennas pointed straight up. Originally I had mine positioned on its side, with the antennas horizontal to the ground. After moving it so that they were vertical, things greatly improved.</p>
<p>The second option is purchasing higher gain antennas. This is where I saw my largest gain. I installed 3, 9dBi antennas from monoprice (<a href="http://www.monoprice.com/products/product.asp?c_id=105&amp;cp_id=10521&amp;cs_id=1052105&amp;p_id=8748&amp;seq=1&amp;format=2">http://www.monoprice.com/products/product.asp?c_id=105&amp;cp_id=10521&amp;cs_id=1052105&amp;p_id=8748&amp;seq=1&amp;format=2</a>). They are much larger than the stock antennas, are not white, but they get the job done.</p>
<p>Lastly, turn up the power! There is a lot of debate on this topic as to what is safe and what is not, so here;s the deal. I run at 60mW according to the tomato settings. I have ran this way for the life of the router. It still works just like the day I bought it. I consider this a safe level. Just play with it a bit and see what works best for you. Here is some reading on the topic (<a href="http://www.linksysinfo.org/index.php?threads/asus-rt-n16-transmit-power.33078/">http://www.linksysinfo.org/index.php?threads/asus-rt-n16-transmit-power.33078/</a>)</p>
<p><strong>Overclock that Sumbitch!</strong></p>
<p>That&#8217;s right, overclocking isn&#8217;t just for pc&#8217;s anymore! I use my router to run several optware packages, and the added boost from overclocking the chip was very beneficial. I already hear whining from people who are going to claim that this is destructive, and how wrong I am. Well guess what? 1. I dont care, and 2. it works just fine. I have no heat issues, and no software issues. Just smooth performance.</p>
<p>We aren&#8217;t setting records here, just a slight clock change.</p>
<p>I run CPU 532 MHz and Ram 266. (<a href="http://tomatousb.org/tut:over-clocking-asus-rt-n16">This is from the Tomato wiki</a>)</p>
<p>(In tomato) Execute the following in Tools &gt; System</p>
<pre>nvram set clkfreq=532,266,133
nvram commit
reboot</pre>
<p>Some report issues with this setting, and some actually report better stability underclocked. For me though, these settings work perfectly.</p>
<p><strong>Future Upgrades</strong></p>
<p>I honestly don&#8217;t know what else I want going further. Some add heatsinks, but I feel that this is very unnecessary. I&#8217;ve considered adding POE ports to run a switch or 2, but not sure I would use it. Anyone have any requests?</p>
]]></content:encoded>
			<wfw:commentRss>http://craiglayne.com/increasing-performance-and-range-of-the-asus-rt-n16/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Power Point: Create slides from a folder of images automatically</title>
		<link>http://craiglayne.com/power-point-create-slides-from-a-folder-of-images-automatically/</link>
		<comments>http://craiglayne.com/power-point-create-slides-from-a-folder-of-images-automatically/#comments</comments>
		<pubDate>Thu, 10 May 2012 01:27:39 +0000</pubDate>
		<dc:creator>Craig Layne</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://craiglayne.com/?p=192</guid>
		<description><![CDATA[The other day I was given the daunting task of creating a few power point presentations at work. Using power point is something I haven&#8217;t done since 2007 and it really took me a while to get going. The particular &#8230; <a href="http://craiglayne.com/power-point-create-slides-from-a-folder-of-images-automatically/">Continued</a>]]></description>
			<content:encoded><![CDATA[<p>The other day I was given the daunting task of creating a few power point presentations at work. Using power point is something I haven&#8217;t done since 2007 and it really took me a while to get going.</p>
<p>The particular presentation I was creating was very image intensive. In-fact, every slide aside from the title slide, was based around a different image. I started creating a slide, adding the picture, and repeating. This got old fast, and was going to take a ton of time.</p>
<p>After creating the first presentation, I decided there had to be a better way. So I did what every man hates to do, and read the user guide. Apparently it is really simple to do.</p>
<p><strong>Here&#8217;s how:</strong></p>
<ol>
<li>Create a new slideshow</li>
<li>Select &#8220;Insert&#8221; in the top menu bar.</li>
<li>Once the insert menu is selected, highlight &#8220;Pictures&#8221; the select &#8220;New Photo Album&#8221;</li>
<li>You will see a lot of stuff in this menu, but we are concerned with one thing, selecting our pictures. So now select &#8220;Select from file/disc&#8221;</li>
<li>Select the images and then click &#8220;Create&#8221;</li>
<li>Enjoy your newly completed slideshow!</li>
</ol>
<p>It sounds more complicated than it is, but this will hopefully save somebody a lot of time.</p>
]]></content:encoded>
			<wfw:commentRss>http://craiglayne.com/power-point-create-slides-from-a-folder-of-images-automatically/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress running slow? Check your post tags!</title>
		<link>http://craiglayne.com/wordpress-running-slow-check-your-post-tags/</link>
		<comments>http://craiglayne.com/wordpress-running-slow-check-your-post-tags/#comments</comments>
		<pubDate>Sun, 01 Apr 2012 22:44:16 +0000</pubDate>
		<dc:creator>Craig Layne</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://craiglayne.com/?p=189</guid>
		<description><![CDATA[Over the past few years I have become very versed in optimizing WordPress for speed. Most generally I can get just about any WordPress site to load in under one second. Recently I was working for a client that had &#8230; <a href="http://craiglayne.com/wordpress-running-slow-check-your-post-tags/">Continued</a>]]></description>
			<content:encoded><![CDATA[<p>Over the past few years I have become very versed in optimizing WordPress for speed. Most generally I can get just about any WordPress site to load in under one second.</p>
<p>Recently I was working for a client that had a site that was just dragging. We tried everything, disabling plugins, caching, I optimized all of the theme files, used a cdn, re-installed wordpress, hell we even tried a new host and dns server. While everything done had helped, we were still running over 10 seconds to load the home page! This was absolutely UN-acceptable.</p>
<p><strong>The culprit: Post tags.</strong></p>
<p>At some point in time it appears that someone used some sort of auto-tagging software to tag post. This particular site had over 6k tags. Once I removed all of the tags with 0, or 1 post associated we were left with about 2k, and the load times significantly decreased to less than 5 seconds.</p>
<p>The owner is still working to clean out the old tags, but I am convinced this will put them right back where they need to be performance wise.</p>
<p>Just another reason to not overuse tags.</p>
]]></content:encoded>
			<wfw:commentRss>http://craiglayne.com/wordpress-running-slow-check-your-post-tags/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[PSA] Don&#8217;t Judge Cell Service by the Number of Bars You have.</title>
		<link>http://craiglayne.com/psa-dont-judge-cell-service-by-the-number-of-bars-you-have/</link>
		<comments>http://craiglayne.com/psa-dont-judge-cell-service-by-the-number-of-bars-you-have/#comments</comments>
		<pubDate>Sun, 26 Feb 2012 03:32:51 +0000</pubDate>
		<dc:creator>Craig Layne</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://craiglayne.com/?p=178</guid>
		<description><![CDATA[For some time now I have noticed people complain that Phone a gets better service than Phone B. One would expect the user was having dropped calls, poor quality, or no Internet connectivity which leads them to believe that they &#8230; <a href="http://craiglayne.com/psa-dont-judge-cell-service-by-the-number-of-bars-you-have/">Continued</a>]]></description>
			<content:encoded><![CDATA[<p>For some time now I have noticed people complain that Phone a gets better service than Phone B. One would expect the user was having dropped calls, poor quality, or no Internet connectivity which leads them to believe that they suffer from poor reception. However, this is not the case at all, phone a apparently is reporting 1 less bar than phone b.</p>
<p>This wouldn&#8217;t be a problem, except for the fact that not every device is created equal. 3 bars on one device could easily translate to 5 bars on another. Just as 1 bar, could equal no service.</p>
<p>The reason for this is that not every manufacture shares the same standards for the bar system. In-fact, some aren&#8217;t even consistent across their own devices.</p>
<p><strong>Example:</strong></p>
<p><strong></strong>At this moment, I have a Samsung Droid Charge (set to CDMA only), and a Motorola Droid sitting side by side.</p>
<p>The Droid Charge is reporting 3 bars.</p>
<p>The Droid, only 1.</p>
<p>Given this one would think that the Charge get&#8217;s better reception than the Droid. Right? Wrong!</p>
<p>Let&#8217;s dig deeper into the issue.</p>
<p>The Droid Charge is reporting that it is connected to the Verizon, CDMA &#8211; EvDo rev 0. network, and the signal strength is -92dBm. 3 Bars.</p>
<p>On the other hand, the Droid is reporting that it is connected to the Verizon, CDMA &#8211; EvDo rev 0. network, and the signal strength is -89dBm. 1 Bar.</p>
<p>Guess what? The Droid (With one bar) is receiving a slightly better signal than the Charge (lower dBm=better signal).</p>
<p>Not what we were expecting huh?</p>
<p><strong>A Solution:</strong></p>
<p>So how do we solve this problem? Quit paying attention to &#8220;the bars.&#8221; Bars mean absolutely nothing. While not everyone is enough of a techie to check their true, scientific signal strength, I would encourage everyone to use a more accurate way to test the signal strength. Make some calls, browse the web. Let a true world test decide, not just the bars.</p>
]]></content:encoded>
			<wfw:commentRss>http://craiglayne.com/psa-dont-judge-cell-service-by-the-number-of-bars-you-have/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Mint enable two-finger scrolling (multitouch)</title>
		<link>http://craiglayne.com/linux-mint-enable-two-finger-scrolling-multitouch/</link>
		<comments>http://craiglayne.com/linux-mint-enable-two-finger-scrolling-multitouch/#comments</comments>
		<pubDate>Wed, 22 Feb 2012 03:15:22 +0000</pubDate>
		<dc:creator>Craig Layne</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://craiglayne.com/?p=175</guid>
		<description><![CDATA[My one gripe with my laptop and pretty much any linux distro is the fact that I lost 2-finger scrolling. Finally, with little searching I have found a solution: Install gpointing-device-settings sudo apt-get install gpointing-device-settings Run gpointing-device-settings Select the &#8220;Scrolling&#8221; &#8230; <a href="http://craiglayne.com/linux-mint-enable-two-finger-scrolling-multitouch/">Continued</a>]]></description>
			<content:encoded><![CDATA[<p>My one gripe with my laptop and pretty much any linux distro is the fact that I lost 2-finger scrolling.</p>
<p>Finally, with little searching I have found a solution:</p>
<ol>
<li>Install gpointing-device-settings<br />
<code>sudo apt-get install gpointing-device-settings</code></li>
<li>Run <code>gpointing-device-settings</code></li>
<li>Select the &#8220;Scrolling&#8221; tab.</li>
<li>Check all that applay</li>
</ol>
<p>Enjoy your new 2-Finger Scrolling</p>
]]></content:encoded>
			<wfw:commentRss>http://craiglayne.com/linux-mint-enable-two-finger-scrolling-multitouch/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Verizon MiFi open NAT for XBOX Live with DD-WRT</title>
		<link>http://craiglayne.com/verizon-mifi-open-nat-for-xbox-live-with-dd-wrt/</link>
		<comments>http://craiglayne.com/verizon-mifi-open-nat-for-xbox-live-with-dd-wrt/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 22:03:14 +0000</pubDate>
		<dc:creator>Craig Layne</dc:creator>
				<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://craiglayne.com/?p=163</guid>
		<description><![CDATA[Recently a friend of mine purchased a Verizon Novatel MiFi 2200. This was his only option for home broadband, and for playing XBOX Live. The MiFi has built in port forwarding options for common tasks, but does not allow custom &#8230; <a href="http://craiglayne.com/verizon-mifi-open-nat-for-xbox-live-with-dd-wrt/">Continued</a>]]></description>
			<content:encoded><![CDATA[<p>Recently a friend of mine purchased a Verizon Novatel MiFi 2200. This was his only option for home broadband, and for playing XBOX Live.</p>
<p>The MiFi has built in port forwarding options for common tasks, but does not allow custom ports or applications to be added. There was no option for XBOX Live, and no amount of tweaking allowed the XBOX to connect properly. You could play just fine, but partying up was impossible.</p>
<p>After I thought all hope was lost I read that some users had had success with a device called a CradlePoint. The device was rather pricey, and just not an option for something that wasn&#8217;t a sure thing.</p>
<p>After thinking about it off and on for about a month I came to the conclusion that the CradlePoint had to be using the MiFi as a USB modem, a feature that is easily accomplished with DD-WRT. So I grabbed an old router (with a USB port), flashed DD-WRT, set everything up an violla! It worked! Yes, there are some latency issues, but the result is a very playable XBOX live experience.</p>
<p>Now, onto the important part, how to do it.</p>
<p><strong>Required materials:</strong></p>
<ul>
<li>Verizon MiFi (this will work with other carriers MiFi devices, you will just need to change the connection settings)</li>
<li>A USB cable to plug the MiFi into the router (the one that came with the MiFi is just fine)</li>
<li>A router supported by DD-WRT with at least 1 USB port. (I used a Buffalo <a title="Permalink to Un-Bricking the WZR-HP-G300NH router" href="../blog/2011/09/16/un-bricking-the-wzr-hp-g300nh-router/" rel="bookmark">WZR-HP-G300NH router</a>)</li>
</ul>
<p><strong>The Setup:</strong></p>
<ol>
<li>Connect to the MiFi and go to the settings panel (192.168.1.1 in a browser default password is admin)</li>
<li>Go to Advanced -&gt; Diagnostics -&gt; System Information</li>
<li>Write down the MDN number. You are now done with the MiFi</li>
<li>Flash DD-WRT onto the router</li>
<li>On the DD-WRT router, navigate to 192.168.1.1</li>
<li>Select the services tab, then USB</li>
<li>Enable at least the first three items. (Newer versions will just be the first item, basically anything related to enabling USB support and not mass storage ect.)</li>
<li>Go back to the set-up page</li>
<li>Select &#8220;3G / UMTS&#8221; for Connection type under the WAN connection</li>
<li>Dial number is #777</li>
<li>Your username is &lt;MDN&gt;@vzw3g.com (replace &lt;MDN&gt; with the number you found in step 1)</li>
<li>Password is vzw</li>
<li>Leave APN and PIN blank.</li>
<li>Save settings</li>
<li>Apply settings</li>
<li>Reboot the router</li>
<li>Plug the MiFi into the router with the usb cord.</li>
<li>Enjoy a nice XBOX Live experience <img src='http://craiglayne.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ol>
<p><em><strong> NOTE:</strong></em></p>
<p>If you still can&#8217;t get open NAT enable uPnP or forward the necessary ports.</p>
<p><strong>Conclusion:</strong></p>
<p>Ideally a usb modem paired with the same router set-up would have been much better than the MiFi. However, if you are stuck with a MiFi, it works, and that&#8217;s all that matters.</p>
]]></content:encoded>
			<wfw:commentRss>http://craiglayne.com/verizon-mifi-open-nat-for-xbox-live-with-dd-wrt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress PHP memory usage &#8211; a proposal</title>
		<link>http://craiglayne.com/wordpress-php-memory-usage-a-proposal/</link>
		<comments>http://craiglayne.com/wordpress-php-memory-usage-a-proposal/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 22:12:39 +0000</pubDate>
		<dc:creator>Craig Layne</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://craiglayne.com/?p=156</guid>
		<description><![CDATA[Recently I switched hosts and upon transferring my sites quickly noticed that I was having some PHP: out of memory errors. I only use the bare minimum plugins and have all of my themes optimized to limit PHP usage. I &#8230; <a href="http://craiglayne.com/wordpress-php-memory-usage-a-proposal/">Continued</a>]]></description>
			<content:encoded><![CDATA[<p>Recently I switched hosts and upon transferring my sites quickly noticed that I was having some PHP: out of memory errors.</p>
<p>I only use the bare minimum plugins and have all of my themes optimized to limit PHP usage. I don&#8217;t use widgets, and if it can be hard coded using plain html, it is.</p>
<p>But still, I was out of memory. After some research I found that most of my issues were occurring in the admin panel, and not the main site. While this was a relief, this did leave me with limited admin functionality.</p>
<p>I was able to correct the issue by increasing my php memory limit from 32mb to 64mb, but I hardly feel this is a solution.</p>
<p>Why is wordpress using so much memory? This is a question that I feel needs investigated.</p>
<p>A Solution: Allow users to put together a custom wordpress install, just enabling features that are needed for that particular blog.</p>
<p>I do not need al of the feeds on the admin homepage, I do not need template editors, I do not need widgets, I do not need trackbacks or pingbacks, I do not need a plugin editor&#8230;. The list goes on.</p>
<p>So why not allow advanced users the option to install what would essentially a vanilla version of wordpress? Sure, I could make these changes now, but it makes updating a pain because everything would have to be re-applied.</p>
<p>For now this is just something to think about, but if you have any input as to how I am wrong (as I&#8217;m sure I am) feel free to leave a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://craiglayne.com/wordpress-php-memory-usage-a-proposal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updated: Asus RT-N16, initial thoughts</title>
		<link>http://craiglayne.com/asus-rt-n16-initial-thoughts/</link>
		<comments>http://craiglayne.com/asus-rt-n16-initial-thoughts/#comments</comments>
		<pubDate>Sun, 20 Nov 2011 17:29:14 +0000</pubDate>
		<dc:creator>Craig Layne</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://craiglayne.com/?p=149</guid>
		<description><![CDATA[UPDATE: After testing several builds of DD-WRT I was unable to get port forwarding working. While uPNP did the job, it just wasn&#8217;t what I wanted. After fighting with DD-WRT I flashed Tomato. Tomato has been running stable ever since. &#8230; <a href="http://craiglayne.com/asus-rt-n16-initial-thoughts/">Continued</a>]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE:</strong></p>
<p>After testing several builds of DD-WRT I was unable to get port forwarding working. While uPNP did the job, it just wasn&#8217;t what I wanted. After fighting with DD-WRT I flashed Tomato. Tomato has been running stable ever since. I have yet to encounter a single issue. I highly recommend Tomato for this router.</p>
<p><strong>UPDATE #2:</strong></p>
<p>The Asus RT-N16 doesn&#8217;t run nearly as hot as I originally thought. Once flashing Tomato, I actually overclocked it a small bit, and cranked up my RX/TX power. Now, even under load, it just gets warm. Nothing to be concerned about.</p>
<p>After all of the troubles with the Buffalo WZR-HP-G300NH, I decided it was time to upgrade. After a bit of research, I decided on the Asus RT-N16.</p>
<p><span style="text-decoration: underline;"><strong>Pros:</strong></span></p>
<ul>
<li><strong>Detachable, external antennas (x3).</strong> This is a major upgrade over the non-detachable  external antenna (x2) and internal antenna (x1) of the WZR-HP-G300NH. This should allow me to mount the router just about anywhere and still have the antennas in a prime location.</li>
<li><strong>Very powerful.</strong> Both CPU and Wifi</li>
<li><strong>Actively supported</strong> by DD-WRT, Tomato, and others.</li>
<li><strong>Wireless N Draft</strong>, and gigabit, since I use a NAS to transfer very large files this is a great feature. I could have gotten away with a cheap gigabit switch, but this is a nice feature.</li>
<li>And, it just looks cool. Let&#8217;s be honest, there is always that cool factor.</li>
</ul>
<p><span style="text-decoration: underline;"><strong>Cons:</strong></span></p>
<ul>
<li><strong>Runs Hot.</strong> I have noticed that the router runs very hot, even under minimal load. I have yet to really put this thing to work, and had originally intended to mount it in an enclosure. But with the heat, this just wont be an option.</li>
</ul>
<p><strong>DD-WRT</strong></p>
<p>It was extremely easy to upgrade the router to DD-WRT following the steps on the DD-WRT wiki. I flashed the mega build and while it is a step up over the stock firmware, it still has it&#8217;s flaws. Most specifically port forwarding is not working.  This resulted in having to run UPnP which I normally do not like to do.</p>
<p>Supposedly the brainslayer or eko builds perform better, and may well have the port forwarding issue fixed, I have just yet to try them.</p>
<p>Flashing DD-WRT: <a href="http://dd-wrt.ca/wiki/index.php/Asus_RT-N16#Installation_:">http://dd-wrt.ca/wiki/index.php/Asus_RT-N16#Installation_:</a></p>
<p><strong>Tomato</strong></p>
<p><del>The general consensus is that TomatoUSB runs better, and is more featured than DD-WRT on this router. But I have yet to use Tomato on any router. I will be testing it to see which runs better.</del></p>
<p>Now that I have had the router a while, I have found that TomatoUSB is the only way to go. Virtually no bugs, and everything works as expected. Also very featured filled. The only downfall is that you must use Windows to make the initial flash.</p>
<p>Flashing TomatoUSB: <a href="http://tomatousb.org/tut:installing-on-asus-rt-n16">http://tomatousb.org/tut:installing-on-asus-rt-n16</a></p>
<p><strong>To-Do: </strong></p>
<ul>
<li>Test other builds of DD-WRT</li>
<li>Test TomatoUSB</li>
<li>Add some sort of cooling system to allow for more output power (heatsinks and fans)</li>
<li>Add higher gain antennas (possibly remotely)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://craiglayne.com/asus-rt-n16-initial-thoughts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Set-up Ubuntu to edit Android APK&#8217;s (Apps) using Apk Manager</title>
		<link>http://craiglayne.com/set-up-ubuntu-to-edit-android-apks-apps-using-apk-manager/</link>
		<comments>http://craiglayne.com/set-up-ubuntu-to-edit-android-apks-apps-using-apk-manager/#comments</comments>
		<pubDate>Sun, 02 Oct 2011 00:26:07 +0000</pubDate>
		<dc:creator>Craig Layne</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://craiglayne.com/?p=141</guid>
		<description><![CDATA[Adding the ability to edit Android apps (apk&#8217;s) in Ubuntu is fairly easy, but lacks documentation. The following steps are what worked for me on my system, but please continue at your own risk. Since every system is different, I &#8230; <a href="http://craiglayne.com/set-up-ubuntu-to-edit-android-apks-apps-using-apk-manager/">Continued</a>]]></description>
			<content:encoded><![CDATA[<p>Adding the ability to edit Android apps (apk&#8217;s) in Ubuntu is fairly easy, but lacks documentation. The following steps are what worked for me on my system, but please continue at your own risk. Since every system is different, I can&#8217;t guarantee that this will work for you, but it should serve as a good basis.</p>
<p><strong>Things you will need:</strong></p>
<ul>
<li>A computer running Ubuntu (any recent build should work)</li>
<li><a href="http://developer.android.com/sdk/index.html">Android Developer SDK</a> (and dependencies)</li>
<li><a href="http://forum.xda-developers.com/showthread.php?t=695701">APK Manager</a> (and dependencies)</li>
</ul>
<p><strong>Setting up the Android SDK:</strong></p>
<p>To start with we will set up the Android SDK as APK manager relies on it.</p>
<p>First download the Android-SDK for linux from <a href="http://developer.android.com/sdk/index.html">here</a>. Once downloaded extract it somewhere to your system (I chose my user folder for ease of access).</p>
<p>If you don&#8217;t have Java JDK installed you will need to do so by running the following:</p>
<p><code>sudo apt-get install sun-java6-jdk</code></p>
<p>Once this is done you will need to install the Andoid SDK addon &#8220;Platform-tools&#8221; as APK manager relies on it to function.</p>
<p>To do so navigate to the following path (be sure and replace with the actually path you extracted to):</p>
<p><code>/<em>path-to-extracted-android-sdk</em>/tools/</code></p>
<p>Once here, locate the file called &#8220;android.&#8221; Double click it and select run.</p>
<p>After the graphical interface is loaded, select &#8220;Available Packages&#8221; in the right hand column. This will open up a list of package Repos in the center column. Expand the &#8220;Android Repository&#8221; and place a check by &#8220;platform-tools.&#8221; Now click install selected and let it do it&#8217;s magic.</p>
<p>The SDK (with platform tools) is now set-up and ready to use.</p>
<p><strong>Adding the Android SDK to your path</strong></p>
<p>At this point you have the Android SDK and Platform-Tools installed. This means that you can use them, but only within the directory where they exist. This is very inconvenient, so we are going to make them accessible anywhere by running the following commands (be sure and replace with the actually path you extracted to):</p>
<p>First we need to edit the .profile file:<br />
<code>gedit ~/.profile</code></p>
<p>Once opened, add the following to the very end:</p>
<pre>export PATH=${PATH}:~/android-sdk-linux_x86/tools
export PATH=${PATH}:~/android-sdk-linux_x86/platform-tools</pre>
<p>Save and exit and run the following back in the terminal:</p>
<p><code>export PATH=$PATH{}:/home/user/android-sdk-linux_x86/tools:/home/user/android-sdk-linux_x86/platform-tools</code></p>
<p><strong>Installing APK Manager dependencies:</strong></p>
<p>APK manager requires a few packages to run. Every system will be different, but my system was lacking optiping and 7zip. To install them run the following:</p>
<p><code>sudo apt-get install optiping p7zip-full sox</code></p>
<p>If you are on a 64bit system you may also need the following:</p>
<p><code>sudo apt-get install ia32-libs</code></p>
<p><strong>Installing APK Manager</strong></p>
<p>Finally, after all the prep work we are ready to install APK Manager.</p>
<p>First download the package from <a href="http://forum.xda-developers.com/showthread.php?t=695701">here</a>.</p>
<p>Next, extract it somewhere on your system. (again, I chose my user folder)</p>
<p>Now open the terminal and navigate to the extracted APK manager and set the permissions of all the files in the folders to 755.</p>
<p>Example (in terminal):</p>
<p><code>chmod -R 755 /home/user/apkmanager</code></p>
<p>To finish up the installation you will want to run APK Manager. This first run will create the necessary folders to place your APK to be edited ect.</p>
<p>Run APK Manager by executing Script.sh inside the APK manager directory.</p>
<p><code>cd /home/user/apkmanager</code><br />
<code>./Script.sh</code></p>
<p><strong>All finished</strong></p>
<p>Assuming all went well you should now be all set-up, and ready to start using APK Manager to edit your APKs.</p>
]]></content:encoded>
			<wfw:commentRss>http://craiglayne.com/set-up-ubuntu-to-edit-android-apks-apps-using-apk-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Un-Bricking the WZR-HP-G300NH router</title>
		<link>http://craiglayne.com/un-bricking-the-wzr-hp-g300nh-router/</link>
		<comments>http://craiglayne.com/un-bricking-the-wzr-hp-g300nh-router/#comments</comments>
		<pubDate>Sat, 17 Sep 2011 01:10:11 +0000</pubDate>
		<dc:creator>Craig Layne</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://craiglayne.com/?p=132</guid>
		<description><![CDATA[A while back I completely bricked my Buffalo WZR-HP G300NH router. I was trying to flash Open-WRT from DD-WRT in an effort to fix an issue with Wifi constantly dropping. Needless to say, something went wrong and I would up &#8230; <a href="http://craiglayne.com/un-bricking-the-wzr-hp-g300nh-router/">Continued</a>]]></description>
			<content:encoded><![CDATA[<p>A while back I completely bricked my Buffalo WZR-HP G300NH router. I was trying to flash Open-WRT from DD-WRT in an effort to fix an issue with Wifi constantly dropping. Needless to say, something went wrong and I would up with a virtually lifeless router.</p>
<p>I tried following the guide found <a href="http://g300nh.blogspot.com/2010/06/firmware-flash-and-brick-recovery.html">here</a>, but after many failed attempts I was frustrated and quit.</p>
<p>Now, I can proudly say that said router has now been successfully un-bricked!</p>
<p>These are the steps I took using Ubuntu Linux:</p>
<ol>
<li>Download the stock firmware from Buffalo&#8217;s website found <a href="http://www.buffalotech.com/support/downloads/">here</a>.</li>
<li>After downloading the .zip file extract the actual flash file to your Desktop. The version I downloaded was called &#8220;wzrhpg300nh-pro-v24sp2-14998.&#8221; The file name you get may vary, but the important part is that the file you have has no extension.</li>
<li>Now open a terminal session and run the following commands:</li>
</ol>
<blockquote>
<div>sudo apt-get update<br />
sudo apt-get install tftp-hpa</div>
<div>sudo /etc/init.d/networking stop<br />
sudo ifconfig eth0 192.168.11.2</div>
<div>sudo ifconfig eth0 netmask 255.255.255.0</div>
<div>sudo arp -s 192.168.11.1 02:AA:BB:CC:DD:1A</div>
<div>cd /home/user/Desktop</div>
</blockquote>
<ol start="4">
<li>Now get your router ready to receive the file. Plug an Ethernet cable into your computer and into the LAN 1 port on the router. DO NOT PLUG THE ROUTER INTO A WALL OUTLET YET</li>
<li>Now back in the terminal do the following.</li>
</ol>
<blockquote>
<div>tftp 192.168.11.1<br />
verbose<br />
binary<br />
trace<br />
rexmt 1<br />
timeout 60<br />
put wzrhpg300nh-pro-v24sp2-14998 &lt;–replace with the name of the file you downloaded</div>
</blockquote>
<div>
<ol start="6">
<li>At this point your computer will keep attempting to send the firmware file to the router. Now QUICKLY plug your router&#8217;s power cord in.</li>
<li>After about 10 seconds you should see the file start to transfer.</li>
<li>After the transfer is complete the router will reboot, when the Wifi light comes on, the process is complete.</li>
<li>Turn networking back on by running the following in the terminal:</li>
</ol>
<blockquote>
<div>sudo service networking start</div>
</blockquote>
<ol start="10">
<li>If all went well, you should be able to log into your router by navigating to http://192.168.11.1/</li>
</ol>
<div>TIPS:</div>
<div>
<ul>
<li>Do not replace the MAC address with your own, use 02:AA:BB:CC:DD:1A. Trust me, it works.</li>
<li>After running &#8220;sudo /etc/init.d/networking stop&#8221; you see &#8220;Ignoring wlan0&#8243; run this command.</li>
</ul>
<blockquote>
<div>sudo ifconfig wlan0 down</div>
</blockquote>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://craiglayne.com/un-bricking-the-wzr-hp-g300nh-router/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

