<?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>Christoffer Kjølbæk &#187; Ubuntu</title>
	<atom:link href="http://ostehamster.dk/blog/index.php/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://ostehamster.dk/blog</link>
	<description>I have a blog, therefore I am…</description>
	<lastBuildDate>Sun, 18 Jul 2010 12:16:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9-rare</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Evolution 2.30.1 for Ubuntu 10.04 64 bit</title>
		<link>http://ostehamster.dk/blog/index.php/2010/06/06/evolution-2-30-1-for-ubuntu-10-04-64-bit/</link>
		<comments>http://ostehamster.dk/blog/index.php/2010/06/06/evolution-2-30-1-for-ubuntu-10-04-64-bit/#comments</comments>
		<pubDate>Sun, 06 Jun 2010 11:42:25 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[10.04]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 10.04]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/?p=947</guid>
		<description><![CDATA[For some reason Ubuntu 10.04 is shipped with Evolution 2.28.3, which for me is quite unstable. Crashes with Segmentation Fault very often. However, Jacob Zimmermann has a PPA with Evolution 2.30.1:
sudo add-apt-repository ppa:jacob/evo230
sudo apt-get update
sudo apt-get dist-upgrade
I hope this is more stable!
]]></description>
			<content:encoded><![CDATA[<p>For some reason Ubuntu 10.04 is shipped with Evolution 2.28.3, which for me is quite unstable. Crashes with Segmentation Fault very often. However, <a href="https://launchpad.net/~jacob/+archive/evo230">Jacob Zimmermann has a PPA</a> with Evolution 2.30.1:</p>
<blockquote><p>sudo add-apt-repository ppa:jacob/evo230<br />
sudo apt-get update<br />
sudo apt-get dist-upgrade</p></blockquote>
<p>I hope this is more stable!</p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2010/06/06/evolution-2-30-1-for-ubuntu-10-04-64-bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 10.04 @ Lenovo ThinkPad T410s</title>
		<link>http://ostehamster.dk/blog/index.php/2010/06/05/ubuntu-10-04-lenovo-thinkpad-t410s/</link>
		<comments>http://ostehamster.dk/blog/index.php/2010/06/05/ubuntu-10-04-lenovo-thinkpad-t410s/#comments</comments>
		<pubDate>Sat, 05 Jun 2010 12:59:20 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[10.04]]></category>
		<category><![CDATA[Lenovo]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 10.04]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/?p=938</guid>
		<description><![CDATA[Works out of the box

Graphics (Intel GMA HD Graphics)
Wlan
Lan
Webcam, tested in Skype
Touchpad and trackpoint

Works with some tweaking

USB was not working out of the box, but after an kernel update (to 2.6.32-22 64 bit) it started working
There was not sound out of the box, but a work-around is found at launchpad.net

Not tested

Fingerprint reader
Card reader
CD/DVD writer
e-SATA	

Updated 13 [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Works out of the box</strong></p>
<ul>
<li>Graphics (Intel GMA HD Graphics)</li>
<li>Wlan</li>
<li>Lan</li>
<li>Webcam, tested in Skype</li>
<li>Touchpad and trackpoint</li>
</ul>
<p><strong>Works with some tweaking</strong></p>
<ul>
<li><del datetime="2010-06-13T10:52:14+00:00">USB was not working out of the box, but after an kernel update (to 2.6.32-22 64 bit) it started working</del></li>
<li>There was not sound out of the box, but a work-around is found at <a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/538383/comments/6">launchpad.net</a></li>
</ul>
<p><strong>Not tested</strong></p>
<ul>
<li>Fingerprint reader</li>
<li>Card reader</li>
<li>CD/DVD writer</li>
<li>e-SATA	</li>
</ul>
<p><strong>Updated 13 June</strong><br />
USB do not work, unless some device is attached when the computer i booting :(</p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2010/06/05/ubuntu-10-04-lenovo-thinkpad-t410s/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing VirtualBox (non-free) in Ubuntu 10.04, Lucid Lynx</title>
		<link>http://ostehamster.dk/blog/index.php/2010/06/05/installing-virtualbox-non-free-in-ubuntu-10-04-lucid-lynx/</link>
		<comments>http://ostehamster.dk/blog/index.php/2010/06/05/installing-virtualbox-non-free-in-ubuntu-10-04-lucid-lynx/#comments</comments>
		<pubDate>Sat, 05 Jun 2010 11:37:41 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[10.04]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 10.04]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/?p=932</guid>
		<description><![CDATA[sudo -s "echo 'deb http://download.virtualbox.org/virtualbox/debian\
 lucid non-free' >> /etc/apt/sources.list"
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- &#124; sudo apt-key add -
sudo apt-get update
sudo apt-get install virtualbox-3.2

]]></description>
			<content:encoded><![CDATA[<pre>sudo -s "echo 'deb http://download.virtualbox.org/virtualbox/debian\
 lucid non-free' >> /etc/apt/sources.list"
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install virtualbox-3.2
</pre>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2010/06/05/installing-virtualbox-non-free-in-ubuntu-10-04-lucid-lynx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash in Ubuntu 10.04 64 bit</title>
		<link>http://ostehamster.dk/blog/index.php/2010/06/03/flash-in-ubuntu-10-04-64-bit/</link>
		<comments>http://ostehamster.dk/blog/index.php/2010/06/03/flash-in-ubuntu-10-04-64-bit/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 20:35:11 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[10.04]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 10.04]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/?p=926</guid>
		<description><![CDATA[Installing Adobe Flash from the repository in Ubuntu 10.04 64 bit gives you the 32 bit version and runs it with nspluginwrapper. I have experienced several problems with this solution in Firefox, and is therefore using Adobes 64 bit Linux version.
Uninstall the repository version of flash
sudo apt-get remove flashplugin-installer nspluginwrapper
Get the Adobes Linux version from [...]]]></description>
			<content:encoded><![CDATA[<p>Installing Adobe Flash from the repository in Ubuntu 10.04 64 bit gives you the 32 bit version and runs it with <a href="http://freshmeat.net/projects/nspluginwrapper/">nspluginwrapper</a>. I have experienced several problems with this solution in Firefox, and is therefore using Adobes 64 bit Linux version.</p>
<p>Uninstall the repository version of flash</p>
<blockquote><p>sudo apt-get remove flashplugin-installer nspluginwrapper</p></blockquote>
<p>Get the Adobes Linux version from <a href="http://labs.adobe.com/downloads/flashplayer10_64bit.html">http://labs.adobe.com/downloads/flashplayer10_64bit.html</a> and install it:</p>
<blockquote><p>wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz<br />
tar -zxvf libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz<br />
sudo mv libflashplayer.so /usr/lib/mozilla/plugins/<br />
rm libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz</p></blockquote>
<p>Restart Firefox</p>
<p><strong>Update: June 6th</strong><br />
I have switched back to the "Ubuntu" Flash, because I was unable to use pages from ipapercms.dk:</p>
<blockquote><p>sudo rm /usr/lib/mozilla/plugins/libflashplayer.so<br />
sudo apt-get install flashplugin-nonfree</p></blockquote>
<p>The flickering seems to disappear when all the fancy visual effects are disabled.</p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2010/06/03/flash-in-ubuntu-10-04-64-bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cleaning up /boot by removing unused kernels (Ubuntu)</title>
		<link>http://ostehamster.dk/blog/index.php/2010/02/21/cleaning-up-boot-by-removing-unused-kernels/</link>
		<comments>http://ostehamster.dk/blog/index.php/2010/02/21/cleaning-up-boot-by-removing-unused-kernels/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 14:12:59 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/?p=697</guid>
		<description><![CDATA[At some point /boot will be full of old kernels (if /boot is a separate partition), which makes it impossible to make a dist-upgrade and it is therefore necessary to remove some old kernels.
Start by finding you current kernel
uname -r
which will give something like
2.6.24-25-server
Now, find all installed kernels
aptitude search linux&#124;grep linux-image &#124; grep "i  [...]]]></description>
			<content:encoded><![CDATA[<p>At some point /boot will be full of old kernels (if /boot is a separate partition), which makes it impossible to make a dist-upgrade and it is therefore necessary to remove some old kernels.</p>
<p>Start by finding you current kernel</p>
<pre>uname -r</pre>
<p>which will give something like</p>
<blockquote><p>2.6.24-25-server</p></blockquote>
<p>Now, find all installed kernels</p>
<pre>aptitude search linux|grep linux-image | grep "i   "</pre>
<p>which will give something like</p>
<blockquote><p>i   linux-image-2.6.24-12-server    - Linux kernel image for version 2.6.24 on x<br />
i   linux-image-2.6.24-14-server    - Linux kernel image for version 2.6.24 on x<br />
i   linux-image-2.6.24-15-server    - Linux kernel image for version 2.6.24 on x<br />
i   linux-image-2.6.24-16-server    - Linux kernel image for version 2.6.24 on x<br />
i   linux-image-2.6.24-17-server    - Linux kernel image for version 2.6.24 on x<br />
i   linux-image-2.6.24-18-server    - Linux kernel image for version 2.6.24 on x<br />
i   linux-image-2.6.24-19-server    - Linux kernel image for version 2.6.24 on x<br />
i   linux-image-2.6.24-21-server    - Linux kernel image for version 2.6.24 on x<br />
i   linux-image-2.6.24-22-server    - Linux kernel image for version 2.6.24 on x<br />
i   linux-image-2.6.24-23-server    - Linux kernel image for version 2.6.24 on x<br />
i   linux-image-2.6.24-24-server    - Linux kernel image for version 2.6.24 on x<br />
i   linux-image-2.6.24-25-server    - Linux kernel image for version 2.6.24 on x<br />
i   linux-image-server              - Linux kernel image on Server Equipment.</p></blockquote>
<p>Purge all of these, except the one found with <code>uname -r</code> and linux-image-server, which is a meta package</p>
<pre>sudo apt-get purge linux-image-2.6.24-14-server linux-image-2.6.24-15-server linux-image-2.6.24-16-server linux-image-2.6.24-17-server linux-image-2.6.24-18-server linux-image-2.6.24-19-server linux-image-2.6.24-21-server linux-image-2.6.24-22-server linux-image-2.6.24-23-server linux-image-2.6.24-24-server</pre>
<p>The above freed 250 MB from /boot and 550 MB from / at my system.</p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2010/02/21/cleaning-up-boot-by-removing-unused-kernels/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto program the Avnet / Xilinx Spartan-3A Evaluation Kit from Ubuntu 9.10</title>
		<link>http://ostehamster.dk/blog/index.php/2009/12/31/howto-program-the-avnet-xilinx-spartan-3a-evaluation-kit-from-ubuntu-9-10/</link>
		<comments>http://ostehamster.dk/blog/index.php/2009/12/31/howto-program-the-avnet-xilinx-spartan-3a-evaluation-kit-from-ubuntu-9-10/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 12:26:34 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[VHDL / FPGA]]></category>
		<category><![CDATA[FPGA]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 9.10]]></category>
		<category><![CDATA[VHDL]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/?p=596</guid>
		<description><![CDATA[The Avnet / Xilinx Spartan-3A Evaluation Kit is a $49 FPGA kit from Avnet, with a XC3S400A Spartan-3A FPGA, and a number of simple peripherals:

Xilinx XC3S400A-4FTG256C Spartan-3A FPGA
Four LEDs
Four CapSense™ switches
I2C temperature sensor
Two 6-pin expansion headers
20 x 2, 0.1-inch user I/O header
32 Mb Spansion® MirrorBit® NOR GL Parallel Flash
128 Mb Spansion MirrorBit SPI FL Serial [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.em.avnet.com/spartan3a-evl">Avnet / Xilinx Spartan-3A Evaluation Kit is a $49 FPGA kit</a> from Avnet, with a XC3S400A Spartan-3A FPGA, and a number of simple peripherals:</p>
<ul>
<li>Xilinx XC3S400A-4FTG256C Spartan-3A FPGA</li>
<li>Four LEDs</li>
<li>Four CapSense™ switches</li>
<li>I2C temperature sensor</li>
<li>Two 6-pin expansion headers</li>
<li>20 x 2, 0.1-inch user I/O header</li>
<li>32 Mb Spansion® MirrorBit® NOR GL Parallel Flash</li>
<li>128 Mb Spansion MirrorBit SPI FL Serial Flash</li>
<li>USB-UART bridge</li>
<li>I2C port</li>
<li>SPI and BPI configuration</li>
<li>Xilinx JTAG interface</li>
<li>FPGA configuration via PSoC®</li>
</ul>
<p>The flash is not updated through a JTAG, but through the USB interface. On Windows the AVprog is used, <a href="http://ostehamster.dk/blog/index.php/2009/07/14/using-avnet-avprog-for-xilinx%C2%AE-spartan%C2%AE-3a-evaluation-kit-under-linux/">which can run in Wine</a> and therefore usable on Linux. It is however easier to use the tool called <a href="http://fpgalibre.sourceforge.net/ingles.html#tp82">ASTriAEKiPro 1.2.1</a>.<br />
<span id="more-596"></span><br />
Download a newest .deb file from <a href="http://sourceforge.net/projects/fpgalibre/files/ASTriAEKiPro/">http://sourceforge.net/projects/fpgalibre/files/ASTriAEKiPro/</a> and install it with:<br />
<code>sudo dpkg -i astriaekipro_1.2.1-2_i386.deb</code></p>
<p><strong>Using ASTriAEKiPro</strong><br />
Get a bit file for the kit, either from the CD in the package or from the Avnet Design Resource Center, go to the <a href="http://www.em.avnet.com/spartan3a-evl">Avnet Spartan-3A page</a> and click on "Support files and downloads", login and get the "Default Serial Flash Factory Image" file.</p>
<p>To write to the SPI flash use:<br />
<code>astriaekipro -w Spartan3AEval_FPGA_Firmware_V10.bit</code></p>
<p>To verify:<br />
<code>astriaekipro -y Spartan3AEval_FPGA_Firmware_V10.bit</code></p>
<p>ASTriAEKiPro can furthermore be used as a terminal, which makes it possible to use the USB as serial interface for a MicroBlace etc.:<br />
<code>astriaekipro -t</code></p>
<p>Which will give you something like:</p>
<pre>*******************************************************************
*                    _____                                        *
*                   /     \                                       *
*                  /____   \____                                  *
*                 / \===\   \==/                                  *
*                /___\===\___\/  AVNET                            *
*                     \======/   ENGINEERING                      *
*                      \====/    SERVICES                         *
*                                                                 *
*******************************************************************
*              Spartan 3A Eval Demo V1.0 5/2008                   *
*******************************************************************
* Current Device Status:                                          *
*                                                                 *
*   EF1:  DEACTIVATED                                             *
*   EF2:  DEACTIVATED                                             *
*   EF3:  DEACTIVATED                                             *
*   EF4:  Connected To FPGA System Reset                          *
*   TMP:   29.1250 C                                              *
*   U22:  S29GL032N DETECTED                                      *
*******************************************************************
Type <help> for command options. 

ADS></help></pre>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2009/12/31/howto-program-the-avnet-xilinx-spartan-3a-evaluation-kit-from-ubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Installing Xilinx ISE WebPack 11.1 under Ubuntu 9.10</title>
		<link>http://ostehamster.dk/blog/index.php/2009/12/31/installing-xilinx-ise-webpack-11-1-under-ubuntu-9-10/</link>
		<comments>http://ostehamster.dk/blog/index.php/2009/12/31/installing-xilinx-ise-webpack-11-1-under-ubuntu-9-10/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 11:08:50 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[VHDL / FPGA]]></category>
		<category><![CDATA[FPGA]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mad]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 9.10]]></category>
		<category><![CDATA[VHDL]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/?p=555</guid>
		<description><![CDATA[This is a short how to install Xilinx ISE Webpack 11.1 / 11.3 under Ubuntu 9.10. Start by downloading the installation files from "Xilinx Download". The file is 2.67 GB, and Xilinx requires you to have a free account in order to download the file.

Untar the file
tar -xf Xilinx_11.1_WebPack_SFD.tar
and install
sudo mkdir /home/Xilinx/
sudo chmod 777 /home/Xilinx/
cd [...]]]></description>
			<content:encoded><![CDATA[<p>This is a short how to install Xilinx ISE Webpack 11.1 / 11.3 under Ubuntu 9.10. Start by downloading the installation files from "<a href="http://www.xilinx.com/support/download/index.htm">Xilinx Download</a>". The file is 2.67 GB, and Xilinx requires you to have a free account in order to download the file.<br />
<span id="more-555"></span><br />
Untar the file<br />
<code>tar -xf Xilinx_11.1_WebPack_SFD.tar</code></p>
<p>and install<br />
<code>sudo mkdir /home/Xilinx/<br />
sudo chmod 777 /home/Xilinx/<br />
cd Xilinx_11.1_WebPack_SFD<br />
./xsetup</code></p>
<p>Set the installation path to /home/Xilinx/, and follow the installation process.</p>
<p>When the installation is done, you will be asked for a license. Select "Start ISE WebPack" and click next and follow the instructions on the website. When the license is installed, close the browser window and the Xilinx License Configuration Manager.</p>
<p>The installer will ask for installation of updates. This is advisable, but it is imo easier to download the update files from Xilinx homepage. Go to download and "<a href="https://xilinx.entitlenow.com/cocoon/across/general/home.html?tab=DownloadUpdates&#038;product=&#038;licenseType=&#038;legacyVersion=#">Software Updates</a>".</p>
<p>Untar the file<br />
<code>tar -xf Xilinx_11.4_ISE_DS_lin.tar</code></p>
<p>and install<br />
<code>cd Xilinx_11.4_ISE_DS_lin<br />
./xsetup</code></p>
<p>You are now ready to go, by running<br />
<code>/home/Xilinx/11.1/ISE/bin/lin/ise</code></p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2009/12/31/installing-xilinx-ise-webpack-11-1-under-ubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pytrainer in Ubuntu 9.10, Karmic Koala</title>
		<link>http://ostehamster.dk/blog/index.php/2009/12/30/pytrainer-in-ubuntu-9-10-karmic-koala/</link>
		<comments>http://ostehamster.dk/blog/index.php/2009/12/30/pytrainer-in-ubuntu-9-10-karmic-koala/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 12:43:46 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[GPS]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Løb]]></category>
		<category><![CDATA[Run]]></category>
		<category><![CDATA[Running]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 9.10]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/?p=573</guid>
		<description><![CDATA[I have had problems with Pytrainer in both Ubuntu 8.04 and 8.10, but have manage to get it working. I did not use Pytrainer in 9.04, because I got a little tired of looking at graphs and was following a running program where it was not necessary.
If have been injured for some month now, but [...]]]></description>
			<content:encoded><![CDATA[<p>I have had problems with Pytrainer in both Ubuntu <a href="http://ostehamster.dk/blog/index.php/2008/05/03/pytrainer-in-ubuntu-804-hardy-heron/">8.04</a> and <a href="http://ostehamster.dk/blog/index.php/2008/11/09/pytrainer-in-ubuntu-810-ibex-intrepid/">8.10</a>, but have manage to get it working. I did not use Pytrainer in 9.04, because I got a little tired of looking at graphs and was following a running program where it was not necessary.</p>
<p>If have been injured for some month now, but hoping to be ready for Copenhagen Marathon 2010, and would therefore like to examine my last marathon using Pytrainer. I therefore installed it, and hoped it would work out of the box - but no :)<br />
<span id="more-573"></span><br />
Enabling the Garmin HR plugin, restarting Pytrainer and clicking "Import from Garmin" did nothing, not even a warning or error in the terminal. Looking at my old post from <a href="http://ostehamster.dk/blog/index.php/2008/11/09/pytrainer-in-ubuntu-810-ibex-intrepid/">8.10</a>, I opened <code>/usr/share/pytrainer/plugins/garmin-hr/main.py</code> to see what was going on.</p>
<p>Pytrainer is using gpsbabel like <code>gpsbabel -t -i garmin -f %s -o gtrnctr -F /tmp/file.gtrnctr</code>, where <code>%s</code> is the device, <code>usb:</code>. But running</p>
<blockquote><p>gpsbabel -t -i garmin -f usb: -o gtrnctr -F /tmp/file.gtrnctr</p></blockquote>
<p> in a terminal give this result:</p>
<blockquote><p>Claim interfaced failed: could not claim interface 0: Operation not permitted</p></blockquote>
<p>It is therefore still required to make a udev rule for the device.</p>
<p><strong>How to get it working</strong><br />
Make the rule file</p>
<blockquote><p>sudo gedit /etc/udev/rules.d/51-garmin.rules</p></blockquote>
<p>add the below and close:</p>
<blockquote><p>SYSFS{idVendor}=="091e", SYSFS{idProduct}=="0003", MODE="666" </p></blockquote>
<p>restart udev:</p>
<blockquote><p>sudo /etc/init.d/udev restart</p></blockquote>
<p>Now Pytrainer can start gpsbabel, and retrieve data from the watch, which unfortunately just leads to another problem:</p>
<blockquote><p>Traceback (most recent call last):<br />
  File "/usr/lib/python2.6/dist-packages/pytrainer/main.py", line 166, in runPlugin<br />
    self.record.importFromGTRNCTR(gtrnctrFile)<br />
  File "/usr/lib/python2.6/dist-packages/pytrainer/record.py", line 410, in importFromGTRNCTR<br />
    listTracksGPS = xmlParser.shortFromGPS(gtrnctrFile, True)<br />
  File "/usr/lib/python2.6/dist-packages/pytrainer/lib/xmlUtils.py", line 127, in shortFromGPS<br />
    tree = xml.etree.cElementTree.parse(gtrnctrFile).getroot()<br />
  File "<string>", line 45, in parse<br />
  File "</string><string>", line 32, in parse<br />
SyntaxError: unbound prefix: line 13, column 8</string></p></blockquote>
<p>According to this <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=536572">bug report</a>, it is a problem between Pytrainer and gpsbabel 1.3.6. Luckily it is still possible to get gpsbabel 1.3.5 at <a href="http://packages.debian.org/lenny/i386/gpsbabel/download">http://packages.debian.org/lenny/i386/gpsbabel/download</a>, which I downloaded and installed, and it worked with Pytrainer.</p>
<p>However, Pytrainer imports all data from today back to 24 May 2009, the date of the marathon, and stops without any error. It might be because this record has 43 laps, but I do not know. Anyway, it is quite useless if it is not possible to retrieve all data from the watch.</p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2009/12/30/pytrainer-in-ubuntu-9-10-karmic-koala/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto backup NetworkManager settings</title>
		<link>http://ostehamster.dk/blog/index.php/2009/06/05/howto-backup-networkmanager-settings/</link>
		<comments>http://ostehamster.dk/blog/index.php/2009/06/05/howto-backup-networkmanager-settings/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 14:47:47 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Howto]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/?p=315</guid>
		<description><![CDATA[Backup with:
tar -zcvf nm.tgz ~/.gconf/system/networking/ ~/.gnome2/keyrings/login.keyring
Caution: This will also backup your keyring!
Restore with:
sudo /etc/init.d/NetworkManager stop
pkill nm-applet
gconftool-2 --shutdown
cd ~/
tar -zxvf nm.tgz
sudo /etc/init.d/NetworkManager start
gconftool-2 --shutdown

Caution: This will overwrite your keyring!
Press Alt &#038; F2 to start "Run program" and enter "nm-applet"
]]></description>
			<content:encoded><![CDATA[<p>Backup with:</p>
<blockquote><p>tar -zcvf nm.tgz ~/.gconf/system/networking/ ~/.gnome2/keyrings/login.keyring</p></blockquote>
<p><strong>Caution: This will also backup your keyring!</strong></p>
<p>Restore with:</p>
<blockquote><p>sudo /etc/init.d/NetworkManager stop<br />
pkill nm-applet<br />
gconftool-2 --shutdown<br />
cd ~/<br />
tar -zxvf nm.tgz<br />
sudo /etc/init.d/NetworkManager start<br />
gconftool-2 --shutdown
</p></blockquote>
<p><strong>Caution: This will overwrite your keyring!</strong></p>
<p>Press Alt &#038; F2 to start "Run program" and enter "nm-applet"</p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2009/06/05/howto-backup-networkmanager-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use Nokia E65 as GPRS modem in Ubuntu 8.04</title>
		<link>http://ostehamster.dk/blog/index.php/2009/04/19/use-nokia-e65-as-gprs-modem-in-ubuntu-804/</link>
		<comments>http://ostehamster.dk/blog/index.php/2009/04/19/use-nokia-e65-as-gprs-modem-in-ubuntu-804/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 14:31:57 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/?p=291</guid>
		<description><![CDATA[A short description about how to use a Nokia E65 as a GPRS modem in Ubuntu 8.04.
Install the needed software packages:
sudo apt-get install bluez bluez-utils wvdial
Enable bluetooth on your phone, scan for it and copy the address for your phone.
hcitool scan
The next step is to find the channel for the phone's dialup service. Run
sdptool browse [...]]]></description>
			<content:encoded><![CDATA[<p>A short description about how to use a Nokia E65 as a GPRS modem in Ubuntu 8.04.<span id="more-291"></span></p>
<p>Install the needed software packages:</p>
<blockquote><p>sudo apt-get install bluez bluez-utils wvdial</p></blockquote>
<p>Enable bluetooth on your phone, scan for it and copy the address for your phone.</p>
<blockquote><p>hcitool scan</p></blockquote>
<p>The next step is to find the channel for the phone's dialup service. Run</p>
<blockquote><p>sdptool browse xx:xx:xx:xx:xx:xx</p></blockquote>
<p>where xx:xx:xx:xx:xx:xx is the address found in the previous step. Look for "Service Name: Dial-Up Networking", and note the channel number.</p>
<p>The phone now has to be bound as a rfcomm device, which is configured in /etc/bluetooth/rfcomm.conf. Add </p>
<blockquote><p>rfcomm4 { bind yes; device  xx:xx:xx:xx:xx:xx; channel 2; comment "Serial Port"; } </p></blockquote>
<p> to the file with the numbers found above.</p>
<p>Now make a configuration file for wvdial</p>
<blockquote><p>sudo gedit /etc/wvdial.conf</p></blockquote>
<p>with this content:</p>
<blockquote><p>[Dialer Defaults]<br />
Modem = /dev/rfcomm4<br />
Baud = 115200<br />
Init1 = ATZ<br />
Init2 = ATQ0 V1 E1 S0=0 &#038;C1 &#038;D2 +FCLASS=0<br />
Init3 = ATM0<br />
Init5 = AT+CGDCONT=1,"IP","internet"<br />
ISDN = 0<br />
Modem Type = Analog Modem<br />
Phone = *99***1#<br />
Username = foo<br />
Password = bar</p></blockquote>
<p>Thats it. I use the commands below to start the connection. First shut down wlan0, which should not be necessary, but sometimes DNS won't work if wlan0 is searching for access points. I restart bluetooth in order to make sure the phone is bound, and finally, I run wvdial to start the connection.</p>
<blockquote><p>sudo ifconfig wlan0 down<br />
sudo /etc/init.d/bluetooth restart<br />
sudo wvdial</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2009/04/19/use-nokia-e65-as-gprs-modem-in-ubuntu-804/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Geotagging images with Garmin Forerunner in Ubuntu</title>
		<link>http://ostehamster.dk/blog/index.php/2009/03/30/geotagging-images-with-garmin-forerunner-in-ubuntu/</link>
		<comments>http://ostehamster.dk/blog/index.php/2009/03/30/geotagging-images-with-garmin-forerunner-in-ubuntu/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 21:16:09 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[GPS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/?p=285</guid>
		<description><![CDATA[This guide will show how to geotag images in Ubuntu using GPS data from Garmin Forerunner 305. The software used is gpsbabel and gpscorrelate.
Start by capturing data from the watch, using
gpsbabel -t -r -w -i garmin -f usb: -o gpx -F data.gpx
which will get all data from the watch, and a XML file.
GPScorrelate can be [...]]]></description>
			<content:encoded><![CDATA[<p>This guide will show how to geotag images in Ubuntu using GPS data from Garmin Forerunner 305. The software used is <a href="http://www.gpsbabel.org/">gpsbabel</a> and <a href="http://freefoote.dview.net/linux_gpscorr.html">gpscorrelate</a>.</p>
<p>Start by capturing data from the watch, using</p>
<blockquote><p>gpsbabel -t -r -w -i garmin -f usb: -o gpx -F data.gpx</p></blockquote>
<p>which will get all data from the watch, and a XML file.</p>
<p>GPScorrelate can be used both in console and GUI mode, using the console tool on a collection of images is done like</p>
<blockquote><p>gpscorrelate -g data.gpx *.jpg</p></blockquote>
<p>Using the GUI looks like this<br />
<a href="http://ostehamster.dk/blog/wp-content/uploads/2009/03/skc3a6rmbillede-gps-photo-correlate.png"><img src="http://ostehamster.dk/blog/wp-content/uploads/2009/03/skc3a6rmbillede-gps-photo-correlate-300x187.png" alt="" title="skc3a6rmbillede-gps-photo-correlate" width="300" height="187" class="aligncenter size-medium wp-image-286" /></a></p>
<p>Opening one of the images with for instance eog, it can be seen that the GPS data has been added to the EXIF info.<br />
<a href="http://ostehamster.dk/blog/wp-content/uploads/2009/03/skc3a6rmbillede-test1jpg.png"><img src="http://ostehamster.dk/blog/wp-content/uploads/2009/03/skc3a6rmbillede-test1jpg-300x270.png" alt="" title="skc3a6rmbillede-test1jpg" width="300" height="270" class="aligncenter size-medium wp-image-287" /></a></p>
<p>The result can be shown in various programs and web application, for instance PicasaWeb<br />
<a href="http://picasaweb.google.com/ostehamster/Fotosafari">http://picasaweb.google.com/ostehamster/Fotosafari</a></p>
<p><strong>NB: Remember to select the correct time zone!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2009/03/30/geotagging-images-with-garmin-forerunner-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Split LVM volume into two, Ubuntu Ibex 8.10</title>
		<link>http://ostehamster.dk/blog/index.php/2009/01/31/split-lvm-volume-into-two-ubuntu-ibex-810/</link>
		<comments>http://ostehamster.dk/blog/index.php/2009/01/31/split-lvm-volume-into-two-ubuntu-ibex-810/#comments</comments>
		<pubDate>Sat, 31 Jan 2009 01:14:48 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Ibex]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[LVM]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/?p=216</guid>
		<description><![CDATA[This worked for me, but use the "how to-guide" at your own risk!!!! I can not be held responsible for any data loss - take backup!!!
A standard Ubuntu installation with encrypted hard drive will give you a boot partition and a LVM partition with two logical volumes. If your computer name is “Ubuntu”, the volume [...]]]></description>
			<content:encoded><![CDATA[<p><strong>This worked for me, but use the "how to-guide" at your own risk!!!! I can not be held responsible for any data loss - take backup!!!</strong></p>
<p>A standard Ubuntu installation with encrypted hard drive will give you a boot partition and a LVM partition with two logical volumes. If your computer name is “Ubuntu”, the volume group will typically be called Ubuntu, with two volumes: root and swap.</p>
<p>In order to make a logical volume for /home and for /, do the following:<span id="more-216"></span></p>
<p>Start by booting onto the alternative version of the Ubuntu cd - the one without LiveCD - and select rescue. The system will automatically find you encrypted and ask for the password. When starting the terminal, you will have to mount a partition - select your boot partition, on my computer /dev/sda1</p>
<p>Make all volume groups active:</p>
<blockquote><p>sudo lvm vgchange -a y</p></blockquote>
<p>Run disk check on the volume:</p>
<blockquote><p>sudo e2fsck -f /dev/mapper/ubuntu-root</p></blockquote>
<p>Resize the file system to 10G</p>
<blockquote><p>sudo resize2fs -f /dev/mapper/ubuntu-root 10G</p></blockquote>
<p>Wait... make some coffee... maybe even bake a cake, there is time enough :)</p>
<p>Resize the volume to 10G</p>
<blockquote><p>sudo lvreduce -L10G /dev/mapper/ubuntu-root 10G</p></blockquote>
<p><strong>Important: you have to shrink the file system before the logical volume!</strong></p>
<p>Display how much free space the LVM group has, the first number is free "extents" and the second is in GB, MB etc.</p>
<blockquote><p>sudo vgdisplay | grep Free</p></blockquote>
<p>Create the new volume, -l specify the size in extens, -L in GB, MB etc.</p>
<blockquote><p>sudo lvcreate -l 50 -n home ubuntu</p></blockquote>
<p>Make the file system</p>
<blockquote><p>sudo mke2fs -j /dev/ubuntu/home</p></blockquote>
<blockquote><p>sudo vol_id /dev/mapper/ubuntu-home | grep ID_FS_UUID=</p></blockquote>
<p> will give the UUID for the "device", which can be used in /etc/fstab like:</p>
<blockquote><p># /dev/mapper/ubuntu-home<br />
UUID=37563b54-50e5-486c-8796-2df55598fb63 /home           ext3    relatime        0       2</p></blockquote>
<p>Of cause you will have to move all data from /home to the new volume, before mounting it at home!</p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2009/01/31/split-lvm-volume-into-two-ubuntu-ibex-810/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Ibex, Fullrate, Huawei E220 USB Modem</title>
		<link>http://ostehamster.dk/blog/index.php/2009/01/22/ubuntu-ibex-fullrate-huawei-e220-usb-modem/</link>
		<comments>http://ostehamster.dk/blog/index.php/2009/01/22/ubuntu-ibex-fullrate-huawei-e220-usb-modem/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 21:08:26 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Ibex]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/?p=204</guid>
		<description><![CDATA[I just got my "Fullrate Mobile Broadband Testpilot package", and a now writing this post on a mobile broadband connection. The purpose is to explain, how simple it is to make the USB modem work.

As far as I can see, Ubuntu lacks the possible to tell the modem the PIN, which makes the SIM card [...]]]></description>
			<content:encoded><![CDATA[<p>I just got my "Fullrate Mobile Broadband Testpilot package", and a now writing this post on a mobile broadband connection. The purpose is to explain, how simple it is to make the USB modem work.<br />
<span id="more-204"></span><br />
As far as I can see, Ubuntu lacks the possible to tell the modem the PIN, which makes the SIM card useless. To get round this missing feature, just put the SIM card into you cellphone, enter the PIN and disable the PIN under the security settings. This makes it possible for anyone to use your SIM, so guard it with you life! :)</p>
<p>Now put the SIM back in the modem, and connect it to your computer. The below pop up will show up, and you just have to click Config. (If it do not show up, right click on the Network Manager and select Edit Connections.)</p>
<p><img src="http://ostehamster.dk/blog/wp-content/uploads/2009/01/dump1.png" alt="" title="dump1" width="500" height="160" class="aligncenter size-full wp-image-205" /></p>
<p>Click Next, and select TDC as Service Provider (Fullrate uses TDCs net), click Next again, and give the connection a name and then click Apply.</p>
<p>Now the system should connect you, if you have coverage, and this pop up will appear</p>
<p><img src="http://ostehamster.dk/blog/wp-content/uploads/2009/01/dump6.png" alt="" title="dump6" width="478" height="165" class="aligncenter size-full wp-image-208" /></p>
<p>Very simple!!! :)</p>
<p>The connection is quite good, and the speed is as promised. Fullrates speedtest at <a href="http://speedtest.fullrate.dk/">http://speedtest.fullrate.dk/</a> gives 1.15Mps, while the upload is at 0.25Mps.</p>
<p>The ftp servertest at <a href="http://www.fullrate.dk/support/hastighed/">http://www.fullrate.dk/support/hastighed/</a> do not work, which might be because the server only allow Fullrate connections, while this is basically a TDC connection.</p>
<p>Downloading a part of an Ubuntu image from HEAnet Ireland gives an average of 115K/s, which is the normal, according to <a href="http://www.fullrate.dk/support/hastighed/">http://www.fullrate.dk/support/hastighed/</a></p>
<p><b>Update:</b><br />
22 jan 2008, 22:18<br />
Maybe a little to early to say anything works. After 40 minutes the modem lost connection for 5 min, before getting on-line again.</p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2009/01/22/ubuntu-ibex-fullrate-huawei-e220-usb-modem/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Pytrainer in Ubuntu 8.10, Ibex Intrepid</title>
		<link>http://ostehamster.dk/blog/index.php/2008/11/09/pytrainer-in-ubuntu-810-ibex-intrepid/</link>
		<comments>http://ostehamster.dk/blog/index.php/2008/11/09/pytrainer-in-ubuntu-810-ibex-intrepid/#comments</comments>
		<pubDate>Sun, 09 Nov 2008 11:01:33 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Løb]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ibex]]></category>
		<category><![CDATA[Run]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/?p=174</guid>
		<description><![CDATA[I just use the Gutsy binary, which works fine in Ibex.

echo &#34;deb http://www.e-oss.net/ubuntu/gutsy/ ./&#34; &#124; sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get install pytrainer
sudo apt-get install python-gnome2-extras

To get the Garmin kernel driver working in user space, make an udev rule in /etc/udev/rules.d/51-garmin.rules with this content

SYSFS{idVendor}==&#34;091e&#34;, SYSFS{idProduct}==&#34;0003&#34;, MODE=&#34;666&#34;

Pytrainer is made to use path like /dev/ttyUSBX to [...]]]></description>
			<content:encoded><![CDATA[<p>I just use the Gutsy binary, which works fine in Ibex.</p>
<blockquote><p>
echo &quot;deb http://www.e-oss.net/ubuntu/gutsy/ ./&quot; | sudo tee -a /etc/apt/sources.list<br />
sudo apt-get update<br />
sudo apt-get install pytrainer<br />
sudo apt-get install python-gnome2-extras
</p></blockquote>
<p>To get the Garmin kernel driver working in user space, make an udev rule in /etc/udev/rules.d/51-garmin.rules with this content</p>
<blockquote><p>
SYSFS{idVendor}==&quot;091e&quot;, SYSFS{idProduct}==&quot;0003&quot;, MODE=&quot;666&quot;
</p></blockquote>
<p>Pytrainer is made to use path like /dev/ttyUSBX to connect to the Garmin watch. <a href="http://ostehamster.dk/blog/index.php/2008/05/03/pytrainer-in-ubuntu-804-hardy-heron/">I believe the right way</a> is to use Garmin usb driver directly, hence usb: in the config. Therefore you have to open /usr/share/pytrainer/plugins/garmin-hr/main.py and change</p>
<blockquote><p>if not os.path.exists(options.device):</p></blockquote>
<p>to</p>
<blockquote><p>if (not os.path.exists(options.device) and not options.device == &quot;usb:&quot;):</p></blockquote>
<p>In Tools -> GPS Device Plugins -> Garmin* ->Preferences change device to [usb:] and status to [Enable].</p>
<p>Thats it, have fun :)</p>
<p><strong>Updated:</strong> 11 January 2009:<br />
 - Quotes in code-blocks is now "copy/paste enabled"<br />
 - Pauls comment from <a href="/blog/index.php/2008/11/09/pytrainer-in-ubuntu-810-ibex-intrepid/#comment-659">December 31st, 2008 at 14:22</a> added to the text</p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2008/11/09/pytrainer-in-ubuntu-810-ibex-intrepid/feed/</wfw:commentRss>
		<slash:comments>36</slash:comments>
		</item>
		<item>
		<title>Trac from SVN on Ubuntu 8.04 Hardy</title>
		<link>http://ostehamster.dk/blog/index.php/2008/04/23/trac-from-svn-on-ubuntu-804-hardy/</link>
		<comments>http://ostehamster.dk/blog/index.php/2008/04/23/trac-from-svn-on-ubuntu-804-hardy/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 07:23:40 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Hardy]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[Trac]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/index.php/2008/04/23/trac-from-svn-on-ubuntu-804-hardy/</guid>
		<description><![CDATA[
svn co https://svn.edgewall.org/repos/trac/trunk trac
sudo apt-get install python-setuptools
sudo apt-get install python-subversion subversion python-pysqlite2 python-clearsilver
sudo python2.5 ./setup.py install


sudo mkdir /var/lib/svn/NAME
sudo trac-admin /var/lib/trac/NAME initenv
sudo trac-admin /var/lib/trac/NAME permission add USERNAME TRAC_ADMIN
sudo chown -R www-data /var/lib/trac/
sudo chown -R www-data /var/lib/svn/

Use the admin tool on the webpage to setup rights.
Apache2 setup:

 # Trac support
&#60;location /trac&#62;
   AuthType Basic
   [...]]]></description>
			<content:encoded><![CDATA[<p><code><br />
svn co https://svn.edgewall.org/repos/trac/trunk trac<br />
sudo apt-get install python-setuptools<br />
sudo apt-get install python-subversion subversion python-pysqlite2 python-clearsilver<br />
sudo python2.5 ./setup.py install<br />
</code></p>
<p><code><br />
sudo mkdir /var/lib/svn/NAME<br />
sudo trac-admin /var/lib/trac/NAME initenv<br />
sudo trac-admin /var/lib/trac/NAME permission add USERNAME TRAC_ADMIN<br />
sudo chown -R www-data /var/lib/trac/<br />
sudo chown -R www-data /var/lib/svn/<br />
</code></p>
<p>Use the admin tool on the webpage to setup rights.</p>
<p>Apache2 setup:<br />
<code><br />
 # Trac support<br />
&lt;location /trac&gt;<br />
   AuthType Basic<br />
   AuthName "Trac"<br />
   AuthUserFile /etc/apache2/dav_svn.passwd<br />
   Require valid-user</p>
<p>   SetHandler mod_python<br />
   PythonHandler trac.web.modpython_frontend<br />
   PythonOption TracEnvParentDir /var/lib/trac<br />
   PythonOption TracUriRoot "/trac"<br />
&lt;/location&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2008/04/23/trac-from-svn-on-ubuntu-804-hardy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>duplicity under Ubuntu Feisty Fawn</title>
		<link>http://ostehamster.dk/blog/index.php/2007/05/20/duplicity-under-ubuntu-feisty-fawn/</link>
		<comments>http://ostehamster.dk/blog/index.php/2007/05/20/duplicity-under-ubuntu-feisty-fawn/#comments</comments>
		<pubDate>Sun, 20 May 2007 12:56:26 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[Backup]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Feisty Fawn]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Duplicity]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/wordpress/?p=29</guid>
		<description><![CDATA[UPDATE (22. May 2007): It seems that duplicity don't work with SSH at all :( The problem is a call to sftp, that don't work.
The problem is, that cd in the below isn't executed, only ls -1 is, which give the content of the users home directory.
'echo -e 'cd /path/to/the/backup/directory
ls -1' &#124; sftp -b - [...]]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE (22. May 2007): It seems that duplicity don't work with SSH at all :( The problem is a call to sftp, that don't work.</strong><br />
The problem is, that cd in the below isn't executed, only ls -1 is, which give the content of the users home directory.</p>
<blockquote><p>'echo -e 'cd /path/to/the/backup/directory<br />
ls -1' | sftp -b - user@some.serer.com'</p></blockquote>
<p><span id="more-29"></span></p>
<p>It seems that <a href="http://duplicity.nongnu.org/">duplicity</a> doesn't work with Python 2.5, which is the version shipped with Ubuntu Feisty Fawn. But this <a href="https://bugs.launchpad.net/ubuntu/+source/duplicity/+bug/88617">bugreport</a> says that it will work, if compiled with Python 2.4.</p>
<p><strong>Here is how you do</strong><br />
Start by installing the necessary tools:</p>
<blockquote><p>sudo apt-get install python2.4 librsync-dev python-dev python2.4-dev</p></blockquote>
<p>download the <a href="http://savannah.nongnu.org/download/duplicity/duplicity-0.4.2.tar.gz">duplicity source</a> and untar it:</p>
<blockquote><p>wget http://savannah.nongnu.org/download/duplicity/duplicity-0.4.2.tar.gz<br />
tar -zxvf duplicity-0.4.2.tar.gz</p></blockquote>
<p>Now simply build and install it, using Python 2.4</p>
<blockquote><p>
cd duplicity-0.4.2<br />
sudo python2.4 setup.py install</p></blockquote>
<p>That's it, everything should work now. Ready to backup files to <a href="http://rsync.net/">rsync.net</a> :)</p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2007/05/20/duplicity-under-ubuntu-feisty-fawn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Ubuntu Feisty Fawn as guest in VMware</title>
		<link>http://ostehamster.dk/blog/index.php/2007/05/11/installing-ubuntu-feisty-fawn-as-guest-in-vmware/</link>
		<comments>http://ostehamster.dk/blog/index.php/2007/05/11/installing-ubuntu-feisty-fawn-as-guest-in-vmware/#comments</comments>
		<pubDate>Fri, 11 May 2007 19:43:45 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Feisty Fawn]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/wordpress/?p=26</guid>
		<description><![CDATA[The installation hung in VMware, adding the below to the boot string, solved the problem:
noapic nolapic
]]></description>
			<content:encoded><![CDATA[<p>The installation hung in VMware, adding the below to the boot string, solved the problem:</p>
<blockquote><p>noapic nolapic</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2007/05/11/installing-ubuntu-feisty-fawn-as-guest-in-vmware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FeistyFawn, installation on T42</title>
		<link>http://ostehamster.dk/blog/index.php/2007/04/21/feistyfawn-installation-on-t42/</link>
		<comments>http://ostehamster.dk/blog/index.php/2007/04/21/feistyfawn-installation-on-t42/#comments</comments>
		<pubDate>Sat, 21 Apr 2007 00:54:08 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Feisty Fawn]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/wordpress/?p=21</guid>
		<description><![CDATA[This blog-post should have been about installing FeistyFawn on an IBM T42, but EVERYTHING I needed worked out of the box, quite cool :D
The only think that doesn't work, is the fan control. Which by the way, doesn't work in Windows either. I uses the tp-fancontrol script from thinkwiki.org
Save tp-fancontrol as /usr/bin/tp-fancontrol and tp-fancontrol.init as [...]]]></description>
			<content:encoded><![CDATA[<p>This blog-post should have been about installing FeistyFawn on an IBM T42, but EVERYTHING I needed worked out of the box, quite cool :D</p>
<p>The only think that doesn't work, is the fan control. Which by the way, doesn't work in Windows either. I uses the tp-fancontrol script from <a href="http://www.thinkwiki.org/wiki/ACPI_fan_control_script#Comprehensive_bash_script_with_fine_control_over_fan_speed">thinkwiki.org</a></p>
<p>Save tp-fancontrol as /usr/bin/tp-fancontrol and tp-fancontrol.init as /etc/init.d/tp-fancontrol and run</p>
<blockquote><p>sudo chmod +x /usr/bin/tp-fancontrol<br />
sudo chmod +x /etc/init.d/tp-fancontrol<br />
sudo update-rc.d tp-fancontrol defaults</p></blockquote>
<p><em>Warning! Remember that it can be dangerous to control the fan in this way!!!</em></p>
<p><strong>Time synchronization</strong><br />
Left-click on the clock, and select Adjust date and time. Under Configuration select Keep synchronized with Internet servers, and accept to install NTP-support.</p>
<p><strong>NFS</strong><br />
In order to use NFS, install "nfs-common"</p>
<blockquote><p>sudo apt-get install nfs-common</p></blockquote>
<p><strong>Latex</strong></p>
<blockquote><p>sudo apt-get install lmodern texmaker tetex-base tetex-extra tetex-doc</p></blockquote>
<p><strong>Network diagnostic tools</strong></p>
<blockquote><p>sudo apt-get install iptraf wireshark</p></blockquote>
<p><strong>Gaim plugins</strong></p>
<blockquote><p>sudo apt-get install gaim-encryption gaim-thinklight</p></blockquote>
<p><strong>SUN Java</strong></p>
<blockquote><p>sudo apt-get install sun-java6-jre sun-java6-plugin</p></blockquote>
<p><strong>Moving evolution files</strong><br />
<a href="http://fedoranews.org/cms/node/875">http://fedoranews.org/cms/node/875</a></p>
<p><strong>C/C++ development, Build essential and glade</strong></p>
<blockquote><p>sudo apt-get install build-essential glade-gnome-2 libglib2.0-dev libgtk2.0-dev</p></blockquote>
<p><strong>Flash</strong><br />
Download version 9.x.x from <a href="http://www.adobe.com/go/getflashplayer">http://www.adobe.com/go/getflashplayer</a>, untar and run</p>
<blockquote><p>sudo ./flashplayer-installer</p></blockquote>
<p><strong>Mediaplays</strong></p>
<blockquote><p>sudo apt-get install amarok helix-player mplayer mplayerplug-in</p></blockquote>
<p>and codecs</p>
<blockquote><p>sudo aptitude install gstreamer0.10-ffmpeg gstreamer0.10-gl gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse libxine-extracodecs w32codecs</p></blockquote>
<p><strong>Servers</strong></p>
<blockquote><p>sudo apt-get install mysql-server-5.0 mysql-client-5.0 apache2 php5 php5-gd php5-mysql phpmyadmin phpsysinfo websvn php5-cgi libapache2-mod-php5 subversion</p></blockquote>
<p><strong>Bluetooth</strong></p>
<blockquote><p>sudo apt-get install bluez-gnome gnome-bluetooth</p></blockquote>
<p><strong>Sound editing</strong></p>
<blockquote><p>sudo apt-get install audacity</p></blockquote>
<p><strong>Firewall</strong></p>
<blockquote><p>sudo apt-get install firestarter</p></blockquote>
<p>When using nm-applet and wireless, my eth0 isn't ready when firestarter tries to start. To make firestarter start, when the connection is ready, do this:</p>
<blockquote><p>cd /etc/NetworkManager/dispatcher.d<br />
sudo gedit my_script</p></blockquote>
<p>Into this file, set</p>
<pre>#!/bin/sh -e
# Script to dispatch NetworkManager events
#
# Runs commands when NetworkManager fiddles with interfaces.

# Run the right scripts
case "$2" in
    up)
        /etc/init.d/firestarter start
        ;;
    down)

        ;;
    pre-up)

        ;;
    post-down)
        /etc/init.d/firestarter stop
        ;;
    *)
        exit 1
        ;;
esac</pre>
<p>and finally</p>
<blockquote><p>sudo chmod +x my_script</p></blockquote>
<p>Now firestarter should start, when you connection is ready</p>
<p><strong>Backup</strong></p>
<blockquote><p>sudo apt-get install duplicity</p></blockquote>
<p><strong>Diverse</strong></p>
<blockquote><p>sudo apt-get install dia</p></blockquote>
<p><strong>Things from ubuntuguide.org</strong><br />
Insert "deb http://medibuntu.sos-sts.com/repo/ feisty free non-free" and "deb http://archive.canonical.com/ubuntu feisty-commercial main" in /etc/apt/source.list</p>
<blockquote><p>wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -</p></blockquote>
<blockquote><p>sudo apt-get install mozilla-acroread
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2007/04/21/feistyfawn-installation-on-t42/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Encrypted home partition, using LUKS in Ubuntu Feisty Fawn</title>
		<link>http://ostehamster.dk/blog/index.php/2007/04/13/encrypted-home-partition-using-luks-in-ubunt-feisty-fawn/</link>
		<comments>http://ostehamster.dk/blog/index.php/2007/04/13/encrypted-home-partition-using-luks-in-ubunt-feisty-fawn/#comments</comments>
		<pubDate>Thu, 12 Apr 2007 23:24:41 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Feisty Fawn]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Paranoia]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/wordpress/?p=22</guid>
		<description><![CDATA[This guide will very briefly describe how to setup an encrypted LUKS partition and mount it on log in.
Preparation
Start by installing the software needed:
sudo apt-get install libpam-mount cryptsetup
Add these line to /etc/initramfs-tools/modules
dm_mod
dm_crypt
sha256
aes_i586
and update the initrd-image with
sudo update-initramfs -u all
Making the encrypted partition
Remember to take BACKUP, because all data at /dev/sda6 will be lost!!!
Now we have [...]]]></description>
			<content:encoded><![CDATA[<p>This guide will very briefly describe how to setup an encrypted LUKS partition and mount it on log in.</p>
<p><strong>Preparation</strong><br />
Start by installing the software needed:</p>
<blockquote><p>sudo apt-get install libpam-mount cryptsetup</p></blockquote>
<p>Add these line to /etc/initramfs-tools/modules</p>
<blockquote><p>dm_mod<br />
dm_crypt<br />
sha256<br />
aes_i586</p></blockquote>
<p>and update the initrd-image with</p>
<blockquote><p>sudo update-initramfs -u all</p></blockquote>
<p><strong>Making the encrypted partition</strong><br />
<em>Remember to take BACKUP, because all data at /dev/sda6 will be lost!!!</em></p>
<p>Now we have to make the encrypted partition, in this example the devices name is /dev/sda6. First we load the needed modules</p>
<blockquote><p>sudo modprobe dm_crypt<br />
sudo modprobe sha256<br />
sudo modprobe aes_i586</p></blockquote>
<p>and the make the LUKS-partiton (use your log-in password):</p>
<blockquote><p>sudo cryptsetup luksFormat /dev/sda6</p></blockquote>
<p>Now /dev/sda6 has the LUKS format, and can be attached to /dev/mapper:</p>
<blockquote><p>sudo cryptsetup luksOpen /dev/sda6 encrypted_home</p></blockquote>
<p>And then we can make a file system on it, here ext3</p>
<blockquote><p>sudo mkfs.ext3 -j -O dir_index -m 0 -v /dev/mapper/encrypted_home</p></blockquote>
<p>Finally we can mount the partition, to see if it works</p>
<blockquote><p>sudo mount /dev/mapper/encrypted_home /mnt</p></blockquote>
<p>Unmount and close the LUKS partition:</p>
<blockquote><p>sudo umount /mnt<br />
sudo cryptsetup luksClose encrypted_home</p></blockquote>
<p><strong>Setting up pam_mount</strong><br />
Insert</p>
<blockquote><p>auth optional /lib/security/pam_mount.so use_first_pass</p></blockquote>
<p>into /etc/pam.d/common-auth</p>
<p>and</p>
<blockquote><p>session     optional      /lib/security/pam_mount.so</p></blockquote>
<p>into /etc/pam.d/common-session</p>
<p>Now create a mount point for the LUKS partition</p>
<blockquote><p>sudo mkdir /encrypted_home<br />
sudo chmod 777 /encrypted_home</p></blockquote>
<p>And add</p>
<blockquote><p>volume foo crypt - /dev/sda6 /encrypted_home cipher=aes - -</p></blockquote>
<p>into /etc/security/pam_mount.conf </p>
<p>This means that every time the user <em>foo</em> logs in, the LUKS partition will be mounted on /encrypted_home, using the password foo entered. Therefor the LUKS password has to be the same as the log in password.</p>
<p>Log out, log in and see if it works :)</p>
<p><em>This is inspirited by:<br />
<a href="http://thomasdamgaard.dk/blog/article/krypteret-swap-og-root-filsystem-med-luks-og-ubuntu">http://thomasdamgaard.dk/blog/article/krypteret-swap-og-root-filsystem-med-luks-og-ubuntu</a></em></p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2007/04/13/encrypted-home-partition-using-luks-in-ubunt-feisty-fawn/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>LaTeX on Ubuntu Feisty Fawn</title>
		<link>http://ostehamster.dk/blog/index.php/2007/02/15/latex-on-ubuntu/</link>
		<comments>http://ostehamster.dk/blog/index.php/2007/02/15/latex-on-ubuntu/#comments</comments>
		<pubDate>Thu, 15 Feb 2007 20:30:09 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[Feisty Fawn]]></category>
		<category><![CDATA[Latex]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/wordpress/?p=18</guid>
		<description><![CDATA[sudo apt-get install lmodern texmaker tetex-base tetex-extra tetex-doc
]]></description>
			<content:encoded><![CDATA[<blockquote><p>sudo apt-get install lmodern texmaker tetex-base tetex-extra tetex-doc</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2007/02/15/latex-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>manpages for &#8220;Library calls (functions within program libraries)&#8221; on Ubuntu</title>
		<link>http://ostehamster.dk/blog/index.php/2007/02/06/manpages-for-library-calls-functions-within-program-libraries-on-ubuntu/</link>
		<comments>http://ostehamster.dk/blog/index.php/2007/02/06/manpages-for-library-calls-functions-within-program-libraries-on-ubuntu/#comments</comments>
		<pubDate>Tue, 06 Feb 2007 20:33:34 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[C/C++]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/wordpress/?p=17</guid>
		<description><![CDATA[To install manpages for "Library calls (functions within program libraries)", use this
sudo apt-get install manpages-dev
]]></description>
			<content:encoded><![CDATA[<p>To install manpages for "Library calls (functions within program libraries)", use this</p>
<pre><code>sudo apt-get install manpages-dev</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2007/02/06/manpages-for-library-calls-functions-within-program-libraries-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dapper &amp; MythTV on VIA Epia M10000</title>
		<link>http://ostehamster.dk/blog/index.php/2007/01/27/dapper-mythtv-on-via-epia-m10000/</link>
		<comments>http://ostehamster.dk/blog/index.php/2007/01/27/dapper-mythtv-on-via-epia-m10000/#comments</comments>
		<pubDate>Sat, 27 Jan 2007 21:22:24 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MythTV]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/wordpress/?p=13</guid>
		<description><![CDATA[Installation
The installation of Ubuntu Dapper is fairly easy, insert the CD, boot and follow the instructions.
When the installation is done, boot up the system and log in. The first thing I do, is to install a SSH server
sudo apt-get install ssh
After this I make GDM log my mythtv user automatically:
System -> Administration -> Login-screen
then chose [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Installation</strong></p>
<p>The installation of Ubuntu Dapper is fairly easy, insert the CD, boot and follow the instructions.</p>
<p>When the installation is done, boot up the system and log in. The first thing I do, is to install a SSH server</p>
<pre><code>sudo apt-get install ssh</code></pre>
<p>After this I make GDM log my mythtv user automatically:</p>
<p>System -> Administration -> Login-screen</p>
<p>then chose Security and inter an user in the first field.</p>
<p><strong>Update / Upgrade</strong></p>
<p>I always use the Ubuntuguide, and therefore also the extrea repositories. Do like described here: <a href="http://ubuntuguide.org/wiki/Dapper#Repositories">http://ubuntuguide.org/wiki/Dapper#Repositories</a></p>
<p>Now upgrade the system</p>
<pre><code>sudo apt-get update
sudo apt-get upgrade</code></pre>
<p>After something that fells like a day, the upgrade is done, and you can restart the computer.</p>
<p><strong>Xorg for a PAL television</strong></p>
<pre><code>sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.old
wget http://www.kingcot.eclipse.co.uk/unichrome/xorg.conf.txt
sudo mv xorg.conf.txt /etc/X11/xorg.conf</code></pre>
<p>I have used this pages, <a href="http://www.kingcot.eclipse.co.uk/unichrome/unichromeTvOut.html">http://www.kingcot.eclipse.co.uk/unichrome/unichromeTvOut.html</a>, as a reference, because I have absolutely no idear have Xorg works :) The config file i used, was the first one (<a href="http://www.kingcot.eclipse.co.uk/unichrome/xorg.conf.txt">http://www.kingcot.eclipse.co.uk/unichrome/xorg.conf.txt</a>)</p>
<p>And on my television the images is bigger than the screen, so mythtv, mplayer and Xine has to scale the output to fit!</p>
<p><span style="font-weight: bold; text-decoration: line-through">CPU Temperature monitoring asdaasd</span></p>
<p>Start by installing lm sensors</p>
<pre><code>sudo apt-get install lm-sensors</code></pre>
<p>For some reason, some files in the /dev directory won't be created automaticly, I have no idea why. But there is a script called mkdev.sh, this is the code:</p>
<pre><code>#!/bin/bash

# Here you can set several defaults.

# The number of devices to create (max: 256)
NUMBER=32

# The owner and group of the devices
OUSER=root
OGROUP=root
# The mode of the devices
MODE=600

# This script doesn't need to be run if devfs is used
if [ -r /proc/mounts ] ; then
if grep -q "/dev devfs" /proc/mounts ; then
echo "You do not need to run this script as your system uses devfs."
exit;
fi
fi

i=0;

while [ $i -lt $NUMBER ] ; do
echo /dev/i2c-$i
mknod -m $MODE /dev/i2c-$i c 89 $i || exit
chown "$OUSER:$OGROUP" /dev/i2c-$i || exit
i=$[$i + 1]
done
#end of file</code></pre>
<p>Insert this code into mkdev.sh, and do this</p>
<pre><code>chmod 755 mkdev.sh
sudo ./mkdev.sh</code></pre>
<p>Now run</p>
<pre><code>sudo sensors-detect</code></pre>
<p>and say yes when it ask, to save changes to /etc/modules</p>
<p>To test this run</p>
<pre><code>sudo modprobe i2c-viapro i2c-isa vt1211 eeprom
sensors</code></pre>
<p>This should give something like</p>
<pre><code>vt1211-isa-6000
Adapter: ISA adapter
VCore1:    +1.39 V  (min =  -0.03 V, max =  +2.63 V)
+5V:       +5.03 V  (min =  -0.08 V, max =  +6.74 V)
+12V:     +12.28 V  (min =  -0.18 V, max = +15.47 V)
+3.3V:     +3.32 V  (min =  -0.05 V, max =  +4.18 V)
System:      0 RPM  (min =    0 RPM, div = 2)
CPU:         0 RPM  (min =    0 RPM, div = 2)
CPU:       +56.8°C  (high =  +196°C, hyst =   -67°C)
vid:      +0.000 V  (VRM Version 0.0)</code></pre>
<p>Unfortunally, this don't work for me anymore, after the vt1211 module is added to the kernel. <a href="http://hem.bredband.net/ekmlar/vt1211.html">http://hem.bredband.net/ekmlar/vt1211.html</a></p>
<p><strong>Mediaplayers and codecs</strong></p>
<p>I use mplayer and xine the most of the time, and again I use ubuntuguide<br />
<a href="http://ubuntuguide.org/wiki/Dapper#How_to_install_Multimedia_Codecs"> http://ubuntuguide.org/wiki/Dapper#How_to_install_Multimedia_Codecs</a></p>
<p>I use the first to steps to install codecs and DVD support. Then I install xine and mplayer, furthermore I need VLC in order to use streamtv.dk.</p>
<pre><code>sudo apt-get install gstreamer0.10-ffmpeg gstreamer0.10-gl gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse w32codecs
sudo apt-get install libdvdread3
sudo /usr/share/doc/libdvdread3/examples/install-css.sh
sudo apt-get install totem-xine
sudo apt-get install xine-ui libxine-extracodecs
sudo apt-get install vlc
sudo apt-get install mplayer</code></pre>
<p>Remember to enable lirc support in VLC</p>
<p><strong>Xine and XXMC</strong></p>
<p>To make Xine use the MPEG2 decoder on the moterboard, use this option</p>
<pre><code>xine -V xxmc</code></pre>
<p>Or enable it in the ~/.xine/config file. With this option, I can see DVD using only 5% of the CPU</p>
<p><strong>Haupaung PVR-250 IVTV Driver</strong></p>
<p>On the official Ubuntu homepage, there is an excellent guide for installing IVTV:</p>
<p><a href="https://help.ubuntu.com/community/Install_IVTV_Dapper">https://help.ubuntu.com/community/Install_IVTV_Dapper</a></p>
<p>But start installing build-essential</p>
<pre><code>sudo apt-get install build-essential</code></pre>
<p><strong>LIRC</strong></p>
<p><a href="http://www.mythtv.org/wiki/index.php/Lirc_on_Ubuntu_Dapper">http://www.mythtv.org/wiki/index.php/Lirc_on_Ubuntu_Dapper</a></p>
<p>Use the lirc_i2c module</p>
<p><strong>Apache, MySQL</strong></p>
<p>In order to make mythtv run, MySQL is required. I also use MythWeb on apache, and some other apache stuff</p>
<pre><code>sudo apt-get install apache2 php5 php5-gd mysql-server php5-mysql php5-mysqli
sudo apt-get install libapache2-svn libapache-mod-dav wordpress </code></pre>
<p>To change mysql password for root:</p>
<pre><code>mysql -u root
mysql> USE mysql;
mysql> UPDATE user SET Password=PASSWORD('new-password') WHERE user='root';
mysql> FLUSH PRIVILEGES;</code></pre>
<p><strong>MythTV</strong></p>
<p><a href="http://www.mythtv.org/wiki/index.php/Ubuntu_Edgy_Installation">http://www.mythtv.org/wiki/index.php/Ubuntu_Edgy_Installation</a></p>
<p>Start by installing SVN and checkout the latest source from the SVN server</p>
<pre><code>sudo apt-get install subversion
svn co http://svn.mythtv.org/svn/trunk/mythtv svn co http://svn.mythtv.org/svn/trunk/mythplugins svn co http://svn.mythtv.org/svn/trunk/myththemes</code></pre>
<p>Now install all the dependencies</p>
<pre>sudo apt-get build-dep mythtv
sudo apt-get install libqt3-mt-mysql</pre>
<p>This will install support for the MPEG decoder and some header files, in order to compile MythTV</p>
<pre><code>sudo apt-get install libxvmc1 libxvmc-dev
sudo ln -s /usr/lib/libviaXvMC.so.1 /usr/lib/libviaXvMC.so.1.0</code></pre>
<p>Start by running configure</p>
<pre><code>cd ~/mythtv
./configure --prefix=/usr --disable-joystick-menu --disable-firewire --disable-dbox2 --disable-hdhomerun --enable-xvmc</code></pre>
<p>--enable-xvmc is the important here, because it makes it possible to use the MPEG decoder at the Via Epia board. The output from ./configure should look like this:</p>
<pre><code># Video Output Support 	...
XvMC support     yes
XvMC VLD support yes
XvMC pro support no
XvMC libs        -lXvMCW</code></pre>
<p>The rest I have disabled, is just stuff I don't have.</p>
<pre><code>qmake mythtv.pro
make
sudo make install</code></pre>
<p><strong>MythPlugins</strong></p>
<p>Use ./configure --help to figure out which plugins is available, I use this configuration</p>
<pre><code>cd ../mythplugins
sudo apt-get install libmad0-dev libflac-dev libcdaudio-dev libid3tag0-dev libcdparanoia0-dev
./configure --prefix=/usr/ --disable-mythphone --disable-mythgame --disable-mythflix --disable-mythbrowser
qmake mythplugins.pro
make
sudo make install</code></pre>
<p>Copy mythweb to the webserver directory</p>
<pre><code>sudo cp mythweb/ /var/www/ -R MythThemes
cd ../myththemes
./configure --prefix=/usr
qmake myththemes.pro
sudo make install</code></pre>
<p><strong>MythThemes</strong></p>
<pre><code>cd ../myththemes
./configure --prefix=/usr
qmake myththemes.pro
sudo make install </code></pre>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2007/01/27/dapper-mythtv-on-via-epia-m10000/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
