<?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>Cain Manor &#187; OS-X</title> <atom:link href="http://cainmanor.com/category/tech/os-x/feed/" rel="self" type="application/rss+xml" /><link>http://cainmanor.com</link> <description>Your Guide To All Things Cain™</description> <lastBuildDate>Thu, 27 Oct 2011 19:34:41 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Push SSH public keys to multiple host</title><link>http://cainmanor.com/tech/push-ssh-public-keys-to-mulitple-host/</link> <comments>http://cainmanor.com/tech/push-ssh-public-keys-to-mulitple-host/#comments</comments> <pubDate>Tue, 02 Aug 2011 18:27:52 +0000</pubDate> <dc:creator>Greg Cain</dc:creator> <category><![CDATA[OS-X]]></category> <category><![CDATA[Tech]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[Work]]></category><guid
isPermaLink="false">http://cainmanor.com/?p=1251</guid> <description><![CDATA[I’m starting a new job where I need to have my SSH keys pushed to hundreds of Red Hat servers. The special sauce is a command called ssh-copy-id. However, using this command requires you answering a (yes/no) question, then shortly &#8230; <a
href="http://cainmanor.com/tech/push-ssh-public-keys-to-mulitple-host/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>I’m starting a new job where I need to have my SSH keys pushed to hundreds of Red Hat servers. The special sauce is a command called ssh-copy-id.  However, using this command requires you answering a (yes/no) question, then shortly thereafter enter your password.  Painful. Here’s how push your keys without the pain.<br
/> <span
id="more-1251"></span><br
/> The first problem is having to answer (yes/no) for each server.  Normally you see this…</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;">The authenticity of host <span style="color: #ff0000;">'myfirsthost.work.cainmanor.com (10.256.33.106)'</span> can<span style="color: #ff0000;">'t be established.
RSA key fingerprint is fc:40:7c:de:b8:ac:a2:f5:d4:11:d0:0e:b2:77:8a:63.
Are you sure you want to continue connecting (yes/no)? yes</span></pre></div></div><p>To stop this prompt, we need to edit your ~/.ssh/config file.  Add these two lines</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;">StrictHostKeyChecking no
<span style="color: #007800;">UserKnownHostsFile</span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null</pre></div></div><p>Setting your UserKnownHostsFile should only be a temporary fix.  After you’ve pushed your keys, you should comment out both of those settings.</p><p>Your password is the next problem.  We can solve that with sshpass.  sshpass takes your password and passes it on when ssh ask for it.  There are three ways to do it, all of them insecure.  Read the man page and decide which of those you want to use.  For my purposes I just put it on the command line — I’m on my personal machine with no other users, and only I know the passwords to the box.  Don’t do this on a shared server.</p><p>Here is an example of how to push your public key one.  Try it on a new server to make sure you get the results you expect.</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;">sshpass <span style="color: #660033;">-p</span> <span style="color: #ff0000;">'MY_PASSWORD'</span> ssh-copy-id gregc<span style="color: #000000; font-weight: bold;">@</span>new_host_with_no_keys</pre></div></div><p>Now that we’ve got the prompts turned off, we’ll wrap a script around this.  How you get the list of appropriate hostnames or IP’s is your business.</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">for</span> X <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">cat</span> my_host_that_need_keys<span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #000000; font-weight: bold;">do</span>
sshpass <span style="color: #660033;">-p</span> <span style="color: #ff0000;">'MY_PASSWORD'</span> ssh-copy-id gregc<span style="color: #000000; font-weight: bold;">@</span><span style="color: #800000;">${X}</span>
<span style="color: #000000; font-weight: bold;">done</span></pre></div></div><p>Happy Computing!!</p> ]]></content:encoded> <wfw:commentRss>http://cainmanor.com/tech/push-ssh-public-keys-to-mulitple-host/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Somewhat obscure OS-X keyboard shortcuts</title><link>http://cainmanor.com/tech/somewhat-obscure-os-x-keyboard-shortcuts/</link> <comments>http://cainmanor.com/tech/somewhat-obscure-os-x-keyboard-shortcuts/#comments</comments> <pubDate>Wed, 15 Sep 2010 04:18:17 +0000</pubDate> <dc:creator>Greg Cain</dc:creator> <category><![CDATA[OS-X]]></category> <category><![CDATA[Tech]]></category><guid
isPermaLink="false">http://cainmanor.com/?p=1149</guid> <description><![CDATA[I love these various shortcuts.  Most are somewhat obscure, or at least were to me. To open Quick Look in full screen mode Command+Option+Y To open a new Finder window (with no other finder windows open.) Hold down Command and &#8230; <a
href="http://cainmanor.com/tech/somewhat-obscure-os-x-keyboard-shortcuts/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>I love these various shortcuts.  Most are somewhat obscure, or at least were to me.</p><p>To open Quick Look in full screen mode</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"> Command+Option+Y</pre></div></div><p>To open a new Finder window (with no other finder windows open.) Hold down Command and Command + Tab until you get to the Finder.   Once the Finder is highlighted, and with Command still held down,  hold the Option key and then release the Command key.  It’s easier than I make it sound.  This will also work in other Apple apps, but if there are existing windows, it will take you to them rather than create new ones.</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;">press Command - Tab to Finder - press Option - release Command</pre></div></div><p>In Finder, to go to a specific path (Tab Completion works here too.)</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;">Command+Shift+G</pre></div></div><p>In Safari, Mail, and probably most Apple apps, you can lookup a word in the built in Dictionary.</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;">Command+Control+d</pre></div></div><p>In Terminal, if you hold the Option key, your cursor will turn into a small cross.  You can then place your cursor anywhere in the command line.   This is a great feature.</p><p>This isn’t a keyboard shortcut, but it is quite handy.  To open a man page in preview.</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">man</span> <span style="color: #660033;">-t</span> <span style="color: #c20cb9; font-weight: bold;">bash</span> <span style="color: #000000; font-weight: bold;">|</span> open <span style="color: #660033;">-f</span> <span style="color: #660033;">-a</span> <span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>Preview.app</pre></div></div><p>Go forth and prosper with your newfound knowledge..</p> ]]></content:encoded> <wfw:commentRss>http://cainmanor.com/tech/somewhat-obscure-os-x-keyboard-shortcuts/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>SSH Tips</title><link>http://cainmanor.com/tech/ssh_tips/</link> <comments>http://cainmanor.com/tech/ssh_tips/#comments</comments> <pubDate>Wed, 05 May 2010 04:15:09 +0000</pubDate> <dc:creator>Greg Cain</dc:creator> <category><![CDATA[OS-X]]></category> <category><![CDATA[Tech]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[Linux]]></category><guid
isPermaLink="false">http://cainmanor.com/?p=798</guid> <description><![CDATA[SSH is one of those things I use every day, and maybe what I use most throughout the day. These are either things I didn’t know (escape sequences), or haven’t looked into before. To get to the SSH escape sequences, &#8230; <a
href="http://cainmanor.com/tech/ssh_tips/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>SSH is one of those things I use every day, and maybe what I use most throughout the day.  These are either things I didn’t know (escape sequences), or haven’t looked into before.</p><p>To get to the SSH escape sequences, you need a new line, followed by ~ and ?.  That’s a newline (return), followed by a tilde and a question mark.  This is what you get</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;">Supported escape sequences:
  ~.  - terminate connection <span style="color: #7a0874; font-weight: bold;">&#40;</span>and any multiplexed sessions<span style="color: #7a0874; font-weight: bold;">&#41;</span>
  ~B  - send a BREAK to the remote system
  ~C  - open a <span style="color: #7a0874; font-weight: bold;">command</span> line
  ~R  - Request rekey <span style="color: #7a0874; font-weight: bold;">&#40;</span>SSH protocol <span style="color: #000000;">2</span> only<span style="color: #7a0874; font-weight: bold;">&#41;</span>
  ~^Z - <span style="color: #7a0874; font-weight: bold;">suspend</span> <span style="color: #c20cb9; font-weight: bold;">ssh</span>
  ~<span style="color: #666666; font-style: italic;">#  - list forwarded connections</span>
  ~<span style="color: #000000; font-weight: bold;">&amp;</span>  - background <span style="color: #c20cb9; font-weight: bold;">ssh</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>when waiting <span style="color: #000000; font-weight: bold;">for</span> connections to terminate<span style="color: #7a0874; font-weight: bold;">&#41;</span>
  ~?  - this message
  ~~  - send the escape character by typing it twice
