<?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/"
		xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Jim Shank&#039;s Good Info &#187; Linux Stuff</title>
	<atom:link href="http://blogs.theshanks.net/category/linux-stuff/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.theshanks.net</link>
	<description>My views on gadgets, development and other interests</description>
	<lastBuildDate>Sat, 27 Aug 2011 20:47:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<copyright>Copyright &#38;#xA9; TurnKey Linux 2010 </copyright>
	<managingEditor>jim@theshanks.net (Jim Shank&#039;s Good Info)</managingEditor>
	<webMaster>jim@theshanks.net (Jim Shank&#039;s Good Info)</webMaster>
	<image>
		<url>http://70.91.172.140/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
		<title>Jim Shank&#039;s Good Info</title>
		<link>http://blogs.theshanks.net</link>
		<width>144</width>
		<height>144</height>
	</image>
	<itunes:subtitle></itunes:subtitle>
	<itunes:summary>Just another WordPress weblog</itunes:summary>
	<itunes:keywords></itunes:keywords>
	<itunes:category text="Society &#38; Culture" />
	<itunes:author>Jim Shank&#039;s Good Info</itunes:author>
	<itunes:owner>
		<itunes:name>Jim Shank&#039;s Good Info</itunes:name>
		<itunes:email>jim@theshanks.net</itunes:email>
	</itunes:owner>
	<itunes:block>no</itunes:block>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://70.91.172.140/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<item>
		<title>Dabbling in Android</title>
		<link>http://blogs.theshanks.net/2011/06/04/dabbling-in-android/</link>
		<comments>http://blogs.theshanks.net/2011/06/04/dabbling-in-android/#comments</comments>
		<pubDate>Sat, 04 Jun 2011 23:58:07 +0000</pubDate>
		<dc:creator>Jim Shank</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Linux Stuff]]></category>

		<guid isPermaLink="false">http://blogs.theshanks.net/?p=272</guid>
		<description><![CDATA[My school district recently switched from Verizon to Sprint for service allowing me to select a new phone to replace my Verizon Blackberry 8830. In the interest of understanding the Android camp, I choose a Samsung Epic 4g (Galaxy S) running Andoid Froyo 2.2.1. Based on release dates this puts the generation on par with [...]]]></description>
			<content:encoded><![CDATA[<p>My school district recently switched from Verizon to Sprint for service allowing me to select a new phone to replace my Verizon Blackberry 8830. In the interest of understanding the Android camp, I choose a Samsung Epic 4g (Galaxy S) running Andoid Froyo 2.2.1. Based on release dates this puts the generation on par with my iPhone 4. My goal is not to replace my iPhone 4 but to understand if it would be possible and what I would lose (or possibly gain) in a switch to Google&#8217;s promising mobile OS. <span id="more-272"></span></p>
<h2>Form Factor</h2>
<p>My first impression of the Epic is that it feels massive and clunky. This model has a slide out keyboard (a district requirement) which makes the unit thick (1.5 times the thickness of my iPhone 4). I think the clunky feel comes from the fact that the keyboard tries to slide out a bit every time I put pressure on the side of the phone. I know there are thinner and smaller models out there but I don&#8217;t think I will ever find a phone that feels like the iPhone in my hand.</p>
<h2>Text Entry</h2>
<p>As mentioned above, the Epic has a slide out QWERTY keyboard. I was surprised at how quickly I fell in love with having physical keys again. They layout is nice although some of the keys seem superfluous (really, a smiley key?). The on-screen keyboard is much more of a challenge. Without the pop-up of which key my fat finger has hit, I have trouble typing with any efficiency. Swype is where things start to shine. I am very impressed with the speed and accuracy I am able to enter data. Just for giggles, I try to swype out theshanks.net and it gets it the first time. Finally, the voice control capabilities are leaps and bounds above the iPhone. This is where Android starts to shine and I can understand why there is so much hype on Android.</p>
<h2>Camera</h2>
<p>I love the camera on my iPhone 4, it is so good that my wife and I brought only our iPhone&#8217;s to Kauai to record our 10th anniversary trip. She took such great pictures with it that we blew them up and had them printed on canvas. People tell us they are amazed that they were taken with the phone. I haven&#8217;t had the opportunity to take many pictures with the Epic but the image quality looks on par. The lens is much bigger and the LED flash looks larger as well. I predict that I will be able to take pictures of similar quality to the iPhone but can&#8217;t comment yet. As far as accessing the camera, the Epic wins hands down. The dedicated camera button with half-push to focus takes me back to my Sony Cybershot days. I can&#8217;t tell you how many pictures I have missed while tracking down the Camera app on my iPhone and then waiting for the camera to start. There are a ton of options that are completely missing from the iPhone as well. Anyone familiar with a higher level consumer grade digital camera will be at home with the features and interface that the camera app has.</p>
<h2>Apps</h2>
<p>Apple has the clear win here due to quality control. I have only purchased one app so far and the experience was awful. My daughter dedicated her hard earned allowance to purchasing Asphalt 5 HD so she could continue after getting addicted to the trial. $5 later the app is installed and won&#8217;t launch at all. No support, just too bad, caveat emptor. There are also way too many app stores and payment methods, the whole process is chaotic to the first time user. Prices are everywhere, why are things $1.42 and $4.99 and anywhere in-between? Why does Asphalt 5 cost me $7.99 through the app, $4.99 on the Android Market and BOGO for $5 directly from Gameloft and includes Asphalt 6? It&#8217;s just too much effort to have to price shop for apps when Apple has set the standard.</p>
<p><em>Update: I contacted Gameloft and was provided a link to download a version specific for my device. Kudos for good customer service. Again, I don&#8217;t envy developers having to support multiple versions of their software.</em></p>
<p>I have several key apps that I depend on. Here is my take on making it happen on the Epic.</p>
<h3>iHome &#8211; Alarm Clock</h3>
<p>I wake up every morning to my iHome alarm clock, not the actual device, just the free app. It always works and works well. The main reason I use an app and not the built in alarm on the iPhone is that you can&#8217;t use full songs as alarms. My Epic has an alarm that will play songs built in but I wasn&#8217;t able to find a simple app that would do a nightstand dim clock. It looked like Night Clock would do the same thing but there was a warning about a complicated process to get the buttons to turn off on the Epic. I can&#8217;t imagine being a Android developer, so many different devices would be hell. I also did some research into a nightstand dock for charging. Good luck, there is exactly 1 for the Epic 4g and reviews say it sucks.</p>
<h3>Waze &#8211; Driving Alerts</h3>
<p>I use Waze for information on my route to work including delays, traffic and police traps. It&#8217;s available for Android and iPhone. That&#8217;s good enough for me. Android also kicks butt in the navigation department. Google Navigation is fantastic and very close to TomTom which I bought for near $100 when it was released.</p>
<h3>Instacast &#8211; Podcast listening/management</h3>
<p>I love listening to various podcasts on my drive and I like a no-brainer solution to getting new episodes, downloading them and never-ever losing my place. Instacast does this for me. It looks like DoggCatcher and Podtrapper will handle the same features but $6.99 seems steep to my Apple trained $0.99 brain.</p>
<p>I doubt I will be making the switch anytime soon but it&#8217;s good to get a feel for where the platforms differ. At this point I am very invested in the iDevices (2 x iPhone 4, an iPod Touch and an iPad 1) and have charging, media and docking solutions throughout the house and both vehicles. I have been working a little bit on getting my Linux based MediaPC to handle airplay and will try out the included AllShare to see if that will get me any further. Let me know in the feedback what you think or if anyone even read this. Sometimes it&#8217;s like posting into the nether. Thanks.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.theshanks.net/2011/06/04/dabbling-in-android/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cisco Unified Communication Manager 7 (CUCM7) on VMWare Fusion 3.0 for Mac</title>
		<link>http://blogs.theshanks.net/2010/03/07/cisco-unified-communication-manager-7-cucm7-on-vmware-fusion-3-0-for-mac/</link>
		<comments>http://blogs.theshanks.net/2010/03/07/cisco-unified-communication-manager-7-cucm7-on-vmware-fusion-3-0-for-mac/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 18:44:21 +0000</pubDate>
		<dc:creator>Jim Shank</dc:creator>
				<category><![CDATA[Linux Stuff]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://blogs.theshanks.net/?p=211</guid>
		<description><![CDATA[Installing Cisco Unified Call Manager 7 in VMWare Fusion takes a little bit of planning but can be done with these steps.]]></description>
			<content:encoded><![CDATA[<p>I know, catchy title isn&#8217;t it. Last week I finished Administering Cisco Unified Communication Manager 7 &amp; Unity Connection class in order to help with my overall understanding of our telecom infrastructure at the school district. It was a great class and really filled in the fundamentals I was missing. More importantly, on one of the labs, I noticed a message that CUCM was running under VM. I did some more research and Cisco actually allows this!</p>
<p>When I got home on Friday evening, freshly excited about the class, I grabbed the CUCM 7 media and fired up a new fusion VM. Settings are as follows:<span id="more-211"></span></p>
<ol>
<li>If you have the iso, click Continue without disc and then select the disc image, otherwise insert the CUCM7 installation disc</li>
<li>The system will detect RHEL4 which is correct, press continue to use the disc, then continue again at the OS selection screen</li>
<li>Uncheck Use Easy Install (don&#8217;t we all wish), click continue</li>
<li>Click Customize Settings
<ol>
<li>Sharing: Disabled</li>
<li>Applications: Menu Enabled (don&#8217;t think this matters)</li>
<li>Processors &amp; RAM: 2 CPU 2048 RAM (this does matter)</li>
<li>Display: 3D disabled (doubt it matters)</li>
<li>Printers: Enabled, match default (doesn&#8217;t matter)</li>
<li>Autoprotect: Disabled (doesn&#8217;t matter)</li>
<li>Network: NAT (more on this later)</li>
<li>Hard Disks: IDE Disk, 80GB, uncheck Pre-allocate disk space, check split into 2GB files (80GB is necessary, I think IDE is)</li>
<li>Everything else, defaults</li>
</ol>
</li>
<li>Start it up</li>
<li>Media Check: Your choice, I choose No and all was fine</li>
<li>vmware Found screen: Agree (a big thanks to Cisco for allowing this, they didn&#8217;t have to)</li>
<li>Product Deployment Selection: Cisco Unified Communications Manager &#8211; OK</li>
<li>Proceed with Install: Yes</li>
<li>Platform Installation Wizard: Proceed</li>
<li>Apply Patch: No (haven&#8217;t tried this yet)</li>
<li>Import Windows Data: No</li>
<li>Basic Install: Continue</li>
<li>Timezone Configuration: America/Denver for me</li>
<li>Auto Negotiation Configuration: Yes</li>
<li>MTU Configuration: No</li>
<li>DHCP: No</li>
<li>Static Network Configuration &#8211; This is where things get a little complicated. Start a terminal session and type ifconfig. Note the IP address for vmnet8. Mine was 192.168.223.1. This is the NAT network for Fusion. IP addresses .3-.127 are statically assignable. Thanks to <a title="VMWare Fusion NAT" href="http://blog.mclaughlinsoftware.com/2010/03/01/vmware-fusion-nat/" target="_blank">Michael McLaughlin</a> for this information. Note that if you do not setup the network correctly, the system will not install and will die with a Security configuration failed (1) error.<br />
<a href="http://blogs.theshanks.net/wp-content/uploads/2010/03/CUCM7FusionNetworkSettings.png"><img class="alignnone size-full wp-image-213" title="CUCM7FusionNetworkSettings" src="http://blogs.theshanks.net/wp-content/uploads/2010/03/CUCM7FusionNetworkSettings.png" alt="" width="447" height="335" /></a></p>
<ol>
<li>Hostname: FusionCCM7</li>
<li>IP Address: 192.168.x.3 where x is the third octet of the IP address you discovered in step 18</li>
<li>IP Mask: 255.255.255.0</li>
<li>GW Address: 192.168.x.2 where x is the third octet of the IP address you discovered in step 18</li>
<li>Press OK</li>
</ol>
</li>
<li>DNS Client Configuration: Yes
<ol>
<li>Primary DNS: 192.168.x.2 where x is the third octet of the IP address you discovered in step 18</li>
<li>Secondary DNS: blank</li>
<li>Domain: cucm.local</li>
</ol>
</li>
<li>Administration Login Configuration
<ol>
<li>Administrator ID: ccmadmin</li>
<li>Password: c123sco (a mix of letters and numbers is required)</li>
<li>Confirm Password: c123sco</li>
</ol>
</li>
<li>Certificate Information &#8211; Your locale information</li>
<li>First Node Configuration: Yes</li>
<li>Network Time Protocol Client Configuration: Yes
<ol>
<li>NTP Server 1: 64.90.182.55</li>
</ol>
</li>
<li>Database Access Security Configuration
<ol>
<li>Security Password: c123sco</li>
<li>Confirm Security Password: c123sco</li>
</ol>
</li>
<li>SMTP Host Configuration: No</li>
<li>Application User Configuration
<ol>
<li>Application User Username: ccmadmin</li>
<li>Application User Password: c123sco</li>
<li>Confirm Application User Password: c123sco</li>
</ol>
</li>
<li>Platform Configuration Complete: OK</li>
</ol>
<p>It took me about an hour for the full install and then I had my system up and running. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.theshanks.net/2010/03/07/cisco-unified-communication-manager-7-cucm7-on-vmware-fusion-3-0-for-mac/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MythTV Lives On</title>
		<link>http://blogs.theshanks.net/2010/02/14/mythtv-lives-on/</link>
		<comments>http://blogs.theshanks.net/2010/02/14/mythtv-lives-on/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 21:56:06 +0000</pubDate>
		<dc:creator>Jim Shank</dc:creator>
				<category><![CDATA[Linux Stuff]]></category>
		<category><![CDATA[PVR]]></category>

		<guid isPermaLink="false">http://blogs.theshanks.net/?p=206</guid>
		<description><![CDATA[About a week ago I took the plunge to upgrade my MythTV system to .22 using Mythbuntu. My original backed and bedroom front end were getting on in years and it was time to take advantage of the new package. In order to preserve as much as possible and provide quick back out in-case things [...]]]></description>
			<content:encoded><![CDATA[<p>About a week ago I took the plunge to upgrade my MythTV system to .22 using Mythbuntu. My original backed and bedroom front end were getting on in years and it was time to take advantage of the new package. In order to preserve as much as possible and provide quick back out in-case things went south, I purchased a new 500GB HD to put the OS on. It&#8217;s overkill but space is cheap and I got a great deal on it.</p>
<p>The other big feature of MythTV .22 is support for hardware acceleration on certain NVidia cards. I looked up <a title="MythTV Supported VDPAU Cards" href="http://www.mythtv.org/wiki/VDPAU" target="_blank">VDPAU</a> and selected the least expensive card that supported all of the features. I found a great deal on a  PNY VCG8600GXXB GeForce 8600 GT on <a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16814133282" target="_blank">NewEgg</a> for a mere $25 after MIR.</p>
<p>When everything arrived, I set aside a full day for the upgrade. I moved the whole MythBuntu install onto a USB flash disk using <a href="http://unetbootin.sourceforge.net/" target="_blank">Unetbootin</a>, backed up the old database and the etc folder, disconnected the old HD and installed the new HD. Booting from the flash disk worked fine and I was quickly into the setup. Installation was a snap and recognized all of the hardware immediately, a task that has taken many weeks before. I followed the steps from MythPVR.com to <a href="http://www.mythpvr.com/mythtv/tips/migrate-recordings.html" target="_blank">migrate existing recordings to a new server</a>. There is a comment at the end of the article that if the database is different enough, you should add a -f option to the import which did the trick for me.</p>
<p>I pointed the storage groups for videos at my already installed media drive (640GB) and then hot plugged in the old 500GB HD (love SATA), mounted it and then copied the recordings to the new recordings path. I launched the frontend and recordings were up and running. I was a little bummed that the video metadata didn&#8217;t come through but instead of going back to the original database, I used the included <a href="http://www.mythtv.org/wiki/Jamu" target="_blank">jamu </a>script to gather metadata for all of my movies. It looked a lot nicer and the information was much more accurate and detailed than before.</p>
<p>I went into the Playback settings and set it for VDPAU+. The difference is amazing between the old video card and this one. It&#8217;s not just the VDPAU but having a dedicated card that seems to make the difference. The one major problem I did run into was pixelation of anything that was in MPEG2 format (recordings). I finally tracked down a thread that this is a known bug on certain motherboards and they are working on a fix. In the mean-time I have reverted to CPU Slim.</p>
<p>Overall I am very pleased with the new software and distribution.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.theshanks.net/2010/02/14/mythtv-lives-on/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oh no! My SSL Certificate Expired.</title>
		<link>http://blogs.theshanks.net/2009/05/08/oh-no-my-ssl-certificate-expired/</link>
		<comments>http://blogs.theshanks.net/2009/05/08/oh-no-my-ssl-certificate-expired/#comments</comments>
		<pubDate>Fri, 08 May 2009 13:44:08 +0000</pubDate>
		<dc:creator>Jim Shank</dc:creator>
				<category><![CDATA[Linux Stuff]]></category>

		<guid isPermaLink="false">http://blogs.theshanks.net/?p=132</guid>
		<description><![CDATA[For the last few days I have been getting emails from my server to the tune of: ################# SSL Certificate Warning ################ Certificate for hostname &#8216;myserver.example.com&#8217;, in file: /etc/pki/tls/certs/myserver.example.com.cert The certificate needs to be renewed; this can be done using the &#8216;genkey&#8217; program. Browsers will not be able to correctly connect to this web site [...]]]></description>
			<content:encoded><![CDATA[<p>For the last few days I have been getting emails from my server to the tune of:</p>
<p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><span style="font-size: small;"><span style="font-family: Consolas;"><span style="mso-spacerun: yes"> </span>################# SSL Certificate Warning ################</span></span></p>
<p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><span style="font-family: Consolas; font-size: small;"> </span></p>
<p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><span style="font-size: small;"><span style="font-family: Consolas;"><span style="mso-spacerun: yes"> </span>Certificate for hostname &#8216;myserver.example.com&#8217;, in file:</span></span></p>
<p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><span style="font-size: small;"><span style="font-family: Consolas;"><span style="mso-spacerun: yes"> </span>/etc/pki/tls/certs/myserver.example.com.cert</span></span></p>
<p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><span style="font-family: Consolas; font-size: small;"> </span></p>
<p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><span style="font-size: small;"><span style="font-family: Consolas;"><span style="mso-spacerun: yes"> </span>The certificate needs to be renewed; this can be done</span></span></p>
<p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><span style="font-size: small;"><span style="font-family: Consolas;"><span style="mso-spacerun: yes"> </span>using the &#8216;genkey&#8217; program.</span></span></p>
<p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><span style="font-family: Consolas; font-size: small;"> </span></p>
<p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><span style="font-size: small;"><span style="font-family: Consolas;"><span style="mso-spacerun: yes"> </span>Browsers will not be able to correctly connect to this</span></span></p>
<p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><span style="font-size: small;"><span style="font-family: Consolas;"><span style="mso-spacerun: yes"> </span>web site using SSL until the certificate is renewed.</span></span></p>
<p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><span style="font-family: Consolas; font-size: small;"> </span></p>
<p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><span style="font-size: small;"><span style="font-family: Consolas;"><span style="mso-spacerun: yes"> </span>##########################################################</span></span></p>
<p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><span style="font-size: small;"><span style="font-family: Consolas;"><span style="mso-spacerun: yes"> </span>Generated by certwatch(1)</span></span></p>
<p>which leads me to believe my certificate has expired. I logged into my site and sure enough, it expired 30-days after I created it. I don&#8217;t think I have ever had a certificate with such a short life. <span id="more-132"></span></p>
<p>It looks like the genkey program for CentOS (and probably other distributions) has a default creation length of 30-days:</p>
<p>Usage: genkey [options] servername<br />
&#8211;test   Test mode, skip random data creation, overwrite existing key<br />
&#8211;genreq Just generate a CSR from an existing key<br />
&#8211;makeca Generate a private CA key instead<br />
<span style="color: #ffff00;"> <span style="color: #000000;"><strong>&#8211;days   Days until expiry of self-signed certificate (default 30)</strong></span></span></p>
<p>Also note the lack of a renew option, something you would expect to see since the message states it needs to be renewed. After searching forums and archives and getting a smattering of RTFM responses and dead ends, I dug into it.</p>
<ol>
<li>Delete the old certificate pair in /etc/pki/tls/certs/ and /etc/pki/tls/private/. One ends in cert, one ends in key.</li>
<li>
<pre>Run "genkey example.com --days 1825" (if you want a 5-year certificate).</pre>
</li>
<li>Restart apache (service httpd restart)</li>
</ol>
<p>That&#8217;s it. Truthfully, there is no renew anywhere, certificates aren&#8217;t really renewable, you just have to generate new ones each time.</p>
<p>I hope this helps those who received the cryptic message, you can finish your cereal and not be late to work today.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.theshanks.net/2009/05/08/oh-no-my-ssl-certificate-expired/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Zenoss</title>
		<link>http://blogs.theshanks.net/2008/06/03/zenoss/</link>
		<comments>http://blogs.theshanks.net/2008/06/03/zenoss/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 15:40:10 +0000</pubDate>
		<dc:creator>Jim Shank</dc:creator>
				<category><![CDATA[Linux Stuff]]></category>

		<guid isPermaLink="false">http://blogs.theshanks.net/?p=93</guid>
		<description><![CDATA[I am working on an HPSwitching ZenPack and needed a place to store the attachment. HPSwitching ZenPack]]></description>
			<content:encoded><![CDATA[<p>I am working on an HPSwitching ZenPack and needed a place to store the attachment.</p>
<p><a href="http://blogs.theshanks.net/wp-content/uploads/2008/06/zenpacksjimshanknetworkinghpswitching-10-py24.zip">HPSwitching ZenPack</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.theshanks.net/2008/06/03/zenoss/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Asterisk Still Rocks</title>
		<link>http://blogs.theshanks.net/2008/05/29/asterisk-still-rocks/</link>
		<comments>http://blogs.theshanks.net/2008/05/29/asterisk-still-rocks/#comments</comments>
		<pubDate>Thu, 29 May 2008 21:21:30 +0000</pubDate>
		<dc:creator>Jim Shank</dc:creator>
				<category><![CDATA[Linux Stuff]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://blogs.theshanks.net/?p=92</guid>
		<description><![CDATA[A few days ago I heard a knock at the door and went to see who it was. I usually just don&#8217;t open the door for people I don&#8217;t know but the kid looked so excited for someone to open it that I did. He was offering Comcast IP phone service for $20 a month [...]]]></description>
			<content:encoded><![CDATA[<p>A few days ago I heard a knock at the door and went to see who it was. I usually just don&#8217;t open the door for people I don&#8217;t know but the kid looked so excited for someone to open it that I did. He was offering Comcast IP phone service for $20 a month and offered to discount my Comcast High Speed Internet $10 a month if I signed up. Telephone service for $10/mo! I had to break the news to him that I had that price beat.</p>
<p>&#8220;How could that be?&#8221;, he asked.</p>
<p>&#8220;Well, Asterisk&#8221;.<br />
<span id="more-94"></span><br />
I have been running Asterisk for about 6-months and wanted to give an update as to where I am today. I am now running 3-lines (home, business and other business) through Broadvoice and paying about $15/mo for all of it. The trick is custom ringing. Asterisk can interpret the custom ring and send the call to a different phone, create a different ring or even send it to a different voicemail box. Right now the home phone number goes directly to a voice menu that offers telemarketers option 1 (no, it doesn&#8217;t curse at them, it&#8217;s a pretty polite take-me-off-your-list-you-have-been-logged message).</p>
<p>Here&#8217;s how that works:</p>
<pre>[from-broadvoice]
exten =&gt; 3030001234,1,Noop(Alert-Info -&gt; '${SIP_HEADER(Alert-Info)}')
exten =&gt; 3030001234,n,Gotoif($["${SIP_HEADER(Alert-Info)}" = "&lt;<a href="http://127.0.0.1/Bellcore-dr4%3E%22]?jim_office,7200000000,1">http://127.0.0.1/Bellcore-dr4&gt;"]?jim_office,7200000000,1</a>)
exten =&gt; 3030001234,n,Gotoif($["${SIP_HEADER(Alert-Info)}" = "&lt;<a href="http://127.0.0.1/Bellcore-dr3%3E%22]?otherbusiness,3030000000,1">http://127.0.0.1/Bellcore-dr3&gt;"]?otherbusiness,3030000000,1</a>)
exten =&gt; 3030001234,n,Goto(incoming,s,1)</pre>
<p>If they press 2, all the phones in the house (except my home office) ring with a double-pulse ring that my wife recognizes. No-answer goes to her very own voicemail box that lights the light on her good old Qwest Home Receptionist phone. Arguments over lost sticky notes with messages are a thing of the past.</p>
<p>Option 3 belongs to me and rings with a 3-pulse ring on every phone including my office (yes, I am that important), no-answer goes to my voicemail box which I am then emailed the attachment directly to my mobile smartphone where I can listen to it immediately.</p>
<p>Option 7 plays the traditional carried away by monkeys and weasels have eaten the phone with a bunch of monkeys screaming. It records the incoming audio to a wav file which I review from time to time so I can hear the callers reactions (no one except friends know of option 7).</p>
<p>My home office line rings in my office only. Pickup groups are great here because I can pickup any other phone in the house and dial *8# and it intercepts the call on that phone. The call detail recording is nice for my consulting business because I have an accurate record of all calls made and received. I paste that data into blinksale.com and there is no question about billed time.</p>
<p>I have call parking enabled so I can just hit flash 700 or #700 and I am read back which number they are parked on (always 701). They get a nice music on hold while I go do what I want or move to another phone. I can also transfer to my mobile for heading out the door.</p>
<p>Broadvoice is nice because of their BYOD (bring your own device) plan which is basically $9/mo. They port your number so you don&#8217;t lose your existing numbers. I have confirmed that they are the cause of my echo problems that happen from time to time. I use Voipjet.com as an alternate provider for outgoing calls and anytime I get echo, I can call the person back using voipjet (I dial 9 before the number to switch providers) and there is no echo. I would use voipjet exclusively if they could do number porting.</p>
<p>Once I explained all of this to the fellow from Comcast he was drolling to go home and try it himself. He thanked me for my time and wandered off to the next house. I have a feeling he wasn&#8217;t as enthusiastic when he knocked on the next door.</p>
<p>Could anyone else provide me this kind of service for this price? Nope. Asterisk Rocks.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.theshanks.net/2008/05/29/asterisk-still-rocks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Copy Series DVD&#039;s into MythVideos</title>
		<link>http://blogs.theshanks.net/2008/02/04/how-to-copy-series-dvds-into-mythvideos/</link>
		<comments>http://blogs.theshanks.net/2008/02/04/how-to-copy-series-dvds-into-mythvideos/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 20:38:54 +0000</pubDate>
		<dc:creator>Jim Shank</dc:creator>
				<category><![CDATA[Linux Stuff]]></category>
		<category><![CDATA[PVR]]></category>

		<guid isPermaLink="false">http://blogs.theshanks.net/index.php/2008/02/04/how-to-copy-series-dvds-into-mythvideos/</guid>
		<description><![CDATA[One of the big benefits of Myth is on-demand access to any episode of your favorite shows. I have a few full-series on DVD&#8217;s and wanted to find the most efficient way to copy them onto my Myth system. The first tool you need is something that can copy the DVD episodes individually to be [...]]]></description>
			<content:encoded><![CDATA[<p>One of the big benefits of Myth is on-demand access to any episode of your favorite shows. I have a few full-series on DVD&#8217;s and wanted to find the most efficient way to copy them onto my Myth system. The first tool you need is something that can copy the DVD episodes individually to be processed into AVI&#8217;s. <a href="http://www.dvddecrypter.org.uk/">DVD Decrypter </a>fits the bill nicely although there are many tools you can use. The big time saver is a nice little batch file called DVD Decrypter Multiple Feature Ripper. DDMFRip is a simple menu driven process that will allow you to define the basic structure of a DVD through a series of questions and then create multiple subdirectories correctly named for the series you want to copy. You can get a copy and a more in-depth guide <a href="http://forum.videohelp.com/topic301015.html">here</a>. I made one small change to the ddmfrip.bat file that capitalizes the E for episode in the filename so that a step in the later process of inserting video metadata into MythVideo will work correctly.<span id="more-90"></span></p>
<p>Once the DVD&#8217;s are copied into their individual episodes, it&#8217;s time to hit them with AutoGK. AutoGK is a simplified version of GordianKnot, a very feature rich utility for conversion. AutoGK dumbs down and simplifies the interface and works great for doing this. Follow <a href="http://forum.videohelp.com/topic301015.html">step 4 in the in-depth </a>guide above to use AutoGK for the final conversion from DVD VOB/IFO to an AVI. I selected 350MB for my final file size of a 45 minute episode.</p>
<p>Now that you have all of your episodes in avi format, it&#8217;s time to move them onto your Myth box and into the menu system. I created a directory structure under the main Myth Videos directory of Series Name\Season X\Series Name S0XE01.avi.</p>
<p>I modified a script by Steve Adeff called ragetvgrab-0.5.pl. The original script was supposed to insert video files and their meta-data into the recording table so that series would show up in the recording table. I didn&#8217;t have a lot of luck and preferred for these to show up in the MythVideo section. Here it is <a title="RageTVGrab Script (Video Metadata Edition)" href="http://blogs.theshanks.net/wp-content/uploads/2008/03/ragetvgrab-videos-01.zip">RageTVGrab Script (Video Metadata Edition)</a>. Basically you can just run it with the full path to your avi/video file:</p>
<p><code lang="vb">./ragetvgrab-videos-0.1.pl -F /storage/videos/Voyager/Season\ 5/Star\ Trek\ Voyager\ S05E25.avi</code></p>
<p>This will prompt you with the meta-data collected from the ragetv site to verify accuracy. Hope this works as well for you as it does for me.</p>
<p>If you want to do an entire directory at once, you can use some bash magic:</p>
<pre>IFS=$'\n' # If your files have spaces or odd characters in the name, set this first
for file in `ls -1 /storage/videos/Voyager/Season\ 7/`; do /root/ragetvgrab-videos-0.1.pl -i -F /storage/videos/Voyager/Season\ 7/$file; done</pre>
<p>Setting IFS will keep the for from splitting on the spaces. Make sure the paths are correct.</p>
<p>If you end up with odd chars in the title, you can clear them out with a little mysql. Go into mysql and run the following command:</p>
<pre> UPDATE videometadata set `plot` = replace(plot, "â€™", "'")</pre>
<p>How about that &#8220;change layout&#8221; junk that they are adding now, easily fixed</p>
<pre>UPDATE videometadata set `title` = replace(title, ' (&lt;a href='/mytvrage.php?page=my_layout'&gt;Change Layout&lt;/a&gt;) ', '') </pre>
]]></content:encoded>
			<wfw:commentRss>http://blogs.theshanks.net/2008/02/04/how-to-copy-series-dvds-into-mythvideos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Call forwarding with Asterisk</title>
		<link>http://blogs.theshanks.net/2008/02/04/call-forwarding-with-asterisk/</link>
		<comments>http://blogs.theshanks.net/2008/02/04/call-forwarding-with-asterisk/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 20:01:38 +0000</pubDate>
		<dc:creator>Jim Shank</dc:creator>
				<category><![CDATA[Linux Stuff]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://blogs.theshanks.net/index.php/2008/02/04/call-forwarding-with-asterisk/</guid>
		<description><![CDATA[This is more a note for myself to try later and then post my results:  http://blog.carrel.org/2005/07/calling-features-with-asterisk.html]]></description>
			<content:encoded><![CDATA[<p>This is more a note for myself to try later and then post my results:</p>
<p> <a href="http://blog.carrel.org/2005/07/calling-features-with-asterisk.html">http://blog.carrel.org/2005/07/calling-features-with-asterisk.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.theshanks.net/2008/02/04/call-forwarding-with-asterisk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Whim Discovery: My Experience with Asterisk</title>
		<link>http://blogs.theshanks.net/2008/01/25/whim-discovery-my-experience-with-asterisk/</link>
		<comments>http://blogs.theshanks.net/2008/01/25/whim-discovery-my-experience-with-asterisk/#comments</comments>
		<pubDate>Fri, 25 Jan 2008 21:36:58 +0000</pubDate>
		<dc:creator>Jim Shank</dc:creator>
				<category><![CDATA[Linux Stuff]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://blogs.theshanks.net/index.php/2008/01/25/whim-discovery-my-experience-with-asterisk/</guid>
		<description><![CDATA[It all started at Barnes and Noble in Downtown Denver. It was our anniversary weekend and one of the things we like to do downtown is hit the bookstore and enjoy quiet reading time. I was looking for a book on SELinux which I just couldn’t find in the Linux section. I came across another [...]]]></description>
			<content:encoded><![CDATA[<p>It all started at Barnes and Noble in Downtown Denver. It was our anniversary weekend and one of the things we like to do downtown is hit the bookstore and enjoy quiet reading time. I was looking for a book on SELinux which I just couldn’t find in the Linux section. I came across another O’Reilly book called Asterisk: The Future of Telephony. I enjoyed a sunny afternoon reading through the book next to my wife. I only made it a few chapters in but I was hooked. I had just completed a MythTV project and was saving dough on TV already, why not the phone too! After we were done, I put the book back but the fire had already been started.<span id="more-88"></span></p>
<p>Over the next week I decided to pick it up. I went searching and low and behold found it as a downloadable PDF. I spent the next few days reading through it on my laptop and phone. Once I finished I decided it was time to give it a try. I started looking for hardware and the book had clearly recommended the Digium boards but didn’t mention anything else. I figured this out quickly and started reading reviews of other hardware for the SoHo option. I ran across an article talking about the Sipura SPA-3000 that was purchased from Voxilla that provided both an FSX and FSO (connection to the phone company and connection to a phone for those not into the lingo yet) for around the $80 mark. This was a good start so I searched and found the (now owned by) Linksys SPA-3102 on Voxilla on sale for about $75.<br />
One week later I had the 3102 in my hot little hands, the thing that surprised me most was the size; it’s about the size of two decks of cards laid long-side to long-side. I headed down to the basement where all my hot and noisy computer toys are with the 3102 and a fistful of cables from the package. I plugged the Internet port into my gigabit switch and connected the phone-line to my Vonage Linksys TA and the phone side to my office phone. No sense in interrupting my POTS home-line just yet, my office phone could be the Ginny pig. Fired it all up and watched my logs for the MAC/DHCP IP address. Copied the MAC into my dhcpd.conf and gave it one of the statics out of my pool. Reboot and try to connect over browser, no-dice, no surprise, it’s a security risk. Like all Linksys devices, you have to connect to the LAN side port to get anything done at first. I ran up and grabbed my laptop and hooked it up to the LAN side. 192.168.0.1/admin like the manual says, hmm, nothing, ipconfig, 192.168.1.2 is the address is gave me, smart little thing, it must have seen that 192.168.0.* was the WAN side addressing and bumped a network so as not to conflict. Browsed to 192.168.1.1 and there is the admin interface. My goal was to disable the router function and control it through the WAN port but after an hour of fighting with it, I figured out that I was being stupid and had no firewall rule allowing me to get from my firewall (where I was testing) to the LAN, I could get out and packets could get through but I was only allowing SSH from the firewall itself. Not running upstairs to see if it worked from my desktop got me. On the good side, I learned a little more about the 3120 while I was fighting my own stupidity like that you can do most of the web admin functions by picking up the phone and dialing **** where a pretty decent IVR menu lets you configure the system. One problem I did run into was setting a password somewhere that caused the IVR to prompt me for said password which couldn’t be determined… factory reset. I can see it from the network, time for dinner and pick it up tomorrow.</p>
<p>I could have probably setup the software earlier but I wanted to wait until I had the hardware in-hand. First step is to choose what flavor. There are so many choices; I found AsteriskNOW, Trixbox and regular Asterisk. Turns out the first two are full systems including the OS. I already have a server I recently built with Fedora 7 that’s running firewall, email, dhcp and dns for my network. I was previously running all of these services on an old Pentium II 300 with a whopping 128MB of RAM but after adding antispam and antivirus, it just wasn’t enough. I happen to have a few server class machines and ended up using a Sun V20z to replace the old box. This thing runs 2 x AMD Opteron 248 (64-bit) 2.2 GHz procs and has 4GB of RAM so it should be up to this task as well.<br />
Now I have hardware, software and time. I am a huge fan of yum and rpm, it’s not that I’m too dumb to compile my own stuff; it’s just that I am lazy and hate tracking down dependencies. At first glance, I don’t see any RPM’s out there so I downloaded Asterisk 1.4.13 from the Asterisk web site, untared it and copied it to /usr/src. A less on the README is no big surprise, make clean, make, make install.<br />
<font size="2" face="Courier"><br />
[root@irongate asterisk-1.4.13]# make****<br />
**** The configure script must be executed before running &#8216;make&#8217;.<br />
**** Please run &#8220;./configure&#8221;.<br />
****<br />
make: *** [makeopts] Error 1<br />
[root@irongate asterisk-1.4.13]# ./configure<br />
checking build system type&#8230; x86_64-unknown-linux-gnu<br />
checking host system type&#8230; x86_64-unknown-linux-gnu<br />
checking for gcc&#8230; no<br />
checking for cc&#8230; no<br />
checking for cl.exe&#8230; no<br />
configure: error: no acceptable C compiler found in $PATH<br />
See `config.log&#8217; for more details.</font></p>
<p>Oops, no compiler. Easily fixed, yum –y install gcc and try again.</p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2" face="Courier">checking how to run the C++ preprocessor&#8230; /lib/cpp</font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2" face="Courier">configure: error: C++ preprocessor &#8220;/lib/cpp&#8221; fails sanity check</font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2" face="Courier">See `config.log&#8217; for more details.</font></p>
<p>They wonder why I like yum better. Ugg, google tells me I need c++ too, yum -y install gcc-g++. Take 3.<br />
 </p>
<p>config.status: creating include/asterisk/autoconfig.h</p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span>               </span>.$$$$$$$$$$$$$$$=..<span>      </span></font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span>            </span>.$7$7..<span>          </span>.7$$7:.<span>    </span></font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span>          </span>.$$:.<span>                 </span>,$7.7<span>   </span></font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span>        </span>.$7.<span>     </span>7$$$$<span>           </span>.$$77<span>  </span></font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span>     </span>..$$.<span>       </span>$$$$$<span>            </span>.$$$7 </font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span>    </span>..7$<span>   </span>.?.<span>   </span>$$$$$<span>   </span>.?.<span>       </span>7$$$.</font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span>   </span>$.$.<span>   </span>.$$$7. $$$$7 .7$$$.<span>      </span>.$$$.</font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span> </span>.777.<span>   </span>.$$$$$$77$$$77$$$$$7.<span>      </span>$$$,</font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span> </span>$$$~<span>      </span>.7$$$$$$$$$$$$$7.<span>       </span>.$$$.</font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2" face="Courier">.$$7<span>          </span>.7$$$$$$$7:<span>          </span>?$$$.</font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2" face="Courier">$$$<span>          </span>?7$$$$$$$$$$I<span>        </span>.$$$7 </font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2" face="Courier">$$$ <span>      </span>.7$$$$$$$$$$$$$$$$<span>      </span>:$$$. </font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier">$$$<span>       </span>$$$$$$7$$$$$$$$$$$$<span>    </span>.$$$.<span>  </span></font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier">$$$<span>        </span>$$$<span>   </span>7$$$7<span>  </span>.$$$<span>    </span>.$$$.<span>   </span></font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier">$$$$<span>             </span>$$$$7<span>         </span>.$$$.<span>    </span></font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier">7$$$7<span>            </span>7$$$$<span>        </span>7$$$<span>      </span></font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span> </span>$$$$$<span>                        </span>$$$<span>       </span></font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span>  </span>$$$$7.<span>      </span><span>                 </span>$$<span>  </span>(TM)<span>     </span></font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span>   </span>$$$$$$$.<span>           </span>.7$$$$$$<span>  </span>$$<span>      </span></font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span>     </span>$$$$$$$$$$$$7$$$$$$$$$.$$$$$$<span>      </span></font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span>       </span>$$$$$$$$$$$$$$$$.<span>                </span></font></font></p>
<p><o:p><font size="2" face="Courier"> </font></o:p></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2" face="Courier">configure: Package configured for: </font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2" face="Courier">configure: OS type<span>  </span>: linux-gnu</font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2" face="Courier">configure: Host CPU : x86_64</font></p>
<p>Well now isn’t that pretty and a good sign that I got it right on the 3rd try. Now I run make and after a spew of work on my session I get:</p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2" face="Courier">+&#8212;&#8212;&#8212; Asterisk Build Complete &#8212;&#8212;&#8212;+</font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span> </span>+ Asterisk has successfully been built, and +</font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span> </span>+ can be installed by running:<span>              </span>+</font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span> </span>+<span>                                           </span>+</font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span> </span>+<span>               </span>make install<span>                </span>+</font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span> </span>+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+</font></font></p>
<p>Ok, if you insist, I guess I will make install.</p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2" face="Courier">+&#8212;- Asterisk Installation Complete &#8212;&#8212;-+</font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span> </span>+<span>                                           </span>+</font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span> </span>+<span>    </span>YOU MUST READ THE SECURITY DOCUMENT<span>    </span>+</font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span> </span>+<span>                                           </span>+</font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span> </span>+ Asterisk has successfully been installed. +</font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span> </span>+ If you would like to install the sample<span>   </span>+</font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span> </span>+ configuration files (overwriting any<span>      </span>+</font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span> </span>+ existing config files), run:<span>              </span>+</font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span> </span>+<span>                                           </span>+</font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span> </span>+<span>               </span>make samples<span>                </span>+</font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span> </span>+<span>                                           </span>+</font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span> </span>+&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<span>  </span>or &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+</font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span> </span>+<span>                                           </span>+</font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span> </span>+ You can go ahead and install the asterisk +</font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span> </span>+ program documentation now or later run:<span>   </span>+</font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span> </span>+<span>                                           </span>+</font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span> </span>+<span>              </span>make progdocs<span>                </span>+</font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span> </span>+<span>                                           </span>+</font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span> </span>+ **Note** This requires that you have<span>      </span>+</font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span> </span>+ doxygen installed on your local system<span>    </span>+</font></font></p>
<p style="margin: 0in 0in 0pt" class="Code"><font size="2"><font face="Courier"><span> </span>+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+</font></font></p>
<p> </p>
<p>That’s it, I have it installed. Wait there’s more; a quick look at some other guides suggests I should get:</p>
<p style="margin: 0in 0in 0pt 0.5in; text-indent: -0.25in" class="MsoListParagraphCxSpFirst"><span style="font-family: Symbol"><span>·<span style="font: 7pt 'Times New Roman'">         </span></span></span><a href="http://www.digium.com/elqNow/elqRedir.htm?ref=http://downloads.digium.com/pub/asterisk/asterisk-addons-1.4-current.tar.gz"><font face="Calibri">asterisk-addons-1.4-current.tar.gz</font></a></p>
<p style="margin: 0in 0in 10pt 0.5in; text-indent: -0.25in" class="MsoListParagraphCxSpLast"><span style="font-family: Symbol"><span>·<span style="font: 7pt 'Times New Roman'">         </span></span></span><a href="http://www.digium.com/elqNow/elqRedir.htm?ref=http://downloads.digium.com/pub/telephony/sounds/asterisk-core-sounds-en-gsm-current.tar.gz"><font face="Calibri">asterisk-core-sounds-en-gsm-current.tar.gz</font></a></p>
<p>I choose the gsm because they talked about gsm in the book a lot, I might need a different package but I will see.<br />
It was time to dive into configuration, I remember the book was very thorough so I started going through the steps there. Back in the asterisk source directory, I did a make config to create the Fedora/Redhat style startup scripts. I also did a make samples to get the /etc/asterisk directory populated. Next I needed to get my 3102 configured so I used the Voxilla Configuration System to get the basics setup. I copied each of the suggested sections into the corresponding configuration files and then hit the Install Configuration button to handle the 3102 side of things. I was getting excited to I checked the Registration State field in the web voice configuration section and it said failed. I would hope so since we need to actually start Asterisk. I started Asterisk at the console with /usr/sbin/asterisk –cvvv. So far, so good. While I was fiddling around trying to figure out how to force the 3102 to register, I saw<br />
<font size="2" face="Courier"><br />
*CLI&gt; &#8212; Registered SIP &#8217;101&#8242; at 192.168.0.206 port 5060 expires 3600 in the background.<br />
</font><br />
A quick check of the Voice Status page also showed<br />
<font size="2" face="Courier"><br />
Registration State: Registered.<br />
</font><br />
I edited the /etc/asterisk/extensions.conf and added an example from the book:<br />
<font size="2" face="Courier"><br />
exten =&gt; 611,1,Answer()<br />
exten =&gt; 611,2,Echo()<br />
</font><br />
Note that this will be under the [home] heading instead of [internal] as the book shows since the Voxilla configuration sets the context to home. I also made a change to the dialplan on the 3102 to allow 611 <font size="2" face="Courier">[2-579]11&lt;:@gw0&gt;</font> instead of <font size="2" face="Courier">[2-79]11&lt;:@gw0&gt;</font>. Dialing 611 from my office phone put me into echo land like it should have. The sky is the limit from here; I am going to move on with voicemail, fwd and some of the examples in the book on my own.<br />
It was a much shorter journey then I expected which I think is good. I always say start with a very basic working configuration and then add one little thing at a time. Good luck in your ventures with Asterisk.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.theshanks.net/2008/01/25/whim-discovery-my-experience-with-asterisk/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>My MythTV Setup</title>
		<link>http://blogs.theshanks.net/2008/01/12/my-mythtv-setup/</link>
		<comments>http://blogs.theshanks.net/2008/01/12/my-mythtv-setup/#comments</comments>
		<pubDate>Sat, 12 Jan 2008 23:00:22 +0000</pubDate>
		<dc:creator>Jim Shank</dc:creator>
				<category><![CDATA[Linux Stuff]]></category>
		<category><![CDATA[PVR]]></category>

		<guid isPermaLink="false">http://blogs.theshanks.net/index.php/2008/01/12/my-mythtv-setup/</guid>
		<description><![CDATA[I have made a few large changes to my home services in the last year that I wish I had taken the time to document. It&#8217;s hard to have something working and remember all of the tricks you had to do in order to get things working right. I won&#8217;t say that setting MythTV up [...]]]></description>
			<content:encoded><![CDATA[<p>I have made a few large changes to my home services in the last year that I wish I had taken the time to document. It&#8217;s hard to have something working and remember all of the tricks you had to do in order to get things working right. I won&#8217;t say that setting MythTV up was easy but the result is fantastic.</p>
<p>I have been a die hard TiVo fan from the start. I won my first TiVo in an essay contest with an essay on why every pregnant woman needs a TiVo. The TiVo was great to begin with, it was provider agnostic, Linux based, configurable, upgradable and with a few additional codes you could enable some of the anti-commercial features like 30-seconds skip. When I switched over to DirectTV and purchased a DirectTivo, I noticed that each version of the software that came out provided less and less end-user features and more provider features. It is the sad fate of most companies that they must first service their stock holders and then their retail customers. I wanted to get into a series 2 TiVo but then DirectTV decided they could do it better and abandoned the TiVo platform altogether. I was also looking in to HD and I realized I could either use money or brains to solve the problem. It was time to take control of my PVR and try to provide TV recording, on-demand viewing of my DVD collection and some integrated web services like weather and browsing.<span id="more-86"></span></p>
<p>My first attempt at a PC based PVR was Microsoft Windows Media Center. I&#8217;ll admit that it was easy to setup, quick to configure and worked very well. However I felt the DRM noose from the get-go and realized that it was going to be incompatible with my long term goals. After building a new primary box, I rebuild my AMD Athlon 64 3200 into a box running Fedora 7.</p>
<p>I followed Jared&#8217;s <a href="http://wilsonet.com/mythtv/">Fedora MythTV howto</a> and began creating my first <a href="http://www.mythtv.org">MythTV</a> system. After a few days of playing with it on and off, I had it running. I quickly recognized that I would need to add some hardware to get the system going so I went out to CompUSA and bought a <a href="http://www.hauppauge.com/pages/products/data_pvr150mce.html">Hauppauge WinTV-PVR-150 MCE </a>capture card. This solved both the capture problem and the remote control. After all, who wants a PVR that only plays DVD&#8217;s and that you have to control with a full keyboard. I had toyed with the remote control that came with my Dell XPS M170 but it turns out that even though it looks like an MCE remote, it isn&#8217;t and won&#8217;t work with lirc at all. The next step was moving it into a case that looked at home in my entertainment center. I picked up a <a href="http://www.xoxide.com/silverstone-lc10-htpc.html">Silverstone LC10</a> and moved the system into it&#8217;s new home. I was still using an old Toshiba 32-in CRT TV that I&#8217;ve had for about 10+ years and it was starting to develop some purple and green spots in the corners of the screen.</p>
<p>Before I got into replacing the TV, I wanted a tested solution in place that was storing HD content. After researching options for HD capture, I settled on a relatively new solution from Silicon Dust called the <a href="http://www.silicondust.com/wiki/products/hdhomerun">HDHomerun</a>. This miracle device provided 2-tuner HD support in an external appliance that hooked directly to the network via Ethernet. No internal installation meant better compatibility and no need for drivers. During this trial I had purchased a picture frame antenna from Radio Shack that was feeding my 150MCE for over-the-air TV channels. It worked pretty well and I was able to pull in a good signal for the local channels. I had the MythTV system and my DirectTiVo running side by side recording the same shows so that in case the MythTV system had a problem, I could easily watch the show on the TiVo. This also helped to gradually introduce the MythTV to the family and help them get used to it. All I had to do was copy a few of the kids favorite DVD&#8217;s into Myth Videos and they were on-board. My wife really enjoyed the automatic commercial skipping and while still hesitant to the change, was warming to the idea day by day.</p>
<p>Switching over from the 150MCE to the HDHomerun was fairly painless, the signal quality jumped way up with a digital solution and provided a comparable signal to the DirectTiVo. I moved the antenna and the HDHR down to the walkout basement and quickly realized that it might be a good idea to get a better antenna. While some channels were reasonably strong, others were unreceivable. I once again researched and picked up a $50 <a href="http://www.antennasdirect.com/DB2_Indoor_antenna.html">DB2 antenna </a>from Antenna&#8217;s Direct. Using a compass and <a href="http://antennaweb.org">antennaweb.org</a>, I mounted it to the ceiling in our unfinished basement and aimed it. The signal difference was night and day. It was about this time that I made another commitment to the MythTV system by purchasing guide data from <a href="http://www.schedulesdirect.org/">SchedulesDirect</a>, the pay service for guide data for MythTV. There was a lot of concern when Zap2It, the previous free provider decided to bow out of their deal to provide schedule data but the MythTV group came through with a great solution. For several weeks we enjoyed all of our favorite shows in digital broadcast and could see the quality difference in the HD signal but couldn&#8217;t really take advantage of it with the old TV. We were switching to the DirectTiVo less and less. I had a coax line run from the back of the DirectTiVo to our bedroom and we were still using it for before-bed shows but it was being phased out. I was still having some problems with the ATI Radeon X850 card so I took the opportunity to pick-up a card with better Linux support, an <a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16814121542">Asus NVIDIA 6200 </a>which had good reviews on the MythTV-Users mailing list (speaking of which, you can see my <a href="http://www.gossamer-threads.com/lists/engine?list=mythtv&amp;do=search_results&amp;search_forum=forum_1&amp;search_string=shank&amp;search_type=AND">sordid posting history</a> there to see some of the struggles and solutions). Having the NVIDIA card in there made all the difference. Everything looked very crisp and clean and I verified with a few downloaded examples that the system was capable of HD.</p>
<p>My failing TV, having a DVR that was capable of HD and the support of my wife led me to getting a Samsung LNT4665F 46-in 1080p HD TV (a fathers-day gift dream). I also bought an HDMI to DVI cable and hooked the MythTV system to the new HDTV. I changed the resolution of XWindows to 1920&#215;1080 and marveled at what I had put together. I watched a few of the local newscasts in awe of the image quality. As we were watching Law and Order in HD one evening, my wife asked me why we were still paying for DirectTV. I told her that we still needed it for the bedroom TV and she said it would be OK to cut that off. We had a few dozen of our favorite shows on the DirectTiVo so I called them up the next day and cancelled my service. It was sort of a liberating feeling. We were still getting all of our favorite shows and not paying a dime for them in recurring costs. I had a few shows that I was missing but it was easy enough to find them available as bittorrents and transferring them to the MythTV system was a breeze. I also ran into a little gem called <a href="http://ted.nu/">TED </a>that would automatically monitor the bit torrent sites for new episodes and download them. I transferred a good deal of my DVD&#8217;s to the system as well. Things were going well except that we were running low on shows in the bedroom.</p>
<p>I built another system from NewEgg specifically for upstairs this time with a 250GB HD and a <a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16813131014R&amp;Tpk=asus%2bM2NPV">motherboard </a>with an on board NVIDIA card. The hardest part to setting up this system was running an Ethernet connection to the bedroom. I didn&#8217;t have to worry about any capture cards so it was pretty straight forward. I also decided on a smaller case since I could build on a micro-atx form factor. The <a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16811204004R">NMEDIAPC 200BA</a> fit the bill although it didn&#8217;t take me long before I realized the LCD display was nothing more than a fancy fan-speed/temperature monitoring device, not a true LCD display for MythTV. The good news is that NMEDIA has a list of good LCD&#8217;s that are controllable and fit in the box. Another good idea in concept is that you can add a disassembled MCE IR receiver inside the box. They created an internal mounting bracket and supply the cable to connect it to the USB header on the motherboard. In practice though there seems to be a reflection problem or the window isn&#8217;t wide enough because I have a hard time getting any remote to be received without multiple repeats of the same command, even with the repeat set to 5 in lirc.conf. We are able to watch all of our recorded shows in the bedroom again. I was a little frustrated when I found out that MythVideo isn&#8217;t shared quite as easily. I ended up copying my Star Trek: Voyager Series DVD&#8217;s onto the upstairs MythTV system using DVD Decrypter and AutoGK. I read that you can create NFS shares between the two MythTV systems and then you can see videos from both drives but I have yet to tackle that challenge. The down side is now every time I go to manage video&#8217;s, it wants to remove links to the videos stored on the other side. Not a big deal but I am doing a lot more database management through phpmyadmin.</p>
<p>I am very happy that I have taken control of my media needs. I am using MythTV for what it is designed for and not taking advantage of much else yet. I am getting consistently high quality recordings of all of my favorite shows too and can share the recordings to my bedroom system. The kids no longer smudge and scratch their DVD&#8217;s since they are all stored on the drive of the MythTV system. I have a Harmony 890 to control the main system and using my old Harmony 679 in the bedroom. I don&#8217;t foresee the need to add DirectTV or cable and because of the draconian measures they are taking to lock out open source systems like MythTV, I don&#8217;t even want to attempt it nor am I willing to pay for their efforts. I look forward to more and more media being available directly over the Internet and would gladly pay for a service that provides additional channels in open source standard formats like xvid. Until then I am very happy that I can get all of the major networks in HD digital free of charge. A huge thanks to the authors, developers and community that has helped create MythTV, fantastic work.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.theshanks.net/2008/01/12/my-mythtv-setup/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

