<?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>JB&#039;s Blog &#187; Technical</title>
	<atom:link href="http://blade.lansmash.com/category/technical/feed/" rel="self" type="application/rss+xml" />
	<link>http://blade.lansmash.com</link>
	<description>/au/SysAdmin</description>
	<lastBuildDate>Wed, 27 Apr 2011 05:14:04 +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>What you don&#8217;t want to see on a Monday morning&#8230;.</title>
		<link>http://blade.lansmash.com/2011/03/29/what-you-dont-want-to-see-on-a-monday-morning/</link>
		<comments>http://blade.lansmash.com/2011/03/29/what-you-dont-want-to-see-on-a-monday-morning/#comments</comments>
		<pubDate>Tue, 29 Mar 2011 05:01:27 +0000</pubDate>
		<dc:creator>JB Hewitt</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://blade.lansmash.com/?p=455</guid>
		<description><![CDATA[Kernel fault.]]></description>
			<content:encoded><![CDATA[<p>Kernel fault.</p>
<p><img src="http://blade.lansmash.com/wp-content/uploads/2011/03/what-you-dont-want-to-see.jpg" border="0" alt="What you dont want to see" width="600" height="534" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blade.lansmash.com/2011/03/29/what-you-dont-want-to-see-on-a-monday-morning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Need to delete old emails &#8211; archivemail to the rescue</title>
		<link>http://blade.lansmash.com/2010/09/09/need-to-delete-old-emails-archivemail-to-the-rescue/</link>
		<comments>http://blade.lansmash.com/2010/09/09/need-to-delete-old-emails-archivemail-to-the-rescue/#comments</comments>
		<pubDate>Thu, 09 Sep 2010 02:08:51 +0000</pubDate>
		<dc:creator>JB Hewitt</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blade.lansmash.com/?p=428</guid>
		<description><![CDATA[I have a few customers who have massive Spam traps and Catch-all email accounts.  These accumulate an enormous amount of email, and like any good tree need to be pruned. I was going to write a small PHP script, or some crazy sieve scripts but of course someone has been there, done that, and compiled [...]]]></description>
			<content:encoded><![CDATA[<p>I have a few customers who have massive Spam traps and Catch-all email accounts.  These accumulate an enormous amount of email, and like any good tree need to be pruned.</p>
<p>I was going to write a small PHP script, or some crazy sieve scripts but of course someone has been there, done that, and compiled the source already for me.</p>
<p>An easy solution is to use archivemail - ﻿<a href="http://archivemail.sourceforge.net/">http://archivemail.sourceforge.net/</a></p>
<pre>﻿archivemail  --delete --days=60 imaps://spambox:hereismyawesomepassword@lansmash.com/INBOX</pre>
<p> </p>
<p>Archivemail will let you delete emails older than a date or time and works with IMAP, POP3, etc</p>
]]></content:encoded>
			<wfw:commentRss>http://blade.lansmash.com/2010/09/09/need-to-delete-old-emails-archivemail-to-the-rescue/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HowTo add a USB device permanently with VirtualBox 3.0+</title>
		<link>http://blade.lansmash.com/2010/01/27/howto-add-a-usb-device-permanently-with-virtualbox-3-0/</link>
		<comments>http://blade.lansmash.com/2010/01/27/howto-add-a-usb-device-permanently-with-virtualbox-3-0/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 01:39:21 +0000</pubDate>
		<dc:creator>Blade</dc:creator>
				<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://blade.lansmash.com/2010/01/27/howto-add-a-usb-device-permanently-with-virtualbox-3-0/</guid>
		<description><![CDATA[So I was having a little trouble adding a USB device permanently to a Virtual Machine guest with VirtualBox. The trick is to use the VBoxManage command to add a USB filter into the Machine&#8217;s configuration which will automagically attach whenever the VM is run. First, find a list of all usb devices on the [...]]]></description>
			<content:encoded><![CDATA[<p>So I was having a little trouble adding a USB device permanently to a Virtual Machine guest with VirtualBox. The trick is to use the VBoxManage command to add a USB filter into the Machine&#8217;s configuration which will automagically attach whenever the VM is run.</p>
<p>First, find a list of all usb devices on the host, remembering to run these commands as the user your VirtualBox machine is under. In this example we&#8217;ll be using a Canon MX7600 printer as a test USB device.</p>
<p><b>$ VBoxManage list usbhost</b></p>
<pre>
UUID:               6bac41f4-cc44-40e4-a726-4d9655a49f63
VendorId:           0x04a9 (04A9)
ProductId:          0x171c (171C)
Revision:           1.3 (0103)
Manufacturer:       Canon
Product:            MX7600 series
SerialNumber:       102787
Address:            /proc/bus/usb/007/004
Current State:      Captured
</pre>
<p>Now we use the details of the USB device to filter adding into our VirtualBox machine. In this case our VirtualMachine name is <b>winxp</b>.</p>
<p>The usbfilter command requires four options at a minimum.</p>
<pre>
VBoxManage usbfilter        add
--target ||global
--name
--action ignore|hold (global filters only)
[--active yes|no] (yes)
[--vendorid ] (null)
[--productid ] (null)
[--revision ] (null)
[--manufacturer ] (null)
[--product ] (null)
[--remote yes|no] (null, VM filters only)
[--serialnumber ] (null)
[--maskedinterfaces ]
</pre>
<p>So armed with this info let&#8217;s add our device.</p>
<p><b>VBoxManage usbfilter add 0 &#8211;target winxp &#8211;name canonmx7600 &#8211;action hold &#8211;active yes &#8211;vendorid 04A9 &#8211;productid 171C &#8211;revision 0103 &#8211;manufacturer Canon &#8211;product &#8220;MX7600 series&#8221; &#8211;serialnumber 102787</b> <b><br /></b><b><br /></b></p>
]]></content:encoded>
			<wfw:commentRss>http://blade.lansmash.com/2010/01/27/howto-add-a-usb-device-permanently-with-virtualbox-3-0/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>TightVNC and Vista</title>
		<link>http://blade.lansmash.com/2009/03/19/tightvnc-and-vista/</link>
		<comments>http://blade.lansmash.com/2009/03/19/tightvnc-and-vista/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 01:07:43 +0000</pubDate>
		<dc:creator>Blade</dc:creator>
				<category><![CDATA[Documentation]]></category>

		<guid isPermaLink="false">http://blade.lansmash.com/2009/03/19/tightvnc-and-vista/</guid>
		<description><![CDATA[TightVNC is a great opensource remote administrating program. For Vista you need to massage it a little for optimum results, I just thought I&#8217;d write down some notes here to share how I use it with Windows Vista machines. -= Don&#8217;t run TightVNC as a Service =- Unfortunately you can&#8217;t run TightVNC effectively as a [...]]]></description>
			<content:encoded><![CDATA[<p>TightVNC is a great opensource remote administrating program.</p>
<p>For Vista you need to massage it a little for optimum results, I just thought I&#8217;d write down some notes here to share how I use it with Windows Vista machines.</p>
<p><strong>-= Don&#8217;t run TightVNC as a Service =-</strong></p>
<p>Unfortunately you can&#8217;t run TightVNC effectively as a Windows service. As a work-around you can copy the TightVNC Server Icon into the Startup folder.</p>
<p><strong>-= Disable Windows Aero =-</strong></p>
<p>You&#8217;ll find under VNC Windows Vista machine screens wont refresh properly, windows appear black, don&#8217;t look right, and generally painful. It&#8217;s easy to fix though, you just have to disable Windows Aero.</p>
<p>1) Right-click on the desktop and choose Personalize. Click the &#8220;Window Color and Appearance&#8221; link:</p>
<p>
<img src="http://blade.lansmash.com/wp-content/uploads/2009/03/2009031911031.jpg" width="299" height="79" alt="200903191103.jpg" />&nbsp;&nbsp;</p>
<p>2) Click the link near the bottom for &#8220;Open classic appearance properties for more color options&#8221;</p>
<p><img src="http://blade.lansmash.com/wp-content/uploads/2009/03/200903191103.jpg" width="344" height="126" alt="200903191103.jpg" /></p>
<p>3) Now disable Aero altogether by choosing <strong>Windows Vista Basic</strong> instead of Windows Aero. You could also switch to Windows Classic but some users complain with this.</p>
<p><img src="http://blade.lansmash.com/wp-content/uploads/2009/03/200903191102.jpg" width="410" height="456" alt="200903191102.jpg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blade.lansmash.com/2009/03/19/tightvnc-and-vista/feed/</wfw:commentRss>
		<slash:comments>36</slash:comments>
		</item>
		<item>
		<title>Drupal &#8211; &#8220;Content (missing)&#8221;</title>
		<link>http://blade.lansmash.com/2008/09/30/drupal-content-missing/</link>
		<comments>http://blade.lansmash.com/2008/09/30/drupal-content-missing/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 00:40:16 +0000</pubDate>
		<dc:creator>Blade</dc:creator>
				<category><![CDATA[LanSmash]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://blade.lansmash.com/2008/09/30/drupal-content-missing/</guid>
		<description><![CDATA[I&#8217;ve started playing with Drupal and looking at moving a few sites over to it. In a late night session of bolting things together I ran into a bit of a snag with a few modules trying to create thumbnails on teaser articles. Unfortunately when I installed the imagefield CCK module I ran into a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve started playing with Drupal and looking at moving a few sites over to it. In a late night session of bolting things together I ran into a bit of a snag with a few modules trying to <a href="http://drupal.org/node/101748">create thumbnails on teaser articles</a>.</p>
<p>Unfortunately when I installed the imagefield CCK module I ran into a snag where it wouldn&#8217;t allow me to continue without the &#8216;content&#8217; module which was missing.</p>
<p>I attempted to search for this missing module in the drupal module downloads section with no luck&#8230; <a href="http://drupal.org/search/node/type%3Aproject_project+content">http://drupal.org/search/node/type%3Aproject_project+content</a> gave me no joy at all.</p>
<p>Luckily, the a nice Drupal IRC user slapped me with a quick &#8216;CCK = content&#8217; line after I pleaded where this magical &#8216;Content&#8217; module is and of course after I installed the <a href="http://drupal.org/project/cck">CCK</a> module everything worked like a charm. I had thought I had already installed this module and was probably too tired to have checked this first&#8230;</p>
<p>So for any newbie Drupal users out there I hope you find this helpful tip on Google before you harass some poor sod on IRC&#8230; that way you might actually appear somewhat knowledgeable.</p>
]]></content:encoded>
			<wfw:commentRss>http://blade.lansmash.com/2008/09/30/drupal-content-missing/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>Macbook Pro 320GB upgrade</title>
		<link>http://blade.lansmash.com/2008/08/08/macbook-pro-320gb-upgrade/</link>
		<comments>http://blade.lansmash.com/2008/08/08/macbook-pro-320gb-upgrade/#comments</comments>
		<pubDate>Fri, 08 Aug 2008 00:00:27 +0000</pubDate>
		<dc:creator>Blade</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://blade.lansmash.com/2008/08/08/macbook-pro-320gb-upgrade/</guid>
		<description><![CDATA[Seeing my partner&#8217;s brand new MacBook Pro came with a spanking new 200GB harddisk I thought my measly 120GB disk was just not enough. I found a nice Western Digital 320GB harddisk that was quite cheap, and set about taking my Macbook Pro apart. Note to self, not a good idea to start such projects [...]]]></description>
			<content:encoded><![CDATA[<p>Seeing my partner&#8217;s brand new MacBook Pro came with a spanking new 200GB harddisk I thought my measly 120GB disk was just not enough.</p>
<p>I found a nice <a href="http://www.wdc.com/en/products/Products.asp?DriveID=377">Western Digital 320GB harddisk</a> that was quite cheap, and set about taking my <a href="http://www.ifixit.com/Guide/Mac/MacBook-Pro/Hard-Drive/">Macbook Pro apart</a>. Note to self, not a good idea to start such projects on the coffee table when drunk. The procedure went fairly smoothly since I had my Torx screwdrivers handy.</p>
<p>With the old harddisk out and the new one in I started installing a new copy of Mac OS X. I had my trusty USB <a href="http://www.anyware.com.au/Browse/d2e033c8ee284bc4a622161a74af4943001ItemDetail.aspx">harddisk recovery tool</a> handy so I was able to plug the old 120GB disk into the Mac&#8217;s USB port and use the <a href="http://www.apple.com/pro/tips/migration.html">Migration Assistant</a> to copy over my profile to the new drive.</p>
<p>I just love the Migration Assistant, without it this job would have been a longer more painful process&#8230;.</p>
<p>Anyhow, after two weeks of using the new drive I&#8217;ve had a minor catastrophe.</p>
<p>Coming home one afternoon I took out my bag and found Macbook to find it red hot. The machine had been running inside the bag and with no air circulation&#8230;. Yikes! I thought at first it might be something to do with the Sudden Motion Shock detection systems messing with the auto startup, but no it was the lid sensor.</p>
<p>I put the machine to sleep and held it up; pinching the closed lid made the machine start back up. Obviously the magnetic sensor that detects the position of the lid was slightly out of alignment. I&#8217;m sure an apple technician could re-align it, but instead I just changed the lidwake behaviour.</p>
<pre style="initial initial;">
<span style="2px;">$ <b>sudo pmset -a lidwake 0</b></span>
</pre>
<p>Typing this command sets the computer to not automagically start up when I open the lid, instead it starts when I hit a key or touch the mouse.</p>
<p>It&#8217;s not a bug, it&#8217;s a feature. <img src='http://blade.lansmash.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blade.lansmash.com/2008/08/08/macbook-pro-320gb-upgrade/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