<span style="color: #7a0874; font-weight: bold;">&#40;</span>Note that escapes are only recognized immediately after newline.<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div><p>There are a lot of interesting things you can do with this.  My favorite being if you ssh to host1.cainmanor.com then ssh to host2.cainmanor.com and then ssh to host3.cainmanor.com and host3.cainmanor.com locks up, you can newline ~~~. and the third session will be closed.</p><p>But wait!! There’s more<br
/> <span
id="more-798"></span><br
/> You can do some very nifty things in your ~/.ssh/config file.  First, you’ve got to make sure you have very restrictive permissions on that file — 600 or bust.</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;">Host nickname
Hostname host1.cainmanor.com
Port <span style="color: #000000;">22</span>
User gcain
ForwardAgent <span style="color: #c20cb9; font-weight: bold;">yes</span></pre></div></div><p>Host — put a nickname you want here.   You can use a wild card (*), if you’d like the apply the changes to all servers (for instance, change the port for all your servers)<br
/> Hostname — DNS name (FQDN highly recommended) or IP address.<br
/> Port — Port<br
/> user — user name you want to log in with.</p><p>You can also use this with rsync, but I won’t go too far into it.<br
/> Before</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;">rsync <span style="color: #660033;">-avr</span> <span style="color: #660033;">--delete</span> <span style="color: #660033;">--exclude</span> <span style="color: #ff0000;">'.DS_Store'</span>  <span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>MD0_DATA<span style="color: #000000; font-weight: bold;">/</span>Video<span style="color: #000000; font-weight: bold;">/</span> gcain<span style="color: #000000; font-weight: bold;">@</span>host1.cainmanor.com:<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>external<span style="color: #000000; font-weight: bold;">/</span>sdz1<span style="color: #000000; font-weight: bold;">/</span>Video<span style="color: #000000; font-weight: bold;">/</span></pre></div></div><p>After</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;">rsync <span style="color: #660033;">-avr</span> <span style="color: #660033;">--delete</span> <span style="color: #660033;">--exclude</span> <span style="color: #ff0000;">'.DS_Store'</span>  <span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>MD0_DATA<span style="color: #000000; font-weight: bold;">/</span>Video<span style="color: #000000; font-weight: bold;">/</span> nickname:<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>external<span style="color: #000000; font-weight: bold;">/</span>sdz1<span style="color: #000000; font-weight: bold;">/</span>Video<span style="color: #000000; font-weight: bold;">/</span></pre></div></div><p>Not as clear as a shorter example, but I wanted to keep this around for myself.</p> ]]></content:encoded> <wfw:commentRss>http://cainmanor.com/tech/ssh_tips/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Force your Mac to boot into 64 bit mode</title><link>http://cainmanor.com/tech/force-your-mac-to-boot-into-64-bit-mode/</link> <comments>http://cainmanor.com/tech/force-your-mac-to-boot-into-64-bit-mode/#comments</comments> <pubDate>Tue, 04 May 2010 19:02:14 +0000</pubDate> <dc:creator>Greg Cain</dc:creator> <category><![CDATA[OS-X]]></category> <category><![CDATA[Tech]]></category><guid
isPermaLink="false">http://cainmanor.com/?p=789</guid> <description><![CDATA[UPDATE… Not all Macs that are capable of booting a 64 bit kernel will boot the 64 bit kernel. The Mini is one of those… (This is from Apple.) Getting those machines NOT on the list to boot into a &#8230; <a
href="http://cainmanor.com/tech/force-your-mac-to-boot-into-64-bit-mode/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>UPDATE…</p><p>Not all Macs that are capable of booting a 64 bit kernel will boot the 64 bit kernel.  The Mini is one of those…  (This is from <a
href="http://support.apple.com/kb/HT3770">Apple</a>.)   Getting those machines NOT on the list to boot into a 64 bit kernel is possible, but it’s beyond the scope of this article (it involves editing your boot.efi.)</p><div><table
width="100%" cellspacing="0" border="0" id="kbtable"><tbody><tr
id="header"><td> </td><td
style="text-align: center;">Can use 64-bit kernel</td><td
style="text-align: center;">Uses 64-bit kernel<br
/> by default</td></tr><tr><td>Mac Pro (Early 2009)</td><td
style="text-align: center;">√</td><td
style="text-align: center;">√</td></tr><tr><td>Mac Pro (Early 2008)</td><td
style="text-align: center;">√</td><td><p
style="text-align: center;">√</p></td></tr><tr><td>Mac Pro (Original)</td><td> </td><td> </td></tr><tr><td>iMac (Early 2009)</td><td
style="text-align: center;">√</td><td> </td></tr><tr><td>iMac (Early 2008)</td><td
style="text-align: center;">√</td><td> </td></tr><tr><td>iMac (earlier models)</td><td> </td><td> </td></tr><tr><td>Mac mini (all models)</td><td> </td><td> </td></tr></tbody></table></div><p><span
id="more-789"></span></p><p>First, make sure your Mac can support 64 bits.  Make sure your server is on the list above too.</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;">ioreg <span style="color: #660033;">-l</span> <span style="color: #660033;">-p</span> IODeviceTree <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> firmware-abi</pre></div></div><p>If you are 64 bit capable, you’ll see the following.</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">|</span> <span style="color: #000000; font-weight: bold;">|</span>   <span style="color: #ff0000;">&quot;firmware-abi&quot;</span> = <span style="color: #000000; font-weight: bold;">&lt;</span><span style="color: #ff0000;">&quot;EFI64&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div><p>There are several methods.  The easiest method is to hold the 6 and the 4 key when booting.   This isn’t permanent, but the following are.</p><p>As root, type…</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;">nvram boot-args=<span style="color: #ff0000;">&quot;arch=x86_64&quot;</span></pre></div></div><p>To change it back to the default</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;">nvram boot-args=<span style="color: #ff0000;">&quot;&quot;</span></pre></div></div><p>I didn’t like this particular method, as I prefer to have a verbose boot</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> nvram boot-args=<span style="color: #ff0000;">&quot;-v&quot;</span></pre></div></div><p>There is one more way, that some people have had more success with.  It involves editing /Library/Preferences/SystemConfiguration/com.apple.Boot.plist</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;</span>?xml <span style="color: #007800;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #007800;">encoding</span>=<span style="color: #ff0000;">&quot;UTF-8&quot;</span>?<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;!</span>DOCTYPE plist PUBLIC <span style="color: #ff0000;">&quot;-//Apple Computer//DTD PLIST 1.0//EN&quot;</span> <span style="color: #ff0000;">&quot;http://www.apple.com/DTDs/PropertyList-1.0.dtd&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;</span>plist <span style="color: #007800;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;</span>dict<span style="color: #000000; font-weight: bold;">&gt;</span>
	<span style="color: #000000; font-weight: bold;">&lt;</span>key<span style="color: #000000; font-weight: bold;">&gt;</span>Kernel<span style="color: #000000; font-weight: bold;">&lt;/</span>key<span style="color: #000000; font-weight: bold;">&gt;</span>
	<span style="color: #000000; font-weight: bold;">&lt;</span>string<span style="color: #000000; font-weight: bold;">&gt;</span>mach_kernel<span style="color: #000000; font-weight: bold;">&lt;/</span>string<span style="color: #000000; font-weight: bold;">&gt;</span>
	<span style="color: #000000; font-weight: bold;">&lt;</span>key<span style="color: #000000; font-weight: bold;">&gt;</span>Kernel Flags<span style="color: #000000; font-weight: bold;">&lt;/</span>key<span style="color: #000000; font-weight: bold;">&gt;</span>
	<span style="color: #000000; font-weight: bold;">&lt;</span>string<span style="color: #000000; font-weight: bold;">&gt;&lt;/</span>string<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;/</span>dict<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;/</span>plist<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div><p>You need to replace the null value below Kernel Flags (<string></string>) with “arch=x86_64”.  The correct version -</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;</span>?xml <span style="color: #007800;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #007800;">encoding</span>=<span style="color: #ff0000;">&quot;UTF-8&quot;</span>?<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;!</span>DOCTYPE plist PUBLIC <span style="color: #ff0000;">&quot;-//Apple Computer//DTD PLIST 1.0//EN&quot;</span> <span style="color: #ff0000;">&quot;http://www.apple.com/DTDs/PropertyList-1.0.dtd&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;</span>plist <span style="color: #007800;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;</span>dict<span style="color: #000000; font-weight: bold;">&gt;</span>
        <span style="color: #000000; font-weight: bold;">&lt;</span>key<span style="color: #000000; font-weight: bold;">&gt;</span>Kernel<span style="color: #000000; font-weight: bold;">&lt;/</span>key<span style="color: #000000; font-weight: bold;">&gt;</span>
        <span style="color: #000000; font-weight: bold;">&lt;</span>string<span style="color: #000000; font-weight: bold;">&gt;</span>mach_kernel<span style="color: #000000; font-weight: bold;">&lt;/</span>string<span style="color: #000000; font-weight: bold;">&gt;</span>
        <span style="color: #000000; font-weight: bold;">&lt;</span>key<span style="color: #000000; font-weight: bold;">&gt;</span>Kernel Flags<span style="color: #000000; font-weight: bold;">&lt;/</span>key<span style="color: #000000; font-weight: bold;">&gt;</span>
        <span style="color: #000000; font-weight: bold;">&lt;</span>string<span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #007800;">arch</span>=x86_64<span style="color: #000000; font-weight: bold;">&lt;/</span>string<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;/</span>dict<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;/</span>plist<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div><p>To check if you’re 64 bit or not, you can use</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">uname</span> <span style="color: #660033;">-a</span></pre></div></div><p>If you see</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;">x86_64</pre></div></div><p>You’ve got a 64 bit kernel.</p><p>This also works</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;">system_profiler <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">&quot;64-bit Kernel and Extensions&quot;</span>
      <span style="color: #000000;">64</span>-bit Kernel and Extensions: Yes</pre></div></div>]]></content:encoded> <wfw:commentRss>http://cainmanor.com/tech/force-your-mac-to-boot-into-64-bit-mode/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Record encrypted cable channels using your Mac</title><link>http://cainmanor.com/personal/record-encrypted-cable-channels-using-your-mac/</link> <comments>http://cainmanor.com/personal/record-encrypted-cable-channels-using-your-mac/#comments</comments> <pubDate>Tue, 02 Mar 2010 17:08:32 +0000</pubDate> <dc:creator>Greg Cain</dc:creator> <category><![CDATA[Online]]></category> <category><![CDATA[OS-X]]></category> <category><![CDATA[Personal]]></category> <category><![CDATA[Tech]]></category><guid
