<?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>The Life of Ken</title>
	<atom:link href="http://blog.dimensionzero.ca/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.dimensionzero.ca</link>
	<description>The random ramblings of Ken about Tech, Photography and whatever else comes to mind.</description>
	<lastBuildDate>Mon, 18 Mar 2013 04:26:43 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>iStat Pro Widget External IP Fix</title>
		<link>http://blog.dimensionzero.ca/?p=499</link>
		<comments>http://blog.dimensionzero.ca/?p=499#comments</comments>
		<pubDate>Mon, 18 Mar 2013 04:26:43 +0000</pubDate>
		<dc:creator>Ken</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://blog.dimensionzero.ca/?p=499</guid>
		<description><![CDATA[Not sure how long it&#8217;s been but I just noticed the other day that my widget was no longer showing my external IP. Instead it&#8217;s just stuck &#8220;Updating&#8230;&#8221; Looks like the good people at iSlayer have phased out the script that was used so those of us hanging on to iStat Pro are left out [...]<div class="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://blog.dimensionzero.ca/?p=424"     class="crp_title">Getting iStat Pro Widget Working on Mountain Lion Again</a></li><li><a href="http://blog.dimensionzero.ca/?p=389"     class="crp_title">cPanel: mysql access denied for user root@localhost</a></li><li><a href="http://blog.dimensionzero.ca/?p=375"     class="crp_title">Installing the H4H Affiliates Module</a></li><li><a href="http://blog.dimensionzero.ca/?p=399"     class="crp_title">Adaptec RAID not automatically rebuilding degraded array</a></li><li><a href="http://blog.dimensionzero.ca/?p=402"     class="crp_title">WordPress Blackhole Exploit</a></li></ul></div>]]></description>
				<content:encoded><![CDATA[<p>Not sure how long it&#8217;s been but I just noticed the other day that my widget was no longer showing my external IP. Instead it&#8217;s just stuck &#8220;Updating&#8230;&#8221; Looks like the good people at iSlayer have phased out the script that was used so those of us hanging on to iStat Pro are left out again.</p>
<p>But once again, just like <a href="http://blog.dimensionzero.ca/?p=424" title="Getting iStat Pro Widget Working on Mountain Lion Again" target="_blank">the last fix</a>, this one&#8217;s a quick and easy edit too!</p>
<p>The file you&#8217;ll need to edit this time is <em>~/Library/Widgets/iStat\ Pro.wdgt/scripts/core.js</em></p>
<p>Find this function:<br />
function getExtIP(){</p>
<p>And replace this line:<br />
<code>ipURL = 'http://<strong>whatsmyip.islayer.com</strong>/?random='+new Date().getTime();</code></p>
<p>With this line:<br />
<code>ipURL = 'http://<strong>www.whatsmyip.us/showipsimple.php</strong>?random='+new Date().getTime();</code></p>
<p>Then, just above this &#8220;if&#8221; statement:<br />
<code>if(extIP.length < 20 &#038;&#038; ipConnection.status == 200 &#038;&#038; extIP.match(/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/)){</code></p>
<p>Add these 2 lines:<br />
<code>extIP_len = extIP.length;<br />
extIP = extIP.substring(16, (extIP_len - 3));</code></p>
<p>So that you have:<br />
<code>extIP = ipConnection.responseText;<br />
extIP_len = extIP.length;<br />
extIP = extIP.substring(16, (extIP_len - 3));<br />
if(extIP.length < 20 &#038;&#038; ipConnection.status == 200 &#038;&#038; extIP.match(/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/)){</code></p>
<p>Now just save the file and restart the iStat widget by either re-adding it, or just click on the widget and hit Command-R.</p>
<div class="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://blog.dimensionzero.ca/?p=424"     class="crp_title">Getting iStat Pro Widget Working on Mountain Lion Again</a></li><li><a href="http://blog.dimensionzero.ca/?p=389"     class="crp_title">cPanel: mysql access denied for user root@localhost</a></li><li><a href="http://blog.dimensionzero.ca/?p=375"     class="crp_title">Installing the H4H Affiliates Module</a></li><li><a href="http://blog.dimensionzero.ca/?p=399"     class="crp_title">Adaptec RAID not automatically rebuilding degraded array</a></li><li><a href="http://blog.dimensionzero.ca/?p=402"     class="crp_title">WordPress Blackhole Exploit</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://blog.dimensionzero.ca/?feed=rss2&#038;p=499</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automating My Home &#8211; Part 1</title>
		<link>http://blog.dimensionzero.ca/?p=470</link>
		<comments>http://blog.dimensionzero.ca/?p=470#comments</comments>
		<pubDate>Sat, 19 Jan 2013 08:51:32 +0000</pubDate>
		<dc:creator>Ken</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[home automation]]></category>
		<category><![CDATA[Insteon]]></category>
		<category><![CDATA[ISY994i]]></category>

		<guid isPermaLink="false">http://blog.dimensionzero.ca/?p=470</guid>
		<description><![CDATA[Home automation has always been something I&#8217;ve wanted to do ever since I was a kid and now I finally get a chance to do so! With plenty of options out there that wildly range in both price and ease of installation, I needed to find something that could be retrofitted into an existing home. [...]<div class="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://blog.dimensionzero.ca/?p=393"     class="crp_title">Upgrading to OSX Lion</a></li><li><a href="http://blog.dimensionzero.ca/?p=399"     class="crp_title">Adaptec RAID not automatically rebuilding degraded array</a></li><li><a href="http://blog.dimensionzero.ca/?p=413"     class="crp_title">Installing a Second Hard Drive in my MacBook Pro</a></li><li><a href="http://blog.dimensionzero.ca/?p=424"     class="crp_title">Getting iStat Pro Widget Working on Mountain Lion Again</a></li><li><a href="http://blog.dimensionzero.ca/?p=389"     class="crp_title">cPanel: mysql access denied for user root@localhost</a></li></ul></div>]]></description>
				<content:encoded><![CDATA[<p>Home automation has always been something I&#8217;ve wanted to do ever since I was a kid and now I finally get a chance to do so!</p>
<p>With plenty of options out there that wildly range in both price and ease of installation, I needed to find something that could be retrofitted into an existing home. Ultimately I decided to go with <a href="http://www.insteon.net/" target="_blank">Insteon</a> mainly because it works over existing power lines and RF.</p>
<p><span id="more-470"></span></p>
<p><strong>The Ups and Downs</strong></p>
<p>There <em>are</em> some quirks with this system which I&#8217;m hoping won&#8217;t be too much of a problem for me; the first is what&#8217;s described as communicating over phases in the electrical wiring which, put in simple terms, are the different branches of electrical wiring from the main panel. This is due to how the power comes into the home as 2 lines of 110V for regular home use and combined to provide 220V for larger appliances such as your stove and washer/dryer. The problem is, communications over power lines can have issues jumping between the two phases which means part of your home won&#8217;t get any of the commands sent from the controller or become intermittent. You can purchase a phase coupler which not only acts like a repeater and links your two phases when put on a different phase from the main controller, but helps increase the range of all your other modules at the same time.</p>
<p>The other issue this system has, which is also electrical related, is that it can be particular about any noise on the power line. Anything plugged into the wall or even lighting (some CFLs apparently can create interference), can create noise on the electrical system and garble commands. There is <a href="http://www.smarthome.com/1626-10/FilterLinc-10-Amp-Plug-In-Noise-Filter/p.aspx">a filter</a> you can buy to remove any noise from electronics that are plugged into the outlet but to me, it just seems bulky and could be expensive&#8230; I&#8217;ll cross that bridge when I get to it. Fingers crossed. </p>
<p>On the flip side though, the advantage with this system, beyond being able to retrofit it into an existing home, is that the more modules you have throughout the house, the better the system works. This is due to how Insteon works; when a command is sent, it is broadcast out to anything in the vicinity which in turn takes that command and repeats it again (up to 3 times), like a ripple in a pond. (Insteon has a great demo of this <a title="How Insteon Signal Propagation Works" href="http://www.insteon.net/about-howitworks.html" target="_blank">on their website</a>)</p>
<p><strong>The Hardware</strong></p>
<p>For the main controller, I had originally wanted to go with the newly released <a href="http://www.insteon.net/2242-222-insteon-hub.html" target="_blank">Insteon Hub</a> which looks great and seems to just work out of the box, but has some growing to do before it can really be as good as it&#8217;s advertised to be. Being the first model, I figured I would leave it to others to work out the kinks and decided to go with the more popular ISY-994i by <a href="http://universal-devices.com/" target="_blank">Universal Devices</a> which not only seems more reliable, but also has some greater abilities allowing users to create custom programs based on conditions and added functionality via optional software modules for weather, irrigation, and even integration with an Elk security system. Being a geek who loves to customize everything and tinker with things, I knew this would be a far better fit for me.</p>
<p>The ISY-994i however, does not work with the Insteon network straight out of the box and requires an extra piece of hardware by way of a <a href="http://www.insteon.net/2413S-powerlinc-dual-band.html">2413S PowerLinc Module</a> (PLM) to do so, which is sold separately. I should also add that while it isn&#8217;t mentioned anywhere on the site, the unit does come with the power and ethernet cables you need.</p>
<p>For the modules I&#8217;ll be using around the house, I picked up a number of simple on/off switches and outlets, a 6 button keypad, 2 button remote, garage door status and controller, and front door lock. In hindsight, I should have gone with a few dimmer switches in place of the simple on/off ones for things like being able to slowly increase/decrease the lighting during the night in the washrooms and bedrooms but that&#8217;s also something I can order at a later time when I decide to expand upon my system.</p>
<p>I also ordered a thermostat but sadly, I found out that it would not be compatible with my furnace a few days after I had already placed the order. Unfortunately, there are no Insteon thermostats out there for my basic 2-wire furnace and have no idea if there are even plans to develop one so I&#8217;ll have do without that for now and stay with my current programmable thermostat.</p>
<p>Once everything arrives and I&#8217;ve had a chance to install and test a few modules out, I&#8217;ll write another post on my impressions.</p>
<div class="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://blog.dimensionzero.ca/?p=393"     class="crp_title">Upgrading to OSX Lion</a></li><li><a href="http://blog.dimensionzero.ca/?p=399"     class="crp_title">Adaptec RAID not automatically rebuilding degraded array</a></li><li><a href="http://blog.dimensionzero.ca/?p=413"     class="crp_title">Installing a Second Hard Drive in my MacBook Pro</a></li><li><a href="http://blog.dimensionzero.ca/?p=424"     class="crp_title">Getting iStat Pro Widget Working on Mountain Lion Again</a></li><li><a href="http://blog.dimensionzero.ca/?p=389"     class="crp_title">cPanel: mysql access denied for user root@localhost</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://blog.dimensionzero.ca/?feed=rss2&#038;p=470</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iOS6 Cannot connect to iTunes store</title>
		<link>http://blog.dimensionzero.ca/?p=457</link>
		<comments>http://blog.dimensionzero.ca/?p=457#comments</comments>
		<pubDate>Thu, 20 Sep 2012 00:52:48 +0000</pubDate>
		<dc:creator>Ken</dc:creator>
				<category><![CDATA[iOS]]></category>

		<guid isPermaLink="false">http://blog.dimensionzero.ca/?p=457</guid>
		<description><![CDATA[It&#8217;s iOS6 day! And I jumped on as soon as the clock struck 10am! (Okay, maybe it was a few minutes later but close enough okay?!) The upgrade was straight forward as always and I had no problems. Youtube was gone, but now I had Passbook, Google was out and TomTom Apple maps were in! [...]<div class="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://blog.dimensionzero.ca/?p=438"     class="crp_title">Mac Mail &#8220;Use SSL&#8221; Option Won&#8217;t Uncheck</a></li><li><a href="http://blog.dimensionzero.ca/?p=393"     class="crp_title">Upgrading to OSX Lion</a></li><li><a href="http://blog.dimensionzero.ca/?p=379"     class="crp_title">Got my Yubikey!</a></li><li><a href="http://blog.dimensionzero.ca/?p=413"     class="crp_title">Installing a Second Hard Drive in my MacBook Pro</a></li><li><a href="http://blog.dimensionzero.ca/?p=499"     class="crp_title">iStat Pro Widget External IP Fix</a></li></ul></div>]]></description>
				<content:encoded><![CDATA[<p>It&#8217;s iOS6 day! And I jumped on as soon as the clock struck 10am! (Okay, maybe it was a few minutes later but close enough okay?!)</p>
<p>The upgrade was straight forward as always and I had no problems. Youtube was gone, but now I had Passbook, Google was out and <s>TomTom</s> Apple maps were in!</p>
<p>One bug I noticed was that when you went into Passbook and hit the &#8220;App Store&#8221; button, you would get an error, &#8220;Cannot connect to iTunes Store&#8221; I dig some quick digging and found I wasn&#8217;t alone. Luckily <a href="https://discussions.apple.com/message/19624549">there&#8217;s a fix</a> and it&#8217;s quite easy. No idea why it solves the problem but it does.</p>
<p>Simply go to Settings > General > Date &#038; Time, and turn off Set Automatically. Then change your date AHEAD. The poster suggests a month, I just changed the year. Either way, move it up.</p>
<p>Try the iTunes store again and it should work!</p>
<p>Then change your date back to what you had and you&#8217;ll be fine!</p>
<div class="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://blog.dimensionzero.ca/?p=438"     class="crp_title">Mac Mail &#8220;Use SSL&#8221; Option Won&#8217;t Uncheck</a></li><li><a href="http://blog.dimensionzero.ca/?p=393"     class="crp_title">Upgrading to OSX Lion</a></li><li><a href="http://blog.dimensionzero.ca/?p=379"     class="crp_title">Got my Yubikey!</a></li><li><a href="http://blog.dimensionzero.ca/?p=413"     class="crp_title">Installing a Second Hard Drive in my MacBook Pro</a></li><li><a href="http://blog.dimensionzero.ca/?p=499"     class="crp_title">iStat Pro Widget External IP Fix</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://blog.dimensionzero.ca/?feed=rss2&#038;p=457</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Better Menu Bar Battery Monitor</title>
		<link>http://blog.dimensionzero.ca/?p=449</link>
		<comments>http://blog.dimensionzero.ca/?p=449#comments</comments>
		<pubDate>Mon, 13 Aug 2012 21:35:20 +0000</pubDate>
		<dc:creator>Ken</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://blog.dimensionzero.ca/?p=449</guid>
		<description><![CDATA[One of the things I miss in Mountain Lion is the option to show the time remaining on the battery. It wasn&#8217;t totally accurate but to me it felt more useful than a percentage, at least I knew approximately how much time I had left while away from a power source. Thankfully, there&#8217;s an app [...]<div class="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://blog.dimensionzero.ca/?p=399"     class="crp_title">Adaptec RAID not automatically rebuilding degraded array</a></li><li><a href="http://blog.dimensionzero.ca/?p=413"     class="crp_title">Installing a Second Hard Drive in my MacBook Pro</a></li><li><a href="http://blog.dimensionzero.ca/?p=393"     class="crp_title">Upgrading to OSX Lion</a></li><li><a href="http://blog.dimensionzero.ca/?p=447"     class="crp_title">Another Mac Mail Bug on Mountain Lion</a></li><li><a href="http://blog.dimensionzero.ca/?p=316"     class="crp_title">Comparing MacBook Pros</a></li></ul></div>]]></description>
				<content:encoded><![CDATA[<p>One of the things I miss in Mountain Lion is the option to show the time remaining on the battery. It wasn&#8217;t totally accurate but to me it felt more useful than a percentage, at least I knew approximately how much time I had left while away from a power source.</p>
<p>Thankfully, there&#8217;s an app for that, and it&#8217;s free! <a href="http://www.orange-carb.org/SBM/" target="_blank">SlimBatteryMonitor</a> is a fully customizable app that can be configured to display time remaining or percentage with or without an icon and in any combination for when you&#8217;re plugged in, charging and on battery power.</p>
<p>Personally I like seeing time remaining for when I&#8217;m on battery power or when the battery is charging, but when it&#8217;s full, I don&#8217;t really need to know that information so it simply shows the icon then. You can also change the colours of the battery for the different states along with the look of the battery itself.</p>
<p>The icon <em>could</em> be made to look a little nicer, I&#8217;d even like to have the option of having the battery in sections as if it were an LCD display but apart from that, you really can&#8217;t complain!</p>
<p>So even if you don&#8217;t miss the time remaining display on Mountain Lion, but you like customizing everything, I&#8217;d definitely recommend checking out this app.</p>
<div class="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://blog.dimensionzero.ca/?p=399"     class="crp_title">Adaptec RAID not automatically rebuilding degraded array</a></li><li><a href="http://blog.dimensionzero.ca/?p=413"     class="crp_title">Installing a Second Hard Drive in my MacBook Pro</a></li><li><a href="http://blog.dimensionzero.ca/?p=393"     class="crp_title">Upgrading to OSX Lion</a></li><li><a href="http://blog.dimensionzero.ca/?p=447"     class="crp_title">Another Mac Mail Bug on Mountain Lion</a></li><li><a href="http://blog.dimensionzero.ca/?p=316"     class="crp_title">Comparing MacBook Pros</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://blog.dimensionzero.ca/?feed=rss2&#038;p=449</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Another Mac Mail Bug on Mountain Lion</title>
		<link>http://blog.dimensionzero.ca/?p=447</link>
		<comments>http://blog.dimensionzero.ca/?p=447#comments</comments>
		<pubDate>Thu, 09 Aug 2012 21:08:02 +0000</pubDate>
		<dc:creator>Ken</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://blog.dimensionzero.ca/?p=447</guid>
		<description><![CDATA[Boy these issues sure are cropping up&#8230; This really only affects anyone who has multiple email accounts, so if you have just one, you won&#8217;t notice this at all. What&#8217;s happening is when you reply to an email, Mail will currently use the first listed email account instead of the account the email was received [...]<div class="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://blog.dimensionzero.ca/?p=438"     class="crp_title">Mac Mail &#8220;Use SSL&#8221; Option Won&#8217;t Uncheck</a></li><li><a href="http://blog.dimensionzero.ca/?p=393"     class="crp_title">Upgrading to OSX Lion</a></li><li><a href="http://blog.dimensionzero.ca/?p=457"     class="crp_title">iOS6 Cannot connect to iTunes store</a></li><li><a href="http://blog.dimensionzero.ca/?p=424"     class="crp_title">Getting iStat Pro Widget Working on Mountain Lion Again</a></li><li><a href="http://blog.dimensionzero.ca/?p=413"     class="crp_title">Installing a Second Hard Drive in my MacBook Pro</a></li></ul></div>]]></description>
				<content:encoded><![CDATA[<p>Boy these issues sure are cropping up&#8230;</p>
<p>This really only affects anyone who has multiple email accounts, so if you have just one, you won&#8217;t notice this at all.</p>
<p>What&#8217;s happening is when you reply to an email, Mail will currently use the first listed email account instead of the account the email was received from like it&#8217;s supposed to. Apparently this is something <a href="http://forums.imore.com/apple-mac-os-x-forum/237978-mountain-lion-mail-replying-wrong-email-address-2.html#post1898323" target="_blank">Apple is now aware of</a> and hopefully we&#8217;ll see a fix for it soon.</p>
<p>In the meantime, one thing you can do is to reorder your accounts so your most commonly used account is at the top (making it the default account), and just make sure to pay attention if you&#8217;re replying to something received through another account.</p>
<p>To reorder your accounts, just drag the inboxes around on the folder list under Mailboxes. Thanks to a user <a href="https://discussions.apple.com/message/19108393#19108393" target="_blank">on the Apple forum</a> for clearing that up, I was going crazy trying to figure out why I couldn&#8217;t do it in Preferences.</p>
<div class="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://blog.dimensionzero.ca/?p=438"     class="crp_title">Mac Mail &#8220;Use SSL&#8221; Option Won&#8217;t Uncheck</a></li><li><a href="http://blog.dimensionzero.ca/?p=393"     class="crp_title">Upgrading to OSX Lion</a></li><li><a href="http://blog.dimensionzero.ca/?p=457"     class="crp_title">iOS6 Cannot connect to iTunes store</a></li><li><a href="http://blog.dimensionzero.ca/?p=424"     class="crp_title">Getting iStat Pro Widget Working on Mountain Lion Again</a></li><li><a href="http://blog.dimensionzero.ca/?p=413"     class="crp_title">Installing a Second Hard Drive in my MacBook Pro</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://blog.dimensionzero.ca/?feed=rss2&#038;p=447</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac Mail &#8220;Use SSL&#8221; Option Won&#8217;t Uncheck</title>
		<link>http://blog.dimensionzero.ca/?p=438</link>
		<comments>http://blog.dimensionzero.ca/?p=438#comments</comments>
		<pubDate>Wed, 08 Aug 2012 16:04:36 +0000</pubDate>
		<dc:creator>Ken</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://blog.dimensionzero.ca/?p=438</guid>
		<description><![CDATA[This was something that I had noticed but didn&#8217;t really look into since I was able to operate with it on but today I decided to fix it since I finally needed one of the accounts that don&#8217;t use SSL. The problem is that when you go to your outgoing mail settings, &#8220;Use Secure Socket [...]<div class="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://blog.dimensionzero.ca/?p=447"     class="crp_title">Another Mac Mail Bug on Mountain Lion</a></li><li><a href="http://blog.dimensionzero.ca/?p=457"     class="crp_title">iOS6 Cannot connect to iTunes store</a></li><li><a href="http://blog.dimensionzero.ca/?p=393"     class="crp_title">Upgrading to OSX Lion</a></li><li><a href="http://blog.dimensionzero.ca/?p=402"     class="crp_title">WordPress Blackhole Exploit</a></li><li><a href="http://blog.dimensionzero.ca/?p=379"     class="crp_title">Got my Yubikey!</a></li></ul></div>]]></description>
				<content:encoded><![CDATA[<p>This was something that I had noticed but didn&#8217;t really look into since I was able to operate with it on but today I decided to fix it since I finally needed one of the accounts that don&#8217;t use SSL.</p>
<p>The problem is that when you go to your outgoing mail settings, &#8220;Use Secure Socket Layers (SSL),&#8221; is always checked. When you try to remove it, it just comes back right away or when you leave the page and return to it. Hopefully something Apple will address in their next update (whenever that is).</p>
<p>Luckily, it&#8217;s a simple fix. All you have to do is, instead of using the &#8220;Default  Ports,&#8221; select &#8220;Use custom port&#8221; and enter the port your mail server uses (usually port 25 or 587). Now you&#8217;ll be able to uncheck &#8220;Use SSL,&#8221; and you&#8217;ll be able to send out email again!</p>
<p>Thanks goes to Tonden who posted this solution <a href="https://discussions.apple.com/message/19029149#19029149" target="_blank">on the Apple forums</a>!</p>
<div class="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://blog.dimensionzero.ca/?p=447"     class="crp_title">Another Mac Mail Bug on Mountain Lion</a></li><li><a href="http://blog.dimensionzero.ca/?p=457"     class="crp_title">iOS6 Cannot connect to iTunes store</a></li><li><a href="http://blog.dimensionzero.ca/?p=393"     class="crp_title">Upgrading to OSX Lion</a></li><li><a href="http://blog.dimensionzero.ca/?p=402"     class="crp_title">WordPress Blackhole Exploit</a></li><li><a href="http://blog.dimensionzero.ca/?p=379"     class="crp_title">Got my Yubikey!</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://blog.dimensionzero.ca/?feed=rss2&#038;p=438</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting iStat Pro Widget Working on Mountain Lion Again</title>
		<link>http://blog.dimensionzero.ca/?p=424</link>
		<comments>http://blog.dimensionzero.ca/?p=424#comments</comments>
		<pubDate>Fri, 27 Jul 2012 16:37:54 +0000</pubDate>
		<dc:creator>Ken</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://blog.dimensionzero.ca/?p=424</guid>
		<description><![CDATA[Lovers of the iStat Pro widget will notice that the processes section no longer works. Unfortunately, Bjango stated on their Twitter that there it was unlikely that there would be any further updates to the widget. However, fortunately for us, a member on the Mac Rumors forum has found a quick and easy fix and [...]<div class="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://blog.dimensionzero.ca/?p=499"     class="crp_title">iStat Pro Widget External IP Fix</a></li><li><a href="http://blog.dimensionzero.ca/?p=393"     class="crp_title">Upgrading to OSX Lion</a></li><li><a href="http://blog.dimensionzero.ca/?p=389"     class="crp_title">cPanel: mysql access denied for user root@localhost</a></li><li><a href="http://blog.dimensionzero.ca/?p=470"     class="crp_title">Automating My Home &#8211; Part 1</a></li><li><a href="http://blog.dimensionzero.ca/?p=413"     class="crp_title">Installing a Second Hard Drive in my MacBook Pro</a></li></ul></div>]]></description>
				<content:encoded><![CDATA[<p>Lovers of the iStat Pro widget will notice that the processes section no longer works. Unfortunately, Bjango stated on <a href="https://twitter.com/bjango" target="_blank">their Twitter</a> that there it was unlikely that there would be any further updates to the widget.</p>
<p>However, fortunately for us, a member on the <a href="http://forums.macrumors.com/showthread.php?t=1407448#post15332289" target="_blank">Mac Rumors forum</a> has found a quick and easy fix and all it takes is adding a space in two locations to the widget!</p>
<blockquote><p>
1. Locate your widget, it will be under /Library/Widgets or ~/Library/Widgets<br />
2. Right click it and select: &#8220;Show Package Contents&#8221;<br />
3. Open Wide.js or Tall.js file in some editor (Wide is for horizontal view, Tall for vertical)</p>
<p>4. Locate the line<br />
<code>WideSkinController.prototype.updateProcesses = function(){<br />
var _self = this;<br />
var exclude = "";<br />
if(p.v("processes_excludewidgets") == 'on')<br />
exclude = " grep -v DashboardClient | ";</p>
<p>if(p.v("processes_sort_mode") == 'cpu')<br />
widget.system('ps -arcwwwxo "pid %cpu command" | egrep "PID|$1" | grep -v grep | ' + exclude + ' head -7 | tail -6 | awk \'{print "
<pid>"$1"</pid><cpu>"$2"</cpu><name>"$3,$4,$5"</name></item>"}\'', function(data){ _self.updateProcessesOut(data);});<br />
else<br />
widget.system('ps -amcwwwxo "pid rss command" | egrep "PID|$1" | grep -v grep | ' + exclude + ' head -7 | tail -6 | awk \'{print "
<pid>"$1"</pid><cpu>"$2"</cpu><name>"$3,$4,$5"</name></item>"}\'', function(data){ _self.updateProcessesOut(data);});<br />
}</code><br />
Change <strong>&#8220;PID|$1&#8243;</strong> to <strong>&#8220;PID| $1&#8243;</strong> (Add space before $ sign)</p>
<p>5. Save the changes
</p></blockquote>
<p>Works like a charm!!</p>
<div class="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://blog.dimensionzero.ca/?p=499"     class="crp_title">iStat Pro Widget External IP Fix</a></li><li><a href="http://blog.dimensionzero.ca/?p=393"     class="crp_title">Upgrading to OSX Lion</a></li><li><a href="http://blog.dimensionzero.ca/?p=389"     class="crp_title">cPanel: mysql access denied for user root@localhost</a></li><li><a href="http://blog.dimensionzero.ca/?p=470"     class="crp_title">Automating My Home &#8211; Part 1</a></li><li><a href="http://blog.dimensionzero.ca/?p=413"     class="crp_title">Installing a Second Hard Drive in my MacBook Pro</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://blog.dimensionzero.ca/?feed=rss2&#038;p=424</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Installing a Second Hard Drive in my MacBook Pro</title>
		<link>http://blog.dimensionzero.ca/?p=413</link>
		<comments>http://blog.dimensionzero.ca/?p=413#comments</comments>
		<pubDate>Thu, 26 Jul 2012 06:57:21 +0000</pubDate>
		<dc:creator>Ken</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://blog.dimensionzero.ca/?p=413</guid>
		<description><![CDATA[Something I&#8217;ve wanted for a while is to install a second hard drive in my MacBook Pro but the main thing that held me back was the fact that I actually used my optical drive and removing it wasn&#8217;t really an option. But lately, I haven&#8217;t really been using it anymore and I figured now [...]<div class="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://blog.dimensionzero.ca/?p=393"     class="crp_title">Upgrading to OSX Lion</a></li><li><a href="http://blog.dimensionzero.ca/?p=399"     class="crp_title">Adaptec RAID not automatically rebuilding degraded array</a></li><li><a href="http://blog.dimensionzero.ca/?p=447"     class="crp_title">Another Mac Mail Bug on Mountain Lion</a></li><li><a href="http://blog.dimensionzero.ca/?p=449"     class="crp_title">A Better Menu Bar Battery Monitor</a></li><li><a href="http://blog.dimensionzero.ca/?p=470"     class="crp_title">Automating My Home &#8211; Part 1</a></li></ul></div>]]></description>
				<content:encoded><![CDATA[<p>Something I&#8217;ve wanted for a while is to install a second hard drive in my MacBook Pro but the main thing that held me back was the fact that I actually used my optical drive and removing it wasn&#8217;t really an option. But lately, I haven&#8217;t really been using it anymore and I figured now was a good a time as any!</p>
<p>I had done a bunch of reading on the subject before going ahead with this from <a href="http://www.storagereview.com/best_drives" target="_blank">which SSD I should get</a> to <a href="http://www.petralli.net/2011/12/the-perfect-ssd-and-hdd-hybrid-macbook-setup/" target="_blank">what was the best way to configure OSX after the install</a>. Everything looked pretty painless and straight forward and there didn&#8217;t appear to be any surprises (famous last words). A friend of mine knew about what I wanted to do so when he came across a $100 rebate from Intel on their <a title="Intel Solid-State Drive 520 Series" href="http://www.intel.com/content/www/us/en/solid-state-drives/solid-state-drives-520-series.html" target="_blank">240GB 520 Series SSD</a>, I took it as a sign and ordered the drive right away (Intel, I have yet to see my $100 rebate by the way).</p>
<p>With the SSD down, I looked at drive adapters to replace the optical drive. Going against most people&#8217;s suggestions, I went for the <a href="http://eshop.macsales.com/item/OWC/DDAMBS0GB/" target="_blank">OWC Data Doubler Bracket</a>. I <em>was</em> actually going to get a generic one off Amazon or eBay but reviews of people having them not fitting right steered me away. There were alternatives, but I liked the idea of a lightweight bracket and figured it wasn&#8217;t worth the hassle dealing with the UK or full on enclosure/adapters. I&#8217;ll admit though, it <em>is</em> a little more than I wanted to spend on a small piece of metal.</p>
<p>Now having the hardware down, and Mountain Lion being only a few short weeks away, I decided to hold out on doing the install until it was released so that I could take the opportunity to do a fresh new install of OS X. Today was that day. <a href="http://lifehacker.com/5928780/how-to-burn-os-x-mountain-lion-to-a-dvd-or-usb-flash-drive" target="_blank">&#8220;Burning&#8221; the OS X installer to USB</a> was really easy except that at the end of it, Disk Utility threw an error about Invalid Parameters or something. Doing a quick search actually showed the error could be ignored and the installer was in fact successfully copied to the USB drive.</p>
<p>All set! Time to install the hardware!</p>
<p>Installation of the SSD was as advertised, unscrew these, unplug that, swap form here to there&#8230; Extremely straight forward and the supplied tools from Mac Sales meant I didn&#8217;t even have to go dig up my own to do the job!</p>
<p>Once installed, I left the old drive unplugged just so there would be no chance of accidentally installing Mountain Lion to the wrong drive. Just as a backup in case there was any need for me to go back to the old drive before I was ready.</p>
<p>OS X install was quick as always. After the initial copy, the installation process only took about 15 minutes if not less and initial boot seemed almost instantaneous. Subsequent boots took a few seconds.</p>
<p>After reconnecting my original drive, I followed <a href="http://www.petralli.net/2011/12/the-perfect-ssd-and-hdd-hybrid-macbook-setup/" target="_blank">the instructions</a> of creating symlinks to my documents, downloads, photos, and music directories. Most things fell into place, like iTunes, which acted like nothing ever happened but some things like <a href="http://www.econtechnologies.com/pages/cs/chrono_overview.html" target="_blank">ChronoSync</a>, which I use for my backups, had to be set up again since it wasn&#8217;t able to follow the symlinks and freaked out about not finding the source directories. Not how I was hoping it would be but something I will have to live with.</p>
<p>Apart from that, I now have my system on the SSD and all my files and documents on the old HDD. Once I&#8217;m sure I&#8217;ve transferred all my application settings and whatnot, I&#8217;ll begin the process of deleting the old system files and moving the data directories to the root of the drive instead of the original user directory where it sits now.</p>
<p>Worth the price of admission? Not sure yet, but I&#8217;ll update with another post after I&#8217;ve had a chance to really run this setup through. Things do feel quicker but I&#8217;ll confirm that after I get over my initial excitement.</p>
<p>Mountain Lion? Can&#8217;t say I see too much difference yet, though I have to say I never knew how much I customized my OS until I did this fresh install. There were so many settings I forgot I had changed. <a href="http://www.cultofmac.com/115646/get-tap-to-drag-back-in-os-x-lion-os-x-tips/" target="_blank">Drag lock</a>, <a href="http://www.dummies.com/how-to/content/set-global-dock-preferences-in-mac-os-x-mountain-l.html" target="_blank">double click the title bar to minimize</a>, <a href="http://www.paulmc.org/2007/12/using-tab-to-select-dialog-box-buttons-in-mac-os-x/" target="_blank">enabling tab on dialog box buttons</a>, <a href="http://osxdaily.com/2008/01/07/highlight-stack-items-on-hover/" target="_blank">enabling mouse-over highlight in stacks</a>&#8230; Not to mention all my little tweaks to Terminal!</p>
<p>&nbsp;</p>
<div class="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://blog.dimensionzero.ca/?p=393"     class="crp_title">Upgrading to OSX Lion</a></li><li><a href="http://blog.dimensionzero.ca/?p=399"     class="crp_title">Adaptec RAID not automatically rebuilding degraded array</a></li><li><a href="http://blog.dimensionzero.ca/?p=447"     class="crp_title">Another Mac Mail Bug on Mountain Lion</a></li><li><a href="http://blog.dimensionzero.ca/?p=449"     class="crp_title">A Better Menu Bar Battery Monitor</a></li><li><a href="http://blog.dimensionzero.ca/?p=470"     class="crp_title">Automating My Home &#8211; Part 1</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://blog.dimensionzero.ca/?feed=rss2&#038;p=413</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Blackhole Exploit</title>
		<link>http://blog.dimensionzero.ca/?p=402</link>
		<comments>http://blog.dimensionzero.ca/?p=402#comments</comments>
		<pubDate>Wed, 07 Mar 2012 00:03:37 +0000</pubDate>
		<dc:creator>Ken</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[blackhole exploit]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.dimensionzero.ca/?p=402</guid>
		<description><![CDATA[Recently a few WordPress sites on my server were attacked by the Blackhole exploit going around. Each time it was removed, it would come back shortly after and after much frustration in trying to find a working solution to the problem, I finally figured it out this morning. A number of people recommended WordPress plugins [...]<div class="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://blog.dimensionzero.ca/?p=399"     class="crp_title">Adaptec RAID not automatically rebuilding degraded array</a></li><li><a href="http://blog.dimensionzero.ca/?p=499"     class="crp_title">iStat Pro Widget External IP Fix</a></li><li><a href="http://blog.dimensionzero.ca/?p=389"     class="crp_title">cPanel: mysql access denied for user root@localhost</a></li><li><a href="http://blog.dimensionzero.ca/?p=413"     class="crp_title">Installing a Second Hard Drive in my MacBook Pro</a></li><li><a href="http://blog.dimensionzero.ca/?p=438"     class="crp_title">Mac Mail &#8220;Use SSL&#8221; Option Won&#8217;t Uncheck</a></li></ul></div>]]></description>
				<content:encoded><![CDATA[<p>Recently a few WordPress sites on my server were attacked by the <a href="https://www.mysonicwall.com/sonicalert/searchresults.aspx?ev=article&#038;id=412" title="SonicAlert" target="_blank">Blackhole exploit</a> going around. Each time it was removed, it would come back shortly after and after much frustration in trying to find a working solution to the problem, I finally figured it out this morning.</p>
<p>A number of people recommended WordPress plugins like <a href="http://wordpress.org/extend/plugins/wordpress-firewall-2/" title="WordPress Firewall 2" target="_blank">Firewall 2</a> and <a href="http://wordpress.org/extend/plugins/exploit-scanner/" title="Exploit Scanner" target="_blank">Exploit Scanner</a> to stop attacks, but none of these worked (Which is not to say it doesn&#8217;t do what it&#8217;s supposed to, just wasn&#8217;t working for this particular exploit).</p>
<p>I flipped through the access logs in an attempt to find something that stood out, like an exceptionally long URL query string or multiple consecutive accesses to a particular page but didn&#8217;t notice anything until I thought about filtering down to just the POST requests to the site. That&#8217;s when I found the following entry.</p>
<p><code>83.69.224.227 - - [06/Mar/2012:10:35:40 -0800] "POST /wp-content/plugins/ToolsPack/ToolsPack.php HTTP/1.0" 200 1 "-" "Mozilla/4.76 [en] (Win98; U)"</code></p>
<p>The ToolsPack wasn&#8217;t anything we had heard of or even recognized and there were only 3 different IPs that accessed this page directly numerous times throughout the day across the affected sites. We had our culprit.</p>
<p>Viewing the source of the file confirmed my suspicions and revealed that all it did was decode and evaluate whatever text was posted to that script.</p>
<p>The only thing I haven&#8217;t quite figured out yet is how the script got there in the first place. I found a ToolsPack zip file in the WordPress uploads directory which would suggest something in WordPress allowed it to be uploaded and decompressed to the plugins directory, but what, I&#8217;m unsure of.</p>
<p>If anyone has any thoughts or information I&#8217;d love for you to comment and let me know your findings!</p>
<p>For now, I&#8217;ve removed the files, blocked the IPs and made all the index files 444 (globally read-only) which should help prevent this from happening again.</p>
<div class="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://blog.dimensionzero.ca/?p=399"     class="crp_title">Adaptec RAID not automatically rebuilding degraded array</a></li><li><a href="http://blog.dimensionzero.ca/?p=499"     class="crp_title">iStat Pro Widget External IP Fix</a></li><li><a href="http://blog.dimensionzero.ca/?p=389"     class="crp_title">cPanel: mysql access denied for user root@localhost</a></li><li><a href="http://blog.dimensionzero.ca/?p=413"     class="crp_title">Installing a Second Hard Drive in my MacBook Pro</a></li><li><a href="http://blog.dimensionzero.ca/?p=438"     class="crp_title">Mac Mail &#8220;Use SSL&#8221; Option Won&#8217;t Uncheck</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://blog.dimensionzero.ca/?feed=rss2&#038;p=402</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Adaptec RAID not automatically rebuilding degraded array</title>
		<link>http://blog.dimensionzero.ca/?p=399</link>
		<comments>http://blog.dimensionzero.ca/?p=399#comments</comments>
		<pubDate>Thu, 29 Sep 2011 16:25:56 +0000</pubDate>
		<dc:creator>Ken</dc:creator>
				<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://blog.dimensionzero.ca/?p=399</guid>
		<description><![CDATA[A while back one of the drives in my server&#8217;s RAID array had failed so I went and purchased a replacement drive and popped it in. The problem then became that the Adaptec Storage Manager wouldn&#8217;t allow me to do anything with it. It simply told me it was an &#8220;Inaccessible Disk.&#8221; Well, since I [...]<div class="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://blog.dimensionzero.ca/?p=413"     class="crp_title">Installing a Second Hard Drive in my MacBook Pro</a></li><li><a href="http://blog.dimensionzero.ca/?p=499"     class="crp_title">iStat Pro Widget External IP Fix</a></li><li><a href="http://blog.dimensionzero.ca/?p=393"     class="crp_title">Upgrading to OSX Lion</a></li><li><a href="http://blog.dimensionzero.ca/?p=389"     class="crp_title">cPanel: mysql access denied for user root@localhost</a></li><li><a href="http://blog.dimensionzero.ca/?p=470"     class="crp_title">Automating My Home &#8211; Part 1</a></li></ul></div>]]></description>
				<content:encoded><![CDATA[<p>A while back one of the drives in my server&#8217;s RAID array had failed so I went and purchased a replacement drive and popped it in. The problem then became that the Adaptec Storage Manager wouldn&#8217;t allow me to do anything with it. It simply told me it was an &#8220;Inaccessible Disk.&#8221;</p>
<p>Well, since I had a RAID6 array, I let it be and worked with Adaptec on figuring out what the issue was from home. Unfortunately, it I never got around to trying out the suggestions (supposedly there was an option to add the drive as a Hot Spare, but I swear it was never even an option on the drive).</p>
<p>Jump ahead to a few days ago, I decided to take a look at the issue again. This time I was smart and downloaded the command line interface version of Storage Manager from the <a title="Downloads" href="http://www.adaptec.com/en-us/downloads/" target="_blank">Adaptec site</a>.<span id="more-399"></span></p>
<p>In normal situations, you simply have to make sure the drive is marked as a hot spare and the card will take over the rest but looking at the status of the adapter on my server showed the drive was in a <em>ready</em> state. (The number 1 here signifies the first controller, if you have more than one, you&#8217;ll need to change that number to find the right one)<br />
<code><br />
/usr/StorMan/arcconf getconfig 1</p>
<p>Controllers found: 1<br />
----------------------------------------------------------------------<br />
Controller information<br />
----------------------------------------------------------------------<br />
   Controller Status                        : Optimal<br />
   Channel description                      : SATA<br />
   Controller Model                         : Adaptec 2420SA<br />
   Controller Serial Number                 : <serial><br />
   Physical Slot                            : 1<br />
   Installed memory                         : 128 MB<br />
   Copyback                                 : Disabled<br />
   Background consistency check             : Disabled<br />
   Automatic Failover                       : Enabled<br />
   Defunct disk drive count                 : 0<br />
   Logical devices/Failed/Degraded          : 1/0/1<br />
   --------------------------------------------------------<br />
   Controller Version Information<br />
   --------------------------------------------------------<br />
   BIOS                                     : 5.2-0 (15323)<br />
   Firmware                                 : 5.2-0 (15323)<br />
   Driver                                   : 1.1-5 (2409)<br />
   Boot Flash                               : 5.2-0 (15323)<br />
   --------------------------------------------------------<br />
   Controller Battery Information<br />
   --------------------------------------------------------<br />
   Status                                   : Not Installed</p>
<p>----------------------------------------------------------------------<br />
Logical device information<br />
----------------------------------------------------------------------<br />
Logical device number 0<br />
   Logical device name                      : Volume0<br />
   RAID level                               : 6<br />
   Status of logical device                 : Degraded<br />
   Size                                     : 953586 MB<br />
   Stripe-unit size                         : 256 KB<br />
   Read-cache mode                          : Enabled<br />
   Write-cache mode                         : Disabled (write-through)<br />
   Write-cache setting                      : Disabled (write-through)<br />
   Partitioned                              : Yes<br />
   Protected by Hot-Spare                   : Yes<br />
   Dedicated Hot-Spare                      : 0,3<br />
   Bootable                                 : Yes<br />
   Failed stripes                           : Yes<br />
   --------------------------------------------------------<br />
   Logical device segment information<br />
   --------------------------------------------------------<br />
   Segment 0                                : Present (0,0)<br />
   Segment 1                                : Present (0,1)<br />
   Segment 2                                : Present (0,2)<br />
   Segment 3                                : Missing</p>
<p>----------------------------------------------------------------------<br />
Physical Device information<br />
----------------------------------------------------------------------<br />
   Channel #0:<br />
      Transfer Speed                        : SATA 3.0 Gb/s<br />
      Device #0<br />
         Device is a Hard drive<br />
         State                              : Online<br />
         Supported                          : Yes<br />
         Transfer Speed                     : SATA 3.0 Gb/s<br />
         Reported Channel,Device            : 0,0<br />
         Vendor                             : WDC WD50<br />
         Model                              : 00ABYS-01TNA<br />
         Firmware                           : 12.0<br />
         Size                               : 476940 MB<br />
         Write Cache                        : Enabled (write-back)<br />
         FRU                                : None<br />
         S.M.A.R.T.                         : No<br />
      Device #1<br />
         Device is a Hard drive<br />
         State                              : Online<br />
         Supported                          : Yes<br />
         Transfer Speed                     : SATA 3.0 Gb/s<br />
         Reported Channel,Device            : 0,1<br />
         Vendor                             : WDC WD50<br />
         Model                              : 00ABYS-01TNA<br />
         Firmware                           : 12.0<br />
         Size                               : 476940 MB<br />
         Write Cache                        : Enabled (write-back)<br />
         FRU                                : None<br />
         S.M.A.R.T.                         : No<br />
      Device #2<br />
         Device is a Hard drive<br />
         State                              : Online<br />
         Supported                          : Yes<br />
         Transfer Speed                     : SATA 3.0 Gb/s<br />
         Reported Channel,Device            : 0,2<br />
         Vendor                             : WDC WD50<br />
         Model                              : 00ABYS-01TNA<br />
         Firmware                           : 12.0<br />
         Size                               : 476940 MB<br />
         Write Cache                        : Enabled (write-back)<br />
         FRU                                : None<br />
         S.M.A.R.T.                         : No<br />
      Device #3<br />
         Device is a Hard drive<br />
         State                              : Ready<br />
         Dedicated Spare for                : logical device 0<br />
         Supported                          : Yes<br />
         Transfer Speed                     : SATA 3.0 Gb/s<br />
         Reported Channel,Device            : 0,3<br />
         Vendor                             : WDC WD50<br />
         Model                              : 00AAKS-60Z1A<br />
         Firmware                           : 06.0<br />
         Size                               : 476940 MB<br />
         Write Cache                        : Enabled (write-back)<br />
         FRU                                : None<br />
         S.M.A.R.T.                         : No<br />
</code></p>
<p>So here, you can see that the state of Device #3 is &#8220;ready.&#8221; To initialize the drive, simply run the following command. The &#8220;0 3&#8243; here relates to the channel and device numbers shown in the details for the drive I&#8217;m working on. The &#8220;1,&#8221; is once again the controller ID.<br />
<code>/usr/StorMan/arcconf task start 1 device 0 3 initialize</code></p>
<p>Once that&#8217;s done (should be pretty quick), you can move it in as a hot spare. The logicaldrive number is the ID of the combined drives. You&#8217;ll find the ID in the Logical device information from the earlier getconfig output. Generally this will be 0, but if you created multiple arrays, then this will differ.<br />
<code>/usr/StorMan/arcconf setstate 1 device 0 3 HSP LOGICALDRIVE 0</code></p>
<p>Now you can run getconfig again and see if the state has been successfully changed. To see if the controller is now performing it&#8217;s rebuild, just run getstatus, and see what it says!<br />
<code>/usr/StorMan/arcconf getstatus 1</code></p>
<p>Now, in my case, the drive showed as being a hot spare now, but still the controller would not rebuild the array, so with a few more emails back and forth with Adaptec, it was determined that somehow, the new drive had fewer sectors than the other 3 drives that were in the server making it unusable in the array! The drive was the same size, same brand, but the model was off. I&#8217;ll have to check when I replace the drive, but I&#8217;m almost certain I bought the same model (only newer) to replace the one that had failed&#8230;</p>
<p>To find this, you need to dump the logs from the controller.<br />
<code>/usr/StorMan/arcconf getlogs 1 uart</code></p>
<p>There are 3 other log files, but this one in particular shows the details of the physical drives attached to the controller right at the top. If you ever need to submit a ticket to Adaptec, you&#8217;ll need to attach <a href="http://ask.adaptec.com/scripts/adaptec_tic.cfg/php.exe/enduser/std_adp.php?p_faqid=16887&#038;p_created=1245278202&#038;p_sid=t4x5rjFk" title="How to generate and capture controller log files using ARCCONF" target="_blank">these logs</a> as well to help them diagnose your issues.</p>
<p>So there you go. If you find that after replacing a failed drive in your array, and nothing happens, make that the first thing to check!</p>
<p>As a side note, if you&#8217;re running ARCCONF under CentOS, you might see the error:<br />
<code>/usr/StorMan/arcconf: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory</code></p>
<p>In this case, run the following command in order to load the library necessary:<br />
<code>export LD_PRELOAD=/usr/StorMan/libstdc++.so.5</code></p>
<p>You can also go and create /etc/ld.so.conf.d/adaptec.conf with /usr/StorMan in it and run ldconfig so you don&#8217;t have to keep running the previous command each time you login to use ARCCONF.</p>
<div class="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://blog.dimensionzero.ca/?p=413"     class="crp_title">Installing a Second Hard Drive in my MacBook Pro</a></li><li><a href="http://blog.dimensionzero.ca/?p=499"     class="crp_title">iStat Pro Widget External IP Fix</a></li><li><a href="http://blog.dimensionzero.ca/?p=393"     class="crp_title">Upgrading to OSX Lion</a></li><li><a href="http://blog.dimensionzero.ca/?p=389"     class="crp_title">cPanel: mysql access denied for user root@localhost</a></li><li><a href="http://blog.dimensionzero.ca/?p=470"     class="crp_title">Automating My Home &#8211; Part 1</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://blog.dimensionzero.ca/?feed=rss2&#038;p=399</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.449 seconds -->
