<?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>russds.com &#187; Technology</title>
	<atom:link href="http://russds.com/category/technology/feed/" rel="self" type="application/rss+xml" />
	<link>http://russds.com</link>
	<description>peace, purpose, and productivity</description>
	<lastBuildDate>Sun, 01 Aug 2010 07:47:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Mac OS X command to log out</title>
		<link>http://russds.com/2010/06/24/mac-os-x-command-to-log-out/</link>
		<comments>http://russds.com/2010/06/24/mac-os-x-command-to-log-out/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 16:23:44 +0000</pubDate>
		<dc:creator>russds</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://russds.com/?p=1316</guid>
		<description><![CDATA[Every once in a while, not a whole lot, but more than mac finantics are willing to admit: My mac goes wack, and for whatever reason my only hope is to either log out, or force the machine down (hold down power button for 10 seconds). Well, as I enjoy a long uptime just as [...]]]></description>
			<content:encoded><![CDATA[<p>Every once in a while, not a whole lot, but more than mac finantics are willing to admit: My mac goes wack, and for whatever reason my only hope is to either log out, or force the machine down (hold down power button for 10 seconds).  Well, as I enjoy a long uptime just as much as the next guy, I would much prefer to log out rather than shut down.  If my mac is really not responding, here&#8217;s what sometimes will work:</p>
<p><strong>1. SSH into the mac from another machine.</strong> Use a tool like <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">putty</a> to login to your mac from another machine.</p>
<p><strong>2. Get the PID of the &#8220;loginwindow&#8221; command.</strong></p>
<blockquote><p>ps -Ajc | grep loginwindow</p></blockquote>
<p>3. Kill the loginwinow PID.  The first column of the output line of the above command will be the PID, you want to kill the process.</p>
<blockquote><p>sudo kill PID</p></blockquote>
<p>For example:</p>
<blockquote><p>russds:~ russell$ ps -Ajc | grep loginwindow<br />
russell     38     1    38    729f750       0     Ss          ??            0:24.37         loginwindow</p></blockquote>
<p>Then logout with:</p>
<blockquote><p>russds:~ russell$ sudo kill 38</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://russds.com/2010/06/24/mac-os-x-command-to-log-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wondering what a brand new macbook&#8217;s battery life is?</title>
		<link>http://russds.com/2010/06/14/wondering-what-a-brand-new-macbooks-battery-life-is/</link>
		<comments>http://russds.com/2010/06/14/wondering-what-a-brand-new-macbooks-battery-life-is/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 14:42:43 +0000</pubDate>
		<dc:creator>russds</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://russds.com/?p=1313</guid>
		<description><![CDATA[I just got a brand new macbook. The White unibody kind. It&#8217;s actually for my wife. Here&#8217;s a screen shot of the brand new battery to use as a reference point. Notice the cycle count and full charge capacity.]]></description>
			<content:encoded><![CDATA[<p>I just got a brand new macbook.  The White unibody kind.  It&#8217;s actually for my wife.  Here&#8217;s a screen shot of the brand new battery to use as a reference point.  Notice the cycle count and full charge capacity.</p>
<p><a href="http://russds.com/v1/wp-content/uploads/2010/06/Screen-shot-2010-06-11-at-11.42.29-PM.png"><img src="http://russds.com/v1/wp-content/uploads/2010/06/Screen-shot-2010-06-11-at-11.42.29-PM.png" alt="" title="Screen shot 2010-06-11 at 11.42.29 PM" width="555" height="339" class="aligncenter size-full wp-image-1314" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://russds.com/2010/06/14/wondering-what-a-brand-new-macbooks-battery-life-is/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OS X Wireless Problems?  Reset it all.</title>
		<link>http://russds.com/2010/05/28/os-x-wireless-problems-reset-it-all/</link>
		<comments>http://russds.com/2010/05/28/os-x-wireless-problems-reset-it-all/#comments</comments>
		<pubDate>Fri, 28 May 2010 17:22:08 +0000</pubDate>
		<dc:creator>russds</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://russds.com/?p=1310</guid>
		<description><![CDATA[Wireless connection problem. Extremely slow wireless connectivity at home and work. Called apple care, they had me delete files: /Library/Preferences/SystemConfiguration/preferences.plist, /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist, /Library/Preferences/SystemConfiguration/com.apple.network.identification.plist, /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist And restart. You&#8217;ll have to re-add the wireless network settings you once had, but this should fix the problem.]]></description>
			<content:encoded><![CDATA[<p>Wireless connection problem.  Extremely slow wireless connectivity at home and work.  Called apple care, they had me delete files: </p>
<blockquote><p>/Library/Preferences/SystemConfiguration/preferences.plist,<br />
/Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist,<br />
/Library/Preferences/SystemConfiguration/com.apple.network.identification.plist,<br />
/Library/Preferences/SystemConfiguration/NetworkInterfaces.plist </p></blockquote>
<p>And restart.  </p>
<p>You&#8217;ll have to re-add the wireless network settings you once had, but this should fix the problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://russds.com/2010/05/28/os-x-wireless-problems-reset-it-all/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Time Machine With A Network Drive</title>
		<link>http://russds.com/2010/02/12/using-time-machine-with-a-network-drive/</link>
		<comments>http://russds.com/2010/02/12/using-time-machine-with-a-network-drive/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 17:39:18 +0000</pubDate>
		<dc:creator>russds</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[backups]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[time machine]]></category>

		<guid isPermaLink="false">http://russds.com/?p=1300</guid>
		<description><![CDATA[I wanted to use a network share for my time machine backup. I setup a samba share, and thought I would be good to go until I got a message &#8220;the backup disk image &#8230; could not be created (error 45)&#8221;. So I went to google and did some research. The first site said to [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to use a network share for my time machine backup.  I setup a samba share, and thought I would be good to go until I got a message &#8220;the backup disk image &#8230; could not be created (error 45)&#8221;.  So I went to google and did some research.  The first site said to create an AFP share on your file server (in my case Debian).  That looked like too much work, so I went to the next option, which was much simpler.  Create a local image file, copy that to your Samba share, and then fire up Time Machine.  This worked great.</p>
<p><em><strong>1.  hdiutil create -size 200g -fs HFS+J -type SPARSEBUNDLE -layout SPUD -volname &#8220;Backup of $MACHINENAME&#8221; $MACHINENAME_$ETHERNETID.sparsebundle<br />
</strong></em></p>
<p>Get the machine name from Preferences -> Sharing.<br />
Get the Ethernet ID (aka mac address, aka physical address) from Preferences -> Network -> Ethernet -> Advanced -> Ethernet</p>
<p><em><strong>2. cp -r file-you-just-created /Volumes/BackupLocation</strong></em></p>
<p><strong><em>3. defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1</em></strong></p>
<p>Then fire up Time machine select your network drive as the source drive, and you&#8217;re good to go.  Works like a charm.</p>
]]></content:encoded>
			<wfw:commentRss>http://russds.com/2010/02/12/using-time-machine-with-a-network-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Good Robocopy Command Options</title>
		<link>http://russds.com/2009/12/11/good-robocopy-command-options/</link>
		<comments>http://russds.com/2009/12/11/good-robocopy-command-options/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 15:51:07 +0000</pubDate>
		<dc:creator>russds</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://russds.com/?p=1281</guid>
		<description><![CDATA[Want to copy *everything* from one drive to another, or make a complete backup of your stuff. Well, forget about using the age old drag and drop method, one might think using the cp would be sufficient, but again: no. The ultimate solution is robocopy. Robocopy is a simple tool you can download from microsoft. [...]]]></description>
			<content:encoded><![CDATA[<p>Want to copy *everything* from one drive to another, or make a complete backup of your stuff.  Well, forget about using the age old drag and drop method, one might think using the cp would be sufficient, but again: no.  The ultimate solution is robocopy.</p>
<p>Robocopy is a simple tool you can<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=9D467A69-57FF-4AE7-96EE-B18C4790CFFD&#038;displaylang=en"> download from microsoft</a>.  At first glance it looks like something only for Windows Server 2003, but it works on XP just fine.  Download the file there, and install it.  Then fire up cmd, and type:</p>
<blockquote><p> robocopy /?</p></blockquote>
<p>You&#8217;ll see there are tons of options, more than I care to even think about.  Here&#8217;s the only stuff that&#8217;s useful to me:</p>
<blockquote><p>robocopy source destination /E /COPYALL /R:5</p></blockquote>
<p><strong>/E</strong> says to copy everything, going into subdirectories</p>
<p><strong>/COPYALL</strong> says to copy everything, created date, last modified, etc.</p>
<p><strong>/R:5</strong> says to only try 5 times to copy something, if those don&#8217;t pan out, skip it and go to the next one.  (You&#8217;ll get a full report of the copy at the end, so you&#8217;ll be able to see which ones were missed.)  /R:5 is handy incase it finds a file that it doesn&#8217;t have access to.  You don&#8217;t want it to keep trying and trying (the default is 1 million times), most likely you want it to try a couple times, and move on.</p>
]]></content:encoded>
			<wfw:commentRss>http://russds.com/2009/12/11/good-robocopy-command-options/feed/</wfw:commentRss>
		<slash:comments>38</slash:comments>
		</item>
	</channel>
</rss>
