<?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>decompiled &#187; Music</title>
	<atom:link href="http://www.jonathankern.com/blog/category/music/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jonathankern.com</link>
	<description>The life and times of Jonathan Kern</description>
	<lastBuildDate>Sat, 04 Feb 2012 12:18:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Drums</title>
		<link>http://www.jonathankern.com/blog/2010/05/08/drums/</link>
		<comments>http://www.jonathankern.com/blog/2010/05/08/drums/#comments</comments>
		<pubDate>Sun, 09 May 2010 00:00:21 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[drums]]></category>

		<guid isPermaLink="false">http://www.jonathankern.com/?p=704</guid>
		<description><![CDATA[After I moved to Seattle, I needed to do something with my old Rogers drum kit. It was a pretty nice set and I liked playing it, but I almost never did cause it was so loud. In my old place, it lived in the garage, so at least I could keep some of the [...]]]></description>
			<content:encoded><![CDATA[<p>After I moved to Seattle, I needed to do something with my old Rogers drum kit. It was a pretty nice set and I liked playing it, but I almost never did cause it was so loud. In my old place, it lived in the garage, so at least I could keep some of the noise in, but in my new place, it just wouldn&#8217;t work. So, I made a phone call to Donn over at Donn Bennett Drum Studio in Bellevue and asked what he could offer.</p>
<p style="text-align: center;"><a href="http://www.jonathankern.com/wp-content/uploads/2010/05/Roland_Td4s.jpg" rel="lightbox[704]"><img class="size-large wp-image-705 aligncenter" title="Roland TD-4S" src="http://www.jonathankern.com/wp-content/uploads/2010/05/Roland_Td4s-846x1024.jpg" alt="" width="414" height="502" /></a></p>
<p>Long story short, I ended up trading in the kit and some cash for a pretty solid electric drum kit by Roland (pictured above) plus a fairly nice kick pedal and some headphones. Since then, I&#8217;ve been rocking the hell out with my Zune HD plugged into the system. So far, I&#8217;ve got a few Death Cab for Cutie songs nailed and I&#8217;ve been mucking around with Radiohead, Incubus, and Deftones. Definitely a good purchase.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jonathankern.com/blog/2010/05/08/drums/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Year of Concerts</title>
		<link>http://www.jonathankern.com/blog/2008/12/10/year-of-concerts/</link>
		<comments>http://www.jonathankern.com/blog/2008/12/10/year-of-concerts/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 07:10:40 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://www.jonathankern.com/?p=550</guid>
		<description><![CDATA[I went to the local rock station&#8217;s holiday concert last night. It capped off quite a year of concerts&#8230;I&#8217;ve seen a lot of bands this year: Queens of the Stone Age Mindless Self Indulgence Cake Nine Inch Nails Ashes Divide Radiohead El Ten Eleven Pin Pon Dash (my sushi chef&#8217;s band) Death Cab for Cutie [...]]]></description>
			<content:encoded><![CDATA[<p>I went to the local rock station&#8217;s holiday concert last night. It capped off quite a year of concerts&#8230;I&#8217;ve seen a lot of bands this year:</p>
<ol>
<li>Queens of the Stone Age</li>
<li>Mindless Self Indulgence</li>
<li>Cake</li>
<li>Nine Inch Nails</li>
<li>Ashes Divide</li>
<li>Radiohead</li>
<li>El Ten Eleven</li>
<li>Pin Pon Dash (my sushi chef&#8217;s band)</li>
<li>Death Cab for Cutie (last night)</li>
<li>The Killers (last night)</li>
</ol>
<p>I think that&#8217;s it for the year, unless someone knows about a cool show in SoCal between 12/19 and 1/4.</p>
<p>UPDATE: Oh shit, I forgot to list Radiohead&#8230;that was the best concert of the year, hands down.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jonathankern.com/blog/2008/12/10/year-of-concerts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>\o/</title>
		<link>http://www.jonathankern.com/blog/2008/12/05/o/</link>
		<comments>http://www.jonathankern.com/blog/2008/12/05/o/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 18:51:58 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://www.jonathankern.com/?p=544</guid>
		<description><![CDATA[Something great just happened. I was on my way to work and stopped to grab some coffee. As soon as I pulled out of the starbucks drive-through, I turned on my radio. It was playing the local rock station, 107.7. From the time that I turned it on until I got to work, EVERY song [...]]]></description>
			<content:encoded><![CDATA[<p>Something great just happened. I was on my way to work and stopped to grab some coffee. As soon as I pulled out of the starbucks drive-through, I turned on my radio. It was playing the local rock station, 107.7. From the time that I turned it on until I got to work, EVERY song was FANTASTIC. All of them were songs that I really like. This is a somewhat odd occurance, at least in my experience. They ususally put in something terrible by Modest Mouse or Plain White T&#8217;s, but not this time. I arrived to work feeling <strong>great</strong>.</p>
<ul>
<li>Shiny Toy Guns &#8211; Ghost Town</li>
<li>Green Day &#8211; Good Riddance</li>
<li>Incubus &#8211; Pardon Me</li>
<li>Pearl Jam &#8211; Alive</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.jonathankern.com/blog/2008/12/05/o/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote iTunes Streaming</title>
		<link>http://www.jonathankern.com/blog/2008/07/28/remote-itunes-streaming/</link>
		<comments>http://www.jonathankern.com/blog/2008/07/28/remote-itunes-streaming/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 22:25:38 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.jonathankern.com/?p=509</guid>
		<description><![CDATA[Are you ever away from home and wish you had your music library available?  I certainly do, so I&#8217;ve done something about it. First, a bit about my environment: Server: Windows Home Server Debian &#8220;Lenny&#8221; running in a VM Behind a Linksys WRT54G running Tomato SSH forwarded into the linux VM Client Windows Vista Enterprise [...]]]></description>
			<content:encoded><![CDATA[<p>Are you ever away from home and wish you had your music library available?  I certainly do, so I&#8217;ve done something about it.</p>
<p>First, a bit about my environment:</p>
<ul>
<li>Server:
<ul>
<li>Windows Home Server</li>
<li>Debian &#8220;Lenny&#8221; running in a VM</li>
<li>Behind a Linksys WRT54G running <a href="http://www.polarcloud.com/tomato" target="_blank">Tomato</a></li>
<li>SSH forwarded into the linux VM</li>
</ul>
</li>
<li>Client
<ul>
<li>Windows Vista Enterprise</li>
<li>Behind an ISA firewall</li>
</ul>
</li>
</ul>
<p>To accomplish this task, I used the following tools:</p>
<ul>
<li>smbfs &#8211; Samba filesystem kernel module</li>
<li><a href="http://fireflymediaserver.org/" target="_blank">mt-daapd</a> &#8211; Firefly media server</li>
<li><a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/" target="_blank">Putty </a>- Windows SSH client</li>
<li><a href="http://ileech.sf.net/RendezvousProxy/" target="_blank">Rendezvous Proxy</a> &#8211; Windows utility that proxies the Apple Rendezvous protocol from an arbitrary network address</li>
</ul>
<p>Here is what I did, step by step:</p>
<p>1) Setup Debian to automatically mount my Home Server&#8217;s music share on boot:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>mp3
$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vim</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>fstab</pre></div></div>

<p>Add a line to the end of the file like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">//&lt;</span>ipaddress<span style="color: #000000; font-weight: bold;">&gt;/</span>Music  <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>mp3  smbfs <span style="color: #007800;">username</span>=<span style="color: #000000; font-weight: bold;">&lt;</span>username<span style="color: #000000; font-weight: bold;">&gt;</span>,<span style="color: #007800;">password</span>=<span style="color: #000000; font-weight: bold;">&lt;</span>password<span style="color: #000000; font-weight: bold;">&gt;</span>  <span style="color: #000000;">0</span>  <span style="color: #000000;">0</span></pre></div></div>

<p>Where &lt;ipaddress&gt; is the IP of your media server, and &lt;username&gt; and &lt;password&gt; are a login that has access to the file share</p>
<p>Then, I mounted the share manually to avoid having to restart:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>mp3</pre></div></div>

<p>2) Setup mt-daapd (you can grab this from sourceforge at <a href="http://tinyurl.com/mt-daapd" target="_blank">http://tinyurl.com/mt-daapd</a>):</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #000000; font-weight: bold;">&lt;</span>url path to mt-daapd tarball<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>http:<span style="color: #000000; font-weight: bold;">//</span>sourceforge.net<span style="color: #000000; font-weight: bold;">/</span>project<span style="color: #000000; font-weight: bold;">/</span>showfiles.php?<span style="color: #007800;">group_id</span>=<span style="color: #000000;">98211</span><span style="color: #000000; font-weight: bold;">&amp;</span><span style="color: #007800;">package_id</span>=<span style="color: #000000;">105189</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
$ <span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-zxvf</span> <span style="color: #000000; font-weight: bold;">&lt;</span>path to tarball<span style="color: #000000; font-weight: bold;">&gt;</span>
$ <span style="color: #7a0874; font-weight: bold;">cd</span> mt-daapd-x.x.x.x  <span style="color: #666666; font-style: italic;"># x's are in place of the version number</span>
$ .<span style="color: #000000; font-weight: bold;">/</span>configure
$ <span style="color: #c20cb9; font-weight: bold;">make</span>
$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>Now you need to configure mt-daapd:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">cp</span> contrib<span style="color: #000000; font-weight: bold;">/</span>mt-daapd.conf <span style="color: #000000; font-weight: bold;">/</span>etc
$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">cp</span> contrib<span style="color: #000000; font-weight: bold;">/</span>mt-daapd.playlist <span style="color: #000000; font-weight: bold;">/</span>etc
$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vim</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>mt-daapd.conf</pre></div></div>

<p>Most of the defaults should be fine, but you&#8217;ll need to change web_root from /usr/share/&#8230; to /usr/local/share/&#8230;  You&#8217;ll also want to change the admin_pw to a more secure password.</p>
<p>Next, we&#8217;ll make mt-daapd load on boot automatically:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d
$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>mt-daapd mt-daapd
$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> update-rc.d mt-daapd defaults</pre></div></div>

<p>We&#8217;re now ready to launch mt-daapd:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <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>mt-daapd start</pre></div></div>

<p>Ok, barring any errors, you&#8217;ve now got sharing working locally.  The next step is to get to that share remotely.</p>
<p>3) Setup an SSH tunnel to your media server.</p>
<p>On your client machine, launch Putty and input the following settings:</p>
<ul>
<li>Session
<ul>
<li>Host Name (or IP address): the hostname or IP of your router.  In my case, I have a dynamic IP, so I use <a href="http://www.dyndns.org" target="_blank">dyndns.org</a> along with the appropriate settings in my router&#8217;s firmware.</li>
<li>Connection type: SSH</li>
</ul>
</li>
<li>SSH
<ul>
<li>Check &#8220;Don&#8217;t start a shell or command at all&#8221;</li>
<li>Check &#8220;Enable compression&#8221;</li>
</ul>
</li>
<li>SSH -&gt; Tunnels
<ul>
<li>Source port: 3689</li>
<li>Destination: your linux box&#8217;s local IP plus port 3689 (ex. 192.168.1.100:3689)</li>
<li>Click Add</li>
</ul>
</li>
</ul>
<p>You&#8217;ll probably also want to save this configuration in the Session tab.  Optionally, you can <a href="http://the.earth.li/~sgtatham/putty/0.53b/htmldoc/Chapter8.html" target="_blank">setup SSH Key authentication</a> so you don&#8217;t have to type your password every time you connect.</p>
<p>4) Setup Rendezvous Proxy:</p>
<p>Install Rendezvous proxy (download link above) and run the application</p>
<p>Click Add Host and input the following settings:</p>
<ul>
<li>IP Address: localhost (we direct the traffic to our SSH tunnel this way)</li>
<li>Port: 3689</li>
<li>Host Label: what shows up in iTunes</li>
<li>Service Type: _daap._tcp. (iTunes Host)</li>
</ul>
<p>Click Add and then launch iTunes.  You should now see your home media server in the left column.  Have fun!</p>
<p>(Thanks to <a href="http://www.jroller.com/ldewavrin/date/20041029" target="_blank">Luc Dewavrin</a> for his tutorial on setting this up.  It took some extra steps, but his documentation was priceless)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jonathankern.com/blog/2008/07/28/remote-itunes-streaming/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

