<?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>eth0.dk</title>
	<atom:link href="http://eth0.dk/feed/" rel="self" type="application/rss+xml" />
	<link>http://eth0.dk</link>
	<description>Watching us wither</description>
	<lastBuildDate>Sun, 06 May 2012 23:37:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>XBMC on Asrock 152B or Asus AT5IONT-I using Gentoo Linux</title>
		<link>http://eth0.dk/linux/xbmc-on-asrock-152b-or-asus-at5iont-i-using-gentoo-linux/</link>
		<comments>http://eth0.dk/linux/xbmc-on-asrock-152b-or-asus-at5iont-i-using-gentoo-linux/#comments</comments>
		<pubDate>Sun, 06 May 2012 22:43:51 +0000</pubDate>
		<dc:creator>soehest</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[1080p]]></category>
		<category><![CDATA[24p]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[lirc]]></category>
		<category><![CDATA[LM_Sensors]]></category>
		<category><![CDATA[NAS]]></category>
		<category><![CDATA[XBMC]]></category>

		<guid isPermaLink="false">http://eth0.dk/?p=180</guid>
		<description><![CDATA[Welcome to this second revision guide. It started out as a guide for the Asus AT5IONT-I but i later realized that instructions would apply to Asrock 152B as well. Specs...]]></description>
			<content:encoded><![CDATA[<p>Welcome to this second revision guide. It started out as a guide for the <a href="http://www.asus.com/Motherboards/Intel_CPU_on_Board/AT5IONTI/" title="AT5IONTI" target="_blank">Asus AT5IONT-I</a> but i later realized that instructions would apply to <a href="http://www.asrock.com/nettop/overview.asp?Model=ION%203D%20Series" title="asrock152b" target="_blank">Asrock 152B</a> as well. Specs are almost the same. Exceptions are some differencess in Hardware monitoring and IR receivers. This article will guide you through the setup of <a href="http://xbmc.org/" title="xbmc.org" target="_blank">XBMC</a> using Gentoo linux. There will be bit and pieces which can be used on other distributions as well. Hope someone will find this helpful. </p>
<p>The Asus AT5IONT-I was picked for several reasons:</p>
<ul>
<li>Reasonably low power (30 watt)</li>
<li>Passive cooling</li>
<li>USB 3.0</li>
<li>Nvidia ION Graphics</li>
<li>Small form factor</li>
</ul>
<p>Initially i did buy a Asrock 152b. This machine has exactly the same tech spec&#8217;s as the Asus AT5IONT-I. Packed in a small casing with Ir remote this seemed ideal. Sadly i could not live with the noise from the two small fans. Neither did i fancy the remote much. It has to be pointed directly at the receiver before it registers anything. As the Asrock had to be rma&#8217;d due to a faulty memory block i decided to build a new machine based around the Asus AT5IONT-I. Together with some spare parts from a Intel Atom D510MO server sitting in a closet i had a complete build:</p>
<ul>
<li><a title="AT5IONT-I" href="http://www.asus.com/Motherboards/Intel_CPU_on_Board/AT5IONTI/" target="_blank">Asus AT5IONT-I Motherboard</a></li>
<li><a title="KVR800D3S8S6/2G" href="http://www.ec.kingston.com/ecom/configurator_new/partsinfo.asp?ktcpartno=KVR800D3S8S6/2G" target="_blank">2 x Kingston 2GB 800MHz DDR3 Non-ECC CL6 SODIMM SR X8</a></li>
<li><a title="antec300-65" href="http://www.antec.com/Believe_it/product.php?id=MjA5Mw==" target="_blank">Antec ISK 300-65 case</a></li>
<li><a title="seagate" href="http://www.proconsult.dk/public/dokumenter/seagate/momentus_fam_datasheet.pdf" target="_blank">Seagate Momentus 7200, 500 GB, 16 MB, SATA II, G-F</a></li>
<li><a title="ocz60gb" href="http://www.ocztechnology.com/ocz-vertex-2-sata-ii-2-5-ssd.html" target="_blank">OCZ Vertex 2 SATA II 2.5&#8243; SSD 60gb</a></li>
</ul>
<p><a href="http://eth0.dk/wp-content/uploads/2012/04/IMG_0235.jpg"><img src="http://eth0.dk/wp-content/uploads/2012/04/IMG_0235-150x150.jpg" alt="" title="IMG_0235" width="150" height="150" class="aligncenter size-thumbnail wp-image-146" /></a></p>
<p><strong>Hardware notes (Asus AT5IONT-I)</strong><br />
I did not encounter any problems running Asus AT5IONT-I with Linux. Rock stable, never crashed, but tends to get a bit hot. At the moment the machine is sitting in a closet beneath my Flatscreen tv. There is active fan cooling on the case and holes drilled in the back of the closet to allow cool air to be sucked in and hot air to flow out. I did spend some time getting sound to work, but when all is setup it runs very well. Plays 1080p nicely and even <a href="http://en.wikipedia.org/wiki/24p" title="24p" target="_blank">24p</a> works.</p>
<p><strong>Hardware notes (Asrock 152B)</strong><br />
As mentioned i did not like the Asrock 152B very much. Seen in retrospect i should have bought an external Ir receiver and put the machine in a closet to minimize the noise. That said i know people who are very happy with their Asrock 152B which is not a bad machine. It is a matter of preference.</p>
<p><strong>Software</strong></p>
<p>As mentioned i am running <a href="http://www.gentoo.org/" title="gentoo" target="_blank">Gentoo Linux</a>. Gentoo is a powerful source based Linux distribution which i have used for some years. The advanced build system ensures that you are always using the most recent packages and that one can specify exactly what options a package should include (eg mysql support, ssl etc) Downside is that it is quite time consuming compiling an entire system. No you can&#8217;t fetch precompiled binaries (who wants to fetch binaries for a source based distribution anyway <img src='http://eth0.dk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> )</p>
<p>General install instructions for Gentoo can be found on the Gentoo homepage:</p>
<p><a href="http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?full=1" title="gentoo-install" target="_blank">http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml</a></p>
<p>This may at first seem a bit hard but it really isn&#8217;t. Make a cup of coffee and give it a try. When your first Gentoo install successfully boots, you will smile. I promise.</p>
<p><strong>Gentoo Install:</strong><br />
I did spend some time configuring my Kernel. This can save you a lot of time when getting your system up and running without using gentoo genkernel. When you have reached section: &#8220;7. Configuring the Kernel&#8221; You can use these instructions to compile your first kernel. After this jump to Section &#8220;8. Configuring your System&#8221;</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;sys-kernel/gentoo-sources&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>portage<span style="color: #000000; font-weight: bold;">/</span>package.keywords<br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;&gt;=sys-kernel/gentoo-sources-3.3.0&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>portage<span style="color: #000000; font-weight: bold;">/</span>package.mask<br />
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>linux<br />
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>eth0.dk<span style="color: #000000; font-weight: bold;">/</span>files<span style="color: #000000; font-weight: bold;">/</span>ion-d525-3.2.14.config<br />
<span style="color: #c20cb9; font-weight: bold;">mv</span> ion-d525-3.2.14.config .config<br />
<span style="color: #c20cb9; font-weight: bold;">make</span><br />
<span style="color: #c20cb9; font-weight: bold;">make</span> modules_install<br />
<span style="color: #c20cb9; font-weight: bold;">cp</span> arch<span style="color: #000000; font-weight: bold;">/</span>x86_64<span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>bzImage <span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>kernel-3.2.16</div></div>
<p>We are getting portage to use the latest (unstable) version of the kernel by adding the keyword sys-kernel/gentoo-sources to the file /etc/portage/package.keywords. By adding the keyword >=sys-kernel/gentoo-sources-3.3.0 to /etc/portage/package.mask to prevent it downloading 3.3.x kernel but only the latest from 3.2.x branch. I always like use the latest kernel available (at least 3.2.x kernel) Kernel 3.2.x is at this time supported by both Ubuntu and Debian so i consider it the most safe choice. You can choose to use the latest Gentoo marked stable by not adding any keywords to /etc/portage. The kernel config should work for all 3.2.x kernels.</p>
<p><strong>XBMC Setup</strong></p>
<p>With this setup we will use slim as display manager. It is lightweight and fast and does nothing more that we need to which is to start XBMC in a X server.</p>
<p>First we need to add a user to run XBMC. This is a security measure as nothing should be run as the root user. This is to prevent attackers from gaining root privileges should any service be compromised.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">useradd <span style="color: #660033;">-m</span> <span style="color: #660033;">-G</span> audio,cdrom,video,cdrw,usb,<span style="color: #c20cb9; font-weight: bold;">users</span> xbmc</div></div>
<p>You may want to add a password to xbmc user as well.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">passwd</span> xbmc</div></div>
<p>First we need to enable the correct use flags. This is my entire /etc/make.conf. The important use flags for XBMC is opengl vdpau alsa and VIDEO_CARDS=&#8221;nvidia&#8221;.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#/etc/make.conf</span><br />
<span style="color: #007800;">CFLAGS</span>=<span style="color: #ff0000;">&quot;-march=native -O2 -pipe&quot;</span><br />
<span style="color: #007800;">CXXFLAGS</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${CFLAGS}</span>&quot;</span><br />
<span style="color: #007800;">CHOST</span>=<span style="color: #ff0000;">&quot;x86_64-pc-linux-gnu&quot;</span><br />
<span style="color: #007800;">USE</span>=<span style="color: #ff0000;">&quot;mmx sse sse2&quot;</span><br />
<span style="color: #007800;">USE</span>=<span style="color: #ff0000;">&quot;mmx sse sse2 opengl vdpau alsa -ipv6 -cups -pppd -isdnlog -X&quot;</span><br />
<span style="color: #007800;">MAKEOPTS</span>=<span style="color: #ff0000;">&quot;-j5&quot;</span><br />
<br />
<span style="color: #007800;">VIDEO_CARDS</span>=<span style="color: #ff0000;">&quot;nvidia&quot;</span><br />
<span style="color: #007800;">LIRC_DEVICES</span>=<span style="color: #ff0000;">&quot;userspace&quot;</span><br />
<br />
<span style="color: #007800;">GENTOO_MIRRORS</span>=<span style="color: #ff0000;">&quot;ftp://ftp.klid.dk/gentoo/&quot;</span><br />
<span style="color: #007800;">SYNC</span>=<span style="color: #ff0000;">&quot;rsync://rsync1.fi.gentoo.org/gentoo-portage&quot;</span><br />
<span style="color: #007800;">I_KNOW_WHAT_I_AM_DOING</span>=<span style="color: #ff0000;">&quot;yes&quot;</span></div></div>
<p>Next we move over to the files in /etc/portage. First we add this to /etc/portage/package.keywords. XBMC 11.0 has not been marked as stable so we need to add xbmc and related stuff to use ~amd64</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#/etc/portage/package.keywords</span><br />
sys-kernel<span style="color: #000000; font-weight: bold;">/</span>gentoo-sources <span style="color: #666666; font-style: italic;"># we added this previously</span><br />
media-tv<span style="color: #000000; font-weight: bold;">/</span>xbmc<br />
app-misc<span style="color: #000000; font-weight: bold;">/</span>lirc<br />
net-libs<span style="color: #000000; font-weight: bold;">/</span>libmicrohttpd<br />
net-dns<span style="color: #000000; font-weight: bold;">/</span>avahi</div></div>
<p>There are no surprises in here except avahi which was added to allow the Apple Airplay feature in xbmc to work. Then we move over to /etc/portage/package.use. One of Gentoo&#8217;s most powerful features. Build excatly what you need not a bit more!</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#/etc/portage/package.use</span><br />
media-libs<span style="color: #000000; font-weight: bold;">/</span>sdl-image gif jpeg png<br />
dev-db<span style="color: #000000; font-weight: bold;">/</span>sqlite extensions<br />
dev-libs<span style="color: #000000; font-weight: bold;">/</span>libxml2 python<br />
media-tv<span style="color: #000000; font-weight: bold;">/</span>xbmc airplay webserver avahi<br />
media-libs<span style="color: #000000; font-weight: bold;">/</span>libsdl X<br />
net-dns<span style="color: #000000; font-weight: bold;">/</span>avahi dbus<br />
x11-drivers<span style="color: #000000; font-weight: bold;">/</span>nvidia-drivers acpi</div></div>
<p>Please notice that i did not enable the X flag globally but only for one package. This is simply done to not pull in non essential packages. The global X flag is NOT needed for Xbmc to run. This will save some space. Gotta love Gentoo <img src='http://eth0.dk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Now</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">emerge xbmc slim alsa-utils nvidia-drivers</div></div>
<p>This will take a while. A long while. About 4.30 hours. When done start by getting X server to use the newly installed nvidia-driver:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">eselect opengl <span style="color: #000000; font-weight: bold;">set</span> <span style="color: #000000;">1</span><br />
Switching to nvidia OpenGL interface... <span style="color: #000000; font-weight: bold;">done</span></div></div>
<p>then edit /etc/slim.conf. Locate the line (line 37)</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">login_cmd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">exec</span> <span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">bash</span> <span style="color: #660033;">-login</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>slim<span style="color: #000000; font-weight: bold;">/</span>Xsession <span style="color: #000000; font-weight: bold;">%</span>session</div></div>
<p>uncomment the line by adding # in front, and add these lines below.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#login_cmd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; exec /bin/bash -login /usr/share/slim/Xsession %session</span><br />
login_cmd <span style="color: #7a0874; font-weight: bold;">exec</span> ~<span style="color: #000000; font-weight: bold;">/</span>.xinitrc<br />
<span style="color: #666666; font-style: italic;">#sessiondir ...</span><br />
default_user xbmc<br />
auto_login <span style="color: #c20cb9; font-weight: bold;">yes</span></div></div>
<p>Remember to make the file .xinitrc in the user running xbmc homedir (in this example that would be the xbmc user previously added. Content is:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">exec</span> xbmc-standalone</div></div>
<p>Make sure that system can actually run the file. As user xbmc</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">cd</span> ~<span style="color: #000000; font-weight: bold;">/</span><br />
<span style="color: #c20cb9; font-weight: bold;">chmod</span> +x .xinitrc</div></div>
<p>Next edit /etc/conf.d/xdm. Change DISPLAYMANAGER=&#8221;xdm&#8221; to DISPLAYMANAGER=&#8221;slim&#8221;.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#/etc/conf.d/xdm</span><br />
<span style="color: #007800;">DISPLAYMANAGER</span>=<span style="color: #ff0000;">&quot;slim&quot;</span></div></div>
<p>Next we need to configure the X server. When newly installed X does not have any config. It is possible to make a xorg.conf by using the provided utility nvidia-xconfig.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">nvidia-xconfig<br />
<br />
WARNING: Unable to locate<span style="color: #000000; font-weight: bold;">/</span>open X configuration file.<br />
<br />
New X configuration <span style="color: #c20cb9; font-weight: bold;">file</span> written to <span style="color: #ff0000;">'/etc/X11/xorg.conf'</span></div></div>
<p>As seen it will create a xorg.conf if none is found. This config is sufficient to get X server up and running and even xbmc started. To test if stuff is working start up xdm.<br />
This is optional <img src='http://eth0.dk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>xdm start</div></div>
<p>If all is good slim will launch XBMC. If you wish to use 24p mode for playing you need to edit /etc/X11/xorg.conf. As suggested in several guides it is not needed to manually add modelines. Locate /etc/X11/xorg.conf. At the bottom replace entire screen section with this:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Section <span style="color: #ff0000;">&quot;Screen&quot;</span><br />
Option &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;FlatPanelProperties&quot;</span> <span style="color: #ff0000;">&quot;Scaling = Native&quot;</span><br />
&nbsp; &nbsp; Option <span style="color: #ff0000;">&quot;ColorSpace&quot;</span> <span style="color: #ff0000;">&quot;YCbCr444&quot;</span><br />
&nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;HWCursor&quot;</span> <span style="color: #ff0000;">&quot;Off&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Screen0&quot;</span><br />
&nbsp; &nbsp; Device &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Device0&quot;</span><br />
&nbsp; &nbsp; Monitor &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;Monitor0&quot;</span><br />
&nbsp; &nbsp; DefaultDepth &nbsp; &nbsp;<span style="color: #000000;">24</span><br />
&nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;NoLogo&quot;</span> <span style="color: #ff0000;">&quot;True&quot;</span><br />
&nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;DynamicTwinView&quot;</span> <span style="color: #ff0000;">&quot;False&quot;</span><br />
&nbsp; &nbsp; SubSection &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Display&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; Depth &nbsp; &nbsp; &nbsp; <span style="color: #000000;">24</span><br />
&nbsp; &nbsp; EndSubSection<br />
EndSection</div></td></tr></tbody></table></div>
<p>Next we move on to the sound config. This has given me a few grey hairs. Please comment if you have a more elegant solution.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#/etc/asound.conf</span><br />
pcm.<span style="color: #000000; font-weight: bold;">!</span>default <span style="color: #7a0874; font-weight: bold;">&#123;</span><br />
&nbsp; &nbsp;<span style="color: #7a0874; font-weight: bold;">type</span> plug<br />
&nbsp; &nbsp;slave <span style="color: #7a0874; font-weight: bold;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp;pcm <span style="color: #ff0000;">&quot;hw:1,3&quot;</span><br />
&nbsp; &nbsp;<span style="color: #7a0874; font-weight: bold;">&#125;</span><br />
<span style="color: #7a0874; font-weight: bold;">&#125;</span></div></div>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#/etc/modprobe.d/snd_hda_intel.conf</span><br />
options snd-hda-intel <span style="color: #007800;">enable_msi</span>=<span style="color: #000000;">0</span> <span style="color: #007800;">probe_mask</span>=0xffff,0xfff2</div></div>
<p>You want to reboot here so that kernel can pick up the changes. When back run alsamixer and unmute your card.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">alsamixer</div></div>
<p>Press F6 and select &#8220;HDA Nvidia&#8221; There should be only one entry: < S/PDIF > If it says MM your card is muted and you need to unmute it using key m. The MM should change to 00 and your card is unmuted. Next run /etc/init.d/alsasound start which will save the new mixer level. Oddly enough you do not need to add alsasound to startup.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>alsasound start</div></div>
<p>Then we are all set. If you ever need to use passthrough in XBMC (av recievers etc) set it to custom and input hw:1,3. This works <img src='http://eth0.dk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>To start xbmc (slim) type</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>xdm start</div></div>
<p>To have xdm startup when system is booted you need to add it to the default runlevel</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">rc-update add xdm default</div></div>
<p><strong>Optional lirc support</strong><br />
My included kernel config has support for the built in ir reciever featured on the Asrock 152b. Also compatible is <a href="http://www.mm-vision.dk/produkter/vis.asp?varenr=51064&#038;menu=pc" title="hfx_remote_control">HFX Vista GP Remote Control</a> which i do recommend. Cheap and somewhat stronger than the built in receiver in Asrock 152B. A small note. The ir receivers on the Asrock and 152B are not the same. This is the first difference i have found between the two systems.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">emerge lirc</div></div>
<p>Chances are the build will fail. I am not happy documenting this but to actually get lirc compiled one needs to apply a patch to the ebuild. The Gentoo version of lirc has several unfixed (and quite old) bugs assigned. This is unfortunately one of the downsides of using a source based distro. But fear not the solution is quick:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>portage<span style="color: #000000; font-weight: bold;">/</span>app-misc<span style="color: #000000; font-weight: bold;">/</span>lirc<span style="color: #000000; font-weight: bold;">/</span><br />
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>eth0.dk<span style="color: #000000; font-weight: bold;">/</span>files<span style="color: #000000; font-weight: bold;">/</span>lirc-0.9.0.ebuild.patch<br />
<span style="color: #c20cb9; font-weight: bold;">patch</span> <span style="color: #000000; font-weight: bold;">&lt;</span> lirc-0.9.0.ebuild.patch<br />
ebuild lirc-0.9.0.ebuild manifest<br />
emerge lirc</div></div>
<p>We are applying a patch from gentoo bugs which should be applied to portage real soon. Was quite puzzled that this still was happening after my last lirc install some months ago. Until this happens use this fix. Gentoo will not allow use of the ebuild as it has been changed, so we are making a new manifest which allows us to build from the changed ebuild.</p>
<p>When done create /etc/lirc/lircd.conf and put in the following content:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#/etc/lirc/lircd.conf</span><br />
include <span style="color: #ff0000;">&quot;/usr/share/lirc/remotes/mceusb/lircd.conf.mceusb&quot;</span></div></div>
<p>You probably want to run lircd on boot.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">rc-update add lircd default</div></div>
<p><strong>Optional Lm_sensors support</strong><br />
Both systems have some sensors support for reading out temperature from the running systems. The Asus AT5IONT-I have two readings which in Bios are called GPU and CPU.<br />
The Asrock 152B also have two which in Bios are called CPU and Motherboard temperature. Note as both systems use different sensors we have the second spotted difference between the two systems <img src='http://eth0.dk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  Asus AT5IONT-I uses asus_atk0110 modules chip to monitor and  Asrock 152B uses w83627ehf. Both are enabled in my kernel config.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">emerge lm_sensors<br />
sensors-detect<br />
rc-update add lm_sensors default</div></div>
<p><strong>Optional Extra software</strong><br />
Both systems are perfectly capable of running Sambe/CIFS effectively making a perfect Network attached storage (NAS) machine. I use mine for XBMC, Torrenting, Newsbin, DLNA server and Irc Bouncer. Only your imagination sets the limit.</p>
<p><strong>Conclusion</strong><br />
Now you hopefully have XBMC up and running. Even though the Asus AT5IONT-I is a aging piece of hardware it still is a valid solution in 2012. There are alternatives but the ION based boards are well supported in XBMC and you will not run into problems getting hardware playback to work. Intel did release the next generation Atom (cedar trail) in 2012. At first Cedar trail looked very promising, but lack of descent graphics drivers for non Windows users makes Cedar trail unusable at least for media use. Please note that this guide was written some time after i deployed the machine. I may have forgotten vital steps. Please comment if you find any problems. Also comment if this is working for you. Thanks <img src='http://eth0.dk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><strong>Files used in this guide</strong></p>
<p><a href="http://eth0.dk/files/ion-d525-3.2.14.config" title="3.2.14-config" target="_blank">AT5IONT 64 bit Kernel 3.2.14 config</a></p>
<p>Linux 3.2.x kernel config for Asus AT5IONT-I. Should work on similar hardware (like asrock 152b) as well. Most options not necessary have been removed. Not using initrd so be sure to select the proper hardware settings. Will work with any recent hard drive formatted using ext3/ext4.  </p>
]]></content:encoded>
			<wfw:commentRss>http://eth0.dk/linux/xbmc-on-asrock-152b-or-asus-at5iont-i-using-gentoo-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intel® Desktop Board DN2800MT</title>
		<link>http://eth0.dk/linux/intel-desktop-board-dn2800mt/</link>
		<comments>http://eth0.dk/linux/intel-desktop-board-dn2800mt/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 14:06:55 +0000</pubDate>
		<dc:creator>soehest</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[atom]]></category>
		<category><![CDATA[cedar trail]]></category>
		<category><![CDATA[DN2800MT]]></category>
		<category><![CDATA[GMA 3650]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[TPD]]></category>

		<guid isPermaLink="false">http://eth0.dk/?p=67</guid>
		<description><![CDATA[Recently new motherboards featuring cedar trail (Atom third generation) atoms CPU&#8217;s started to pop up on www.intel.com. I am quite excited about the DN2800MT which could be the perfect match...]]></description>
			<content:encoded><![CDATA[<p>Recently new motherboards featuring cedar trail (Atom third generation) atoms CPU&#8217;s started to pop up on www.intel.com. I am quite excited about the DN2800MT which could be the perfect match for a home built router/nas. The reason i like it is that is has the new N2800 CPU (on the homepage it is listed as having a D2800 Atom CPU but there is no such CPU. Digging through the technical specification will reveal that is does have a N2800 CPU. Nice work Intel <img src='http://eth0.dk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> ) The N2800 has a max TDP of 6.5 Watt which is half the TDP of D510/D525. Also the N2800 supports Intels speedstep technology so idle power should drop (in theory) to almost zero. At least on the CPU. Previous D510/D525 will use max TDP (13 watt) 24/7. This is a problem as a home router/nas will be idle most of the time wasting power doing nothing. Board is also passively cooled and low profile so you can fit it into anything, even custom built cases. Integrated PSU so the board will just take a DC adapter as power input, again saving space in the case. Intel also maxed out slots on the board:</p>
<ul>
<li>One PCI Express* x1 slot</li>
<li>One PCI Express* Mini Card (Half-size)</li>
<li>One PCI Express* Mini Card (Full/Half-size adjustable) with mSATA support</li>
</ul>
<p>Nice addition as it is possible to have two wireless pci mini express cards giving access to dual 2.4/5 ghz wifi. Onboard Intel network interface controller is also a good thing instead of the Realtek NIC featured on previous boards from Intel. Inclusion of a HDMI connector and a new graphic core called GMA 3650 able to decode full hd 1080p streams without much fuss, makes the possibilities even larger. It should be noted that the GMA 3650 is driven by a PowerVR SGX 545 developed by Imagination Technologies and not by Intel itself. This will make support for Linux troublesome at best. There are rumors that Intel at some time in 2012 will release a Linux driver but i would not count on that. Still this board seems like a low power swiss army knife. Only your imagination will decide what the board will be used for. </p>
<p><strong>UPDATE (10-02-2012)</strong><br />
News just in from <a href="http://www.phoronix.com/scan.php?page=news_item&#038;px=MTA1NDU" title="www.phoronix.com" target="_blank">www.phoronix.com</a> will confirm that Intel does indeed have some licensing trouble with the GPU currently used in cedar trail licensed from Imagination Technologies. Intel will in the future create its own gpu to be used in the next generation of Atoms. The discontinuation is good news at least looking at the future, but probabaly bad news for the DN2800MT (and other cedar trail CPU&#8217;s) if you wish to hardware accelerate your media using an os different from windows.</p>
<p>What still needs to be verified is what it actually will pull at wall. Some sites announcing Cedar Trail will say that the announced TDP includes the total of the board not only the CPU. Personally i do not believe that. Looking through the technical specification does not seem to verify that either:</p>
<p><a href="http://eth0.dk/wp-content/uploads/2012/01/intel-DN2800MT-watt.jpg"><img src="http://eth0.dk/wp-content/uploads/2012/01/intel-DN2800MT-watt-150x150.jpg" alt="" title="intel-DN2800MT-watt" width="150" height="150" class="aligncenter size-thumbnail wp-image-69" /></a></p>
<p>As seen on the picture there is a lot going on and my first thought is that the Intel DN2800MT this will in no way be able to compete with my Intel D510MO which uses around 20 watt total measured at wall. Second thoughts tells me that Intel will not release a motherboard using more power than previous models, so i am looking forward to reviews of the board showing the actual power usage. Other sites say a 20% decrease from previous models (pine trail)</p>
<p><strong>UPDATE 03-03-2012</strong><br />
Seems the boards are finally hitting at least some consumers:</p>
<p><a href="http://www.silentpcreview.com/forums/viewtopic.php?f=28&#038;t=63959" title="silentpcreview" target="_blank">http://www.silentpcreview.com/forums/viewtopic.php?f=28&#038;t=63959</a></p>
<p>Power usage looks VERY good. But graphics seems to still be a problem. Intel have released <a href="http://repo.meego.com/MeeGo/updates/1.2.0/images/meego-netbook-ia32-cedartrail" title="Meego" target="_blank">Megoo</a>, which should include a binary driver for Linux. Only 32bit but better than nothing. Intel does indeed seem to be on the right track with this board. I am still not convinced though, and not sure if i ever will buy this board. The Atom/ION combo is still a better choice if you wish to run a media center on Linux. For all other uses this board is a killer. Same performance as the D525 but using much lower power.</p>
<p><strong>UPDATE:</strong><br />
As commented by Joggebogge with link included: <a href="http://www.logicsupply.com/blog/2012/01/18/crisp-and-refreshing-new-thin-itx-board-from-intel/" title="logicsupply-intel" target="_blank">http://www.logicsupply.com/blog/2012/01/18/crisp-and-refreshing-new-thin-itx-board-from-intel/</a><br />
This suggests that it will idle at 10 watt. High 15 watt. Those are quite good numbers indeed! Still needs verification and also power testing running Linux.</p>
<p><strong>Known limitations and missing/odd features</strong></p>
<ul>
<li>Intels nm10 express chipset will only allow two sata drives. Installing a msata drive into one of the mini express slots will disable one of the onboard sata connectors. It is a pity that Intel decided to reuse the nm10 express chipset with such a limitation. That said it is not a deal breaker unless you absolutely must use more than two drives.</li>
<li>8 usb 2.0 ports but not a single usb 3.0 port. Again a chipset limitation. Depending on usage most people will not even notice this. But if you use it for NAS it would be nice to be able to attach some faster usb drives.</li>
<li>PowerVR SGX 545 driven graphics. Linux support at this time is non existing.</li>
</ul>
<p><strong>Conclusion</strong><br />
While we are still waiting till people actually starts to receive boards and testing, there is not much to be said. As mentioned I think this could make the NAS/Router/Firewall of your dreams using lower power than previous options. That said Intel Atom is to undergo massive changes in 2013, where it probably will be completely converted to a SOC (System on a chip) making it even more power efficient. Can you wait?</p>
<p>(Thank you all for the useful comments, keep them coming.)</p>
]]></content:encoded>
			<wfw:commentRss>http://eth0.dk/linux/intel-desktop-board-dn2800mt/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Battlefield 3</title>
		<link>http://eth0.dk/gaming/battlefield-3/</link>
		<comments>http://eth0.dk/gaming/battlefield-3/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 23:41:51 +0000</pubDate>
		<dc:creator>soehest</dc:creator>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[1080p]]></category>
		<category><![CDATA[Battlefield 3]]></category>
		<category><![CDATA[gameplay]]></category>

		<guid isPermaLink="false">http://eth0.dk/?p=63</guid>
		<description><![CDATA[This game is great fun. Had to buy a new gaming rig just to play it though I have made a small video to test video capturing from games.]]></description>
			<content:encoded><![CDATA[<p>This game is great fun. Had to buy a new gaming rig just to play it though <img src='http://eth0.dk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  I have made a small video to test video capturing from games.</p>
<p><span style="text-align:center; display: block;"><a href="http://eth0.dk/gaming/battlefield-3/"><img src="http://img.youtube.com/vi/sMOjksFniJ8/2.jpg" alt="" /></a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://eth0.dk/gaming/battlefield-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DLNA on samsung UE32D5005</title>
		<link>http://eth0.dk/linux/dlna-on-samsung-ue32d5005/</link>
		<comments>http://eth0.dk/linux/dlna-on-samsung-ue32d5005/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 20:55:27 +0000</pubDate>
		<dc:creator>soehest</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[dlna]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[mediatomb]]></category>
		<category><![CDATA[minidlna]]></category>
		<category><![CDATA[samsung]]></category>

		<guid isPermaLink="false">http://eth0.dk/?p=12</guid>
		<description><![CDATA[I have recently bought a Samsung UE32D5005 led television. It was cheap and advertised as DLNA compatible. I wanted the Television to be in our bedroom and I really did...]]></description>
			<content:encoded><![CDATA[<p>I have recently bought a Samsung UE32D5005 led television. It was cheap and advertised as DLNA compatible. I wanted the Television to be in our bedroom and I really did not want to buy yet another media player which had to be wall mounted due to lack of space. DLNA as advertised by Samsung should be able to help me stream my video content directly from a server to the TV.</p>
<p><strong>DLNA</strong><br />
Created by SONY in 2003 in an attempt to ease connection of different devices. The goal was to make it easier for the consumer to share videos, music and pictures between devices. The idea is great. By using a DLNA server you can stream media content directly do dlna clients. That be stereos, televisions or even mobile phones. Unfortunately seeing the DLNA certification on a television does not mean it will play all your media. The standard does only describe how devices connect, not what they can play. When buying a TV you should look in the manual before purchasing and check if the formats supported match your media collection <img src='http://eth0.dk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  I did look at the manual for Samsung UE32D5005 and it is able to play most stuff:</p>
<p>&nbsp;</p>
<p style="text-align: center;"><a href="http://eth0.dk/wp-content/uploads/2012/01/format-all.jpg"><img class="size-thumbnail wp-image-50 aligncenter" title="format-all" src="http://eth0.dk/wp-content/uploads/2012/01/format-all-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>As seen Samsung UE32D5005 can play most common formats. If your tv does not support your local media format you have two options. Reencode your entire collection to a format that the tv supports. Or transcode your media. Transcoding is a process where the server decodes your files on the fly and streams them to the DLNA client. Depending on hardware there will be some CPU usage required to transcode. Not all DLNA servers do support transcoding. DLNA servers found in NAS servers will almost never support transcoding as they are usually not powerful enough for this process. Speaking of DLNA servers, windows 7 does have inbuilt DLNA server. Samsung also has their own DLNA server called Allshare. In my opinion a crappy piece of software but Samsung likes it, and looking at Samsungs support this is the only DLNA server ever mentioned.</p>
<p>All this does indeed sound wonderful <img src='http://eth0.dk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  The sharing of the future. DLNA servers can run on virtually anything and there are lots of different servers to try and download. Real world use is a bit different. Having browsed around the internet one will quickly come to the conclusion that the companies all have decided different implementations of the standard. The very same reason that the number of DLNA server is higher than expected. You will find that one server will work, where another will not do anything on your tv set. If using windows your could just run the included software (in this case Allshare) but turning my main computer on to watch a movie on the bedroom Television is simply not a choice for me. My Linux server runs 24/7 so this is the obvious location of the DLNA server. I tested a few DLNA servers. <a title="minidlna" href="http://sourceforge.net/projects/minidlna/" target="_blank">MiniDLNA</a> runs out of the box. Exposes all the selected media to the television. Subtitle support also works but playback is not fluid. There will be cuts in audio and video every 10-15 seconds. <a title="mediatomb" href="http://mediatomb.cc/" target="_blank">Mediatomb</a> gave me a much better result. But i did need to modify the config and applying some Samsung only stuff <img src='http://eth0.dk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>I also needed to patch the source code to allow subtitle support in mediatomb. The patch can be found <a title="samsung-patch" href="http://sourceforge.net/tracker/?func=detail&amp;aid=3014026&amp;group_id=129766&amp;atid=715782" target="_blank">here</a></p>
<p>I can verify that it works nicely. Movie playback using Mediatomb is (almost) fluid. There still are some small hickups which i have not been able to solve yet but they are not coming at at rate that makes the movie unwatchable. it will play anything (avi, mp4 and mkv) and quality is very good. Also thumbnails are working which is good for the kids when they need to pick a movie. I will update this post as time allow as i do not yet have time for much testing.<br />
<strong>Gentoo specifics</strong></p>
<p>Add following line to /etc/portage/package.use</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">net-misc<span style="color: #000000; font-weight: bold;">/</span>mediatomb libextractor thumbnail inotify <span style="color: #660033;">-mysql</span></div></div>
<p>Optional (for subtitle support)</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>portage<span style="color: #000000; font-weight: bold;">/</span>net-misc<span style="color: #000000; font-weight: bold;">/</span>mediatomb<span style="color: #000000; font-weight: bold;">/</span>files<br />
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>eth0.dk<span style="color: #000000; font-weight: bold;">/</span>files<span style="color: #000000; font-weight: bold;">/</span>samsung_video_subtitles.patch</div></div>
<p>Edit /usr/portage/net-misc/mediatomb/mediatomb-0.12.1.ebuild and insert</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">epatch <span style="color: #ff0000;">&quot;<span style="color: #007800;">${FILESDIR}</span>/samsung_video_subtitles.patch&quot;</span></div></div>
<p>Below following line:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">epatch <span style="color: #ff0000;">&quot;<span style="color: #007800;">${FILESDIR}</span>/<span style="color: #007800;">${P}</span>-gcc46.patch&quot;</span></div></div>
<p>mediatomb-0.12.1.ebuild will look like this:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>51<br />52<br />53<br />54<br />55<br />56<br />57<br />58<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">src_prepare<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span><br />
epatch <span style="color: #ff0000;">&quot;<span style="color: #007800;">${FILESDIR}</span>/<span style="color: #007800;">${P}</span>-gcc46.patch&quot;</span><br />
<span style="display:block;background-color:#ffff66">epatch <span style="color: #ff0000;">&quot;<span style="color: #007800;">${FILESDIR}</span>/samsung_video_subtitles.patch&quot;</span><br /></span><span style="color: #000000; font-weight: bold;">if</span> use javascript <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp; has_version <span style="color: #ff0000;">&quot;&amp;gt;=dev-lang/spidermonkey-1.8.5&quot;</span> ; <span style="color: #000000; font-weight: bold;">then</span><br />
epatch <span style="color: #ff0000;">&quot;<span style="color: #007800;">${FILESDIR}</span>&quot;</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #800000;">${P}</span>-mozjs185.patch<br />
eautoreconf<br />
<span style="color: #000000; font-weight: bold;">fi</span><br />
<span style="color: #7a0874; font-weight: bold;">&#125;</span></div></td></tr></tbody></table></div>
<p>emerge will surely complain about the unknown file and the changed ebuild. Recreate both by issuing following commands:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>portage<span style="color: #000000; font-weight: bold;">/</span>net-misc<span style="color: #000000; font-weight: bold;">/</span>mediatomb<br />
ebuild mediatomb-0.12.1.ebuild manifest<br />
ebuild mediatomb-0.12.1.ebuild digest</div></div>
<p>Please note that re-syncing the portage tree will remove the changes.</p>
<p>Install mediatomb</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">emerge mediatomb</div></div>
<p>Edit /etc/mediatomb/config.xml and add:</p>
<div class="codecolorer-container xml default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;custom-http-headers<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;add</span> <span style="color: #000066;">header</span>=<span style="color: #ff0000;">&quot;transferMode.dlna.org: Streaming&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;add</span> <span style="color: #000066;">header</span>=<span style="color: #ff0000;">&quot;contentFeatures.dlna.org: DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=017000 00000000000000000000000000&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/custom-http-headers<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></div></div>
<p>Change</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;</span>protocolInfo <span style="color: #007800;">extend</span>=<span style="color: #ff0000;">&quot;yes&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></div></div>
<p>to</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;</span>protocolInfo <span style="color: #007800;">extend</span>=<span style="color: #ff0000;">&quot;yes&quot;</span> samsung-hack=<span style="color: #ff0000;">&quot;yes&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></div></div>
<p>If you want subtitle support.</p>
<p>Add following mappings to allow both mkv and avi playback.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;</span>map <span style="color: #007800;">from</span>=<span style="color: #ff0000;">&quot;avi&quot;</span> <span style="color: #007800;">to</span>=<span style="color: #ff0000;">&quot;video/mpeg&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span><br />
<span style="color: #000000; font-weight: bold;">&lt;</span>map <span style="color: #007800;">from</span>=<span style="color: #ff0000;">&quot;mkv&quot;</span> <span style="color: #007800;">to</span>=<span style="color: #ff0000;">&quot;video/mpeg&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></div></div>
<p>Now Mediatomb is installed and should be ready to launch:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>mediatomb start</div></div>
<p>and you are ready to go. The webserver part can be reached at url</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">http:<span style="color: #000000; font-weight: bold;">//</span>localhost:<span style="color: #000000;">49152</span><span style="color: #000000; font-weight: bold;">/</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://eth0.dk/linux/dlna-on-samsung-ue32d5005/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pirates of the burning sea 2.9.40.0</title>
		<link>http://eth0.dk/gaming/pirates-of-the-burning-sea-2-9-40-0/</link>
		<comments>http://eth0.dk/gaming/pirates-of-the-burning-sea-2-9-40-0/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 20:53:58 +0000</pubDate>
		<dc:creator>soehest</dc:creator>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[mmo]]></category>
		<category><![CDATA[pirates]]></category>
		<category><![CDATA[Pirates of the burning sea]]></category>

		<guid isPermaLink="false">http://eth0.dk/?p=9</guid>
		<description><![CDATA[I am quite exicted by the new changes announced in 2.9.40.0. I have spent quite some time playing this game which reminds me of the old Amiga game pirates. This...]]></description>
			<content:encoded><![CDATA[<p>I am quite exicted by the new changes announced in 2.9.40.0. I have spent quite some time playing this game which reminds me of the old Amiga game pirates. This is off course much more advanced and offers some decent game play. Unfortunately FLS has previously  refused do to something to the battle mechanics on the open sea. That is until now. FLS has implemented strengt calculation, which should prevent one from being jumped by 6 ships. This is great news for both new and old players.</p>
<blockquote>
<div id="m3_content">
<h3>Release Notes for Build 2.9.40.0</h3>
<p>This milestone build features our holiday content for Christmas and another new ship – the Centurion 3rd Rate! This build also includes significant changes to Open Sea engagement mechanics, penalties for directly trading with opposing nations, removal of the blind auction system, and making character transfers between our live servers available through Treasure Aisle. Also included in this build are new Kilts and Tams for avatars, new ship outfittings, changes to bonus books and the ability to purchase active nation resets.</p>
<p>Release Notes for build 2.8.84.0 are <a href="http://www.burningsea.com/page/news/article&amp;article_id=271214" target="_blank">here</a>.</p>
<p><strong>Differences between 2.8.84.0 and 2.9.40.0 include but aren’t limited to:</strong></p>
<p><strong>Treasure Aisle:</strong></p>
<ul>
<li>Non-consumable clickable mission rewards have been added to Treasure Aisle for characters that have unlocked them by completing the affiliated mission.</li>
<li>A Halfway Pack has been added alongside the Starter Pack for levels 25 and up.</li>
<li>A new recipe book “Pages from a Bosun’s Journal” can be found in Treasure Aisle. The recipe book allows for the creation of: Tight-Braced Cross Catharpins, Hammock Netting, and Well-Ordered Pinrails.</li>
<li>A Server Transfer Request token added to “Account” tab, with a special price in the Captain’s Club tab.</li>
<li>An Active Nation Reset Request token added to “Account” tab, with a special price in the Captain’s Club tab.</li>
<li>New 1-hour and 6-hour bonus books have been added to “Consumables” tab. The 6-hour books are replacing the 8-hour books. All bonus books have received price adjustments.</li>
<li>A new “All New” category has been added in each tab to easily find the newest items in each category.</li>
<li>A new “Festive Loyal Dog” has been added to the “Pets” tab. (We couldn’t find a reindeer, so we made one instead.)</li>
<li>A Holly-Day hat accent is unlocked in Treasure Aisle by completing the seasonal mission “A Penny to Bury the Wren.”</li>
<li>Captain’s Club now contains older seasonal clothing in the Specially Priced section. Enjoy!</li>
<li>Tackle Box: Bahamas, Florida, Louisiana was still hidden from Captain’s Club members after being removed from the Specially Priced section. It is now back in the Angling section for all players.</li>
<li>Two new kilts and two new tams have been added to the Captain’s Club section of Treasure Aisle.</li>
</ul>
<p><strong>Ships and Outfittings:</strong></p>
<ul>
<li>The Centurion Third Rate has been added to the game. The recipe to create the Uncertified Deed will be purchasable in Treasure Aisle.</li>
<li>Insurance on the Centurion was lower than it should have been, and captured versions of it and the San Fernando were not flagged as Invalid for Pirates. This is fixed.</li>
<li>Boarding resistance for all ships has been returned to its previous value of 50% to correct boarding resistance issues.</li>
<li>Captured San Fernando deeds are now tradable, and they no longer pay out insurance.</li>
<li>The new outfitting rewards Careful Gun Crews and Ship’s Cat have been added to each national MoV Exchange Shop.</li>
</ul>
<p><strong>Avatars:</strong></p>
<ul>
<li>We’ve adjusted how the Hellhounds swords sit when sheathed so that they no longer have clipping issues.</li>
<li>The Halloween swords healing effects should no longer stomp other healing effects such as those in fighting school-specific skills.</li>
<li>The Bone Pole fishing pole should no longer suffer animation issues.</li>
<li>The Floral Calaca and Black &amp; White Calaca face paints were swapped. This has been fixed.</li>
<li>The reward coat for completing “Yard Armor” wasn’t working with certain glove and coat combinations on male avatars. Fixed.</li>
</ul>
<p><strong>Missions:</strong></p>
<ul>
<li>Added 2011 Holiday titles for A Penny to Bury the Wren mission and the gift exchange.</li>
<li>The mission “Black Flags or Dread Saints” wasn’t possible to complete, since none of the treasure spots generated any treasure. This is fixed.</li>
</ul>
<p><strong>General:</strong></p>
</div>
</blockquote>
<blockquote>
<div id="m3_content">
<ul>
<li>The Blind Auction system has been turned off allowing players to see the lowest price for auction house items. While the lowest price is now visible the quantity of items at each price still remains hidden. The quantity accurately reflects the total number of units in a particular category regardless of pricing.</li>
<li>Players will now lose 300 player faction with their nation for each direct trade with any character from an opposing nation. Penalties for losing too much faction with a player’s nation may include some or all of the following: increased tax rates, loss of the ability to generate unrest, loss of ability to attend port battles, loss of ability to group, permanent PvP flagging, loss of ability to be a member of a society, and loss of chat channels.</li>
<li>OS engagement mechanics have been modified to use player level and ship level in new group strength calculations. Group strength comparisons for engagements now work both up and down and will only allow engagement if group strengths are within the allowable engagement ratio of 2:1. Once engaged both sides in the battle may reinforce within the allowable engagement ratio for 30 seconds after which only the weaker side may reinforce for 90 seconds up to a group strength value equal to the larger side.</li>
<li>Blockading now requires a group strength of 500. Patrolling now requires a group strength of 400.</li>
<li>The “B” hot key was dropping sails instead of going to battle sails. Fixed.</li>
<li>Fort Deeds were sometimes found on the Auction House. Since they are not useable by players, this should not have happened. Fixed.</li>
</ul>
</div>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://eth0.dk/gaming/pirates-of-the-burning-sea-2-9-40-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intel D510MO as server – router &#8211; nas</title>
		<link>http://eth0.dk/linux/intel-d510mo-as-server-router/</link>
		<comments>http://eth0.dk/linux/intel-d510mo-as-server-router/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 20:50:35 +0000</pubDate>
		<dc:creator>soehest</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[atom]]></category>
		<category><![CDATA[hostapd]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://eth0.dk/?p=6</guid>
		<description><![CDATA[Greatly inspired by the release of the Excito B3  I decided to build my own home server. The Excito B3 is a Swedish home server. Using a 1.2ghz arm CPU...]]></description>
			<content:encoded><![CDATA[<p>Greatly inspired by the release of the <a title="Excito B3" href="http://www.excito.com/node/9" target="_blank">Excito B3</a>  I decided to build my own home server. The Excito B3 is a Swedish home server. Using a 1.2ghz arm CPU with 512mb ram. Dual network interfaces and firewalling capabilities. Running as low as 8 watt this seemed like a very nice product. The idea to combine a NAS server with a router is great. Instead of having both a router and a nas server, you would only need one single device.  About to order one of the magnificent machines the pricing did scare me away. I decided i could build my own home server which would be more powerful and with much better upgrading possibilities than the Excito B3.</p>
<p><strong>Objective: </strong></p>
<p>Build a machine which can route and firewall traffic, both wireless and wired. Run a few services like Bittorrent and CIFS/Samba share.</p>
<p>Spending some times to locate the different parts this is what the final list looks like:</p>
<ul>
<li><a title="intel d510mo" href="http://www.intel.com/products/desktop/motherboards/D510MO/D510MO-overview.htm" target="_blank">Intel D510MO Motherboard</a></li>
<li><a title="sparklan" href="http://www.sparklan.com/product.php?func=view&amp;prod_id=63" target="_blank">Sparklan WPEA-110N mini pci express wireless network card</a></li>
<li><a title="antec300-65" href="http://www.antec.com/Believe_it/product.php?id=MjA5Mw==" target="_blank">Antec ISK 300-65 case</a></li>
<li><a title="intelpro" href="http://www.intel.com/products/desktop/adapters/pro1000gt/pro1000gt-overview.htm" target="_blank">Intel pro1000gt ethernet card</a></li>
<li><a title="ocz60gb" href="http://www.ocztechnology.com/ocz-vertex-2-sata-ii-2-5-ssd.html" target="_blank">OCZ Vertex 2 SATA II 2.5&#8243; SSD 60gb</a></li>
</ul>
<p>The choice of motherboard was the toughest. There are tons of different Atom powered motherboards, but only a handful of them is able to provide both wireless (via pci mini express) and dual network interfaces (using the extra pci slot). There are a few boards which provide dual network directly on motherboard but they are quite expensive. Also some provide inbuilt wireless but they are usually usb solutions attached to the motherboard. Be sure to check for Linux compatibility if you wish to use it as a Linux server. Atheros chipsets are usually a safe choice. Some notes for the weird pci mini express slot as i could not find much information at that time:</p>
<p><strong>Pci Mini Express:</strong><br />
It is a interface which is usually used in laptops to allow for replacement of the wireless network card. </p>
<p><a href="http://eth0.dk/wp-content/uploads/2012/01/2_800px-a_pci_express_mini_card_and_its_connector.jpg"><img src="http://eth0.dk/wp-content/uploads/2012/01/2_800px-a_pci_express_mini_card_and_its_connector-150x150.jpg" alt="" title="2_800px-a_pci_express_mini_card_and_its_connector" width="150" height="150" class="aligncenter size-thumbnail wp-image-55" /></a></p>
<p>On the picture is the slot itself, and a pci mini express card to be inserted into the slot. Also seen is two Hirose U.FL -> RP-SMA pigtails. They are simply cables to be attached to the wireless network card with an antenna connector at the other end. You do usually do not need to drill holes in your casing. Most io shield have predrilled holes on the io shield that just needs to be punched through. At least the Intel D510MO had.</p>
<p><strong>Retailers</strong><br />
Locating pci mini express add on cards is not easy. At least not in Denmark. Having searched around i finally found a European retailer, which has some very nice stuff for those odd pci mini express slots. They also have antennas and pigtails. I do recommend this retailer.<br />
<a href="http://minipci.biz/" title="minipci.biz" target="_blank">http://minipci.biz</a>  </p>
<p>Other sites which has some nice listings:<br />
<a href="http://www.oxfordtec.com/uk/" title="www.oxfordtec.com" target="_blank">http://www.oxfordtec.com/uk/</a></p>
<p><strong>Advantages</strong></p>
<ul>
<li>Complete control</li>
<li>Parts can be exchanged easily</li>
<li>Cheap upgrade</li>
<li>Passive cooling (completely silent)</li>
<li>Has excess CPU power</li>
<li>Very configurable</li>
<li>Rock stable</li>
</ul>
<p><strong>Disadvantages</strong></p>
<ul>
<li>mini pci express slot (must be used to allow wireless routing)</li>
<li>Intel Atom D510 has no cpu idle support. It will run at 20 watt load or not</li>
<li>only two sata ports</li>
<li>Seems to be picky with memory ( The official ddr2 standard says 1.8volt for memory. Most high performance memory requires more than 1.8v and the board can&#8217;t supply more than 1.8. There is no option in the bios to change memory voltage so beware that your memory can run at 1.8v. That said memory should have a 1.8 volt timing (to comply with the standard) which in my case means the memory will only run at 667 mhz and not the 800mhz max)</li>
<li>No simultaneous 2.4 ghz and 5ghz operation. It&#8217;s either 2.4ghz or 5ghz</li>
<li>No Media capabilities beyond DLNA sharing </li>
</ul>
<p>I did spent some time tweaking the wireless settings. Below is my hostapd.conf. Perfectly capable of feeding my Western Digital Media Live with Blueray rips (1080p &#8211; aprox 8gb size) wireless. If anyone is interested, my non scientific tests shows that a stream like that maxes out at about 2.3 MB/s which would be the rate you are looking for if you want to stream to a media player. The system itself can pull at least 8 MB/s but that could be limited by the client <img src='http://eth0.dk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><strong>Conclusion</strong><br />
This machine will run 24/7 using a mere 20 watt (measured at wall) This is a bit higher than the Excito B3 but still quite low. Please note that size of PSU does matter! If you choose to power the motherboard with a large PSU it will use more power at wall as well. Performance wise this machine is much stronger than the Excito B3 and performed well even when running 4 dedicated game servers. The build was not cheap either but you can easily exchange parts if anything breaks. All in all it is a great home server build which use seems to only be limited by imagination <img src='http://eth0.dk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><strong>Gentoo specifics:</strong></p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#hostapd.conf</span><br />
<span style="color: #007800;">interface</span>=wlan0<br />
<span style="color: #666666; font-style: italic;">#bridge=br0 &nbsp; &nbsp; &nbsp; (optional, if you want bridging remove the #)</span><br />
<span style="color: #007800;">country_code</span>=DK<br />
<span style="color: #007800;">driver</span>=nl80211<br />
<span style="color: #007800;">hw_mode</span>=g<br />
<span style="color: #007800;">wmm_enabled</span>=<span style="color: #000000;">1</span><br />
<span style="color: #007800;">ssid</span>=InterSect<br />
<span style="color: #007800;">ieee80211n</span>=<span style="color: #000000;">1</span><br />
<span style="color: #007800;">ht_capab</span>=<span style="color: #7a0874; font-weight: bold;">&#91;</span>HT40+<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>SHORT-GI-<span style="color: #000000;">40</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>DSSS_CCK-<span style="color: #000000;">40</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><br />
<span style="color: #007800;">channel</span>=<span style="color: #000000;">1</span><br />
<span style="color: #007800;">wpa</span>=<span style="color: #000000;">3</span><br />
<span style="color: #007800;">wpa_passphrase</span>=xxxxxxxxxxxxx<br />
<span style="color: #007800;">wpa_key_mgmt</span>=WPA-PSK<br />
<span style="color: #007800;">wpa_pairwise</span>=TKIP<br />
<span style="color: #007800;">rsn_pairwise</span>=CCMP<br />
<span style="color: #007800;">macaddr_acl</span>=<span style="color: #000000;">0</span><br />
<span style="color: #007800;">auth_algs</span>=<span style="color: #000000;">1</span><br />
<span style="color: #007800;">ignore_broadcast_ssid</span>=<span style="color: #000000;">0</span><br />
<span style="color: #007800;">logger_syslog</span>=-<span style="color: #000000;">1</span><br />
<span style="color: #007800;">logger_syslog_level</span>=<span style="color: #000000;">2</span><br />
<span style="color: #007800;">logger_stdout</span>=-<span style="color: #000000;">1</span><br />
<span style="color: #007800;">logger_stdout_level</span>=<span style="color: #000000;">1</span><br />
<span style="color: #007800;">debug</span>=<span style="color: #000000;">0</span><br />
<span style="color: #007800;">dump_file</span>=<span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>hostapd.dump<br />
<span style="color: #007800;">ctrl_interface</span>=<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>run<span style="color: #000000; font-weight: bold;">/</span>hostapd<br />
<span style="color: #007800;">ctrl_interface_group</span>=<span style="color: #000000;">0</span><br />
<span style="color: #007800;">accept_mac_file</span>=<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>hostapd<span style="color: #000000; font-weight: bold;">/</span>hostapd.accept<br />
<span style="color: #007800;">deny_mac_file</span>=<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>hostapd<span style="color: #000000; font-weight: bold;">/</span>hostapd.deny<br />
<span style="color: #007800;">auth_algs</span>=<span style="color: #000000;">1</span></div></td></tr></tbody></table></div>
<p>Safe cflags:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #007800;">CFLAGS</span>=<span style="color: #ff0000;">&quot;-march=native -O2 -pipe&quot;</span><br />
<span style="color: #007800;">CXXFLAGS</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${CFLAGS}</span>&quot;</span></div></div>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#/etc/conf.d/net</span><br />
<span style="color: #666666; font-style: italic;"># This blank configuration will automatically use DHCP for any net.*</span><br />
<span style="color: #666666; font-style: italic;"># scripts in /etc/init.d. &nbsp;To create a more complete configuration,</span><br />
<span style="color: #666666; font-style: italic;"># please review /etc/conf.d/net.example and save your configuration</span><br />
<span style="color: #666666; font-style: italic;"># in /etc/conf.d/net (this file :]!).</span><br />
<span style="color: #007800;">dns_domain_lo</span>=<span style="color: #ff0000;">&quot;lan&quot;</span><br />
<span style="color: #007800;">config_eth0</span>=<span style="color: #ff0000;">&quot;dhcp&quot;</span><br />
<span style="color: #007800;">dhcp_eth0</span>=<span style="color: #ff0000;">&quot;nodns&quot;</span><br />
<span style="color: #007800;">dns_servers_eth0</span>=<span style="color: #ff0000;">&quot;8.8.8.8 8.8.4.4&quot;</span><br />
<br />
<span style="color: #007800;">config_eth1</span>=<span style="color: #ff0000;">&quot;null&quot;</span><br />
<span style="color: #007800;">modules</span>=<span style="color: #ff0000;">&quot;!wpa_supplicant&quot;</span><br />
<span style="color: #007800;">config_wlan0</span>=<span style="color: #ff0000;">&quot;null&quot;</span><br />
<span style="color: #007800;">rc_need_br0</span>=<span style="color: #ff0000;">&quot;hostapd&quot;</span><br />
<span style="color: #007800;">bridge_br0</span>=<span style="color: #ff0000;">&quot;eth1 wlan0&quot;</span><br />
<span style="color: #007800;">config_br0</span>=<span style="color: #ff0000;">&quot;192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255&quot;</span></div></td></tr></tbody></table></div>
<p><a href="http://eth0.dk/wp-content/uploads/2012/01/2_intel-d510mo1.jpg"><img src="http://eth0.dk/wp-content/uploads/2012/01/2_intel-d510mo1-150x150.jpg" alt="" title="2_intel-d510mo1" width="150" height="150" class="alignnone size-thumbnail wp-image-58" /></a><a href="http://eth0.dk/wp-content/uploads/2012/01/2_miniexpress.jpg"><img src="http://eth0.dk/wp-content/uploads/2012/01/2_miniexpress-150x150.jpg" alt="" title="2_miniexpress" width="150" height="150" class="alignnone size-thumbnail wp-image-59" /></a><a href="http://eth0.dk/wp-content/uploads/2012/01/2_intel-d510mo3.jpg"><img src="http://eth0.dk/wp-content/uploads/2012/01/2_intel-d510mo3-150x150.jpg" alt="" title="2_intel-d510mo3" width="150" height="150" class="alignnone size-thumbnail wp-image-60" /></a><a href="http://eth0.dk/wp-content/uploads/2012/01/2_intel-d510mo2.jpg"><img src="http://eth0.dk/wp-content/uploads/2012/01/2_intel-d510mo2-150x150.jpg" alt="" title="2_intel-d510mo2" width="150" height="150" class="alignnone size-thumbnail wp-image-61" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://eth0.dk/linux/intel-d510mo-as-server-router/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

