<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="lyceum/1.0.3" -->
<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:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">

<channel>
	<title>Gary's Weblog</title>
	<link>http://blogs.olsen.ch/gary</link>
	<description>Mostly work related</description>
	<pubDate>Mon, 12 May 2008 15:01:57 +0000</pubDate>
	<generator>http://lyceum.ibiblio.org/?v=1.0.3</generator>
	<language>en</language>
			<item>
		<title>Making volume labels</title>
		<link>http://blogs.olsen.ch/gary/2008/05/12/making-volume-labels/</link>
		<comments>http://blogs.olsen.ch/gary/2008/05/12/making-volume-labels/#comments</comments>
		<pubDate>Mon, 12 May 2008 15:00:48 +0000</pubDate>
		<dc:creator>Gary</dc:creator>
		
		<category>Technical</category>

		<guid isPermaLink="false">http://blogs.olsen.ch/gary/2008/05/12/making-volume-labels/</guid>
		<description><![CDATA[I always forget how to make a volume label. Here is a page that rounds up various methods for different filesystems:
www.debuntu.org/device-partition-labeling
The part on labeling FAT filesystems is not quite right. It works, but there is a better way. First make sure you have the debian package &#8220;mtools&#8221; installed:
To see if there is a label already [...]]]></description>
			<content:encoded><![CDATA[<p>I always forget how to make a volume label. Here is a page that rounds up various methods for different filesystems:</p>
<p><a href="http://www.debuntu.org/device-partition-labeling">www.debuntu.org/device-partition-labeling</a></p>
<p>The part on labeling FAT filesystems is not quite right. It works, but there is a better way. First make sure you have the debian package &#8220;mtools&#8221; installed:</p>
<p>To see if there is a label already there:<br />
<code>sudo mlabel -i /dev/device -s ::</code></p>
<p>To write a new label:<br />
<code>sudo mlabel -i /dev/device ::newlabel</code></p>
<p>In the place of &#8220;/dev/device&#8221; you should use something like &#8220;/dev/sdd1&#8243;.
</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.olsen.ch/gary/2008/05/12/making-volume-labels/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New theme - Insomniac</title>
		<link>http://blogs.olsen.ch/gary/2007/11/15/new-theme-insomniac/</link>
		<comments>http://blogs.olsen.ch/gary/2007/11/15/new-theme-insomniac/#comments</comments>
		<pubDate>Thu, 15 Nov 2007 11:08:13 +0000</pubDate>
		<dc:creator>Gary</dc:creator>
		
		<category>Weblog</category>

		<guid isPermaLink="false">http://blogs.olsen.ch/gary/2007/11/15/new-theme-insomniac/</guid>
		<description><![CDATA[Insomniac is a dark background theme, nice if you are tired of the usual white background themes. I haven&#8217;t made any changes to the theme code, so there might be parts that do not work. Out of the box it renders nicely though.

]]></description>
			<content:encoded><![CDATA[<p>Insomniac is a dark background theme, nice if you are tired of the usual white background themes. I haven&#8217;t made any changes to the theme code, so there might be parts that do not work. Out of the box it renders nicely though.
</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.olsen.ch/gary/2007/11/15/new-theme-insomniac/feed/</wfw:commentRss>
		</item>
		<item>
		<title>All new for November</title>
		<link>http://blogs.olsen.ch/gary/2007/11/13/all-new-for-november/</link>
		<comments>http://blogs.olsen.ch/gary/2007/11/13/all-new-for-november/#comments</comments>
		<pubDate>Tue, 13 Nov 2007 13:29:30 +0000</pubDate>
		<dc:creator>Gary</dc:creator>
		
		<category>Weblog</category>

		<guid isPermaLink="false">http://blogs.olsen.ch/gary/2007/11/13/all-new-for-november/</guid>
		<description><![CDATA[Check out the news here: http://lyceum.ibiblio.org/2007/10/11/lyceum-10/.
It turns out Lyceum was not dead. Huh.
Of course the Post Levels plugin still does not work, which is a huge bummer.
]]></description>
			<content:encoded><![CDATA[<p>Check out the news here: <a href="http://lyceum.ibiblio.org/2007/10/11/lyceum-10/">http://lyceum.ibiblio.org/2007/10/11/lyceum-10/</a>.</p>
<p>It turns out Lyceum was not dead. Huh.</p>
<p>Of course the Post Levels plugin still does not work, which is a huge bummer.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.olsen.ch/gary/2007/11/13/all-new-for-november/feed/</wfw:commentRss>
		</item>
		<item>
		<title>netcat tricks</title>
		<link>http://blogs.olsen.ch/gary/2007/08/13/netcat-tricks/</link>
		<comments>http://blogs.olsen.ch/gary/2007/08/13/netcat-tricks/#comments</comments>
		<pubDate>Mon, 13 Aug 2007 08:32:03 +0000</pubDate>
		<dc:creator>Gary</dc:creator>
		
		<category>Technical</category>

		<guid isPermaLink="false">http://blogs.olsen.ch/gary/2007/08/13/netcat-tricks/</guid>
		<description><![CDATA[I have always liked netcat, but I never really use it at work. But I always feel like I should. Here is a wonderful list of things you may be able to use netcat for:
useful-netcat-tricks
Looking at the comments of that blog I saw another cool thing to do involving network transfer of files. It introduces [...]]]></description>
			<content:encoded><![CDATA[<p>I have always liked netcat, but I never really use it at work. But I always feel like I should. Here is a wonderful list of things you may be able to use netcat for:</p>
<p><a href="http://www.terminally-incoherent.com/blog/2007/08/07/few-useful-netcat-tricks/">useful-netcat-tricks</a></p>
<p>Looking at the comments of that blog I saw another cool thing to do involving network transfer of files. It introduces a utility I didn&#8217;t know about before called <a href="http://www.lzop.org/">lzop</a>. It goes something like this:</p>
<p>On the sending computer&#8230;<br />
<code><br />
dd if=/home/me/my_file | lzop | nc 192.168.0.1 9000<br />
</code></p>
<p>On the receiving computer&#8230;<br />
<code><br />
nc -l -p 9000 | lzop -d |dd of=/someplace/my_file<br />
</code></p>
<p>So, the sending computer uses dd to pipe the file to lzop (which compresses it) then pipes it to netcat. The receiving computer gets the file via netcat, pipes it to &#8220;lzop -d&#8221; to decompress it, and finally dd gets it and writes it to disk. With lzop providing compression the transfer should go pretty quick. If the file compresses easily. Lzop is preferred in this case because it is supposed to much quicker than gzip, so it doesn&#8217;t get in the way while doing its thing.</p>
<p>A potential downside to sending huge files is that you have no progress meter. I suppose you can do a ls from time to time to judge when the file transfer will be done.</p>
<p>I have not tried any of this yet&#8230;
</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.olsen.ch/gary/2007/08/13/netcat-tricks/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Killing web sites with JMeter</title>
		<link>http://blogs.olsen.ch/gary/2007/05/15/killing-web-sites-with-jmeter/</link>
		<comments>http://blogs.olsen.ch/gary/2007/05/15/killing-web-sites-with-jmeter/#comments</comments>
		<pubDate>Tue, 15 May 2007 15:05:48 +0000</pubDate>
		<dc:creator>Gary</dc:creator>
		
		<category>Technical</category>

		<guid isPermaLink="false">http://blogs.olsen.ch/gary/2007/05/15/killing-web-sites-with-jmeter/</guid>
		<description><![CDATA[This looks like something we can use here:
Apache JMeter may be used to test performance both on static and dynamic resources (files, Servlets, Perl scripts, Java Objects, Data Bases and Queries, FTP Servers and more). It can be used to simulate a heavy load on a server, network or object to test its strength or [...]]]></description>
			<content:encoded><![CDATA[<p>This looks like something we can use here:</p>
<p><a href="http://jakarta.apache.org/jmeter/">Apache JMeter</a> may be used to test performance both on static and dynamic resources (files, Servlets, Perl scripts, Java Objects, Data Bases and Queries, FTP Servers and more). It can be used to simulate a heavy load on a server, network or object to test its strength or to analyze overall performance under different load types. You can use it to make a graphical analysis of performance or to test your server/script/object behavior under heavy concurrent load.
</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.olsen.ch/gary/2007/05/15/killing-web-sites-with-jmeter/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Debian Linux VLAN musings</title>
		<link>http://blogs.olsen.ch/gary/2007/05/10/debian-linux-vlan-musings/</link>
		<comments>http://blogs.olsen.ch/gary/2007/05/10/debian-linux-vlan-musings/#comments</comments>
		<pubDate>Thu, 10 May 2007 14:06:19 +0000</pubDate>
		<dc:creator>Gary</dc:creator>
		
		<category>Technical</category>

		<guid isPermaLink="false">http://blogs.olsen.ch/gary/2007/05/10/debian-linux-vlan-musings/</guid>
		<description><![CDATA[I am getting a network monitoring server ready. This server will need a direct connection to all of our subnets. This is not  too hard because I can use multiple VLANs within one physical interface.
What was hard was finding authoritative documentation for VLANs on Debian. Maybe I was looking in the wrong places (google), [...]]]></description>
			<content:encoded><![CDATA[<p>I am getting a network monitoring server ready. This server will need a direct connection to all of our subnets. This is not  too hard because I can use multiple VLANs within one physical interface.</p>
<p>What was hard was finding authoritative documentation for VLANs on Debian. Maybe I was looking in the wrong places (google), I don&#8217;t know. It turns out it is a simple procedure. Finding the info and experimenting took all the effort.</p>
<p>First you install the &#8220;vlan&#8221; package so you will have the utilities needed to manipulate VLANs:</p>
<p><code>apt-get install vlan</code></p>
<p>Then you define your VLAN interfaces in /etc/network/interfaces like so:<br />
<code>auto vlan2<br />
iface vlan2 inet static<br />
        vlan_raw_device eth0<br />
        address 192.168.22.20<br />
        netmask 255.255.255.0<br />
        network 192.168.22.0<br />
        broadcast 192.168.22.255<br />
        gateway 192.168.22.1<br />
</code></p>
<p><strong>UPDATE:</strong><br />
Well that project crashed and burned. It turns out that I am limited by the switch. It is necessary to use port mirroring on the switch so that the monitoring server will get all the network traffic from the other servers. With the switch I have (HP 4104gl) you can only mirror ports that are on the same module as the monitoring port. The switch has four modules, with servers populating all four. So that restricts things quite a bit. Too much to make it worth it in fact.</p>
<p>At least I figured out that I don&#8217;t need to use VLANs for monitoring (it was a good learning experience though).
</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.olsen.ch/gary/2007/05/10/debian-linux-vlan-musings/feed/</wfw:commentRss>
		</item>
		<item>
		<title>HP/Proliant Installer Compatibility Table</title>
		<link>http://blogs.olsen.ch/gary/2007/05/09/hpproliant-installer-compatibility-table/</link>
		<comments>http://blogs.olsen.ch/gary/2007/05/09/hpproliant-installer-compatibility-table/#comments</comments>
		<pubDate>Wed, 09 May 2007 09:55:40 +0000</pubDate>
		<dc:creator>Gary</dc:creator>
		
		<category>Technical</category>

		<guid isPermaLink="false">http://blogs.olsen.ch/gary/2007/05/09/hpproliant-installer-compatibility-table/</guid>
		<description><![CDATA[This is a really cool thing:
HP/Proliant Installer Compatibility Table
It lists what Debian works on what HP servers. This should save a lot tears and moaning.
Update: Holy crap, HP has a page for Debian compatibility too!
HP and Debian GNU/Linux
Blade servers are a go. Freaking cool.
This model works great with Etch, apparently:
installation-report: HP ProLiant DL145 G3

]]></description>
			<content:encoded><![CDATA[<p>This is a really cool thing:</p>
<p><a href="http://wiki.debian.org/HP/ProLiant">HP/Proliant Installer Compatibility Table</a></p>
<p>It lists what Debian works on what HP servers. This should save a lot tears and moaning.</p>
<p><strong>Update:</strong> Holy crap, HP has a page for Debian compatibility too!</p>
<p><a href="http://hp.com/go/debian">HP and Debian GNU/Linux</a></p>
<p>Blade servers are a go. Freaking cool.</p>
<p>This model works great with Etch, apparently:</p>
<p><a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=421646">installation-report: HP ProLiant DL145 G3</a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.olsen.ch/gary/2007/05/09/hpproliant-installer-compatibility-table/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Making SSL certificates with Debian Etch</title>
		<link>http://blogs.olsen.ch/gary/2007/05/09/making-ssl-certificates-with-debian-etch/</link>
		<comments>http://blogs.olsen.ch/gary/2007/05/09/making-ssl-certificates-with-debian-etch/#comments</comments>
		<pubDate>Wed, 09 May 2007 08:38:11 +0000</pubDate>
		<dc:creator>Gary</dc:creator>
		
		<category>Technical</category>

		<guid isPermaLink="false">http://blogs.olsen.ch/gary/2007/05/09/making-ssl-certificates-with-debian-etch/</guid>
		<description><![CDATA[Debian Etch has a nice wrapper script for creating certificates with openssl. Is is called make-ssl-cert and has a syntax like so:
make-ssl-cert template output-certificate [--force-overwrite]
An example of a SSL template can be found here:
/usr/share/ssl-cert/ssleay.cnf
I got this from reading a blog entry here: SSL + Apache2.2 + VirtualHost + Debian with automatically HTTPS forwarding

]]></description>
			<content:encoded><![CDATA[<p>Debian Etch has a nice wrapper script for creating certificates with openssl. Is is called make-ssl-cert and has a syntax like so:</p>
<p><code>make-ssl-cert template output-certificate [--force-overwrite]</code></p>
<p>An example of a SSL template can be found here:</p>
<p><code>/usr/share/ssl-cert/ssleay.cnf</code></p>
<p>I got this from reading a blog entry here: <a href="http://edin.no-ip.com/html/?q=ssl_apache2_2_virtualhost_debian_automatically_https_forwarding">SSL + Apache2.2 + VirtualHost + Debian with automatically HTTPS forwarding</a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.olsen.ch/gary/2007/05/09/making-ssl-certificates-with-debian-etch/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Bash Shell Keyboard Shortcuts</title>
		<link>http://blogs.olsen.ch/gary/2007/04/02/bash-shell-keyboard-shortcuts/</link>
		<comments>http://blogs.olsen.ch/gary/2007/04/02/bash-shell-keyboard-shortcuts/#comments</comments>
		<pubDate>Mon, 02 Apr 2007 11:39:47 +0000</pubDate>
		<dc:creator>Gary</dc:creator>
		
		<category>Technical</category>

		<guid isPermaLink="false">http://blogs.olsen.ch/gary/2007/04/02/bash-shell-keyboard-shortcuts/</guid>
		<description><![CDATA[This was surprisingly useful. There are a hell of a lot of keyboard shortcuts available for bash. I only knew a few of them!
Bash Shell Keyboard Shortcuts
The meat of the actual article after the jump&#8230;

    * Ctrl + A - Go to the beginning of the line you are currently typing on
 [...]]]></description>
			<content:encoded><![CDATA[<p>This was surprisingly useful. There are a hell of a lot of keyboard shortcuts available for bash. I only knew a few of them!</p>
<p><a href="http://onlyubuntu.blogspot.com/2007/03/bash-shell-keyboard-shortcuts-for-linux.html">Bash Shell Keyboard Shortcuts</a></p>
<p>The meat of the actual article after the jump&#8230;<br />
<a id="more-82"></a></p>
<p>    * Ctrl + A - Go to the beginning of the line you are currently typing on</p>
<p>    * Ctrl + E - Go to the end of the line you are currently typing on</p>
<p>    * Ctrl + L - Clears the Screen, similar to the clear command</p>
<p>    * Ctrl + U - Clears the line before the cursor position. If you are at the end of the line, clears the entire line.</p>
<p>    * Ctrl + H - Same as backspace</p>
<p>    * Ctrl + R - Let’s you search through previously used commands</p>
<p>    * Ctrl + C - Kill whatever you are running</p>
<p>    * Ctrl + D - Exit the current shell</p>
<p>    * Ctrl + Z - Puts whatever you are running into a suspended background process. fg restores it.</p>
<p>    * Ctrl + W - Delete the word before the cursor</p>
<p>    * Ctrl + K - Clear the line after the cursor</p>
<p>    * Ctrl + T - Swap the last two characters before the cursor</p>
<p>    * Esc + T - Swap the last two words before the cursor</p>
<p>    * Alt + F - Move cursor forward one word on the current line</p>
<p>    * Alt + B - Move cursor backward one word on the current line</p>
<p>    * Tab - Auto-complete files and folder names</p>
<p>    * Ctrl + W - erase word before cursor</p>
<p>    * Ctrl + Y - to paste it (as in delete and copy) all text in front of the cursor</p>
<p>    * Esc + . (or Esc + Underscore) - Insert Last Argument</p>
<p>    * Ctrl + b - Move back a character</p>
<p>    * Ctrl + f - Move forward a character</p>
<p>    * Ctrl + r - Search the history backwards</p>
<p>    * Ctrl + xx - Move between EOL and current cursor position</p>
<p>    * Ctrl + x @ - Show possible hostname completions</p>
<p>    * Alt + < - Move to the first line in the history</p>
<p>    * Alt + > - Move to the last line in the history</p>
<p>    * Alt + ? - Show current completion list</p>
<p>    * Alt + * - Insert all possible completions</p>
<p>    * Alt + / - Attempt to complete filename</p>
<p>    * Alt + . - Yank last argument to previous command</p>
<p>    * Alt + c - Capitalize the word</p>
<p>    * Alt + d - Delete word</p>
<p>    * Alt + l - Make word lowercase</p>
<p>    * Alt + n - Search the history forwards non-incremental</p>
<p>    * Alt + p - Search the history backwards non-incremental</p>
<p>    * Alt + r - Recall command</p>
<p>    * Alt + t - Move words around</p>
<p>    * Alt + u - Make word uppercase</p>
<p>    * Alt + back-space - Delete backward from cursor</p>
<p>    * Here &#8220;2T&#8221; means Press TAB twice</p>
<p>    * $ 2T - All available commands(common)</p>
<p>    * $ (string) 2T - All available commands starting with (string)</p>
<p>    * $ /2T - Entire directory structure including Hidden one</p>
<p>    * $ 2T - Only Sub Dirs inside including Hidden one</p>
<p>    * $ *2T - Only Sub Dirs inside without Hidden one</p>
<p>    * $ ~2T - All Present Users on system from &#8220;/etc/passwd&#8221;</p>
<p>    * $ $2T - All Sys variables</p>
<p>    * $ @2T - Entries from &#8220;/etc/hosts&#8221;</p>
<p>    * $ =2T - Output like ls or dir</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.olsen.ch/gary/2007/04/02/bash-shell-keyboard-shortcuts/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Blog stuff to look at</title>
		<link>http://blogs.olsen.ch/gary/2007/03/29/blog-stuff-to-look-at/</link>
		<comments>http://blogs.olsen.ch/gary/2007/03/29/blog-stuff-to-look-at/#comments</comments>
		<pubDate>Thu, 29 Mar 2007 17:53:29 +0000</pubDate>
		<dc:creator>Gary</dc:creator>
		
		<category>Weblog</category>

		<guid isPermaLink="false">http://blogs.olsen.ch/gary/2007/03/29/blog-stuff-to-look-at/</guid>
		<description><![CDATA[top 30 wordpress plugins in blogosphere

]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.staska.net/2007/03/27/top-30-wordpress-plugins-in-blogosphere/">top 30 wordpress plugins in blogosphere</a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.olsen.ch/gary/2007/03/29/blog-stuff-to-look-at/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
