<?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"
	>

<channel>
	<title>From thoughts to text</title>
	<atom:link href="http://blog.torh.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.torh.net</link>
	<description>The personal blog of Tor Håkon Haugen</description>
	<pubDate>Tue, 25 Mar 2008 15:51:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<item>
		<title>Problems with Citrix Client on Linux?</title>
		<link>http://blog.torh.net/2008/02/29/problems-with-citrix-client-on-linux/</link>
		<comments>http://blog.torh.net/2008/02/29/problems-with-citrix-client-on-linux/#comments</comments>
		<pubDate>Fri, 29 Feb 2008 09:35:57 +0000</pubDate>
		<dc:creator>torh</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[citrix]]></category>

		<category><![CDATA[firefox]]></category>

		<category><![CDATA[ica client]]></category>

		<category><![CDATA[mozilla]]></category>

		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://blog.torh.net/2008/02/29/problems-with-citrix-client-on-linux/</guid>
		<description><![CDATA[Updated March 25th
Everytime I install the Linux Citrix Client it seems like I run into problems with SSL-Certificates. The message usually sounds like this:
You have not chosen to trust &#8220;Thawte Server CA&#8221;, the issuer of the server&#8217;s security cerfiticate (SSL error 61).
You might have another company listet as issuer on your server.
Anyway, let&#8217;s fix it.
Run [...]]]></description>
			<content:encoded><![CDATA[<p><i>Updated March 25th</i></p>
<p>Everytime I install the Linux <a href="http://www.citrix.com/">Citrix</a> Client it seems like I run into problems with SSL-Certificates. The message usually sounds like this:</p>
<blockquote><p>You have not chosen to trust &#8220;Thawte Server CA&#8221;, the issuer of the server&#8217;s security cerfiticate (SSL error 61).</p></blockquote>
<p>You might have another company listet as issuer on your server.<br />
Anyway, let&#8217;s fix it.</p>
<p>Run the following command as a superuser, also known as root:</p>
<p><code>cp /usr/share/ca-certificates/mozilla/* /usr/lib/ICAClient/keystore/cacerts/</code></p>
<p>That&#8217;s it!</p>
<p>This assumes that the ICA Client is installed in the default directory. Also you need to have <del>Mozilla Firefox</del> a package called ca-certificates installed <del>since we are using its certificats</del>.</p>
<p><i>Please leave a comment if you found this useful.</i></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.torh.net/2008/02/29/problems-with-citrix-client-on-linux/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Creating a Bootable USB Flash Drive</title>
		<link>http://blog.torh.net/2007/08/19/creating-a-bootable-usb-flash-drive/</link>
		<comments>http://blog.torh.net/2007/08/19/creating-a-bootable-usb-flash-drive/#comments</comments>
		<pubDate>Sun, 19 Aug 2007 17:06:44 +0000</pubDate>
		<dc:creator>torh</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[bootable usb]]></category>

		<category><![CDATA[grub]]></category>

		<category><![CDATA[pendrive]]></category>

		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://blog.torh.net/2007/08/19/creating-a-bootable-usb-flash-drive/</guid>
		<description><![CDATA[It&#8217;s always handy to have a bootable USB flash drive. Whether you would install a Linux distribution, or just run a memory test. Now days, less and less computers are delivered with floppy drives, and some don&#8217;t even have a CD drive. Like the IBM ThinkPad X-series. Of course you could buy an external one, [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s always handy to have a bootable USB flash drive. Whether you would install a Linux distribution, or just run a memory test. Now days, less and less computers are delivered with floppy drives, and some don&#8217;t even have a CD drive. Like the IBM ThinkPad X-series. Of course you could buy an external one, but that&#8217;s not the point.</p>
<p>This is meant to help people who already know Linux, so don&#8217;t expect a world of information.</p>
<p><b>1. Prerequisite</b><br />
You&#8217;ll need a USB flash drive and computer running Linux. The machine also needs Grub and support for FAT file system.</p>
<p><b>2. The Quick and Dirty Guide</b><br />
First you must find out what block device your drive is identified by. This can be done by using &#8220;dmesg&#8221; right after you have plugged in the device.</p>
<pre><code>dmesg | tail</code></pre>
<p>Mine came up as sdb, so let&#8217;s go ahead and format it using the FAT file system.</p>
<pre><code>mkfs.vfat /dev/sdb1</code></pre>
<p>Then install Grub (the bootloader)</p>
<pre><code>grub-install /dev/sdb</code></pre>
<p>Pay attention to the output. It will tell you how Grub identifies /dev/sdb, we&#8217;ll need it later. In my case it&#8217;s hd1. If you get an error message about some BIOS stuff. Try this instead.</p>
<pre><code>grub-install --recheck /deb/sdb</code></pre>
<p> Now we can mount it and copy over the necessary files.</p>
<pre><code>mount /dev/sdb1 /media/usb
mkdir -p /media/usb/boot/
cp -r /boot/grub/ /media/usb/boot/</code></pre>
<p>We&#8217;re almost there.</p>
<pre><code>grub
grub>root (hd1,0)
grub>setup (hd1)
quit</code></pre>
<p>It&#8217;s bootable. Now you can throw in whatever image you please, like memtest86.</p>
<pre><code>cp memtest86+.bin /media/usb/boot/</code></pre>
<p>Memtest can be downloaded from Internet, or if you have Ubuntu it will already be in your /boot catalog. To make a boot menu, edit <i>/media/usb/boot/grub/menu.1st</i> to look like this.</p>
<pre><code>default 0
timeout 10

title Memtest86
root (hd0,0)
kernel /boot/memtest86+.bin</code></pre>
<p>I have also thrown in the Ubuntu network installation files.</p>
<pre><code>cp linux initrd.gz /media/usb/boot</code></pre>
<p>So now my menu looks like this.</p>
<pre><code>default 0
timeout 10
color cyan/blue white/blue

title Memtest86
root (hd0,0)
kernel /boot/memtest86+.bin

title Ubuntu x86 Installation
root (hd0,0)
kernel /boot/linux root=/dev/ram
initrd /boot/initrd.gz</code></pre>
<p><i>Please leave a comment if you found this useful.</i></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.torh.net/2007/08/19/creating-a-bootable-usb-flash-drive/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Getting Widescreen Resolution on Ubuntu</title>
		<link>http://blog.torh.net/2007/08/19/getting-a-widescreen-resolution-on-ubuntu/</link>
		<comments>http://blog.torh.net/2007/08/19/getting-a-widescreen-resolution-on-ubuntu/#comments</comments>
		<pubDate>Sat, 18 Aug 2007 22:15:45 +0000</pubDate>
		<dc:creator>torh</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.torh.net/2007/08/19/getting-a-widescreen-resolution-on-ubuntu/</guid>
		<description><![CDATA[This trick applies to laptops with Intel 915 or 945 graphics card.
A few days ago I installed Ubuntu on my work laptop, a Acer TravelMate 4230. The installation was painless, as one would expect with a Linux distribution &#8220;for human beings&#8221;. However I couldn&#8217;t seem to get the native resolution in Xorg (the graphical engine) [...]]]></description>
			<content:encoded><![CDATA[<p>This trick applies to laptops with Intel 915 or 945 graphics card.</p>
<p>A few days ago I installed Ubuntu on my work laptop, a Acer TravelMate 4230. The installation was painless, as one would expect with a Linux distribution &#8220;for human beings&#8221;. However I couldn&#8217;t seem to get the native resolution in Xorg (the graphical engine) right, even though the setup found it and stored it in the configuration file.</p>
<p>I ran both <i>hwinfo &#8211;monitor</i> and <i>hwinfo &#8211;framebuffer</i>. The first gave me 1280 by 800 as native resolution. The latter however, only gave me 4:3 resolutions. To correct this limitation I installed a package called &#8220;915resolution&#8221;.</p>
<pre><code>apt-get install 915resolution</code></pre>
<p>This package patches the framebuffer, so a reboot is necessary for this to take effect.</p>
<p><i>Please leave a comment if you found this useful.</i></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.torh.net/2007/08/19/getting-a-widescreen-resolution-on-ubuntu/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Subversion - &#8216;502 Bad Gateway&#8217; Workaround</title>
		<link>http://blog.torh.net/2007/07/25/subversion-502-bad-gateway-workaround/</link>
		<comments>http://blog.torh.net/2007/07/25/subversion-502-bad-gateway-workaround/#comments</comments>
		<pubDate>Wed, 25 Jul 2007 11:04:25 +0000</pubDate>
		<dc:creator>torh</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.torh.net/2007/07/25/subversion-502-bad-gateway-workaround/</guid>
		<description><![CDATA[Parts of this article has previously been posted in my old blog. It&#8217;s being reposted because of its usefulness.
A little over a year ago, I had a problem trying both copying and renaming files in Subversion, giving me the &#8216;502 Bad Gateway&#8217; message. Trying to Google the problem didn&#8217;t help me much, and I don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p><i>Parts of this article has previously been posted in my old blog. It&#8217;s being reposted because of its usefulness.</i></p>
<p>A little over a year ago, I had a problem trying both copying and renaming files in Subversion, giving me the &#8216;502 Bad Gateway&#8217; message. Trying to Google the problem didn&#8217;t help me much, and I don&#8217;t think it does to this date either.</p>
<p>The error message was:<br />
<code>svn: Commit failed (details follow):<br />
svn: COPY of testfile.py: 502 Bad Gateway (https://hostname)</code></p>
<p>My solution to the problem was adding the following lines into my vhost-file, between the &#60;VirtualHost *:443&#62; and the closing &#60;/VirtualHost&#62;. (I&#8217;ve placed them near the top.)<br />
<code><br />
SSLEngine on<br />
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA;+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL<br />
SSLCertificateFile /etc/apache2/ssl/server.crt<br />
SSLCertificateKeyFile /etc/apache2/ssl/server.key</code></p>
<p>You must of course change the SSLCertificateFile and SSLCertificateKeyFile variables to reflect your own setup. You must also restart Apache.</p>
<p>I can&#8217;t guarantee that this workaround actually will work. But I&#8217;ve had good experience with it in two cases. In both cases I&#8217;ve run Subversion through Apache 2 web server, using the mod_dav_svn module, on a Linux platform. Also, since I have more than one domain name, the web server was set up with virtual hosts, ssl, proxy and rewrite modules.</p>
<p>According to my original post about this problem, I wrote the following:<br />
<i>I stole this solution from <a href="http://journal.boblycat.org/karltk/">Karl Trygve Kalleberg</a>, who fixed it once, and then later forgot how.</i><br />
Which, if my mind serves me correct, means that I found it when looking through his old configuration files.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.torh.net/2007/07/25/subversion-502-bad-gateway-workaround/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
