<?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; Linux</title>
	<atom:link href="http://ostehamster.dk/blog/index.php/tag/linux/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>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>Krypter med DanIDs &#8220;Digital Signatur&#8221; i Evolution</title>
		<link>http://ostehamster.dk/blog/index.php/2010/01/31/krypter-med-danids-digital-signatur-i-evolution/</link>
		<comments>http://ostehamster.dk/blog/index.php/2010/01/31/krypter-med-danids-digital-signatur-i-evolution/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 20:17:49 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[DanID]]></category>
		<category><![CDATA[Digital Signatur]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/?p=664</guid>
		<description><![CDATA[Er du bruger af Evolution og har behov for at sende en krypteret mail med DanIDs "Digital Signatur", skal du først have fat i kontaktpersonens certifikat. Dette finder du på DanIDs Certificeringscenter, såfremt personen har valgt at være listet her. Når du har fundet det rette certifikat klikke du på , hvorefter du kan gemme [...]]]></description>
			<content:encoded><![CDATA[<p>Er du bruger af Evolution og har behov for at sende en krypteret mail med DanIDs "Digital Signatur", skal du først have fat i kontaktpersonens certifikat. Dette finder du på <a href="https://www.certifikat.dk/export/sites/dk.certifikat.oc/da/soegning/">DanIDs Certificeringscenter</a>, såfremt personen har valgt at være listet her. Når du har fundet det rette certifikat klikke du på <img src="http://ostehamster.dk/blog/wp-content/uploads/2010/01/download.gif" alt="download" title="download" width="16" height="16" class="alignnone size-full wp-image-665" />, hvorefter du kan gemme en .cer fil.</p>
<p>I Evolution vælger du Rediger -> Indstillinger (eller Shift-Ctrl-S) -> Certifikater -> Kontaktpersoners certifikater -> Importer hvorefter du får mulighed for at importere den hentede .cer fil.</p>
<p>Du skal naturligvis have din egen private signaturfil i Evolution.</p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2010/01/31/krypter-med-danids-digital-signatur-i-evolution/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>Danske karakterer under Debian Lenny på en NSLU2</title>
		<link>http://ostehamster.dk/blog/index.php/2009/11/21/%c3%a6%c3%b8a-under-debian-lenny-pa-en-nslu2/</link>
		<comments>http://ostehamster.dk/blog/index.php/2009/11/21/%c3%a6%c3%b8a-under-debian-lenny-pa-en-nslu2/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 20:03:20 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[NSLU2]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/index.php/2009/11/21/%c3%a6%c3%b8a-under-debian-lenny-pa-en-nslu2/</guid>
		<description><![CDATA[Jeg har haft gevaldige problemer med rsync på min NSLU2 kørende Debian Lenny, idet alle filer der indeholdt æ, ø eller å blive ødelagt. Jeg fandt ud af at det heller ikke var muligt at skrive æ, ø eller å i en terminal, hvilket blev løst ved først at installere locales-all:
sudo apt-get install locales-all
Hvorefter jeg [...]]]></description>
			<content:encoded><![CDATA[<p>Jeg har haft gevaldige problemer med rsync på min NSLU2 kørende Debian Lenny, idet alle filer der indeholdt æ, ø eller å blive ødelagt. Jeg fandt ud af at det heller ikke var muligt at skrive æ, ø eller å i en terminal, hvilket blev løst ved først at installere <code>locales-all</code>:<br />
<code>sudo apt-get install locales-all</code></p>
<p>Hvorefter jeg ændrede <code>/etc/default/locale</code> til at indeholde <code>LANG="da_DK.UTF-8"</code>.</p>
<p>Alt virker nu glimrende.</p>
<p>(Husk at logge af og på!)</p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2009/11/21/%c3%a6%c3%b8a-under-debian-lenny-pa-en-nslu2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft i modent angreb på Lyngby-Taarbæk kommune</title>
		<link>http://ostehamster.dk/blog/index.php/2009/11/06/microsoft-i-modent-angreb-pa-lyngby-taarb%c3%a6k-kommune/</link>
		<comments>http://ostehamster.dk/blog/index.php/2009/11/06/microsoft-i-modent-angreb-pa-lyngby-taarb%c3%a6k-kommune/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 21:57:20 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Politik]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/?p=504</guid>
		<description><![CDATA[1. oktober valgt Lyngby-Taarbæk kommune at skifte Microsoft Office ud med OpenOffice på samtlige computere på kommunens 11 skoler. Det betyder, at de har opsagt deres licensaftale på kontorpakkeområdet med Microsoft. Dette har åbenbart haft samme effekt på Microsoft, som det har, når man tager slik fra et i forvejen surt barn.
Denne utilfredshed har fået [...]]]></description>
			<content:encoded><![CDATA[<p>1. oktober valgt Lyngby-Taarbæk kommune at skifte Microsoft Office ud med OpenOffice på samtlige computere på kommunens 11 skoler. Det betyder, at de har opsagt deres licensaftale på kontorpakkeområdet med Microsoft. Dette har åbenbart haft samme effekt på Microsoft, som det har, når man tager slik fra et i forvejen surt barn.</p>
<p>Denne utilfredshed har fået Teknologidirektør i Microsoft Danmark, Jasper Hedegaard Bojsen, til i et <a href="http://lyngby-taarbaek.lokalavisen.dk/article/20091102/LAESERBREVE/911029910">åbent brev</a> at rette et meget modent angreb mod Lyngby-Taarbæk kommune.</p>
<p>Jasper starter med at konkludere, at kommunen nok har valgt at skifte pga. muligheden for at skære i omkostninger, hvorefter han skriver:</p>
<blockquote><p>Ikke desto mindre mener jeg, at det bebudede skift i bedste fald blot omfordeler omkostningerne i kommunen, og pålægger lærere, elever og forældre unødigt besvær samt forringer it-understøttelsen i læringen.</p></blockquote>
<p>Naturligvis skal OpenOffice lige installeres, men hvis skolernes infrastruktur er bare nogenlunde godt skruet sammen, vil dette hurtigt være klaret. Det er jo ikke sådan, at de skal vente på at få en bunke licensnøgler tilsendt, da OpenOffice blot skal downloades fra <a href="http://da.openoffice.com">da.openoffice.com</a> og derefter installeres. Derudover er vi jo så heldige, at der findes åbne dokumentstandarder, så alle kan bruge dokumenter lige meget hvad de er lavet i.</p>
<p>Men det at bruge OpenOffice frem for Microsoft Office skulle "forringe it-understøttelsen i læringen", det kan jeg ikke magte at forstå - og jeg bruger dog Microsoft Office hver dag på arbejde. Hvad er det Jasper mener OpenOffice ikke kan i forhold til Microsoft Office, og som er helt essentielt for at kunne gennemføre folkeskolen fra 0. til 10. klasse på fornuftig vis?</p>
<p>Jasper fortsætter</p>
<blockquote><p>Når vi har med uddannelse at gøre, bør hensynet til undervisningskvaliteten selvsagt være udgangspunktet – også når man skal vælge skolesoftware. Jeg medgiver, at det kan være svært at fastsætte den pædagogiske værdi på software. Men tager vi udgangspunkt i, at en gennemsnitlig folkeskoleelev i Danmark ifølge undervisningsministeriet koster 60.000 kr. om året, så er licensudgiften til Microsoft Office en endog meget fornuftig investering i elevernes læring. En skole køber jo heller ikke en matematik bog, der ikke opfylder pensumkravet eller de pædagogiske krav med det ene argument, at bogen er billigere.</p></blockquote>
<p>Nej, naturligvis køber man ikke en forældet bog som ikke opfylder "pensum- og pædagogiske krav". Men hvilket "pensum- og pædagogiske krav" er det lige OpenOffice ikke opfylder ifølge Jasper? På et punkt vil jeg give ret i at OpenOffice halter lidt, nemlig på stavekontrolområdet. Men efter min mening burde stavekontrol ikke være "lovligt" i folkeskolen, for således kan elever bedre lære at stave.</p>
<blockquote><p>Dagens folkeskoleelever og fremtidens medarbejdere skal kunne arbejde med tekst, billeder og lyd i en sammenhæng, hvor det ikke er teknikken som sætter begrænsninger for, om opgaven kan løses eller ej. Ligeledes må et værktøj som eleverne kommer til at bruge meget tid med i forbindelse med mere traditionelle opgaver, som stilskrivning, rapporter, osv., naturligvis meget gerne være både indbydende og sjovt at lære og lege med – på den måde får vi også flest mulige med, både elever, lærere og forældre.</p></blockquote>
<p>Igen ville det være rigtig rart med nogle eksempler på, hvad det er OpenOffice ikke kan, og måske et eksempel på, hvad det er, der åbenbart gør Microsoft Office hylende morsomt at arbejde med?</p>
<p>Det er åbenbart også vigtigt for Jasper at vi får "flest mulige med, både elever, lærere og forældre". Her er det da netop en hæmsko at vælge Microsoft Office, da det jo så kræver at alle, både lærere, elever og forældre har programmet. Det er naturligvis en ønskesituation for Mircrosoft, da det jo er lig med penge i kassen. Men ved at vælge OpenOffice, og måske endda Linux som operativt system, så er der ingen økonomisk hindring for at alle kommer med, heller ikke de økonomisk svagest stillede. (Såfremt kommune/stat hjælper med hardware.)</p>
<blockquote><p>Med undervisningen som udgangspunkt bør en vurdering foregå ud fra de muligheder, som forskellige kontorpakker har for at understøtte elevens indlæring og individuelle behov. Her er det ikke tilfældigt, at Microsoft Office er langt den mest valgte og anvendte kontorpakke på markedet, for den understøtter bedre end nogen anden pakke behovet blandt millioner af mennesker med forskellig tilgang, baggrund og kultur.</p></blockquote>
<p>Jeg må gentage mig selv, og spørge hvad det er Microsoft Office er bedre til? Det kunne også være rart at se en eller anden form for bevis for, at Microsoft Office "bedre end nogen anden pakke understøtter behovet blandt millioner af mennesker med forskellig tilgang, baggrund og kultur". Jeg tror nærmere, Jasper skal kigge mod sin markedsføringsafdeling og hans lobbyister, for at finde svaret på den store udbredelse.</p>
<blockquote><p>Det er korrekt, at Microsoft Office koster en licens, men for denne kendte og forudseelige pris får brugerne til gengæld et bedre produkt, som er lettere at anvende til flere ting og som giver mindre bøvl. Ligeledes er Microsoft Office billigere i drift og vedligeholdelse. Med andre ord er der færre omkostninger og mere værdi hele vejen rundt.</p></blockquote>
<p>Hvordan kan det være billigere i drift? Begge systemer indeholder fejl der bliver rettet, og fra tid til anden kommer der opdateringer som skal installeres. Hvorfor er det lettere med Microsoft Office end det er med OpenOffice?</p>
<blockquote><p>Et amerikansk skoledistrikt (i Orange County) konkluderede i en lignende undersøgelse: "Hvis vi ikke underviser vores elever i at bruge den software som gymnasier, universiteteter, handelsskoler og erhvervsskoler bruger, sætter vi dem i en ugunstig situation." Distriktet valgte Microsoft Office.</p></blockquote>
<p>Så det Jasper i bund og grund ønsker er monopol? Folkeskolen skal bruge det samme som gymnasiet, gymnasiet det samme som universitet og universitet det samme som erhvervslivet - ellers får de unge jo aldrig et arbejde, hvis de har lært at bruge OpenOffice. Men det betyder jo så, at samtlige i erhvervslivet bliver nødt til at bruge det samme, ellers bliver det jo umuligt for uddannelsesstederne at skabe ensporede unge menneske der kan finde ud af at bruge ét og kun ét værktøj.</p>
<p>Jeg er oplært med papir og blyant, har brugt WordPerfect, Microsoft Office, Open Office, Latex m.m. I øjeblikket bruger jeg dagligt Microsoft Office og har bestemt ikke noget at klage over, det virker ganske fortrinligt! Men det gør OpenOffice også, hvilket jeg bruger herhjemme hver dag, og jeg har intet problem med at bruge det ene frem for det andet. Hvad jeg har et problem med, er Microsofts måde at blande sig i virksomheder (og kommuners) beslutninger på.</p>
<p>Hvorfor kan I ikke bare acceptere at I denne gang er blevet slået? I, om nogen, er et kapitalistisk foretagende som på trods af "lettere monopol tilstand" lever af de regler der gælder på det frie marked. Hvis jeres produkt vitterligt er så godt og konkurrencedygtigt, så brug kræfterne på at bevise det, i stedet for at pive som et lille barn der har fået tages sit yndlingslegetøj!</p>
<p>/Et modent svar, til et modent læserbrev!</p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2009/11/06/microsoft-i-modent-angreb-pa-lyngby-taarb%c3%a6k-kommune/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing Adobe Reader 9.2 in Ubuntu 9.10</title>
		<link>http://ostehamster.dk/blog/index.php/2009/11/03/installing-adobe-reader-9-2-in-ubuntu-9-10/</link>
		<comments>http://ostehamster.dk/blog/index.php/2009/11/03/installing-adobe-reader-9-2-in-ubuntu-9-10/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 09:24:31 +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 9.10]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/?p=486</guid>
		<description><![CDATA[To install Adobe Reader 9.2 in Ubuntu 9.10, you have to enable the Canonical Partner Repository. Go to System -> Administration -> Software Sources
Select Third-Party Software and and check the checkbox for http://archive.canonical.com/ubuntu partner.
Close and accept to reload.
It is now possible to install "acroread" by
sudo apt-get install acroread
Or from System -> Administration -> Synaptic Package [...]]]></description>
			<content:encoded><![CDATA[<p>To install Adobe Reader 9.2 in Ubuntu 9.10, you have to enable the Canonical Partner Repository. Go to System -> Administration -> Software Sources</p>
<p>Select Third-Party Software and and check the checkbox for <code>http://archive.canonical.com/ubuntu partner</code>.<br />
Close and accept to reload.</p>
<p>It is now possible to install "acroread" by<br />
<code>sudo apt-get install acroread</code></p>
<p>Or from System -> Administration -> Synaptic Package Manager, but for some reason it is not found in Ubuntu Software Center?</p>
<p><strong>Update: 2009-11-03 @ 00:56</strong><br />
According to <a href="https://wiki.ubuntu.com/SoftwareCenter">https://wiki.ubuntu.com/SoftwareCenter</a> version 3 of the SoftwareCenter will offer "commercial software for sale". But according to <a href="http://www.ghacks.net/2009/10/30/the-new-ubuntu-software-center/">http://www.ghacks.net/2009/10/30/the-new-ubuntu-software-center/</a> and <a href="http://blogs.techrepublic.com.com/opensource/?p=1031">http://blogs.techrepublic.com.com/opensource/?p=1031</a> it should be possible to install "commercial/non-free software" in version 3.</p>
<p>In Ubuntu 10.4 the Software Center should replace "Synaptic, Software Sources, Gdebi, and possibly the Update Manager" according to <a href="http://en.wikipedia.org/wiki/Ubuntu_Software_Center">http://en.wikipedia.org/wiki/Ubuntu_Software_Center</a>, so version 3 should be out at that time - I hope :)</p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2009/11/03/installing-adobe-reader-9-2-in-ubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Howto use Eclipse with PHP and SVN in Ubuntu 9.10</title>
		<link>http://ostehamster.dk/blog/index.php/2009/11/01/howto-use-eclipse-with-php-and-svn-in-ubuntu-9-10/</link>
		<comments>http://ostehamster.dk/blog/index.php/2009/11/01/howto-use-eclipse-with-php-and-svn-in-ubuntu-9-10/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 15:58:18 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[Ubuntu 9.10]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/?p=473</guid>
		<description><![CDATA[This little guide will show how to set up Eclipse for developing PHP sites using PHP Development Tools Project and Subversion.
Install Eclipse Galileo from repository:
sudo apt-get install eclipse
A number of dependencies are required inside Eclipse, which has to be added. Start Eclipse from the menu, and select Help > Install new software... The below list [...]]]></description>
			<content:encoded><![CDATA[<p>This little guide will show how to set up Eclipse for developing PHP sites using <a href="http://www.eclipse.org/pdt/">PHP Development Tools Project</a> and Subversion.</p>
<p>Install Eclipse Galileo from repository:</p>
<blockquote><p>sudo apt-get install eclipse</p></blockquote>
<p>A number of dependencies are required inside Eclipse, which has to be added. Start Eclipse from the menu, and select Help > Install new software... The below list of update sites has to be added, which is done be typing the URL in "Work with", click Add and then type the name in the name field followed by Ok. Do this for the below update sites (name followed by URL):</p>
<p>EMF, <code>http://download.eclipse.org/modeling/emf/updates/releases/</code><br />
MyLyn, <code>http://download.eclipse.org/tools/mylyn/update/e3.4/</code><br />
GEF, <code>http://download.eclipse.org/tools/gef/updates/releases/</code><br />
DLTK, <code>http://download.eclipse.org/releases/galileo/</code><br />
Webtool, <code>http://download.eclipse.org/webtools/updates/</code></p>
<p><strong>PDT</strong><br />
Add <code>http://download.eclipse.org/tools/pdt/updates/2.0/</code> with name PDT. Open "PDT SDK 2.1.2" and select "PHP Development Tools (PDT) Runtime Feature", click Next twice, accept the license and click Finish.</p>
<p><strong>Subclipse</strong><br />
SVN integration (or one of them) in Eclipse is called <a href="http://subclipse.tigris.org/">Subclipse</a> and is installed through update sites as well.  Select Help > Install new software... and add <code>http://subclipse.tigris.org/update_1.6.x</code> into the "Work with" field and click Add type "Subclipse" in name and click Ok. Select all three options and click Next, Next, accept License and click Finish.</p>
<p><strong>Checking out a project</strong><br />
Select File -> New -> Other in the new window select SVN -> Checkout Projects from SVN and click Next.</p>
<p>Select "Create a new repository location", click Next. Type SVN repository in URL, click Next. Type username and password if required. Select the part of the repository containing the project, click Finish.</p>
<p>If the repository not already holds project settings for Eclipse, select "Check out as a project configured using the New Project Wizard" and click Finish. In the New Project Wizard select PHP -> PHP Project and click Next. Give the project a name and you are ready to go - have fun! :)</p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2009/11/01/howto-use-eclipse-with-php-and-svn-in-ubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Re-install / upgrade to Ubuntu 9.10 and keep encrypted data from previous version</title>
		<link>http://ostehamster.dk/blog/index.php/2009/11/01/re-install-upgrade-to-ubuntu-9-10-and-keep-encrypted-data-from-previous-version/</link>
		<comments>http://ostehamster.dk/blog/index.php/2009/11/01/re-install-upgrade-to-ubuntu-9-10-and-keep-encrypted-data-from-previous-version/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 12:19:06 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Paranoia]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Ubuntu 9.10]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/?p=223</guid>
		<description><![CDATA[When Ubuntu first started with encrypted hard drive support, I made a LVM system inside the encrypted system. I do not like to upgrade Ubuntu from one version to another, and I do not want to copy all my data for each installation. My LVM system therefore have root, swap and home, so that home [...]]]></description>
			<content:encoded><![CDATA[<p>When Ubuntu first started with encrypted hard drive support, I made a LVM system inside the encrypted system. I do not like to upgrade Ubuntu from one version to another, and I do not want to copy all my data for each installation. My LVM system therefore have root, swap and home, so that home can survive the re-installation.</p>
<p>Unfortunately, the installer (the alternative one) do not recognise the encrypted hard drive, and is therefore not able to use it. This little guide helps you to reuse your LVM layout - and your data!</p>
<p><strong>NB: Use this guide at your own risk!</strong><br />
<span id="more-223"></span></p>
<p>Follow the installation until "Set up network", then press ctrl-alt F2 to start a console and run<br />
<code><br />
modprobe dm-crypt<br />
cryptsetup luksOpen /dev/sda5 sda5_crypt<br />
</code></p>
<p>Replace /dev/sda5 with your encrypted partition. You will now be prompted for your passphrase for the encrypted partition, after which you run<br />
<code><br />
vgscan<br />
vgchange -ay<br />
</code><br />
in order to activate the lvm volumes.</p>
<p>Press ctrl-alt f1 to get back to the installer. When asked for partition method select Manual, and your encrypted LVM volumes are now on the list. You still need to set mount points etc., and remember NOT to mark them for formatting. Continue the installation.</p>
<p>Boot into rescue with your LVM root volume as /</p>
<p>Find the unique id for this "disk" from:<br />
<code>ls -l /dev/disk/by-uuid</code></p>
<p>Insert a line like</p>
<blockquote><p>sda5_crypt /dev/disk/by-uuid/df05112c-65bf-44a2-b6d1-a740c3444b53 none luks</p></blockquote>
<p>into /etc/crypttab. Remember to use the uuid found above together with what ever name you have given the device. sda5_crypt will give a device called /dev/mapper/sda5_crypt</p>
<p>To avoid manually typing the uuid, it is possible just to do:<br />
<code>ls -l /dev/disk/by-uuid >> /etc/crypttab<br />
nano - /etc/crypttab</code></p>
<p>This will copy the entire content of "ls -l /dev/disk/by-uuid" into the bottom of /etc/crypttab, and open the file for editing with nano.</p>
<p>Run <code>update-initramfs -u</code>, reboot and you are ready to go!</p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2009/11/01/re-install-upgrade-to-ubuntu-9-10-and-keep-encrypted-data-from-previous-version/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Korrektur i Gnome Evolution &#8211; det kan man så ikke :)</title>
		<link>http://ostehamster.dk/blog/index.php/2009/08/28/korrektur-i-gnome-evolution-det-kan-man-sa-ikke/</link>
		<comments>http://ostehamster.dk/blog/index.php/2009/08/28/korrektur-i-gnome-evolution-det-kan-man-sa-ikke/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 22:10:55 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Spas]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/?p=390</guid>
		<description><![CDATA[God ordbog der er i Gnome Evolution :)

]]></description>
			<content:encoded><![CDATA[<p>God ordbog der er i Gnome Evolution :)</p>
<p><a href="http://ostehamster.dk/blog/wp-content/uploads/2009/08/evo.png"><img src="http://ostehamster.dk/blog/wp-content/uploads/2009/08/evo.png" alt="evo" title="evo" width="591" height="276" class="aligncenter size-full wp-image-389" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2009/08/28/korrektur-i-gnome-evolution-det-kan-man-sa-ikke/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Avnet AvProg for Xilinx® Spartan®-3A Evaluation Kit under Linux</title>
		<link>http://ostehamster.dk/blog/index.php/2009/07/14/using-avnet-avprog-for-xilinx%c2%ae-spartan%c2%ae-3a-evaluation-kit-under-linux/</link>
		<comments>http://ostehamster.dk/blog/index.php/2009/07/14/using-avnet-avprog-for-xilinx%c2%ae-spartan%c2%ae-3a-evaluation-kit-under-linux/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 18:01:59 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[FPGA]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[VHDL]]></category>
		<category><![CDATA[VHDL / FPGA]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/?p=342</guid>
		<description><![CDATA[Avnet has made a very cheap ($49) Xilinx Spartan 3A Eval kit, with a lot of nice features.
The FPGA is not programmed through a JTag, but through some "homemade" USB connection. Avnet has made a tool called AvProg for this connection, which is Windows only (shame on them!) :(
It is, however, fairly easy to get [...]]]></description>
			<content:encoded><![CDATA[<p>Avnet has made a very cheap ($49) <a href="www.em.avnet.com/spartan3a-evl">Xilinx Spartan 3A Eval kit</a>, with a lot of nice features.</p>
<p>The FPGA is not programmed through a JTag, but through some "homemade" USB connection. Avnet has made a tool called AvProg for this connection, which is Windows only (shame on them!) :(</p>
<p>It is, however, fairly easy to get working under Linux using Wine.<br />
<span id="more-342"></span></p>
<p>Start by downloading AvProg from <a href="https://www.em.avnet.com/common/filetree/0,2740,RID%3D%26CID%3D46501%26CAT%3D0%26CCD%3DUSA%26SID%3D32214%26DID%3DDF2%26SRT%3D1%26LID%3D32232%26PRT%3D0%26PVW%3D%26PNT%3D%26BID%3DDF2%26CTP%3DEVK,00.html?catalogId=500201&#038;langId=-1&#038;storeId=500201&#038;krypto=0BooYW%2FcJ0mYwVyasQhIfQQAM4eFMGGvFmqHPIDEbDUhggxRIR1oGDTlXxxYlXpWTcFZbsbqNQRZ%0A%2F5597Mu71DNXuFVCPwt6jiTvAbQ1TZrsFF1CV7Vs23jffO0Q5Bdk85rT3Mmyzl4uA8mFzVPlP%2F6l%0AbK83odPMqQi3uZYLp0RkkFiTzzSPvCQ0aU%2FS4ku4LAnH2gA9Zto3UkQ%2FPhOcFwEaZqyVaXuvDmwo%0A9bJMoI0%2F5RDHRKoH5Ov8RLgJJG8Io3%2FwEkvziZEw9kHTN4OYysbsQ8pmgkPlyG7im9x02TRTUsup%0ABXnSBpwpe34NVhJoK%2FFqDnR6Om7K2PNa%2F7QdTKHKRwBQ15PyX6gp43Juvcn6aKiIUl5%2FFH8JvPn5%0AgapYbDFKDmaCRWvj1QojgoWPUQqw4WNuOBR8zDV5qkZHNVPVc2AcWXId9XXZqN96vdnw1iGs%2F3xg%0AedUSxMDTsoqEgtKWK8vZ1w9Z30P4ub4xjC6Bk78G3Y%2Bz%2BFTJg5NdkVRMurTNlMSLord4ShdQ5%2Bf0%0AR1eqE5YOpiKbUfAWW8uEjJj7a57Zb5yMyumJs9tnlmWVQI45E66hvLVDXIXEBpADCW%2BCUT7C2bMn%0AwCqN7e6omHfZf7ZqPbFZgjOadh5xvJIYS4nsGbQlwQi4%2BB8hs1fJKWrc4WYjrtk17htwN5VQxYBf%0AdBSbwZmnXvKEY9DeWc2g72Sq1b0bgfMwXonC9tc%2F5k0C%2F%2B%2BdSfNTpoTbDmudf3m1W4HV57i11itn%0ACKNeXujS8Hxv3SPMm8tIt%2FzMtICTSY%2BlenhEr%2FP4LeVsNZJ7qRpejsKvJNpuNZwnzVutTRGuemlb%0AynpZkTKUNOlJr4cSFTxetdWEkEPWrmFozgWNqwsmXKinepXEZyF65TvR2aDVa73W8tb1FJTZGgGO%0ACHEAkeT0mjK0lpBBUnRlD2Z0SauiOdjsJPYTDY66i9CBBjF2T3TxtEIVWT%2Bx1j2UDKVtf4JIGwB2%0AkAcm33NCAn0rc6yhq7e8nIX%2FClvG2hf1umsxiNWAQ1JheQ443mWQze26dK1rgJZsTH1BLYntjwFB%0ARcIUO1m1YuCW%2F5PSRtghkMBCIoROSWiI8WWqyHLNNvHbbgNLxOxfzN1F2mdgZzXyOGjcRU27wsc3%0AlGsdWT8GuFAIze4HU8ISZMhokef%2BD06WFhhD7hvhQ5w0aa5GQsTkbUefvc%2FPJph9g5dOlBXY0N%2F7%0AUgbPKf3Rkm8D22qUHnN4qg4NaRNVHMd172ou5VmlnhEwKZoUyKQ3OZ2t1%2FeF1sUfVva7oPJ4Ov8P%0AjltAVpK5veLgeacvF6hSJgMSfgOJuPHdyK3dR5uOwJyG8mxoQBiGRSJMLXXQxZ8%3D">avnet.com</a>, which requires you to register.</p>
<p>Next unzip the archive and install it into Wine</p>
<blockquote><p>mkdir AvProg<br />
cd AvProg<br />
unzip AvProg_v340i.1_setup.zip<br />
wine setup.exe<br />
cd ..<br />
rm AvProg -r</p></blockquote>
<p>When the eval board is connected it will be attached to <em>/dev/ttyACM0</em> (or another number). This device has to be made to <em>comx</em> inside Wine. This is done like this</p>
<blockquote><p>cd ~/.wine/dosdevice<br />
ln -s /dev/ttyACM0 com1</p></blockquote>
<p>Removing the Skins directory will disable the fancy coloured GUI and make the application much better under wine (<a href="http://community.em.avnet.com/t5/Spartan-3A-Evaluation-Kit/New-AvProg-Installer-Posted/td-p/260">explanation</a>):</p>
<blockquote><p>
cd ~/.wine/drive_c/Program\ Files/Avnet/AvProg/<br />
rm -rdf Skins</p></blockquote>
<p>That's it, write some VHDL/Verilog, make a bit file and run AvProg</p>
<blockquote><p>wine ~/.wine/drive_c/Program\ Files/Avnet/AvProg/AvProg.exe</p></blockquote>
<p>and have fun :)</p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2009/07/14/using-avnet-avprog-for-xilinx%c2%ae-spartan%c2%ae-3a-evaluation-kit-under-linux/feed/</wfw:commentRss>
		<slash:comments>2</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>Open source &#8211; uden risiko</title>
		<link>http://ostehamster.dk/blog/index.php/2008/05/13/open-source-uden-risiko/</link>
		<comments>http://ostehamster.dk/blog/index.php/2008/05/13/open-source-uden-risiko/#comments</comments>
		<pubDate>Tue, 13 May 2008 09:07:10 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[Danish]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/index.php/2008/05/13/open-source-uden-risiko/</guid>
		<description><![CDATA[Politikkens Tjek sektion citere i dag en artikel i 24timer om Open source, og at det er muligt at finde en masse gratis software på nettet. Ifølge artiklen er der flere grunde til, at open source-programmer ikke hitter. Per Andersen, managing director fra analyseinstituttet IDC, siger til 24timer:
De færreste har mod på at afinstallere Windows [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://politiken.dk/tjek/digitalt/computer/article507628.ece">Politikkens Tjek sektion</a> citere i dag en artikel i <a href="http://24.dk/article.jsp?articleId=545">24timer</a> om Open source, og at det er muligt at finde en masse gratis software på nettet. Ifølge artiklen er der flere grunde til, at open source-programmer ikke hitter. Per Andersen, managing director fra analyseinstituttet IDC, siger til 24timer:</p>
<blockquote><p>De færreste har mod på at afinstallere Windows og installere et andet styresystem. Man bruger det, man kender</p></blockquote>
<p>De glemmer bare at nævne, at det ikke er nødvendigt at afinstallere Windows for at bruge Linux. Dels har alle de store distributioner en Livecd, hvilket betyder at hele systemet kan køre fra en CD, uden at pille ved harddisken. På den måde er det muligt at prøve Linux, uden risiko for at der sker noget med ens Windows systemet.</p>
<p>Derudover er det muligt at installere Linux ved siden af Windows, således at man har begge systemet installeret. Dette kan være en god mulighed hvis man ønsker at skifte, men gerne vil beholde Windows til man har helt styr på sit nye system.</p>
<p>De tre nedenstående Linux distributioner har Live CD:</p>
<ul>
<ol><a href="http://www.ubuntu.com/getubuntu/download">Ubuntu</a></ol>
<ol><a href="http://fedoraproject.org/en/get-fedora">Fedora</a></ol>
<ol><a href="http://www.mandriva.com/en/download/free">Mandriva</a></ol>
</ul>
<p>Som der også står på <a href="http://24.dk/article.jsp?articleId=545">24timer</a>s hjemmeside, findes der massevis af Open source software der både virker under Linux og Windows, så man kan sagtens bruge det uden at skille sig af med Windows.</p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2008/05/13/open-source-uden-risiko/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pytrainer in Ubuntu 8.04 Hardy Heron</title>
		<link>http://ostehamster.dk/blog/index.php/2008/05/03/pytrainer-in-ubuntu-804-hardy-heron/</link>
		<comments>http://ostehamster.dk/blog/index.php/2008/05/03/pytrainer-in-ubuntu-804-hardy-heron/#comments</comments>
		<pubDate>Sat, 03 May 2008 14:02:56 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Hardy]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Running]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/index.php/2008/05/03/pytrainer-in-ubuntu-804-hardy-heron/</guid>
		<description><![CDATA[Pytrainer didn’t work for me under Ubuntu 8.04, because my Garmin Forerunner wasn’t attached to /dev/ttyUSBx something which Pytrainer assumes.
To use gpsbabel and Garmin Forerunner, a command like the one below is used
gpsbabel -t -i garmin -f usb: -o gtrnctr -F /tmp/file.gtrnctr
“usb:” is the input device. The problem is that Pytrainer checks if the device [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://pytrainer.e-oss.net/index.php">Pytrainer</a> didn’t work for me under Ubuntu 8.04, because my Garmin Forerunner wasn’t attached to /dev/ttyUSBx something which Pytrainer assumes.</p>
<p>To use gpsbabel and Garmin Forerunner, a command like the one below is used</p>
<blockquote><p>gpsbabel -t -i garmin -f usb: -o gtrnctr -F /tmp/file.gtrnctr</p></blockquote>
<p>“usb:” is the input device. The problem is that Pytrainer checks if the device exists as a file/directory, which it doesn’t. The workaround is to open <code>/usr/share/pytrainer/plugins/garmin-hr/main.py</code> and change</p>
<blockquote><p>if not os.path.exists(options.device):</p></blockquote>
<p>into</p>
<blockquote><p>if (not os.path.exists(options.device) and not options.device == "usb:"):</p></blockquote>
<p><strong>Updated 04-05-08 12:41:</strong><br />
<a href="http://sourceforge.net/mailarchive/message.php?msg_name=ddc176860805040155k303152d2wda9ab73cd0a33481%40mail.gmail.com">Philippe Piquer</a> just pointed out that the reason it don't work in Ubuntu 8.04, is that the garmin_gps module has been blacklisted. According to /etc/modprobe.d/blacklist because<br />
<blockquote># most apps now use garmin usb driver directly (<a href="https://bugs.launchpad.net/ubuntu/+source/module-init-tools/+bug/114565">Ubuntu: #114565</a>)</p></blockquote>
<p><strong>Updated 04-05-08 21:21:</strong><br />
There must be a file <code>/etc/udev/rules.d/51-garmin.rules</code> containing</p>
<blockquote><p>SYSFS{idVendor}=="091e", SYSFS{idProduct}=="0003", GROUP="plugdev", MODE="660"</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2008/05/03/pytrainer-in-ubuntu-804-hardy-heron/feed/</wfw:commentRss>
		<slash:comments>50</slash:comments>
		</item>
		<item>
		<title>Hvad blev der af åbne standarder?</title>
		<link>http://ostehamster.dk/blog/index.php/2008/04/02/hvad-blev-der-af-abne-standarder/</link>
		<comments>http://ostehamster.dk/blog/index.php/2008/04/02/hvad-blev-der-af-abne-standarder/#comments</comments>
		<pubDate>Wed, 02 Apr 2008 20:08:42 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[Danish]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Politik]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Åbne standarder]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/index.php/2008/04/02/hvad-blev-der-af-abne-standarder/</guid>
		<description><![CDATA[Ifølge Politiken har Danmark i dag givet NATO midler til at starte og drive en online TV-kanal, natochannel.tv, prisen for dette er ca. 10 millioner kroner. Ifølge NATO’s generalsekretær, Jaap de Hoop Scheffer, er formålet med kanalen at
vise for den brede offentlighed, »hvad vi gør og hvorfor« i Afghanistan, Kosova og andre brændpunkter, hvor alliancen [...]]]></description>
			<content:encoded><![CDATA[<p>Ifølge <a href="http://politiken.dk/udland/article490102.ece">Politiken</a> har Danmark i dag givet NATO midler til at starte og drive en online TV-kanal, <a href="http://www.natochannel.tv">natochannel.tv</a>, prisen for dette er ca. 10 millioner kroner. Ifølge NATO’s generalsekretær, Jaap de Hoop Scheffer, er formålet med kanalen at</p>
<blockquote><p>vise for den brede offentlighed, »hvad vi gør og hvorfor« i Afghanistan, Kosova og andre brændpunkter, hvor alliancen har militære operationer.</p></blockquote>
<p>Kanalens forbillede er den danske internet TV-kanal <a href="http://www.forsvarskanalen.dk">Forsvarskanalen</a>, som drives af Forsvarets Mediecenter og viser nyheder om det danske forsvar.</p>
<p>I forbindelse med lanceringen udtaler Anders Fogh Rasmussen</p>
<blockquote><p>Enhver seriøs organisation er nødt til at tage kommunikation meget alvorligt. Nu om dage er det internettet og YouTube, der er tidens løsen</p></blockquote>
<p>Hvis det er så vigtigt at tage kommunikation "meget alvorligt", hvorfor bliver man så mødt af en tom skærm når man besøger natochannel.tv med en Firefox browser kørende i et Linux styresystem? Besøger man derimod Forsvarskanalen får man følgende besked</p>
<blockquote><p>Du kan ikke se www.forsvarskanalen.dk, fordi du ikke har installeret Windows Media Player version 9 – 11 på din maskine.</p></blockquote>
<p>Hvor seriøst tager man kommunikation, hvis kun nogen kan få lov til at se og høre hvad NATO har at sige?</p>
<p>Det er dog også bemærkelsesværdigt, at den danske stat nu har lavet to online TV-kanaler som ikke benytter sig af åbne standarder, eftersom et <a href="http://folketinget.dk/Samling/20051/afstem/485.htm">enstemmigt</a> Folketing i 2006 vedtog <a href="http://folketinget.dk/Samling/20051/beslutningsforslag/B103/som_vedtaget.htm">B 103</a>, som blandt andet siger</p>
<blockquote><p>Regeringen bør sikre, at alle digitale informationer og data, som det offentlige udveksler med borgere, virksomheder og institutioner, findes i formater, der er baseret på åbne standarder.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2008/04/02/hvad-blev-der-af-abne-standarder/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Xilinx Webpack and Linux</title>
		<link>http://ostehamster.dk/blog/index.php/2007/11/21/xilinx-webpack-and-linux/</link>
		<comments>http://ostehamster.dk/blog/index.php/2007/11/21/xilinx-webpack-and-linux/#comments</comments>
		<pubDate>Wed, 21 Nov 2007 20:26:23 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[Gutsy]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[VHDL / FPGA]]></category>
		<category><![CDATA[FPGA]]></category>
		<category><![CDATA[VHDL]]></category>
		<category><![CDATA[Xilinx]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/?p=42</guid>
		<description><![CDATA[If you would like to run the floorplaner as a stand alone application, do like this:
1) Add /opt/Xilinx92i/bin/lin to /etc/ld.so.conf, and execute sudo ldconfig
2) Execute export  XILINX="/opt/Xilinx92i/"
3) Execute export DISPLAY=":0"
Errors
If you get an error like this:
   error while loading shared libraries: libXm.so.3
Install libmotif3
  sudo apt-get install libmotif3
]]></description>
			<content:encoded><![CDATA[<p>If you would like to run the floorplaner as a stand alone application, do like this:</p>
<p>1) Add /opt/Xilinx92i/bin/lin to /etc/ld.so.conf, and execute <code>sudo ldconfig</code><br />
2) Execute <code>export  XILINX="/opt/Xilinx92i/"</code><br />
3) Execute <code>export DISPLAY=":0"</p>
<p><strong>Errors</strong><br />
If you get an error like this:<br />
   error while loading shared libraries: libXm.so.3<br />
Install libmotif3<br />
  </code><code>sudo apt-get install libmotif3</code></p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2007/11/21/xilinx-webpack-and-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vncviewer localhost:0, dooh</title>
		<link>http://ostehamster.dk/blog/index.php/2007/09/09/vncviewer-localhost0-dooh/</link>
		<comments>http://ostehamster.dk/blog/index.php/2007/09/09/vncviewer-localhost0-dooh/#comments</comments>
		<pubDate>Sun, 09 Sep 2007 17:16:01 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Spas]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/wordpress/?p=35</guid>
		<description><![CDATA[Never run vncviewer localhost:0 :)

]]></description>
			<content:encoded><![CDATA[<p>Never run vncviewer localhost:0 :)<br />
<a href='http://ostehamster.dk/blog/wp-content/uploads/2007/09/vncstress.png' title='VNC stress'><img src='http://ostehamster.dk/blog/wp-content/uploads/2007/09/vncstress.thumbnail.png' alt='VNC stress' /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2007/09/09/vncviewer-localhost0-dooh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP highlight bug in jEdit</title>
		<link>http://ostehamster.dk/blog/index.php/2007/05/21/php-highlight-bug-in-jedit/</link>
		<comments>http://ostehamster.dk/blog/index.php/2007/05/21/php-highlight-bug-in-jedit/#comments</comments>
		<pubDate>Mon, 21 May 2007 19:33:23 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/wordpress/?p=30</guid>
		<description><![CDATA[For a long time, I have been experiencing a bug in the PHP highlightning in jEdit. The problem is when writting something like
$foo = "bar\"";
the highlightning ignores \" and start looking for the ending of the "".
This page gives the answer to my problem.
In Ubuntu Feisty Fawn, with jEdit installed with the Java-installer, the file [...]]]></description>
			<content:encoded><![CDATA[<p>For a long time, I have been experiencing a bug in the PHP highlightning in jEdit. The problem is when writting something like</p>
<blockquote><p>$foo = "bar\"";</p></blockquote>
<p>the highlightning ignores \" and start looking for the ending of the "".</p>
<p><a href="http://community.jedit.org/?q=node/view/3501">This page</a> gives the answer to my problem.</p>
<p>In Ubuntu Feisty Fawn, with jEdit installed with the Java-installer, the file is here:</p>
<blockquote><p>/usr/local/share/jedit/4.3pre9/modes/php.xml</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2007/05/21/php-highlight-bug-in-jedit/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>OpenWrt &#8211; tips &amp; tricks</title>
		<link>http://ostehamster.dk/blog/index.php/2007/04/17/openwrt-tips-tricks/</link>
		<comments>http://ostehamster.dk/blog/index.php/2007/04/17/openwrt-tips-tricks/#comments</comments>
		<pubDate>Tue, 17 Apr 2007 20:19:31 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[OpenWrt]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/wordpress/?p=24</guid>
		<description><![CDATA[Change SSH port from 22 to e.g. 2222
Change the last line of the file /etc/init.d/S50dropbear to:
/usr/sbin/dropbear -p 2222
]]></description>
			<content:encoded><![CDATA[<p><strong>Change SSH port from 22 to e.g. 2222</strong><br />
Change the last line of the file /etc/init.d/S50dropbear to:</p>
<blockquote><p>/usr/sbin/dropbear -p 2222</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2007/04/17/openwrt-tips-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenOffice, gnuplot/Matlab and eps with preview</title>
		<link>http://ostehamster.dk/blog/index.php/2007/03/22/openoffice-gnuplotmatlab-and-eps-with-preview/</link>
		<comments>http://ostehamster.dk/blog/index.php/2007/03/22/openoffice-gnuplotmatlab-and-eps-with-preview/#comments</comments>
		<pubDate>Thu, 22 Mar 2007 12:26:54 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenOffice]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/wordpress/?p=19</guid>
		<description><![CDATA[Making eps graphs in gnuplot and Matlab, makes very nice printouts. But neither gnuplot or Matlab makes eps files with preview, which makes OpenOffice using a lot of resources, just to show the plots.
But using the epstool, it is possible to make previews
epstool -t6p in.eps out.eps
The downside is, that the graph isn't pretty in OpenOffice. [...]]]></description>
			<content:encoded><![CDATA[<p>Making eps graphs in gnuplot and Matlab, makes very nice printouts. But neither gnuplot or Matlab makes eps files with preview, which makes OpenOffice using a lot of resources, just to show the plots.</p>
<p>But using the epstool, it is possible to make previews<br />
<code>epstool -t6p in.eps out.eps</code></p>
<p>The downside is, that the graph isn't pretty in OpenOffice. Furthermore, the PDF export function can make pretty PDF. Instead, you have to print to a ps file, and the use ps2pdf.</p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2007/03/22/openoffice-gnuplotmatlab-and-eps-with-preview/feed/</wfw:commentRss>
		<slash:comments>0</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>postfix: forward root mails to non-local email</title>
		<link>http://ostehamster.dk/blog/index.php/2007/02/04/postfix-forward-root-mails-to-non-local-email/</link>
		<comments>http://ostehamster.dk/blog/index.php/2007/02/04/postfix-forward-root-mails-to-non-local-email/#comments</comments>
		<pubDate>Sun, 04 Feb 2007 14:20:38 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[postfix]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/wordpress/?p=16</guid>
		<description><![CDATA[In order to make postfix forward all mails from "root", to a non-local email, the Postfix virtual alias table format must be used.
Start by making a file called  /etc/postfix/virtual, with this content
root    receiver_email@non_local_host
Then run the below, to make a virtual lookup table.
sudo postmap /etc/postfix/virtual
To enable the virtual alias, insert the below [...]]]></description>
			<content:encoded><![CDATA[<p>In order to make postfix forward all mails from "root", to a non-local email, the <a href="http://www.postfix.org/virtual.5.html">Postfix virtual alias table format</a> must be used.</p>
<p>Start by making a file called  /etc/postfix/virtual, with this content</p>
<pre><code>root    receiver_email@non_local_host</code></pre>
<p>Then run the below, to make a virtual lookup table.</p>
<pre><code>sudo postmap /etc/postfix/virtual</code></pre>
<p>To enable the virtual alias, insert the below into /etc/postfix/main.cf</p>
<pre><code>virtual_alias_maps = hash:/etc/postfix/virtual</code></pre>
<p>Now restart postfix, and send a mail to root</p>
<pre><code>sudo /etc/init.d/postfix restart
echo "hmm" | sendmail root</code></pre>
<p>This worked for me at Ubuntu Dapper and Ubuntu Edgy.</p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2007/02/04/postfix-forward-root-mails-to-non-local-email/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sound over TCP with mplayer</title>
		<link>http://ostehamster.dk/blog/index.php/2007/01/17/sound-over-tcp-with-mplayer/</link>
		<comments>http://ostehamster.dk/blog/index.php/2007/01/17/sound-over-tcp-with-mplayer/#comments</comments>
		<pubDate>Wed, 17 Jan 2007 21:34:16 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/wordpress/?p=8</guid>
		<description><![CDATA[When you wanna see Simpsons on your MythBox and don't  wanna disturb your girlfriend, you wear headphones. But when the headphone cable isn't long enogh to reach the couch where you are sitting with your laptop, you have a problem!
After a couple of hours I found the solution, esd over TCP. Open a terminal [...]]]></description>
			<content:encoded><![CDATA[<p>When you wanna see Simpsons on your MythBox and don't  wanna disturb your girlfriend, you wear headphones. But when the headphone cable isn't long enogh to reach the couch where you are sitting with your laptop, you have a problem!</p>
<p>After a couple of hours I found the solution, esd over TCP. Open a terminal on the box attached to the TV, and write this:</p>
<pre><code>export ESPEAKER=ip_on_your_laptop:16001</code></pre>
<p>On the laptop execute this in a terminal:</p>
<pre><code>esd -tcp -public</code></pre>
<p>Now you can start mplayer on the MythBox using "-ao esd", and the sound will be sent to your laptop, if no firewall or other stuff is blocking :)</p>
<p>You also have to ajust the soundt delay in mplayer, using +/-, but it works.</p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2007/01/17/sound-over-tcp-with-mplayer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
