<?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>Terence Eden has a Blog &#187; NAS</title> <atom:link href="http://shkspr.mobi/blog/index.php/tag/nas/feed/" rel="self" type="application/rss+xml" /><link>http://shkspr.mobi/blog</link> <description>Mobiles, Shakespeare, Politics, Usability.</description> <lastBuildDate>Fri, 27 Jan 2012 18:13:59 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Building the ultimate Xbox Server</title><link>http://shkspr.mobi/blog/index.php/2008/11/building-the-ultimate-xbox-server/</link> <comments>http://shkspr.mobi/blog/index.php/2008/11/building-the-ultimate-xbox-server/#comments</comments> <pubDate>Wed, 19 Nov 2008 18:00:00 +0000</pubDate> <dc:creator>Terence Eden</dc:creator> <category><![CDATA[linux]]></category> <category><![CDATA[debian]]></category> <category><![CDATA[NAS]]></category> <category><![CDATA[rtorrent]]></category> <category><![CDATA[samba]]></category> <category><![CDATA[xbox]]></category> <category><![CDATA[xbox linux]]></category> <category><![CDATA[xebian]]></category> <category><![CDATA[xNAS]]></category><guid
isPermaLink="false">http://shkspr.mobi/blog/index.php/2008/11/building-the-ultimate-xbox-server/</guid> <description><![CDATA[I've been playing around with Linux on the Xbox for a while.  I finally decided to stop piddling about with the stock drive and create a fully featured network server.  I shall call this beast.... The xNAS!While doing this, I found a lot of badly presented and conflicting information.  This is ...]]></description> <content:encoded><![CDATA[<p><a
onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://shkspr.mobi/blog/uploaded_images/photo-753270.jpg"><img
style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 300px;" src="http://shkspr.mobi/blog/uploaded_images/photo-753263.jpg" alt="" border="0" /></a><br
/>I&#8217;ve been playing around with Linux on the Xbox for a while.  I finally decided to stop piddling about with the stock drive and create a fully featured network server.  I shall call this beast&#8230;. The xNAS!</p><p>While doing this, I found a lot of badly presented and conflicting information.  This is my attempt to right that wrong.  I&#8217;ve attempted to add some of these steps to the Wiki, but it&#8217;s not accepting changes at the moment.</p><p>This tutorial assumes you are using Xebian and an original Xbox.</p><p>The Aim:<br
/>Build a headless Linux server with 1.5TB storage space, Bit Torrent, Samba Sharing and other stuff.</p><p>Kit you will need.<br
/>1) A chipped Xbox.  This is a bit of a cop out.  There are many excellent tutorials around on how to chip an Xbox.  If you&#8217;re not comfortable soldering around your Xbox &#8211; you can buy pre-chipped ones on eBay or the AVForums.</p><p>2) Some large IDE hard drives.  The Xbox will take a maximum of 2 IDE devices.  The largest drive I could find were 750GB each.  You may be able to go larger using a SATA/PATA converter.</p><p>3) An ATA power Y-splitter.  The Xbox&#8217;s DVD drive has a proprietary power connector.  You&#8217;ll need a splitter if you want to power more than 1 HDD.</p><p>4) A set of torx screw drivers</p><p>6) Nerves of steel!</p><p>So&#8230; Let&#8217;s begin.</p><p>I chose Xebian Linux because it&#8217;s based on Debian.  This means that all the packages are very well maintained.  You should get a large range of programs with frequent security updates.  The Xebian Basic distribution (which we&#8217;ll be using) doesn&#8217;t give you a GUI. You get command line access only.  It might be a bit scary &#8211; but it keeps everything running quickly on the Xbox&#8217;s modest hardware.</p><p>There is an <a
href="http://www.xbox-linux.org/wiki/Xebian_HOWTO" class="broken_link">excellent tutorial on the Xbox Linux Wiki</a>.  However, some of the information is out of date.</p><p>Here&#8217;s what you need to do.<br
/>Download the latest version of <a
href="http://downloads.sourceforge.net/xbox-linux/dist-1.1.4-basic.tar.gz">Xebian Basic</a>.<br
/>Burn the ISO on to a CD or DVD that you are sure your Xbox will read.<br
/>Remove the Xbox&#8217;s original HDD &#8211; replace with your massive HDD.<br
/>Boot using the Cromwell BIOS (or other method to boot unsigned content).<br
/>Select the DVD drive.<br
/>Linux will now boot! Hurrah!<br
/>This is the point of no return.  Once these next few steps are complete, your Xbox will be a Linux machine. You will not be able to play Xbox games on it.<br
/>Type<br
/><blockquote>XBOXLinuxInstall</p></blockquote><p>Linux will start installing.<br
/>You will want to choose Option 3.  This will take over the whole disk for Linux.<br
/>Answer the questions as they arise (set the IP address etc).</p><p>You can now remove the DVD drive (with the power off!) and replace it with another HDD.</p><p><a
onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://shkspr.mobi/blog/uploaded_images/photo%282%29-753300.jpg"><img
style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 300px; height: 400px;" src="http://shkspr.mobi/blog/uploaded_images/photo%282%29-753294.jpg" alt="" border="0" /></a></p><p>You are now, technically, done.  Xebian is installed.  You (almost) have an xNAS.  However, it is not (currently) very useful.</p><p>There are two things we need to do to get this Xbox in a usable state.<br
/>1) Set up the DNS.<br
/>By default, Xebian points to an outdated DNS entry.  You will want to modify this to point to your DNS server.<br
/>Type<br
/><blockquote>nano /etc/resolv.conf</p></blockquote><p>This opens the file in the nano editor.  This is a very simple editor &#8211; much easier to use than emacs or vi.<br
/>Edit it to say<br
/><blockquote>nameserver 208.67.222.222<br
/>nameserver 208.67.220.220</p></blockquote><p>The IP addresses there point to the <a
href="http://www.opendns.com/">OpenDNS Servers</a> &#8211; perfect if your ISP is a bit poor at providing a DNS service or you&#8217;re going to be changing your network configuration frequently.</p><p>2) Edit the update sources.</p><p>Because Xebian is based on Debian, we can update it in the same way as we would a normal Debian system.<br
/>Unfortunately, Xebian uses a rather outdated sources.list (the file which tells Xebian where to look for updates).<br
/>Luckily, it is very easy for us to update this!</p><p>First, go to http://www.debian.org/mirror/list and find your nearest mirror.  So, if you&#8217;re in the UK, choose ftp.uk.debian.org/debian/</p><p>For this example, we&#8217;ll be using nano &#8211; feel free to use your favourite text editor.</p><p>To open the sources file, type</p><blockquote><p>nano /etc/apt/sources.list</p></blockquote><p>You should see a file which looks like this</p><blockquote><p> deb http://ftp.at.debian.org/debian stable main contrib non-free</p><p>deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free<br
/>deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free<br
/>deb http://security.debian.org stable/updates main contrib non-free<br
/>deb-src http://security.debian.org stable/updates main contrib non-free</p></blockquote><p>Replace it with a file that looks like this (substitute your nearest mirror)</p><blockquote><p> deb http://ftp.uk.debian.org/debian stable main contrib non-free</p><p>deb http://ftp.uk.debian.org/debian stable main contrib non-free<br
/>deb-src http://ftp.uk.debian.org/debian stable main contrib non-free<br
/>deb http://security.debian.org stable/updates main contrib non-free<br
/>deb-src http://security.debian.org stable/updates main contrib non-free</p></blockquote><p>Save the file and exit.</p><p>Updating is a three step process.</p><p>To get a list of updates, type<br
/><blockquote>apt-get update</p></blockquote><p>To upgrade to the latest version, type</p><blockquote><p>apt-get upgrade</p></blockquote><p>(You may need to answer some questions from the upgrader &#8211; if you don&#8217;t know what you&#8217;re doing, accept the default option.)</p><p>Finally, to upgrade to the latest distribution, type</p><blockquote><p>apt-get dist-upgrade</p></blockquote><p>That&#8217;s it &#8211; you have upgraded successfully!<br
/>Whenever you want to check for updates, type</p><blockquote><p>apt-get update</p></blockquote><p>Then</p><blockquote><p>apt-get upgrade</p></blockquote><p>Tada! All done!</p><p>Here she is in all her glory<br
/><a
onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://shkspr.mobi/blog/uploaded_images/photo%283%29-784209.jpg"><img
style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 300px;" src="http://shkspr.mobi/blog/uploaded_images/photo%283%29-784204.jpg" alt="" border="0" /></a><br
/>Up next &#8211; setting it up for Samba, Bit Torrent and other fun stuff.</p><p
class="wp-flattr-button"></p>]]></content:encoded> <wfw:commentRss>http://shkspr.mobi/blog/index.php/2008/11/building-the-ultimate-xbox-server/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (Requested URI is rejected)

Served from: www.shkspr.mobi @ 2012-02-04 04:28:50 -->
