<?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>Vegard Hammerseth</title>
	<atom:link href="http://vegard.hammerseth.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://vegard.hammerseth.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 14 Mar 2010 23:04:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>This weeks links</title>
		<link>http://vegard.hammerseth.com/2010/03/this-weeks-links-2/</link>
		<comments>http://vegard.hammerseth.com/2010/03/this-weeks-links-2/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 18:00:41 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Joke]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[snowplow death metal weird illusion mini cotton youtube horn]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=654</guid>
		<description><![CDATA[Snowplow
THE SNAIL (REMI GAILLARD)
Death metal rooster
Chinese grandmother (101) grows horn
youtube speed
Photographing cotton
Miniature New York
Food landscape
Make it smaller and become bigger
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youtube.com/watch?v=tPg1ZMiC9pA">Snowplow</a></p>
<p><a href="http://www.youtube.com/watch?v=gHCxdlZ7G18">THE SNAIL (REMI GAILLARD)</a></p>
<p><a href="http://www.youtube.com/watch?v=A43JOxLa5MM">Death metal rooster</a></p>
<p><a href="http://www.dailymail.co.uk/news/worldnews/article-1256398/Chinese-grandmother-grows-devil-horns.html">Chinese grandmother (101) grows horn</a></p>
<p><a href="http://www.youtube.com/my_speed">youtube speed</a></p>
<p><a href="http://weburbanist.com/2010/03/13/strange-miniature-worlds-of-cotton-sugar-and-spice/">Photographing cotton</a></p>
<p><a href="http://vimeo.com/9679622">Miniature New York</a></p>
<p><a href="http://www.moillusions.com/2008/06/carl-warners-food-landscapes-or.html">Food landscape</a></p>
<p><a href="http://www.willard-wigan.com/video.aspx">Make it smaller and become bigger</a></p>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2010/03/this-weeks-links-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>This weekends links</title>
		<link>http://vegard.hammerseth.com/2010/03/this-weekends-links/</link>
		<comments>http://vegard.hammerseth.com/2010/03/this-weekends-links/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 19:42:23 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[baby]]></category>
		<category><![CDATA[boggie]]></category>
		<category><![CDATA[metal]]></category>
		<category><![CDATA[RC]]></category>
		<category><![CDATA[rube goldberg machine]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[su27]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=637</guid>
		<description><![CDATA[Rock baby
Rube Goldberg Machine version
Unbelievable plane build and it`s movie
Sound technology, listen to nearby planes pretty cool idea
Old School Electric Boogie
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youtube.com/watch?v=6pYtxD92SpY">Rock baby</a></p>
<p><a href="http://www.youtube.com/watch?v=qybUFnY7Y8w">Rube Goldberg Machine version</a></p>
<p><a href="http://www.su27.de/seite1.htm">Unbelievable plane build</a> and it`s <a href="http://www.youtube.com/watch?v=6IKnZ_tkecU">movie</a></p>
<p><a href="http://www.scientificamerican.com/article.cfm?id=acoustic-vector-sensing">Sound technology, listen to nearby planes</a> pretty cool idea</p>
<p><a href="http://www.youtube.com/watch?v=R8fNfv-K55A">Old School Electric Boogie</a></p>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2010/03/this-weekends-links/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Bristlebot &#8211; clean your home</title>
		<link>http://vegard.hammerseth.com/2010/02/bristlebot/</link>
		<comments>http://vegard.hammerseth.com/2010/02/bristlebot/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 18:56:34 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=632</guid>
		<description><![CDATA[Check out this simple little robot which does nothing else than sweeping the ground beneath: http://www.evilmadscientist.com/article.php/bristlebot
Why not make a larger version and make it clean your crypt?
]]></description>
			<content:encoded><![CDATA[<p>Check out this simple little robot which does nothing else than sweeping the ground beneath: <a href="http://www.evilmadscientist.com/article.php/bristlebot">http://www.evilmadscientist.com/article.php/bristlebot</a></p>
<p>Why not make a larger version and make it clean your crypt?</p>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2010/02/bristlebot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Computer and Arduino controlled car (1:18)</title>
		<link>http://vegard.hammerseth.com/2010/02/computer-and-arduino-controlled-car-118/</link>
		<comments>http://vegard.hammerseth.com/2010/02/computer-and-arduino-controlled-car-118/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 20:02:47 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Open source]]></category>
		<category><![CDATA[RC]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[/dev/ttyUSB0]]></category>
		<category><![CDATA[1:18]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[c++ish]]></category>
		<category><![CDATA[car]]></category>
		<category><![CDATA[controlled]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=613</guid>
		<description><![CDATA[So I decided to make something with RC-servos using the Arduino board and the sensor shield which I recently purchased.
I went ahead figuring out how to send arrow signals from my computer to Arduino using USB interface.
Using void setup() { Serial.begin(9600); } on Arduino and screen /dev/ttyUSB0 9600 on my computer, I managed to send [...]]]></description>
			<content:encoded><![CDATA[<p>So I decided to make something with RC-servos using the Arduino board and the sensor shield which I recently purchased.</p>
<p>I went ahead figuring out how to send arrow signals from my computer to Arduino using USB interface.</p>
<p>Using <code>void setup() { Serial.begin(9600); }</code> on Arduino and <code>screen /dev/ttyUSB0 9600</code> on my computer, I managed to send commands back and forth. I hooked up the standard servo library and write some code before I mounted the Arduino board on my <a href="http://vegard.hammerseth.com/2009/05/team-losi-mini-rock-crawler-modifications/">mini rock crawler</a>. I now had a computer controlled car. Because of Arduino`s simple interface I had it all up and running around an hour. Check the small video and code below.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/BOP4Nkqgku8&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/BOP4Nkqgku8&amp;hl=en_US&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>You can view and or use the code as you like below. (Sorry about the indention, Wordpress messes it up).</p>
<div style="background-color:#bfbfbf;">
//<br />
// LIBRARY<br />
//<br />
#include &lt;Servo.h&gt;</p>
<p>//<br />
// OBJ<br />
//<br />
Servo servo1;<br />
Servo servo2;</p>
<p>// VARS<br />
int readByte;<br />
int servo1Angle = 90;	  //default servo angle<br />
int servo2Angle = 90;</p>
<p>int minPulse     =  700;  // minimum servo position<br />
int maxPulse     =  2300; // maximum servo position </p>
<p>void setup()<br />
{<br />
  servo1.attach(2, minPulse, maxPulse);  //connect servo<br />
  servo2.attach(3, minPulse, maxPulse);</p>
<p>  Serial.begin(9600); // start serial<br />
  Serial.println(&#8220;Ready\n&#8221;);<br />
} </p>
<p>void loop()<br />
{<br />
  if (Serial.available() > 1) // procced when two bytes is avaiable<br />
  {<br />
    readByte; = Serial.read();  //read first byte<br />
    if (readByte; == 91)<br />
    {<br />
      readByte; = Serial.read(); //read second byte to determine arrow type<br />
      if (readByte; == 65 &#038;&#038; servo1Angle <= 180)      //UP<br />
      {<br />
        servo1Angle += 5;<br />
      }<br />
      else if(readByte; == 66 &#038;&#038; servo1Angle >= 0)  //DOWN<br />
      {<br />
        servo1Angle -= 5;<br />
      }<br />
      else if(readByte; == 67 &#038;&#038; servo2Angle <= 180)  //RIGHT<br />
      {<br />
        servo2Angle += 5;<br />
      }<br />
      else if(readByte; == 68 &#038;&#038; servo2Angle >= 0) //LEFT<br />
      {<br />
        servo2Angle -= 5;<br />
      }</p>
<p>    }<br />
  }<br />
  // set servo positions<br />
  servo1.write(servo1Angle);<br />
  servo2.write(servo2Angle);<br />
  delay(15);<br />
}
</p></div>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2010/02/computer-and-arduino-controlled-car-118/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Med eller uten? (2008-2009)</title>
		<link>http://vegard.hammerseth.com/2009/12/med-eller-uten/</link>
		<comments>http://vegard.hammerseth.com/2009/12/med-eller-uten/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 17:24:19 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[Norwegian]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=276</guid>
		<description><![CDATA[I år går avogtil.no ut med kampanjen Med eller uten? med budskapet å slå ned på alkoholbruken i juletider. Dette går ut på å få foreldre til å kutte ut alkoholen på julaften til barna sin fordel. Ikke bare foreldre, men alle voksne som feirer sammen med barn.
Hvorfor?
Når du drikker «for mye» vil oppførselen forandre [...]]]></description>
			<content:encoded><![CDATA[<p>I år går <a href="http://www.avogtil.no">avogtil.no</a> ut med kampanjen <a href="http://www.avogtil.no/category.php?categoryID=153">Med eller uten?</a> med budskapet å slå ned på alkoholbruken i juletider. Dette går ut på å få foreldre til å kutte ut alkoholen på julaften til barna sin fordel. Ikke bare foreldre, men alle voksne som feirer sammen med barn.</p>
<p><strong>Hvorfor?<br />
</strong>Når du drikker «for mye» vil oppførselen forandre seg. Bare det at du er klar over at du inntar alkohol er med på å forandre oppførselen din. Foresatte har i de fleste oppvekster tjent trygghetsfølelsen hos barnet i begynnelsen og er barnet sitt trygghetssted. Det har du kanskje merket ved at ungen din gjemmer seg bak deg eller søker beskyttelse i dine armer.</p>
<p>Hvis et barn merker at oppførselen din forandrer seg vil barnetets trygghetsfølelse briste eller forsvinne uten å si noe sikkert uten personlig erfaring. Dette er noe som kanskje blir bygget opp igjen da barnet ikke forstår hvorfor du plutslig ble en annen person.</p>
<p>Mulig jeg overdriver, men hva gjør vi vel ikke for fremtiden?</p>
<p>Ha en ellers god og avholdsfri jul.</p>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2009/12/med-eller-uten/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chromium, open Spotify links in Gnome</title>
		<link>http://vegard.hammerseth.com/2009/12/chromium-open-spotify-links-in-gnome/</link>
		<comments>http://vegard.hammerseth.com/2009/12/chromium-open-spotify-links-in-gnome/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 20:30:36 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=600</guid>
		<description><![CDATA[Did you ever get a link like http://open.spotify.com/track/1QdXJ6TDYOT7sZyq7WCHhk, but were unable to open it easy? try following:

gconftool-2 --set --type=string /desktop/gnome/url-handlers/spotify/command 'wine "C:\Program Files\Spotify\spotify.exe" /uri "%s"'
gconftool-2 --set --type=bool /desktop/gnome/url-handlers/spotify/enabled true
gconftool-2 --set --type=bool /desktop/gnome/url-handlers/spotify/need-terminal false

]]></description>
			<content:encoded><![CDATA[<p>Did you ever get a link like <a href="http://open.spotify.com/track/1QdXJ6TDYOT7sZyq7WCHhk">http://open.spotify.com/track/1QdXJ6TDYOT7sZyq7WCHhk</a>, but were unable to open it easy? try following:<br />
<code><br />
gconftool-2 --set --type=string /desktop/gnome/url-handlers/spotify/command 'wine "C:\Program Files\Spotify\spotify.exe" /uri "%s"'<br />
gconftool-2 --set --type=bool /desktop/gnome/url-handlers/spotify/enabled true<br />
gconftool-2 --set --type=bool /desktop/gnome/url-handlers/spotify/need-terminal false<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2009/12/chromium-open-spotify-links-in-gnome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Re wounding a brush less mini motor</title>
		<link>http://vegard.hammerseth.com/2009/11/re-wounding-a-brush-less-mini-motor/</link>
		<comments>http://vegard.hammerseth.com/2009/11/re-wounding-a-brush-less-mini-motor/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 00:02:32 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Hobby]]></category>
		<category><![CDATA[RC]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[brush less]]></category>
		<category><![CDATA[copper]]></category>
		<category><![CDATA[hyperion]]></category>
		<category><![CDATA[micro]]></category>
		<category><![CDATA[mini]]></category>
		<category><![CDATA[motor]]></category>
		<category><![CDATA[small]]></category>
		<category><![CDATA[wire]]></category>
		<category><![CDATA[wound]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=595</guid>
		<description><![CDATA[After running this motor to hard outside, I managed to burn the motor. You can see pictures of the &#8220;burnt&#8221; motor in the gallery below.
First of all I opened the motor to take a look noticing protective isolation layer on the copper were melted. Not so strange, because when I approaced the motor after the [...]]]></description>
			<content:encoded><![CDATA[<p>After running this motor to hard outside, I managed to burn the motor. You can see pictures of the &#8220;burnt&#8221; motor in the gallery below.</p>
<p>First of all I opened the motor to take a look noticing protective isolation layer on the copper were melted. Not so strange, because when I approaced the motor after the plane fell from the sky, it was insane hot.</p>
<p>Before removing all wire I measured the wire diameter to 0,30mm. I found this king of wire inside very small tranformators in a computer power supply.</p>
<p>By using this picutre, found on <a href="http://www.southernsoaringclub.org.za/a-BM-motors-2.html">this pa</a>ge. I was able to re wound the motor.<br />
<img class="alignnone" title="9 polar" src="http://lh5.ggpht.com/_kHz6hsl_gy8/SwxIZsIKVGI/AAAAAAAAFFU/L8J5s1GbvWk/s576/3-9%20fase%20motor%20wire.JPG" alt="" width="346" height="331" /> <a href="http://lh5.ggpht.com/_kHz6hsl_gy8/SwxIX_w1zJI/AAAAAAAAFFM/ke0V3_ARHCM/s1024/re-wonded%20four%20poles.JPG"><img class="alignnone" title="Four" src="http://lh5.ggpht.com/_kHz6hsl_gy8/SwxIX_w1zJI/AAAAAAAAFFM/ke0V3_ARHCM/s1024/re-wonded%20four%20poles.JPG" alt="" width="410" height="231" /></a></p>
<p>I actually did wound all the poles at the same time, well, one by one, but all three wires were in use, if you follow.</p>
<p>After finish wounding I had to connect wires together to make only three wires, brush less motor has three out wires.</p>
<p>Since it`s a pretty fast motor I made a delta hookup, but I did a mistake at first. This motor should have around 195mOhm per 14-turn, maybe I did not mention it is a 14-turn motor. Which means each pole (there are nine here) needs 14 turns of isolated copper wire and in a small motor like this one, it`s not that easy. Anyway, by hooking up wrong end`s I broke a ESC of mine ($10) so I had to buy another one.</p>
<p>The motor works just great now and I might add a video later.</p>
<p><strong>Gallery</strong></p>
<table style="width:194px;">
<tr>
<td align="center" style="height:194px;background:url(http://picasaweb.google.no/s/c/transparent_album_background.gif) no-repeat left"><a href="http://picasaweb.google.no/v.hammerseth/FixingBrushlessMotor?feat=embedwebsite"><img src="http://lh3.ggpht.com/_kHz6hsl_gy8/SwxIOlxZa7E/AAAAAAAAFFY/15Ao78VtcuI/s160-c/FixingBrushlessMotor.jpg" width="160" height="160" style="margin:1px 0 0 4px;"></a></td>
</tr>
<tr>
<td style="text-align:center;font-family:arial,sans-serif;font-size:11px"><a href="http://picasaweb.google.no/v.hammerseth/FixingBrushlessMotor?feat=embedwebsite" style="color:#4D4D4D;font-weight:bold;text-decoration:none;">Fixing brushless motor</a></td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2009/11/re-wounding-a-brush-less-mini-motor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Clik is born</title>
		<link>http://vegard.hammerseth.com/2009/11/a-clik-is-born/</link>
		<comments>http://vegard.hammerseth.com/2009/11/a-clik-is-born/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 09:17:21 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[Hobby]]></category>
		<category><![CDATA[RC]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=593</guid>
		<description><![CDATA[After my first self builded depron was basically a failure, I removed all electronics and carbon from it and threw it away. Electronics on the plane were in good shape so I had to make another one. I have a Blade EPP before, but having two planes in the field is neat when one plane [...]]]></description>
			<content:encoded><![CDATA[<p>After my first <a href="http://vegard.hammerseth.com/2009/03/rc-extra300-4d-project/">self builded depron</a> was basically a failure, I removed all electronics and carbon from it and threw it away. Electronics on the plane were in good shape so I had to make another one. I have a Blade EPP before, but having two planes in the field is neat when one plane is down and gluing.</p>
<p>The plane is built as light as possible and will probably land around 150g. More information will be available when finished.</p>
<p><strong>Pictures from the build can be viewed here.</strong></p>
<table style="width: 194px;" border="0">
<tbody>
<tr>
<td style="height: 194px; background: url(http://picasaweb.google.com/s/c/transparent_album_background.gif) no-repeat left;" align="center"><a href="http://picasaweb.google.com/v.hammerseth/AClikIsBorn?feat=embedwebsite"><img style="margin:1px 0 0 4px;" src="http://lh3.ggpht.com/_kHz6hsl_gy8/SwmxpCdO_7E/AAAAAAAAFEw/na6rP091sAE/s160-c/AClikIsBorn.jpg" alt="" width="160" height="160" /></a></td>
</tr>
<tr>
<td style="text-align:center;font-family:arial,sans-serif;font-size:11px"><a style="color:#4D4D4D;font-weight:bold;text-decoration:none;" href="http://picasaweb.google.com/v.hammerseth/AClikIsBorn?feat=embedwebsite">A Clik is born</a></td>
</tr>
</tbody>
</table>
<p>A movie will be available later.</p>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2009/11/a-clik-is-born/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Frets On Fire on Ubuntu by making .deb package</title>
		<link>http://vegard.hammerseth.com/2009/11/installing-frets-on-fire-on-ubuntu-by-making-deb-package/</link>
		<comments>http://vegard.hammerseth.com/2009/11/installing-frets-on-fire-on-ubuntu-by-making-deb-package/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 18:47:06 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Open source]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=589</guid>
		<description><![CDATA[sudo apt-get install dh-make
mkdir fretsonfire-1.3.110
cd fretsonfire-1.3.110
dh_make -s -n
cd debian
rm *.ex *.EX
mkdir fretsonfire
mkdir fretsonfire/usr
mkdir fretsonfire/usr/share
Now download the game
wget http://downloads.sourceforge.net/fretsonfire/FretsOnFire-1.3.110.tar.gz?use_mirror=osdn
tar zxf FretsOnFire-1.3.110.tar.gz
mv Frets\ on\ Fire-1.3.110/ fretsonfire/usr/share/fretsonfire
rm -rf Frets\ on\ Fire-1.3.110/ FretsOnFire-1.3.110.tar.gz
mkdir fretsonfire/DEBIAN
pico control
Make sure it look something like this
Source: fretsonfire
Priority: optional
Section: universe/games
Maintainer: yourname 
Homepage: http://fretsonfire.sourceforge.net/
Package: fretsonfire
Architecture: all
Version: 1.3.110
Depends: python-pygame, python-opengl, python-numpy
Description: Open source guitar game
cp control fretsonfire/DEBIAN/
mkdir [...]]]></description>
			<content:encoded><![CDATA[<p><code>sudo apt-get install dh-make<br />
mkdir fretsonfire-1.3.110<br />
cd fretsonfire-1.3.110<br />
dh_make -s -n<br />
cd debian<br />
rm *.ex *.EX<br />
mkdir fretsonfire<br />
mkdir fretsonfire/usr<br />
mkdir fretsonfire/usr/share</code></p>
<p>Now download the game<br />
<code>wget http://downloads.sourceforge.net/fretsonfire/FretsOnFire-1.3.110.tar.gz?use_mirror=osdn<br />
tar zxf FretsOnFire-1.3.110.tar.gz<br />
mv Frets\ on\ Fire-1.3.110/ fretsonfire/usr/share/fretsonfire<br />
rm -rf Frets\ on\ Fire-1.3.110/ FretsOnFire-1.3.110.tar.gz</code></p>
<p><code>mkdir fretsonfire/DEBIAN<br />
pico control</code><br />
Make sure it look something like this<br />
<code>Source: fretsonfire<br />
Priority: optional<br />
Section: universe/games<br />
Maintainer: yourname <your@email><br />
Homepage: http://fretsonfire.sourceforge.net/<br />
Package: fretsonfire<br />
Architecture: all<br />
Version: 1.3.110<br />
Depends: python-pygame, python-opengl, python-numpy<br />
Description: Open source guitar game</code></p>
<p><code>cp control fretsonfire/DEBIAN/<br />
mkdir fretsonfire/usr/bin<br />
echo -e "#\!/bin/dash\ncd /usr/share/fretsonfire/src/\npython FretsOnFire.py" > fretsonfire/usr/bin/fretsonfire<br />
chmod +x fretsonfire/usr/bin/fretsonfire<br />
mkdir fretsonfire/usr/share/pixmaps</code></p>
<p># if the following image does not exist, find another one through google<br />
<code>wget http://www.freedownloadsplace.com/photo/Frets-on-Fire-1.png -O fretsonfire/usr/share/pixmaps/fretsonfire.png<br />
mkdir fretsonfire/usr/share/applications<br />
pico fretsonfire/usr/share/applications/fretsonfire.desktop</code><br />
Overwrite with this text<br />
<code>[Desktop Entry]<br />
Version=1.3.110<br />
Type=Application<br />
Name=Frets On Fire<br />
Comment=A opensourced guitar game<br />
Icon=fretsonfire<br />
Exec=fretsonfire<br />
Terminal=false<br />
Categories=Game;ArcadeGame;</code></p>
<p><code>cd ..<br />
dh_builddeb<br />
cd ..<br />
dpkg -i fretsonfire_1.3.110_all.deb</code></p>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2009/11/installing-frets-on-fire-on-ubuntu-by-making-deb-package/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu network install (PXE)</title>
		<link>http://vegard.hammerseth.com/2009/10/ubuntu-network-install-pxe/</link>
		<comments>http://vegard.hammerseth.com/2009/10/ubuntu-network-install-pxe/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 23:11:03 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Open source]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[netboot]]></category>
		<category><![CDATA[network install]]></category>
		<category><![CDATA[pxe]]></category>
		<category><![CDATA[tftp]]></category>
		<category><![CDATA[tftpd]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xinitd]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=581</guid>
		<description><![CDATA[sudo apt-get install tftpd-hpa tftp-hpa xinetd dhcp3-server
sudo pico /etc/xinetd.d/tftp
Then write following

service tftp
{
protocol        = udp
port            = 69
socket_type     = dgram
wait            = yes
user   [...]]]></description>
			<content:encoded><![CDATA[<p><code>sudo apt-get install tftpd-hpa tftp-hpa xinetd dhcp3-server<br />
sudo pico /etc/xinetd.d/tftp</code></p>
<p>Then write following<br />
<code><br />
service tftp<br />
{<br />
protocol        = udp<br />
port            = 69<br />
socket_type     = dgram<br />
wait            = yes<br />
user            = root<br />
server          = /usr/sbin/in.tftpd<br />
server_args     = /var/lib/tftpboot<br />
disable         = no<br />
}<br />
</code></p>
<p>Edit TFTP config<br />
<code>sudo pico /etc/default/tftpd-hpa</code></p>
<p>Make it look something like<br />
<code><br />
#Defaults for tftpd-hpa<br />
RUN_DAEMON="yes"<br />
OPTIONS="-l -s /var/lib/tftpboot"<br />
</code></p>
<p>Create TFTP directory and get latest netboot image<br />
<code><br />
sudo mkdir /var/lib/tftpboot<br />
cd /var/lib/tftpboot<br />
sudo wget -np -r http://archive.ubuntu.com/ubuntu/dists/karmic/main/installer-i386/current/images/netboot/<br />
sudo mv archive.ubuntu.com/ubuntu/dists/karmic/main/installer-i386/current/images/netboot/* .<br />
sudo rm -rf archive.ubuntu.com<br />
</code></p>
<p>Now restart TFTPD<br />
<code>sudo /etc/init.d/tftpd-hpa restart</code></p>
<p>To check if running@<br />
<code>netstat -uap</code></p>
<p>For DHCP, make sure you have a fixed ip for your device<br />
<code>pico /etc/dhcp3/dhcpd.conf</code></p>
<p>I did use firestarter as a DHCP generator since I used my desktop as PXE-server.</p>
<p><code><br />
# DHCP configuration generated by Firestarter<br />
ddns-update-style interim;<br />
ignore client-updates;<br />
authoritative;</p>
<p>subnet 192.168.66.0 netmask 255.255.255.0 {<br />
        option routers 192.168.66.9;<br />
        option subnet-mask 255.255.255.0;<br />
        option domain-name-servers 130.67.60.68, 193.213.112.4;<br />
        option ip-forwarding off;<br />
        range dynamic-bootp 192.168.66.10 192.168.66.20;<br />
        default-lease-time 21600;<br />
        max-lease-time 43200;<br />
        next-server 192.168.66.9; # important for PXE<br />
        filename "pxelinux.0"; # important for PXE<br />
}<br />
</code></p>
<p>After the DHCP change we must restart DHCP<br />
<code>sudo /etc/init.d/dhcp3 restart</code></p>
<p>You should now be able to boot PXE of this machine.</p>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2009/10/ubuntu-network-install-pxe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
