<?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>Erik Kristensen</title>
	<atom:link href="http://kristensen.org/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://kristensen.org</link>
	<description>Internetz. Musikk. EDB.</description>
	<lastBuildDate>Mon, 31 May 2010 07:41:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing Dropbox on a headless linux server</title>
		<link>http://kristensen.org/?p=63</link>
		<comments>http://kristensen.org/?p=63#comments</comments>
		<pubDate>Mon, 31 May 2010 07:41:53 +0000</pubDate>
		<dc:creator>erik</dc:creator>
				<category><![CDATA[geekstuff]]></category>
		<category><![CDATA[commandline]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[headless]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://kristensen.org/?p=63</guid>
		<description><![CDATA[Here are the step to get dropbox working on the linux command line:
cd ~
rm -rf .dropbox* Dropbox
wget http://dl-web.dropbox.com/u/17/dropbox-lnx.x86-0.7.110.tar.gz
tar xzf dropbox-lnx.x86-0.7.110.tar.gz
unset DISPLAY
.dropbox-dist/dropbox
You will get a link that you need to copy and paste to your browser (does not need to be on the same machine).
After a while little while, kill the process and start it again [...]]]></description>
			<content:encoded><![CDATA[<p>Here are the step to get dropbox working on the linux command line:</p>
<p>cd ~<br />
rm -rf .dropbox* Dropbox<br />
wget http://dl-web.dropbox.com/u/17/dropbox-lnx.x86-0.7.110.tar.gz<br />
tar xzf dropbox-lnx.x86-0.7.110.tar.gz<br />
unset DISPLAY<br />
.dropbox-dist/dropbox</p>
<p>You will get a link that you need to copy and paste to your browser (does not need to be on the same machine).<br />
After a while little while, kill the process and start it again like this:</p>
<p>nohup .dropbox-dist/dropboxd &#038;</p>
<p>Tested on Debian Squeeze.</p>
]]></content:encoded>
			<wfw:commentRss>http://kristensen.org/?feed=rss2&amp;p=63</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Min wordle</title>
		<link>http://kristensen.org/?p=54</link>
		<comments>http://kristensen.org/?p=54#comments</comments>
		<pubDate>Tue, 27 Apr 2010 03:54:29 +0000</pubDate>
		<dc:creator>erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://kristensen.org/?p=54</guid>
		<description><![CDATA[
Måtte hoppe på bølgen jeg også   Min wordle fra twitter.
]]></description>
			<content:encoded><![CDATA[<p><img src="http://kristensen.org/wp-content/uploads/2010/04/wordle-500x245.png" alt="wordle" title="wordle" width="500" height="245" class="aligncenter size-medium wp-image-61" /></p>
<p>Måtte hoppe på bølgen jeg også <img src='http://kristensen.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Min <a href="http://www.wordle.com/">wordle</a> fra twitter.</p>
]]></content:encoded>
			<wfw:commentRss>http://kristensen.org/?feed=rss2&amp;p=54</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ssh in to a virtualbox server using nat and host-only adapter</title>
		<link>http://kristensen.org/?p=50</link>
		<comments>http://kristensen.org/?p=50#comments</comments>
		<pubDate>Thu, 15 Apr 2010 10:54:38 +0000</pubDate>
		<dc:creator>erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://kristensen.org/?p=50</guid>
		<description><![CDATA[With vmware, if you have your virtual machine set to nat networking, they set up an adapter for you, and you have access to the outside world as well, without exposing your machine using bridged networking, now with virtualbox, it&#8217;s another story&#8230;
If you chose the nat network setting in virtualbox, you will be able to [...]]]></description>
			<content:encoded><![CDATA[<p>With vmware, if you have your virtual machine set to nat networking, they set up an adapter for you, and you have access to the outside world as well, without exposing your machine using bridged networking, now with virtualbox, it&#8217;s another story&#8230;</p>
<p>If you chose the nat network setting in virtualbox, you will be able to connect to the outside network, but you cant connect in using ssh or similar.</p>
<p>The solution: add another network adapter using the &#8220;host-only adapter&#8221; setting.  Configure that adapter with dhcp, voila!  Now you can ssh in on eth1 and connnect to the internet using eth0.</p>
]]></content:encoded>
			<wfw:commentRss>http://kristensen.org/?feed=rss2&amp;p=50</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dumping a stream using mplayer</title>
		<link>http://kristensen.org/?p=48</link>
		<comments>http://kristensen.org/?p=48#comments</comments>
		<pubDate>Thu, 08 Apr 2010 13:02:17 +0000</pubDate>
		<dc:creator>erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://kristensen.org/?p=48</guid>
		<description><![CDATA[Here is an example how to dump a stream using mplayer, this works with both realaudio and windows media, the example is recording a windows media stream from NRK:

mplayer mms://straumod.nrk.no/rod/petre/petreh_081031_21.wma -dumpstream -dumpfile petreh_081031_21.wma
mplayer -ao pcm hot97.wma
lame --preset standard audiodump.wav

]]></description>
			<content:encoded><![CDATA[<p>Here is an example how to dump a stream using mplayer, this works with both realaudio and windows media, the example is recording a windows media stream from NRK:</p>
<p><code><br />
mplayer mms://straumod.nrk.no/rod/petre/petreh_081031_21.wma -dumpstream -dumpfile petreh_081031_21.wma<br />
mplayer -ao pcm hot97.wma<br />
lame --preset standard audiodump.wav<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://kristensen.org/?feed=rss2&amp;p=48</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pinell Supersound med Samba og Debian Lenny</title>
		<link>http://kristensen.org/?p=42</link>
		<comments>http://kristensen.org/?p=42#comments</comments>
		<pubDate>Thu, 18 Mar 2010 19:44:11 +0000</pubDate>
		<dc:creator>erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://kristensen.org/?p=42</guid>
		<description><![CDATA[Jeg fikk meg en Pinell Supersound til jul av familien. Den har FM, DAB og kan spille en drøss av radiostasjoner fra nett. Irie FM på kjøkkenet! Yay!
Men den har også innebygd støtte for SMB shares, så man kan spille musikkfiler fra en filserver.
For å få den til å funke på Debian Lenny var det [...]]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignnone" style="width: 510px"><img alt="Pinell supersound" src="http://www.pinell.no/sitefiles/site8/shop/pinell-supersound---fm_-dab-og-internettradio28.jpg" title="Pinell supersound" width="500" height="250" /><p class="wp-caption-text">Pinell supersound</p></div>
<p>Jeg fikk meg en Pinell Supersound til jul av familien. Den har FM, DAB og kan spille en drøss av radiostasjoner fra nett. Irie FM på kjøkkenet! Yay!</p>
<p>Men den har også innebygd støtte for SMB shares, så man kan spille musikkfiler fra en filserver.<br />
For å få den til å funke på Debian Lenny var det to quirks:</p>
<p>1) jeg måtte dele ut filer i gjestemodus, passord virket ikke</p>
<p>2) får å få filene i alfabetisk rekkefølge, så må man bruke siste versjon av samba, som finnes i lenny backports, og bruke opsjonen <em>vfs objects=dirsort</em></p>
<p>Følgende må inn i /etc/samba/smb.conf:<br />
<code><br />
security=share<br />
guest account=nobody</p>
<p>[musikk]<br />
path=/samba<br />
browseable=yes<br />
read only=yes<br />
guest ok=yes<br />
vfs objects=dirsort<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://kristensen.org/?feed=rss2&amp;p=42</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting wp audio player to work with wordpress 2.8</title>
		<link>http://kristensen.org/?p=35</link>
		<comments>http://kristensen.org/?p=35#comments</comments>
		<pubDate>Tue, 27 Oct 2009 14:12:23 +0000</pubDate>
		<dc:creator>erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://kristensen.org/?p=35</guid>
		<description><![CDATA[Just downloaded the latest player here:
http://wpaudioplayer.com/
And patched it with this:
http://claas.cabird.de/files/audio-player.php.txt
Example: 
]]></description>
			<content:encoded><![CDATA[<p>Just downloaded the latest player here:</p>
<p><a href="http://wpaudioplayer.com/">http://wpaudioplayer.com/</a></p>
<p>And patched it with this:</p>
<p><a href="http://claas.cabird.de/files/audio-player.php.txt">http://claas.cabird.de/files/audio-player.php.txt</a></p>
<p>Example: </p>
]]></content:encoded>
			<wfw:commentRss>http://kristensen.org/?feed=rss2&amp;p=35</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://kristensen.org/wp-content/uploads/2009/10/05-the_d.o.c.-the_shit_ft._ice_cube_mc_ren_snoop_dogg_-rec1.mp3" length="7929861" type="audio/mpeg" />
		</item>
		<item>
		<title>Shabba!</title>
		<link>http://kristensen.org/?p=27</link>
		<comments>http://kristensen.org/?p=27#comments</comments>
		<pubDate>Tue, 27 Oct 2009 12:38:49 +0000</pubDate>
		<dc:creator>erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://kristensen.org/?p=27</guid>
		<description><![CDATA[Bare noen dager igjen!  

]]></description>
			<content:encoded><![CDATA[<p>Bare noen dager igjen! <img src='http://kristensen.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="295" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/Lp3hhpJom7A&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="295" src="http://www.youtube.com/v/Lp3hhpJom7A&amp;hl=en&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://kristensen.org/?feed=rss2&amp;p=27</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ny server</title>
		<link>http://kristensen.org/?p=18</link>
		<comments>http://kristensen.org/?p=18#comments</comments>
		<pubDate>Sun, 04 Oct 2009 14:04:23 +0000</pubDate>
		<dc:creator>erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://kristensen.org/?p=18</guid>
		<description><![CDATA[
Da har jeg byttet ut den gamle pentium 100 boksen jeg kjøpte for 20 kr, med en fin skinnende eee box, og installert wordpress. Hjelp! Jeg har blitt en blogger  
]]></description>
			<content:encoded><![CDATA[<p><a href="http://kristensen.org/wp-content/uploads/2009/10/eeebox.jpg"><img class="aligncenter size-medium wp-image-17" title="eeebox" src="http://kristensen.org/wp-content/uploads/2009/10/eeebox-300x225.jpg" alt="eeebox" width="300" height="225" /></a></p>
<p>Da har jeg byttet ut den gamle pentium 100 boksen jeg kjøpte for 20 kr, med en fin skinnende eee box, og installert wordpress. Hjelp! Jeg har blitt en blogger <img src='http://kristensen.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://kristensen.org/?feed=rss2&amp;p=18</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Set JAVA_HOME in windows cmd shell</title>
		<link>http://kristensen.org/?p=14</link>
		<comments>http://kristensen.org/?p=14#comments</comments>
		<pubDate>Wed, 25 Mar 2009 11:31:00 +0000</pubDate>
		<dc:creator>erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://kristensen.org/?p=14</guid>
		<description><![CDATA[Not hard, but I always forget:
set JAVA_HOME=&#8221;c:\progra~1\Java\jdk1.6.0_11&#8243;
]]></description>
			<content:encoded><![CDATA[<p>Not hard, but I always forget:</p>
<p>set JAVA_HOME=&#8221;c:\progra~1\Java\jdk1.6.0_11&#8243;</p>
]]></content:encoded>
			<wfw:commentRss>http://kristensen.org/?feed=rss2&amp;p=14</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Postfix + gmail on Debian etch</title>
		<link>http://kristensen.org/?p=13</link>
		<comments>http://kristensen.org/?p=13#comments</comments>
		<pubDate>Fri, 28 Nov 2008 14:49:00 +0000</pubDate>
		<dc:creator>erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://kristensen.org/?p=13</guid>
		<description><![CDATA[Here is how to set up postfix relaying using gmail
apt-get install postfix libsasl2-modules
Add the following lines in /etc/postfix/main.cf:
smtp_use_tls = yessmtp_sasl_auth_enable = yessmtp_sasl_password_maps = hash:/etc/postfix/sasl_passwdsmtp_sasl_security_options = noanonymousrelayhost = [smtp.gmail.com]:587
Add the file /etc/postfix/sasl_passwd
[smtp.gmail.com]:587             youruser@gmail.com:yourpassword
And run postmap on it
postmap sasl_passwd
restart postfix and your done  
]]></description>
			<content:encoded><![CDATA[<p>Here is how to set up postfix relaying using gmail</p>
<p>apt-get install postfix libsasl2-modules</p>
<p>Add the following lines in /etc/postfix/main.cf:</p>
<p>smtp_use_tls = yes<br />smtp_sasl_auth_enable = yes<br />smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd<br />smtp_sasl_security_options = noanonymous<br />relayhost = [smtp.gmail.com]:587</p>
<p>Add the file /etc/postfix/sasl_passwd</p>
<p>[smtp.gmail.com]:587             youruser@gmail.com:yourpassword</p>
<p>And run postmap on it</p>
<p>postmap sasl_passwd</p>
<p>restart postfix and your done <img src='http://kristensen.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://kristensen.org/?feed=rss2&amp;p=13</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
