<?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>Lockstockmods &#187; Linux</title>
	<atom:link href="http://www.lockstockmods.net/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lockstockmods.net</link>
	<description>If its not broken... take it apart and mod it</description>
	<lastBuildDate>Sun, 04 Jul 2010 16:59:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>unRAID with SABnzbd+ and Sickbeard</title>
		<link>http://www.lockstockmods.net/2010/06/03/unraid-with-sabnzbd-and-sickbeard/</link>
		<comments>http://www.lockstockmods.net/2010/06/03/unraid-with-sabnzbd-and-sickbeard/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 06:58:12 +0000</pubDate>
		<dc:creator>Kode</dc:creator>
				<category><![CDATA[HTPC]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[NAS]]></category>
		<category><![CDATA[sabnzbd]]></category>
		<category><![CDATA[sick beard]]></category>
		<category><![CDATA[Sickbeard]]></category>
		<category><![CDATA[unraid]]></category>
		<category><![CDATA[unraid sabnzbd]]></category>
		<category><![CDATA[unraid sabnzbd sickbeard]]></category>
		<category><![CDATA[unraid sickbeard]]></category>

		<guid isPermaLink="false">http://www.lockstockmods.net/?p=153</guid>
		<description><![CDATA[This guide will lead you through a step by step process to install SABnzbd+ and Sickbeard on an Unraid Server.
<strong>SABnzbd+</strong> is an Open Source Binary Newsreader written in Python, it also verifies, repairs, and extracts downloaded nzb's.  <strong>Sickbeard</strong> is a usenet PVR.  It watches for new episodes of your favorite shows and when they are posted it downloads them, sorts and renames them, and optionally generates metadata for them.  <strong>Unraid</strong> is specialised home media server software that protects the integrity of your data.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sickbeard.com/"><img class="alignright size-full wp-image-187" style="clear:right; margin-bottom: 20px;" title="sickbeard" src="http://www.lockstockmods.net/wp-content/uploads/2010/06/sickbeard.jpg" alt="sickbeard" width="300" height="144" /></a><a href="http://sabnzbd.org/"><img class="alignright size-full wp-image-185" style="clear:right; margin-bottom: 20px;" title="sabnzbd" src="http://www.lockstockmods.net/wp-content/uploads/2010/06/sabnzbd.png" alt="sabnzbd" width="300" height="97" /></a><a href="http://www.lime-technology.com/"><img class="alignright size-full wp-image-186" style="clear:right;" title="unraid" src="http://www.lockstockmods.net/wp-content/uploads/2010/06/unraid.png" alt="unraid" width="300" height="95" /></a>
<div style="float:right; clear:right; margin-top:20px;"><!-- SWFObject embed by Geoff Stearns geoff@deconcept.com http://blog.deconcept.com/swfobject/ --><script type="text/javascript" src="http://www.lockstockmods.net/wp-content/plugins/wp-cumulus/swfobject.js"></script><div id="wpcumuluscontent6510889"><p><a href='http://www.lockstockmods.net/tag/ambx/' class='tag-link-35' title='1 topic' style='font-size: 8pt;'>amBX</a>
<a href='http://www.lockstockmods.net/tag/ambx-linux/' class='tag-link-38' title='1 topic' style='font-size: 8pt;'>amBX Linux</a>
<a href='http://www.lockstockmods.net/tag/boblight/' class='tag-link-40' title='1 topic' style='font-size: 8pt;'>boblight</a>
<a href='http://www.lockstockmods.net/tag/combustd/' class='tag-link-39' title='1 topic' style='font-size: 8pt;'>combustd</a>
<a href='http://www.lockstockmods.net/tag/dvd-box-template/' class='tag-link-45' title='1 topic' style='font-size: 8pt;'>DVD box template</a>
<a href='http://www.lockstockmods.net/tag/dvd-cover/' class='tag-link-42' title='1 topic' style='font-size: 8pt;'>DVD Cover</a>
<a href='http://www.lockstockmods.net/tag/dvd-template/' class='tag-link-43' title='1 topic' style='font-size: 8pt;'>DVD template</a>
<a href='http://www.lockstockmods.net/tag/install-windows-over-the-network/' class='tag-link-16' title='1 topic' style='font-size: 8pt;'>install windows over the network</a>
<a href='http://www.lockstockmods.net/tag/install-windows-over-the-network-with-no-cd-drive/' class='tag-link-17' title='1 topic' style='font-size: 8pt;'>install windows over the network with no CD drive</a>
<a href='http://www.lockstockmods.net/tag/install-windows-with-netboot/' class='tag-link-13' title='2 topics' style='font-size: 22pt;'>install windows with netboot</a>
<a href='http://www.lockstockmods.net/tag/install-windows-with-pxe/' class='tag-link-12' title='2 topics' style='font-size: 22pt;'>install windows with pxe</a>
<a href='http://www.lockstockmods.net/tag/netboot-windows/' class='tag-link-11' title='2 topics' style='font-size: 22pt;'>netboot windows</a>
<a href='http://www.lockstockmods.net/tag/network-boot-windows/' class='tag-link-15' title='2 topics' style='font-size: 22pt;'>network boot windows</a>
<a href='http://www.lockstockmods.net/tag/philips-ambx/' class='tag-link-36' title='1 topic' style='font-size: 8pt;'>Philips amBX</a>
<a href='http://www.lockstockmods.net/tag/pxe-install-windows/' class='tag-link-10' title='2 topics' style='font-size: 22pt;'>PXE install windows</a>
<a href='http://www.lockstockmods.net/tag/sabnzbd/' class='tag-link-29' title='1 topic' style='font-size: 8pt;'>sabnzbd</a>
<a href='http://www.lockstockmods.net/tag/secure-tunnel/' class='tag-link-23' title='1 topic' style='font-size: 8pt;'>Secure Tunnel</a>
<a href='http://www.lockstockmods.net/tag/secure-web-browsing/' class='tag-link-20' title='1 topic' style='font-size: 8pt;'>Secure web browsing</a>
<a href='http://www.lockstockmods.net/tag/sickbeard/' class='tag-link-26' title='1 topic' style='font-size: 8pt;'>Sickbeard</a>
<a href='http://www.lockstockmods.net/tag/sick-beard/' class='tag-link-27' title='1 topic' style='font-size: 8pt;'>sick beard</a>
<a href='http://www.lockstockmods.net/tag/ssh-putty-tunnel/' class='tag-link-21' title='1 topic' style='font-size: 8pt;'>SSH Putty Tunnel</a>
<a href='http://www.lockstockmods.net/tag/ssh-tunnel/' class='tag-link-19' title='1 topic' style='font-size: 8pt;'>SSH Tunnel</a>
<a href='http://www.lockstockmods.net/tag/thetvdb/' class='tag-link-41' title='1 topic' style='font-size: 8pt;'>TheTVDB</a>
<a href='http://www.lockstockmods.net/tag/tunnel-with-putty/' class='tag-link-22' title='1 topic' style='font-size: 8pt;'>Tunnel with Putty</a>
<a href='http://www.lockstockmods.net/tag/tv-season-art/' class='tag-link-46' title='1 topic' style='font-size: 8pt;'>TV Season art</a>
<a href='http://www.lockstockmods.net/tag/tv-season-template/' class='tag-link-47' title='1 topic' style='font-size: 8pt;'>TV Season template</a>
<a href='http://www.lockstockmods.net/tag/tv-template/' class='tag-link-44' title='1 topic' style='font-size: 8pt;'>TV Template</a>
<a href='http://www.lockstockmods.net/tag/unraid/' class='tag-link-28' title='1 topic' style='font-size: 8pt;'>unraid</a>
<a href='http://www.lockstockmods.net/tag/unraid-sabnzbd/' class='tag-link-30' title='1 topic' style='font-size: 8pt;'>unraid sabnzbd</a>
<a href='http://www.lockstockmods.net/tag/unraid-sabnzbd-sickbeard/' class='tag-link-32' title='1 topic' style='font-size: 8pt;'>unraid sabnzbd sickbeard</a>
<a href='http://www.lockstockmods.net/tag/unraid-sickbeard/' class='tag-link-31' title='1 topic' style='font-size: 8pt;'>unraid sickbeard</a>
<a href='http://www.lockstockmods.net/tag/windows-pxe-boot/' class='tag-link-14' title='2 topics' style='font-size: 22pt;'>windows pxe boot</a>
<a href='http://www.lockstockmods.net/tag/xbmc/' class='tag-link-33' title='1 topic' style='font-size: 8pt;'>XBMC</a>
<a href='http://www.lockstockmods.net/tag/xbmc-ambx/' class='tag-link-37' title='1 topic' style='font-size: 8pt;'>XBMC amBX</a>
<a href='http://www.lockstockmods.net/tag/xbmc-live/' class='tag-link-34' title='1 topic' style='font-size: 8pt;'>XBMC Live</a></p><p>WP Cumulus Flash tag cloud by <a href="http://www.roytanck.com">Roy Tanck</a> and <a href="http://lukemorton.co.uk/">Luke Morton</a> requires <a href="http://www.macromedia.com/go/getflashplayer">Flash Player</a> 9 or better.</p></div><script type="text/javascript">var so2089644 = new SWFObject("http://www.lockstockmods.net/wp-content/plugins/wp-cumulus/tagcloud.swf?r=3027892", "tagcloudflash", "300", "200", "9", "#333333");so2089644.addParam("allowScriptAccess", "always");so2089644.addVariable("tcolor", "0xffffff");so2089644.addVariable("tcolor2", "0xffffff");so2089644.addVariable("hicolor", "0xffffff");so2089644.addVariable("tspeed", "100");so2089644.addVariable("distr", "true");so2089644.addVariable("mode", "tags");so2089644.addVariable("tagcloud", "%3Ctags%3E%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Fambx%2F%27+class%3D%27tag-link-35%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3EamBX%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Fambx-linux%2F%27+class%3D%27tag-link-38%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3EamBX+Linux%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Fboblight%2F%27+class%3D%27tag-link-40%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3Eboblight%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Fcombustd%2F%27+class%3D%27tag-link-39%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3Ecombustd%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Fdvd-box-template%2F%27+class%3D%27tag-link-45%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3EDVD+box+template%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Fdvd-cover%2F%27+class%3D%27tag-link-42%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3EDVD+Cover%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Fdvd-template%2F%27+class%3D%27tag-link-43%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3EDVD+template%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Finstall-windows-over-the-network%2F%27+class%3D%27tag-link-16%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3Einstall+windows+over+the+network%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Finstall-windows-over-the-network-with-no-cd-drive%2F%27+class%3D%27tag-link-17%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3Einstall+windows+over+the+network+with+no+CD+drive%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Finstall-windows-with-netboot%2F%27+class%3D%27tag-link-13%27+title%3D%272+topics%27+style%3D%27font-size%3A+22pt%3B%27%3Einstall+windows+with+netboot%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Finstall-windows-with-pxe%2F%27+class%3D%27tag-link-12%27+title%3D%272+topics%27+style%3D%27font-size%3A+22pt%3B%27%3Einstall+windows+with+pxe%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Fnetboot-windows%2F%27+class%3D%27tag-link-11%27+title%3D%272+topics%27+style%3D%27font-size%3A+22pt%3B%27%3Enetboot+windows%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Fnetwork-boot-windows%2F%27+class%3D%27tag-link-15%27+title%3D%272+topics%27+style%3D%27font-size%3A+22pt%3B%27%3Enetwork+boot+windows%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Fphilips-ambx%2F%27+class%3D%27tag-link-36%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3EPhilips+amBX%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Fpxe-install-windows%2F%27+class%3D%27tag-link-10%27+title%3D%272+topics%27+style%3D%27font-size%3A+22pt%3B%27%3EPXE+install+windows%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Fsabnzbd%2F%27+class%3D%27tag-link-29%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3Esabnzbd%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Fsecure-tunnel%2F%27+class%3D%27tag-link-23%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3ESecure+Tunnel%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Fsecure-web-browsing%2F%27+class%3D%27tag-link-20%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3ESecure+web+browsing%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Fsickbeard%2F%27+class%3D%27tag-link-26%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3ESickbeard%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Fsick-beard%2F%27+class%3D%27tag-link-27%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3Esick+beard%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Fssh-putty-tunnel%2F%27+class%3D%27tag-link-21%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3ESSH+Putty+Tunnel%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Fssh-tunnel%2F%27+class%3D%27tag-link-19%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3ESSH+Tunnel%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Fthetvdb%2F%27+class%3D%27tag-link-41%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3ETheTVDB%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Ftunnel-with-putty%2F%27+class%3D%27tag-link-22%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3ETunnel+with+Putty%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Ftv-season-art%2F%27+class%3D%27tag-link-46%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3ETV+Season+art%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Ftv-season-template%2F%27+class%3D%27tag-link-47%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3ETV+Season+template%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Ftv-template%2F%27+class%3D%27tag-link-44%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3ETV+Template%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Funraid%2F%27+class%3D%27tag-link-28%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3Eunraid%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Funraid-sabnzbd%2F%27+class%3D%27tag-link-30%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3Eunraid+sabnzbd%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Funraid-sabnzbd-sickbeard%2F%27+class%3D%27tag-link-32%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3Eunraid+sabnzbd+sickbeard%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Funraid-sickbeard%2F%27+class%3D%27tag-link-31%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3Eunraid+sickbeard%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Fwindows-pxe-boot%2F%27+class%3D%27tag-link-14%27+title%3D%272+topics%27+style%3D%27font-size%3A+22pt%3B%27%3Ewindows+pxe+boot%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Fxbmc%2F%27+class%3D%27tag-link-33%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3EXBMC%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Fxbmc-ambx%2F%27+class%3D%27tag-link-37%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3EXBMC+amBX%3C%2Fa%3E%0A%3Ca+href%3D%27http%3A%2F%2Fwww.lockstockmods.net%2Ftag%2Fxbmc-live%2F%27+class%3D%27tag-link-34%27+title%3D%271+topic%27+style%3D%27font-size%3A+8pt%3B%27%3EXBMC+Live%3C%2Fa%3E%3C%2Ftags%3E");so2089644.write("wpcumuluscontent6510889");</script></div>
<p>I recently took the plunge and built my first unRAID server, it&#8217;s been running for a month now and i&#8217;ve been really happy with it.  This tutorial will attempt to help you set up SABnzbd+ and Sickbeard on your unRAID server and get you one step closer to using unRAID to consolidate the machines you need running.</p>
<p>This wouldn&#8217;t have been possible without the great guys on the <a href="http://lime-technology.com/forum/index.php?topic=2903.0">unRAID community forum, particularly Romir who created the AIO and Dependencies package</a>.</p>
<p>I have included for download the All In One package as well, but for the purpose of this guide i am using the dependencies package as it should allow you to upgrade your SABnzbd installation.</p>
<p>This guide assumes you have a cache drive, however, both AIO or dependencies setup should work without a cache drive, just change the paths.</p>
<p>Using a cache drive or manually mounted disk is a good idea because sickbeard does a lot of debugging at the moment and will hit the flash a lot if stored on there, also you don&#8217;t want downloads downloading onto the flash.</p>
<p>Alternatively instead of a cache drive or manually mounting another drive you could put everything onto the array, somthing like replacing /mnt/cache/.custom with /mnt/disk1/custom would probably work or you could create a user share.</p>
<p>If you can&#8217;t get the files from their official sources you can get them here:<br />
Note: There is a file embedded within this post, please visit this post to download the file.</p>
<h2>Change log</h2>
<p>2010-06-03 &#8211; Published initial draft<br />
2010-06-03 &#8211; Added loop in go script to allow /mnt/cache to mount<br />
2010-06-03 &#8211; Added instructions for updating sickbeard<br />
2010-06-03 &#8211; Added images/links to sickbeard, SABnzbd and unRAID<br />
2010-06-03 &#8211; Added screenshots<br />
2010-06-07 &#8211; Added automatic updater written by beckstown with modifications by mlrtime3 and me (Kode)<br />
2010-06-07 &#8211; Changed paths to use wildcards for sickbeard<br />
2010-06-07 &#8211; Added source for sickbeard-updater.sh for those who don&#8217;t want to download it just want to paste it into nano</p>
<h2>Set up</h2>
<p>Log into your unRAID server and type the following commands</p>
<pre><code>cd /mnt/cache
mkdir .custom
cd .custom
wget http://sourceforge.net/projects/sabnzbdplus/files/sabnzbdplus/sabnzbd-0.5.2/SABnzbd-0.5.2-src.tar.gz/download
wget http://github.com/midgetspy/Sick-Beard/tarball/master
ls
</code></pre>
<p>Your filenames might be different, just replace the filenames below with the filesnames you have</p>
<pre><code>tar zxf SABnzbd-0.5.2-src.tar.gz
tar zxf midgetspy-Sick-Beard*.tar.gz
rm SABnzbd-0.5.2-src.tar.gz
rm midgetspy-Sick-Beard*.tar.gz
mv midgetspy-Sick-Beard-* sickbeard
mv SABnzbd-0.5.2 sabnzbd
cd /boot/custom
wget http://www.bibliognome.com/unraid/SABnzbdDependencies-1.3-i486-unRAID.tgz
</code></pre>
<p>edit your go script and add the following, replacing 192.168.1.6 with whatever ip it runs on</p>
<pre><code># determine if cache drive online, retry upto 7 times
for i in 0 1 2 3 4 5 6 7
do
    if [ ! -d /mnt/cache ]
    then
      sleep 10
    fi
done

# If Cache drive is online, start SABNzbd
if [ -d /mnt/cache ]; then
  # Start SABnzbd and sickbeard
  installpkg /boot/custom/SABnzbdDependencies-1.3-i486-unRAID.tgz
  python /mnt/cache/.custom/sabnzbd/SABnzbd.py -d -s 192.168.1.6:88
  nohup python /mnt/cache/.custom/sickbeard/SickBeard.py &amp;
fi</code></pre>
<p>The for loop will pause installing SABnzbd and sickbeard for up to 70 seconds if the cache drive isn&#8217;t mounted yet, then, as suggested by Joe L. there is an if statement so if it goes over 70 seconds it wont try to install SABnzbd and sickbeard if the cache drive still isn&#8217;t mounted.</p>
<h2>SABnzbd+ 0.5.2</h2>
<p>You should be able to hit SABnzbd on http://tower:88/wizard if that doesnt work try typing python /mnt/cache/.custom/sabnzbd/SABnzbd.py -d -s 192.168.1.6:88 at the commandline</p>
<p>Complete the SABnzbd setup wizard</p>
<p>Go to Config/Folders<br />
<a href="http://www.lockstockmods.net/wp-content/uploads/2010/06/SABnzbd+-0.5.2-Folders.png" rel="lightbox[153]" title="SABnzbd+ 0.5.2 -Folders"><img src="http://www.lockstockmods.net/wp-content/uploads/2010/06/SABnzbd+-0.5.2-Folders-300x249.png" alt="" title="SABnzbd+ 0.5.2 -Folders" width="300" height="249" class="alignnone size-medium wp-image-203" /></a><br />
Change Completed Download Folder: to /mnt/cache this will mean that when the mover script runs it will move the completed download off the cache drive and into the appropriate locaton.  This wont affect TV downloads though because we will set up sickbeard to post process them.<br />
change Post-Processing Scripts Folder: to /mnt/cache/.custom/sickbeard/autoProcessTV then click save changes.</p>
<p>Go to config/categories<br />
<a href="http://www.lockstockmods.net/wp-content/uploads/2010/06/SABnzbd+-0.5.2-Categories.png" rel="lightbox[153]" title="SABnzbd+ 0.5.2 - Categories"><img src="http://www.lockstockmods.net/wp-content/uploads/2010/06/SABnzbd+-0.5.2-Categories-300x187.png" alt="" title="SABnzbd+ 0.5.2 - Categories" width="300" height="187" class="alignnone size-medium wp-image-204" /></a><br />
Select sabToSickBeard.py from the script dropdown in the TV row</p>
<h2>Sickbeard</h2>
<p>Sickbeard should be accessable from http://tower:8081<br />
In the unRAID terminal type</p>
<pre><code>mv /mnt/cache/.custom/sickbeard/autoProcessTV/autoProcessTV.cfg.sample /mnt/cache/.custom/sickbeard/autoProcessTV/autoProcessTV.cfg</code></pre>
<p>If you don&#8217;t chang the port, username (blank) or password (blank) in config/General you don&#8217;t need to edit this file.<br />
Go to Config/General<br />
<a href="http://www.lockstockmods.net/wp-content/uploads/2010/06/Sick-Beard-alpha-alpha2-Config-General.jpg" rel="lightbox[153]" title="Sick-Beard---alpha-alpha2---Config---General"><img src="http://www.lockstockmods.net/wp-content/uploads/2010/06/Sick-Beard-alpha-alpha2-Config-General-274x300.jpg" alt="" title="Sick-Beard---alpha-alpha2---Config---General" width="274" height="300" class="alignnone size-medium wp-image-195" /></a><br />
In the defaults section select your preffered quality and tick Use Season Folders, click save changes</p>
<p>Go to Config/Episode Downloads<br />
<a href="http://www.lockstockmods.net/wp-content/uploads/2010/06/Sick-Beard-alpha-alpha2-Config-Episode-Search.jpg" rel="lightbox[153]" title="Sick-Beard---alpha-alpha2---Config---Episode-Search"><img src="http://www.lockstockmods.net/wp-content/uploads/2010/06/Sick-Beard-alpha-alpha2-Config-Episode-Search-300x285.jpg" alt="" title="Sick-Beard---alpha-alpha2---Config---Episode-Search" width="300" height="285" class="alignnone size-medium wp-image-210" /></a><br />
In the NZB/Torrent section, select SABnzbd as the NZB Action<br />
In the SABnzbd section enter your SABnzbd settings (the api key can be retrieved by going to SABnzbd and going to /config/general)<br />
Save changes</p>
<p>Go to Config/Search Providers<br />
<a href="http://www.lockstockmods.net/wp-content/uploads/2010/06/Sick-Beard-alpha-alpha2-Config-Providers.jpg" rel="lightbox[153]" title="Sick-Beard---alpha-alpha2---Config---Providers"><img src="http://www.lockstockmods.net/wp-content/uploads/2010/06/Sick-Beard-alpha-alpha2-Config-Providers-300x226.jpg" alt="" title="Sick-Beard---alpha-alpha2---Config---Providers" width="300" height="226" class="alignnone size-medium wp-image-198" /></a><br />
Enter the details for your search provider</p>
<h3>Updating sickbeard with a script</h3>
<h4>Install</h4>
<pre><code>cd /mnt/cache/.custom
wget http://www.lockstockmods.net/dloads/sickbeard-updater.sh
chmod +x sickbeard-updater.sh</code></pre>
<h4>Run</h4>
<p>Any time you want to update sickbeard just run the following </p>
<pre><code>sh /mnt/cache/.custom/sickbeard-updater.sh</code></pre>
<p>your old sickbeard folder is backed up to sickbeard_backup.  If the update fails, do NOT just rerun it as you may lose your settings.</p>
<h3>Updating sickbeard Manually</h3>
<p>As we are using a development snapshot version of sickbeard you are going to want to keep it up to date, this is easy to do, but its a manual process.</p>
<pre><code>cd /mnt/cache/.custom
wget http://github.com/midgetspy/Sick-Beard/tarball/master
tar zxf midgetspy-Sick-Beard*.tar.gz
rm midgetspy-Sick-Beard*.tar.gz
mv sickbeard/sickbeard.db midgetspy-Sick-Beard-*/
mv sickbeard/config.ini midgetspy-Sick-Beard-*/
mv sickbeard/autoProcessTV/autoProcessTV.cfg midgetspy-Sick-Beard-*/autoProcessTV/
rm -rf sickbeard
mv midgetspy-Sick-Beard-* sickbeard
</code></pre>
<h3>Extras</h3>
<h4>sickbeard-updater.sh</h4>
<p>Find below the source for the sickbeard-updater.sh</p>
<pre><code>#!/bin/sh

# Required setting: Absolute path to parent directory of sickbeard folder.
path=/mnt/cache/.custom
sb="sickbeard"

# Optional setting to switch branch. DONT CHANGE IF YOU DONT KNOW WHAT THAT MEANS!
branch=master

# Get webgui access settings from autoProcessTV (needs to be set up) and shutdown sickbeard.
host=`echo | grep 'host=' $path/${sb}/autoProcessTV/autoProcessTV.cfg | cut -d '=' -f2 | tr -d '\r'`
port=`echo | grep 'port=' $path/${sb}/autoProcessTV/autoProcessTV.cfg | cut -d '=' -f2 | tr -d '\r'`
user=`echo | grep 'username=' $path/${sb}/autoProcessTV/autoProcessTV.cfg | cut -d '=' -f2 | tr -d '\r'`
pass=`echo | grep 'password=' $path/${sb}/autoProcessTV/autoProcessTV.cfg | cut -d '=' -f2 | tr -d '\r'`
wget --user=$user --password=$pass http://$host:$port/home/shutdown
sleep 5s

# Get source and untar it.
cd $path
wget http://github.com/midgetspy/Sick-Beard/tarball/$branch
tar zxf midgetspy-Sick-Beard*
rm midgetspy-Sick-Beard*.tar.gz

# Make backup copy of old ${sb} &#038; setup new ${sb} version
cp -R ${sb} ${sb}_backup
mv ${sb}/sickbeard.db midgetspy-Sick-Beard-*/
mv ${sb}/config.ini midgetspy-Sick-Beard-*/
mv ${sb}/autoProcessTV/autoProcessTV.cfg midgetspy-Sick-Beard-*/autoProcessTV/
rm -rf ${sb}
mv midgetspy-Sick-Beard-* ${sb}

# Start SickBeard as daemon
cd ${sb}
nohup python SickBeard.py &#038;</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.lockstockmods.net/2010/06/03/unraid-with-sabnzbd-and-sickbeard/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>XBMC Live / Linux with amBX lighting</title>
		<link>http://www.lockstockmods.net/2010/05/22/xbmc-live-linux-with-ambx/</link>
		<comments>http://www.lockstockmods.net/2010/05/22/xbmc-live-linux-with-ambx/#comments</comments>
		<pubDate>Sat, 22 May 2010 21:02:47 +0000</pubDate>
		<dc:creator>Kode</dc:creator>
				<category><![CDATA[HTPC]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[amBX]]></category>
		<category><![CDATA[amBX Linux]]></category>
		<category><![CDATA[boblight]]></category>
		<category><![CDATA[combustd]]></category>
		<category><![CDATA[Philips amBX]]></category>
		<category><![CDATA[XBMC]]></category>
		<category><![CDATA[XBMC amBX]]></category>
		<category><![CDATA[XBMC Live]]></category>

		<guid isPermaLink="false">http://www.lockstockmods.net/?p=128</guid>
		<description><![CDATA[This tutorial will guide you through the process of using a Philips amBX Lighting system (Philips amBX Starter Kit is used in the tutorial) with the fantastic XBMC Live or Linux media centre (Using Boblight and Combustd).  Together they create a truly immersive and visually compelling addition to anyones home entertainment system.]]></description>
			<content:encoded><![CDATA[<p><object style="float: right;" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/XRJWc5taEdE&amp;hl=en&amp;fs=1" /><param name="allowfullscreen" value="true" /><embed style="float: right;" type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/XRJWc5taEdE&amp;hl=en&amp;fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object>I have recently been experimenting with XBMC and a Philips amBX Starter Kit, this is a little howto for when i inevitably hose my installation and have to reinstall, i hope it helps others as well.  The video on the right doesn&#8217;t do justice to the effect in real life.</p>
<p>This howto would not be possible without the guys from the XBMC forums.</p>
<p>In particular thanks need to go to<br />
<a href="http://forum.xbmc.org/showthread.php?t=71912">CharlesNasi for the original guide</a><br />
<a href="http://blogger.xs4all.nl/loosen/">Bob</a> for the fantastic <a href="http://code.google.com/p/boblight/">Boblight utility</a><br />
<a href="http://code.google.com/p/combustd/">The creators of CombustD</a><br />
jaaps for some modifications to Boblight specific to amBX</p>
<p>If you cant get the files from their official sources you can get boblight and ruby usb here:<br />
Note: There is a file embedded within this post, please visit this post to download the file.</p>
<h2>Changelog</h2>
<p>2010-05-22 &#8211; Initial draft published<br />
2010-06-07 &#8211; Updated step 4 and 10 to use combustd 0.2 rather than 0.1 and removed step 11 as depreciated.<br />
2010-06-07 &#8211; Removed libc6-dev-i386 as it breaks installation but doesn&#8217;t seem to be needed.</p>
<p>Ok so lets start</p>
<h2>Getting started</h2>
<ol>
<li> First open a terminal, either Ctrl + Alt + F1 in xbmc or ssh into the machine</li>
<li> Create a working directory and move into it
<pre><code>mkdir ambx
cd ambx</code></pre>
</li>
<li>(If not installed) install Subversion
<pre><code>sudo apt-get install subversion</code></pre>
</li>
<li>get combustd from svn
<pre><code>svn checkout http://combustd.googlecode.com/svn/branches/combustd-ruby-0.2</code></pre>
</li>
<li>Download Boblight and extract it to something you want, there is an svn version on googlecode, but i couldnt get it to make
<pre><code>wget http://www.xs4all.nl/~loosen/boblight/boblight-1.3.tar.gz
tar zxvf boblight-1.3.tar.gz</code></pre>
</li>
<li>Get dependencies to compile Boblight, if you have any issues try one package at a time to find the problem, also some of these packages were already installed, can&#8217;t remember which ones though.
<pre><code>sudo apt-get update
sudo apt-get install gcc libusb-dev ruby ruby-dev libportaudio-dev libavdevice-dev libswscale-dev libavformat-dev libavcodec-dev libxrender-dev libsdl1.2-dev libx11-dev</code></pre>
</li>
<li>Build the package &#8216;Boblight&#8217;:
<pre><code>cd boblight-1.3
sudo ./configure
sudo make
sudo make install
cd ..
</code></pre>
</li>
<li>Configure Boblight<br />
Open a text-editor, i use nano, but its up to you and edit the file &#8216;boblight.conf (It probably wont already exist, thats fine).</p>
<pre><code>sudo nano /etc/boblight.conf</code></pre>
<p>Add the following code into the file, this is courtesy of jaaps and allows use of all 5 lights, Z3rO also added some lines to allow adding things like proportional, satuation, black threshold in the config rather than on the commandline.</p>
<pre><code>[global]
interface 127.0.0.1
port 19333

[device]
name AmbX_Combust
output "ruby /usr/local/combustd/applications/boblight/boblight.rb"
channels 15
type popen
interval 20000

[color]
name red
rgb FF0000

[color]
name green
rgb 00FF00

[color]
name blue
rgb 0000FF

[light]
name left
color red AmbX_Combust 1
color green AmbX_Combust 2
color blue AmbX_Combust 3
hscan 0 33.33
vscan 0 66.66
saturation 3.0
proportional 20.0
value 3
threshold 20
interpolation on

[light]
name right
color red AmbX_Combust 4
color green AmbX_Combust 5
color blue AmbX_Combust 6
hscan 66.66 100
vscan 0 66.66
saturation 3.0
proportional 20.0
value 3
threshold 20
interpolation on

[light]
name wwleft
color red AmbX_Combust 7
color green AmbX_Combust 8
color blue AmbX_Combust 9
hscan 0 40
vscan 0 33.33
saturation 3.0
proportional 20.0
value 3
threshold 20
interpolation on

[light]
name wwright
color red AmbX_Combust 10
color green AmbX_Combust 11
color blue AmbX_Combust 12
hscan 60 100
vscan 0 33.33
saturation 3.0
proportional 20.0
value 3
threshold 20
interpolation on

[light]
name wwcenter
color red AmbX_Combust 13
color green AmbX_Combust 14
color blue AmbX_Combust 15
hscan 33 66
vscan 0 33.33
saturation 3.0
proportional 20.0
value 3
threshold 20
interpolation on</code></pre>
<p>Save the file and exit. (Ctrl + O then Ctrl + X)</p>
<p>If you are hiding the left and right lights behind the TV, use value 15 on the appropriate lines of the config as above, if you aren&#8217;t then use value 3, value sets how bright the lights are.</p>
<p>Boblight is now configured.</li>
<li>Download, Install and compile Ruby-usb
<pre><code>wget http://www.a-k-r.org/ruby-usb/ruby-usb-0.2.tar.gz
tar -zxvf ruby-usb-0.2.tar.gz
cd ruby-usb-0.2
sudo ruby extconf.rb
sudo make &amp;&amp; sudo make install
cd ..
</code></pre>
</li>
<li>CombustD
<pre><code>sudo mv combustd-ruby-0.2 /usr/local/combustd</code></pre>
</li>
</ol>
<h2>Running boblight</h2>
<p>That should be everything configured, now start the daemon.</p>
<pre><code>sudo boblightd</code></pre>
<p>Test if its working</p>
<pre><code>boblight-constant ff00ff; sleep 5; killall boblight-constant</code></pre>
<p>All the lights should come on for 5 seconds (they will be a pinky color) then go off.</p>
<p>Time to start the magic</p>
<pre><code><del datetime="2010-06-01T10:31:30+00:00">boblight-X11 -s 5 -t 0.1 -a 20 -v 3</del>
boblight-X11 -t 0.1</code></pre>
<p>This starts the binary, <del datetime="2010-06-01T10:31:30+00:00">sets the saturation to 5, the interval between refreshes to 0.1 seconds, brightness to 3 and the speed to 20</del> and sets the interval between refreshes to 0.1 seconds (the other options aren&#8217;t needed as they are now set in the config).  If you get an error about ERROR: Can&#8217;t open display (null) the DISPLAY environment variable isn&#8217;t set, just type:</p>
<pre><code>export DISPLAY=:0.0</code></pre>
<p>You will need to redo this when you reboot.</p>
<h2>Boblight Configuration Options</h2>
<p>You can change the way boblight works by supplying options, the list of options is:</p>
<pre><code>boblight-X11 1.3

Usage: boblight-x11 [OPTION]
Start the X11 grabber for boblight

  -s	set the saturation
  -v	set the value
  -i	set the interpolation, use "-i on" or "-i off"
  -a	set the proportional
  -p	set the priority, default is 128
  -t	set the timer interval, default is 0.5 second,
  -u	set the lights to use, comma separated list
  -e	set the server address[:port]
  -g	grab n pixels on n lines
    	default is 100 for XShmGetImage and 16 for XGetImage
  -m	grab method, use "-m average" or "-m median"
  -x	use XGetImage instead of XShmGetImage (slow!)
  -b	set the black threshold</code></pre>
<h2>Todo.</h2>
<p><span style="text-decoration: line-through;">Look into starting boblight on startup</span><br />
Look into creating a boblight script for xbmc allowing users to change settings and start/stop through GUI<br />
Add some pictures and a youtube video</p>
<h2>Automatically starting amBX</h2>
<p>By utilising udev we can set amBX to turn on when we press the power button on the amBX system, if you never turn the system off by the power button on the amBX unit, then the lights will automatically come on when xbmc boots.</p>
<p>Create a new udev rule:</p>
<pre><code>sudo nano /etc/udev/rules.d/99-ambx.rules</code></pre>
<p>Copy the code below into it and save:</p>
<pre><code>SUBSYSTEM=="usb", ATTRS{idVendor}=="0471", ATTRS{idProduct}=="083f", ACTION=="add", RUN+="/usr/bin/startambx"</code></pre>
<p>Create the startambx script:</p>
<pre><code>sudo nano /usr/bin/startambx</code></pre>
<p>Copy the code below into it and save:</p>
<pre><code>#!/bin/sh
boblightd
sudo su - xbmc -c "DISPLAY=:0.0 boblight-X11 -t 0.1"</code></pre>
<p>If you are using a username other than xbmc replace the instance above with the appropriate username.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lockstockmods.net/2010/05/22/xbmc-live-linux-with-ambx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH Tunnel with Putty and Squid</title>
		<link>http://www.lockstockmods.net/2009/11/04/ssh-tunnel-with-putty-and-squid/</link>
		<comments>http://www.lockstockmods.net/2009/11/04/ssh-tunnel-with-putty-and-squid/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 13:15:55 +0000</pubDate>
		<dc:creator>Kode</dc:creator>
				<category><![CDATA[IRC/Shells]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Secure Tunnel]]></category>
		<category><![CDATA[Secure web browsing]]></category>
		<category><![CDATA[SSH Putty Tunnel]]></category>
		<category><![CDATA[SSH Tunnel]]></category>
		<category><![CDATA[Tunnel with Putty]]></category>

		<guid isPermaLink="false">http://www.lockstockmods.net/?p=80</guid>
		<description><![CDATA[The purpose of this guide is to provide an easy to follow set of instructions that should allow you to create an SSH tunnel in around 10 minutes. Step 1: Getting started What you will need: Remote server running SSH (Debian server is used in this guide) Putty Squid Install squid: apt-get install squid Step [...]]]></description>
			<content:encoded><![CDATA[<p>The purpose of this guide is to provide an easy to follow set of instructions that should allow you to create an SSH tunnel in around 10 minutes.</p>
<h3>Step 1: Getting started</h3>
<p>What you will need:</p>
<ul>
<li>Remote server running SSH (Debian server is used in this guide)</li>
<li><a title="Putty" href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html" target="_blank">Putty</a></li>
<li>Squid</li>
</ul>
<p>Install squid:</p>
<pre><code>apt-get install squid</code></pre>
<h3>Step 2: Configure putty</h3>
<ul>
<li>Start putty</li>
<li>From left hand tree menu select Click SSH (under the Connection menu item) to expand the tree items, then click on Tunnels</li>
<li>In Source port enter 3128 (default Squid port), select Dynamic and click on the Add button<br />
<img class="alignnone size-full wp-image-81" title="Putty Tunnel Options" src="http://www.lockstockmods.net/wp-content/uploads/2009/11/putty1.gif" alt="Putty Tunnel Options" width="466" height="446" /></p>
<p><div id="attachment_82" class="wp-caption alignnone" style="width: 476px"><img class="size-full wp-image-82" title="Putty Tunnels view" src="http://www.lockstockmods.net/wp-content/uploads/2009/11/putty2.gif" alt="An entry should show up in the forwarded ports section" width="466" height="446" /><p class="wp-caption-text">An entry should show up in the forwarded ports section</p></div></li>
<li>In the left hand menu go to Session</li>
<li>Put the hostname of your server, select SSH (if not already selected), then under Saved Sessions type tunnel (or any name you want to call the saved session) and click save.  This will enable you, in the future to click on &#8220;tunnel&#8221;, click Load, then Open.<br />
<img class="alignnone size-full wp-image-106" title="Session Config" src="http://www.lockstockmods.net/wp-content/uploads/2009/11/putty3.gif" alt="Session Config" width="466" height="446" /></li>
<li>Click Open.  You cannot SSH tunnel without an open connection, it will ask you for your username and password.</li>
</ul>
<h3>Step 3: Configure Firefox</h3>
<ul>
<li>Click Tools, then select Options&#8230;</li>
<li>Select the Advanced option then then Network tab.<br />
<img class="alignnone size-full wp-image-84" title="Firefox Options" src="http://www.lockstockmods.net/wp-content/uploads/2009/11/firefox1.gif" alt="Firefox Options" width="521" height="486" /></li>
<li>Click on Settings</li>
<li>Select Manual proxy configuration, then under SOCKS Host type localhost and in Port enter 3128 (In Vista SP1 you might have to use 127.0.0.1 instead of localhost for the SOCKS Host)<br />
<img class="alignnone size-full wp-image-86" title="Firefox Configuration" src="http://www.lockstockmods.net/wp-content/uploads/2009/11/firefox2.gif" alt="Firefox Configuration" width="461" height="462" /></li>
</ul>
<p>Congratulations, you should now have a fully functioning SSH Tunnel, you can test this by going to <a title="Whats My Ip" href="http://www.whatsmyip.org/" target="_blank">Whats My IP</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lockstockmods.net/2009/11/04/ssh-tunnel-with-putty-and-squid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PXE install Ubuntu via Windows</title>
		<link>http://www.lockstockmods.net/2008/04/07/pxe-install-ubuntu-via-windows/</link>
		<comments>http://www.lockstockmods.net/2008/04/07/pxe-install-ubuntu-via-windows/#comments</comments>
		<pubDate>Mon, 07 Apr 2008 00:42:56 +0000</pubDate>
		<dc:creator>Kode</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.lockstockmods.net/?p=16</guid>
		<description><![CDATA[The purpose of this article is to explain, step by step, how to install Ubuntu (Ubuntu is my distro of choice, but the steps should work equally well for other distros) using a Windows 2000/XP client. Introduction PXE (Preboot Execution Environment) is not something new, but not often used by home users, as installing an [...]]]></description>
			<content:encoded><![CDATA[<p>The purpose of this article is to explain, step by step, how to install Ubuntu (Ubuntu is my distro of choice, but the steps should work equally well for other distros) using a Windows 2000/XP client.</p>
<h3>Introduction</h3>
<p>PXE (Preboot Execution Environment) is not something new, but not often used by home users, as installing an operating system by CD/DVD or USB storage is generally easier, if however you have none of those, your only real option is to network boot (Assuming you have a network port and access to the internet).</p>
<h3>The Problem</h3>
<p>I bought my sister a cheap laptop from ebay for her birthday, shes not a power user so i picked up a Dell L400 for £100, its only got a 700MHz processor in it and 256MB of RAM, but for general web browsing it will suit her, however, its a sub notebook, and so doesnt come with a cd drive, nor can it boot from a usb cd drive (took me about half an hour to find that out), so in the end my only real option was to netboot it.</p>
<h3>Step 1: Prerequisites</h3>
<ol>
<li>Get a copy of the <a title="Windows TFTP Server" href="http://tftpd32.jounin.net/">free TFTP server</a> by Philippe Jounin.</li>
<li>Get the <a title="Ubuntu files" href="ftp://archive.ubuntu.com/ubuntu/dists/gutsy/main/installer-i386/current/images/" target="_blank">ubuntu installer files</a>.  Download the folder <strong>netboot</strong> (ignore any symlinks, they may give you errors during the download).</li>
</ol>
<p>That&#8217;s all we need to boot our Ubuntu installer over the network. Let&#8217;s setup the TFTP server.</p>
<h3>Step 2: Setting up a TFTP Server.</h3>
<ol>
<li>Create a directory, preferably on your C Drive. We&#8217;ll name it <strong>tftp</strong> for now.</li>
<li>copy the tftpd32.exe to c:tftp</li>
<li>Start the server by clicking on the exe</li>
<li>switch to the tab &#8220;DHCP Server&#8221; and fill in your network setup. Note that the PC you want to boot must be in the same Subnet. Enter <strong>pxelinux.0</strong> as the boot file. The Screenshot below shows my setup.</li>
</ol>
<p><a href="http://www.lockstockmods.net/wp-content/uploads/2008/04/tftpd.gif" rel="lightbox[16]" title="tftpd"><img class="alignnone size-medium wp-image-17" title="tftpd" src="http://www.lockstockmods.net/wp-content/uploads/2008/04/tftpd-300x286.gif" alt="My Tftpd configuration" width="300" height="286" /></a></p>
<p>Now we need to copy the Ubuntu netboot installer over to our tftp root directory:</p>
<ol>
<li>copy the folder <strong>ubuntu-installer</strong> to c:tftp</li>
<li>copy the folder <strong>pxelinux.cfg</strong> from ubuntu-installer/i386/ to c:tftp</li>
<li>copy the file <strong>pxelinux.0</strong> from ubuntu-installer/i386/ to c:tftp</li>
</ol>
<h3>Step 3: Booting Ubuntu</h3>
<p>To boot from tftp you may need to activate booting from the network interface in the BIOS. This may be done in the boot sequence settings or directly in the onboard ethernet device settings. After that, restart, lean back and watch the activities in the log viewer tab of the tftpd.<br />
Note: Ubuntu will let you choose a mirror and download all the files you need. The whole procedure will work with any other debian flavour almost identically. There is a nice how to on doing a PXE install via Linux instead of windows at the <a href="http://wiki.koeln.ccc.de/index.php/Ubuntu_PXE_Install">CCC Wiki</a>.</p>
<p>Note: this is a slightly modified version of the post from Retro at http://hugi.to/blog/archive/2006/12/23/ubuntu-pxe-install-via-windows</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lockstockmods.net/2008/04/07/pxe-install-ubuntu-via-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up DHCP</title>
		<link>http://www.lockstockmods.net/2008/04/06/setting-up-dhcp/</link>
		<comments>http://www.lockstockmods.net/2008/04/06/setting-up-dhcp/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 23:09:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.lockstockmods.net/?p=6</guid>
		<description><![CDATA[Check System Compatibility Type: ifconfig -a you should see something like: eth0 Link encap:Ethernet HWaddr 00:09:5B:04:5E:78 inet addr:82.36.57.31 Bcast:255.255.255.255 Mask:255.255.248.0 inet6 addr: fe80::209:5bff:fe04:5e78/64 Scope:Link UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:5561334 errors:0 dropped:0 overruns:0 frame:0 TX packets:214278 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:462931787 (441.4 Mb) TX bytes:28300458 (26.9 Mb) Interrupt:12 Base [...]]]></description>
			<content:encoded><![CDATA[<p>Check System Compatibility</p>
<p>Type:<br />
ifconfig -a</p>
<p>you should see something like:<br />
eth0 Link encap:Ethernet HWaddr 00:09:5B:04:5E:78<br />
inet addr:82.36.57.31 Bcast:255.255.255.255 Mask:255.255.248.0<br />
inet6 addr: fe80::209:5bff:fe04:5e78/64 Scope:Link<br />
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1<br />
RX packets:5561334 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:214278 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:100<br />
RX bytes:462931787 (441.4 Mb) TX bytes:28300458 (26.9 Mb)<br />
Interrupt:12 Base address:0xa000</p>
<p>If it doesnt say MULTICAST you should reconfigure your kernal and add multicast support.</p>
<p>Currently the latest version is 2.0 (suggested for most users) but 3.0 is in beta testing. You can get them from ftp://ftp.isc.org/isc/dhcp/</p>
<p>After you download unpack it, then cd into the distribution directory:<br />
./configure<br />
make<br />
make install</p>
<p>Server Configuration:</p>
<p>Next step is to add route for 255.255.255.255. Quoted from DHCPd README:</p>
<p>&#8220;In order for dhcpd to work correctly with picky DHCP clients (e.g., Windows 95), it must be able to send packets with an IP destination address of 255.255.255.255. Unfortunately, Linux insists on changing 255.255.255.255 into the local subnet broadcast address (here, that&#8217;s 192.5.5.223). This results in a DHCP protocol violation, and while many DHCP clients don&#8217;t notice the problem, some (e.g., all Microsoft DHCP clients) do. Clients that have this problem will appear not to see DHCPOFFER messages from the server.&#8221;</p>
<p>Type: route add -host 255.255.255.255 dev eth0<br />
(or eth1 depending on the interface you are configuring)</p>
<p>DHCPd.conf Configuration</p>
<p>create or edit /etc/dhcpd.conf</p>
<p>The following is a sample which randomly assigns IP addresses.</p>
<p>#sample /etc/dhcpd.conf<br />
ddns-update-style ad-hoc;<br />
option subnet-mask 255.255.255.000;<br />
option routers 192.168.60.1;<br />
option domain-name-servers 62.31.144.39, 195.188.53.175, 195.188.53.175;<br />
default-lease-time 3600;<br />
max-lease-time 7200;</p>
<p>subnet 192.168.60.0 netmask 255.255.255.000<br />
{ range 192.168.60.2 192.168.60.244;<br />
}</p>
<p>This will give a client an IP address in the range 192.168.60.2-192.168.60.244. It will lease an IP address for 3600 seconds if the client doesn&#8217;t ask for specific time frame. Otherwise the maximum (allowed) lease will be 7200 seconds. It sets the default DNS servers as 62.31.144.39, 195.188.53.175 and 195.188.53.175.</p>
<p>You can also assign specific IP addresses based on clients ethernet address e.g.</p>
<p>host myPC {<br />
hardware ethernet 00:25:83:17:a3:6e;<br />
fixed-address 192.168.60.246;<br />
}</p>
<p>This will assign IP address 192.168.60.246 to a client with ethernet address 00:25:83:17:a3:6e</p>
<p>You can mix and match, giving certain clients &#8220;static&#8221; IP addresses such as servers and others being given dynamic IPs such as mobile users with laptops.</p>
<p>Starting the server</p>
<p>Generally DHCP installation doesn&#8217;t create a dhcpd.leases files, this file is needed by DHCPd to store information about current leases. To create dhcpd.leases type:<br />
touch /var/state/dhcp/dhcpd.leases</p>
<p>If you get a message saying that file exists simply ignore it and carry on.</p>
<p>You can now invoke the DHCP server. Simply type (or include in the bootup scripts)</p>
<p>/usr/sbin/dhcpd</p>
<p>This will start dhcpd on eth0 device. To start it on another device just supply the device on the command line i.e.</p>
<p>/usr/sbin/dhcpd eth1</p>
<p>If you want dhcpd to start at boot-up include dhcpd in e.g.</p>
<p>/etc/rc.d/rc.local</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lockstockmods.net/2008/04/06/setting-up-dhcp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Screen</title>
		<link>http://www.lockstockmods.net/2008/04/06/screen/</link>
		<comments>http://www.lockstockmods.net/2008/04/06/screen/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 23:08:59 +0000</pubDate>
		<dc:creator>Kode</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.lockstockmods.net/?p=5</guid>
		<description><![CDATA[Getting in start a new screen session: screen attach to a running session: screen -r attach multiple terminals to an attached, running session: screen -rx the “ultimate attach”: screen -dRR (Attaches to a screen session. If the session is attached elsewhere, detaches that other display. If no session exists, creates one. If multiple sessions exist, [...]]]></description>
			<content:encoded><![CDATA[<h3>Getting in</h3>
<p>start a new screen session: <code>screen</code><br />
attach to a running session: <code>screen -r</code><br />
attach multiple terminals to an attached, running session: <code>screen -rx</code><br />
the “ultimate attach”: <code>screen -dRR</code> (Attaches to a screen session. If the session is attached elsewhere, detaches that other display. If no session exists, creates one. If multiple sessions exist, uses the first one.)</p>
<h3>Escape key</h3>
<p>All screen commands are prefixed by an escape key, by default Ctrl+a (sometimes written ^A). To send a literal Ctrl+a to the programs in screen, use <code>Ctrl+a a</code>.</p>
<h3>Getting out</h3>
<p>detach: <code>Ctrl+a d</code><br />
exit screen: exit all of the programs in screen.<br />
force-exit screen: <code>Ctrl+a C-\</code> (<em>not</em> recommended)</p>
<h3>Help</h3>
<p>See help: <code>Ctrl+a ?</code> (lists keybindings)</p>
<h3>Window Management</h3>
<p>create new window: <code>Ctrl+a c</code><br />
change to last active window: <code>Ctrl+a Ctrl+a</code><br />
change to window by number: <code>Ctrl+a &lt;number&gt;</code> (only for windows 0 to 9)<br />
change to window by number or name: <code>Ctrl+a ' &lt;number or title&gt;</code><br />
change to next window in list: <code>Ctrl+a n</code> or <code>Ctrl+a &lt;space&gt;</code><br />
change to previous window in list: <code>Ctrl+a p</code><br />
see window list: <code>Ctrl+a “</code><br />
close current window: Close all applications in the current window (including shell)<br />
kill current window: <code>Ctrl+a k</code> (not recommended)</p>
<h3>Split screen</h3>
<p>split display: <code>Ctrl+a S</code><br />
jump to next display region: <code>Ctrl+a tab</code><br />
remove current region: <code>Ctrl+a X</code><br />
remove all regions but the current one: <code>Ctrl+a Q</code></p>
<h3>Misc</h3>
<p>redraw window: <code>Ctrl+a C-l</code><br />
enter copy mode: <code>Ctrl+a [</code> (also used for viewing scrollback buffer)<br />
paste: <code>Ctrl+a ]</code><br />
monitor window for activity: <code>Ctrl+a M</code><br />
monitor window for silence: <code>Ctrl+a _</code><br />
enter digraph: <code>Ctrl+a Ctrl+v</code><br />
lock (password protect) display: <code>Ctrl+a x</code><br />
enter screen command: <code>Ctrl+a :</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lockstockmods.net/2008/04/06/screen/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)

Served from: www.lockstockmods.net @ 2010-08-01 05:15:56 -->