<?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; Feisty Fawn</title>
	<atom:link href="http://ostehamster.dk/blog/index.php/tag/feisty-fawn/feed/" rel="self" type="application/rss+xml" />
	<link>http://ostehamster.dk/blog</link>
	<description>I have a blog, therefore I am…</description>
	<lastBuildDate>Tue, 03 Jan 2012 22:37:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>duplicity under Ubuntu Feisty Fawn</title>
		<link>http://ostehamster.dk/blog/index.php/2007/05/20/duplicity-under-ubuntu-feisty-fawn/</link>
		<comments>http://ostehamster.dk/blog/index.php/2007/05/20/duplicity-under-ubuntu-feisty-fawn/#comments</comments>
		<pubDate>Sun, 20 May 2007 12:56:26 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[Backup]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Feisty Fawn]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Duplicity]]></category>

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

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

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

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

        ;;
    pre-up)

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

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

		<guid isPermaLink="false">http://ostehamster.dk/wordpress/?p=18</guid>
		<description><![CDATA[sudo apt-get install lmodern texmaker tetex-base tetex-extra tetex-doc]]></description>
			<content:encoded><![CDATA[<blockquote><p>sudo apt-get install lmodern texmaker tetex-base tetex-extra tetex-doc</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2007/02/15/latex-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