isPermaLink="false">http://cainmanor.com/?p=742</guid> <description><![CDATA[In Seattle, Comcast has been moving most of the channels from unencrypted QAM to encrypted QAM. That means that things I used to be able to record with my EyeTV and HD Homerun setup no longer work. I’ve heard rumors &#8230; <a
href="http://cainmanor.com/personal/record-encrypted-cable-channels-using-your-mac/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>In Seattle, Comcast has been moving most of the channels from unencrypted QAM to encrypted QAM.  That means that things I used to be able to record with my EyeTV and HD Homerun setup no longer work.  I’ve heard rumors that you could install the Apple firewire SDK and record using the FireWire output of your cable box, but that seemed like a lot of work, and not very well supported.</p><p>Enter <a
href="http://www.ammesset.com/firerecord">FireRecord.</a> It makes it much simpler, but with caveats.  To use it…</p><ol><li>Plug a firewire cable between your Mac (I use an older, slow Intel Mac Mini hooked into a QNAP Nas for storage) and your cable box.  This is designed for most standard cable boxes — the FireRecord site has more information on supported boxes.</li><li><a
href="http://www.ammesset.com/firerecord">Download</a> and install FireRecord.</li><li>Run the program, pick a channel and set the start and end time.</li><li>Once the recording is done, you have a large file with a .m2t extension.  You need to massage it before it very usable.</li><li>Download <a
href="http://www.squared5.com/svideo/mpeg-streamclip-mac.html" target="_blank">MPEG Streamclip</a>.  There are other solutions for the Mac, but they cost quite a bit more.  I’ve not found a free solution.</li><li>You need to install the QuickTimeMPEG2.component, which you have to purchase from <a
title="Purchase QuickTime MPEG-2 Playback Component" href="http://www.apple.com/quicktime/mpeg2/" target="_blank">Apple</a> (~ $20/US.)  When I ran the install program it said that I needed to install Rosetta for the program to run.  Rather than do that, you can drill down into the package and find the file.  It lives in the package as Archive.pax.gz.   If you copy that file to your desktop, you can uncompress it by double clicking the file.   Once you’ve got the resulting QuickTimeMPEG2.component file, just copy it to /System/Library/QuickTime (you’ll need to authenticate before copying it over.)</li><li>Now you can use MPEG Streamclip to export the video to other formats.</li></ol><p>That’s it.  It’s crazy easy.</p><p>There are caveats</p><ol><li>You don’t get a guide.  You need to know what channel and what time your program is.</li><li>You can’t watch anything else while recording. The firewire port spits out what’s on your television. The flip side is that anything you can watch on TV you can record, even premium channels (not tested yet.)</li><li>The resulting file is only tagged with the file name you gave it (i.e. Discover.m2t.) No fancy file tagging like you get with EyeTV, but a pass through MetaX can fix that.</li><li>(NEW) Apparently you can’t turn off your cable box or your Mac will have trouble finding the device when you power it back on.</li></ol> ]]></content:encoded> <wfw:commentRss>http://cainmanor.com/personal/record-encrypted-cable-channels-using-your-mac/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 1/47 queries in 0.034 seconds using apc
Object Caching 614/710 objects using apc

Served from: cainmanor.com @ 2012-02-04 18:18:13 -->
