<?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>diis.net</title>
	<atom:link href="http://diis.net/front/feed/" rel="self" type="application/rss+xml" />
	<link>http://diis.net/front</link>
	<description>incoherent thoughts</description>
	<lastBuildDate>Mon, 15 Apr 2013 23:02:52 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Ohio DA to forecasters .. We&#8217;re setting an example!</title>
		<link>http://diis.net/front/2013/03/22/ohio-da-to-forecasters-were-setting-an-example/</link>
		<comments>http://diis.net/front/2013/03/22/ohio-da-to-forecasters-were-setting-an-example/#comments</comments>
		<pubDate>Fri, 22 Mar 2013 22:08:16 +0000</pubDate>
		<dc:creator>jgs</dc:creator>
				<category><![CDATA[Entertainment]]></category>

		<guid isPermaLink="false">http://diis.net/front/?p=450</guid>
		<description><![CDATA[<table> <tbody> <tr> <td style="background-color:#F0F8FF; border-width:1px; border-style: solid; border-bottom: 1px solid black;"><a href="http://www.washingtonpost.com/blogs/capital-weather-gang/wp/2013/03/21/ohio-prosecutor-seeks-death-penalty-for-punxsutawney-phil-after-bad-forecast/"><img class="alignleft" style="margin: 1px 4px;" alt="" src="http://diis.net/front/wp-content/data/2013/03/10_110_20_1031-300x225.jpg" width="237" height="178" /></a>Ohio prosecutor seeks death penalty for Punxsutawney Phil after bad forecast Posted by Jason Samenow on March 21, 2013 at 4:38 pm</p> <p>As severe cold grips the eastern U.S. on March 21, Punxsutawney Phil’s forecast for an early spring is best described as an epic failure. The prosecuting attorney of Butler County, Ohio, Michael Gmoser, wants the groundhog to pay for his flawed prediction, with his life.</p> <p>via <a href="http://www.washingtonpost.com/blogs/capital-weather-gang/wp/2013/03/21/ohio-prosecutor-seeks-death-penalty-for-punxsutawney-phil-after-bad-forecast/">Ohio prosecutor seeks death penalty for Punxsutawney Phil after bad forecast</a>. </td> </tr> </tbody> </table> <p>But we must be careful, we may be setting a dangerous precedence, creating slippery slope, one in which we would likely be left without any weather forecasters across the nation. Off to the Appellate, Phil!<i> </i></p> <p>It’s all in good fun of course. There&#8217;s also the slight possibility that I&#8217;ve been watching entirely too much Law &#038; Order this week.</p> ]]></description>
				<content:encoded><![CDATA[<table>
<tbody>
<tr>
<td style="background-color:#F0F8FF; border-width:1px; border-style: solid; border-bottom: 1px solid black;"><a href="http://www.washingtonpost.com/blogs/capital-weather-gang/wp/2013/03/21/ohio-prosecutor-seeks-death-penalty-for-punxsutawney-phil-after-bad-forecast/"><img class="alignleft" style="margin: 1px 4px;" alt="" src="http://diis.net/front/wp-content/data/2013/03/10_110_20_1031-300x225.jpg" width="237" height="178" /></a>Ohio prosecutor seeks death penalty for Punxsutawney Phil after bad forecast Posted by Jason Samenow on March 21, 2013 at 4:38 pm</p>
<p>As severe cold grips the eastern U.S. on March 21, Punxsutawney Phil’s forecast for an early spring is best described as an epic failure. The prosecuting attorney of Butler County, Ohio, Michael Gmoser, wants the groundhog to pay for his flawed prediction, with his life.</p>
<p>via <a href="http://www.washingtonpost.com/blogs/capital-weather-gang/wp/2013/03/21/ohio-prosecutor-seeks-death-penalty-for-punxsutawney-phil-after-bad-forecast/">Ohio prosecutor seeks death penalty for Punxsutawney Phil after bad forecast</a>.
</td>
</tr>
</tbody>
</table>
<p>But we must be careful, we may be setting a dangerous precedence, creating slippery slope, one in which we would likely be left without any weather forecasters across the nation. Off to the Appellate, Phil!<i> </i></p>
<p>It’s all in good fun of course. There&#8217;s also the slight possibility that I&#8217;ve been watching entirely too much Law &#038; Order this week.</p>
]]></content:encoded>
			<wfw:commentRss>http://diis.net/front/2013/03/22/ohio-da-to-forecasters-were-setting-an-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing the Nook app for OSX</title>
		<link>http://diis.net/front/2013/03/16/fixing-the-nook-app-for-osx/</link>
		<comments>http://diis.net/front/2013/03/16/fixing-the-nook-app-for-osx/#comments</comments>
		<pubDate>Sun, 17 Mar 2013 02:20:44 +0000</pubDate>
		<dc:creator>jgs</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://diis.net/front/?p=409</guid>
		<description><![CDATA[<p>Although I usually read books on paper on the iPad, I downloaded the Nook app for OSX this evening.  Downloaded just fine, opened fine, but never made it past the splash screen. The animated &#8220;Nook&#8221; logo flashed across, froze, and sat there. For a long time.</p> <p>Restarted several times with the same result, even downloaded it again and reinstalled with the same results.  As of right now, the latest version is <a href="http://www.barnesandnoble.com/u/nook-for-mac/379003592/" target="_blank">3.0.0</a> which was released in March 2012, so not a lot of recent work has gone into it.  Some google searches resulted in quite a few other people having the same problem with no real answer or updates from the B&#38;N folks.</p> <p>The solution as it turns out, is a very easy fix.  In your /applications/ folder (where the Nook app is installed) create a new folder, call it &#8220;NookforMac&#8221; and drag the app in there. Make sure the app is closed, re-open it, and viola. Should work just fine.</p> <p>Credit to <a href="http://openkase.com/tech/nook-for-mac-not-even-beta/" target="_blank">kateB</a> over at openkase for the workaround.</p> <p>Update:  Well, this solution worked for about a week, then the problem returned.  The solution for that was to wait until the app launched, and froze on the nook animation. Right clicking in the grey-space around the logo and selecting &#8216;reload&#8217; got the app to load the rest of the way (although it took a couple of times).</p> <p>&#160;</p> ]]></description>
				<content:encoded><![CDATA[<p>Although I usually read books on paper on the iPad, I downloaded the Nook app for OSX this evening.  Downloaded just fine, opened fine, but never made it past the splash screen. The animated &#8220;Nook&#8221; logo flashed across, froze, and sat there. For a long time.</p>
<p>Restarted several times with the same result, even downloaded it again and reinstalled with the same results.  As of right now, the latest version is <a href="http://www.barnesandnoble.com/u/nook-for-mac/379003592/" target="_blank">3.0.0</a> which was released in March 2012, so not a lot of recent work has gone into it.  Some google searches resulted in quite a few other people having the same problem with no real answer or updates from the B&amp;N folks.</p>
<p>The solution as it turns out, is a very easy fix.  In your /applications/ folder (where the Nook app is installed) create a new folder, call it &#8220;NookforMac&#8221; and drag the app in there. Make sure the app is closed, re-open it, and viola. Should work just fine.</p>
<p>Credit to <a href="http://openkase.com/tech/nook-for-mac-not-even-beta/" target="_blank">kateB</a> over at openkase for the workaround.</p>
<p><strong>Update:</strong>  Well, this solution worked for about a week, then the problem returned.  The solution for that was to wait until the app launched, and froze on the nook animation. Right clicking in the grey-space around the logo and selecting &#8216;reload&#8217; got the app to load the rest of the way (although it took a couple of times).</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://diis.net/front/2013/03/16/fixing-the-nook-app-for-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress, Jetpack stats graph, and broken images in the admin bar &#8211; and a solution</title>
		<link>http://diis.net/front/2013/03/14/wordpress-jetpack-stats-graph-and-broken-images-in-the-admin-bar/</link>
		<comments>http://diis.net/front/2013/03/14/wordpress-jetpack-stats-graph-and-broken-images-in-the-admin-bar/#comments</comments>
		<pubDate>Fri, 15 Mar 2013 00:14:08 +0000</pubDate>
		<dc:creator>jgs</dc:creator>
				<category><![CDATA[site]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://diis.net/front/?p=395</guid>
		<description><![CDATA[<p>Get ready for it, this is&#8230;a blog post about a blog.</p> <p>I recently upgraded to WordPress 3.5.1, the upgrade went off without a hitch, save one problem.  The sparkline graph from the Jetpack plugin was displaying as a broken link.  If you&#8217;re not familiar with the term &#8220;sparkline&#8221; don&#8217;t worry, I didn&#8217;t know what it was called until I started doing searches.  The sparkline is a <a title="sparkline" href="http://en.blog.wordpress.com/2011/08/18/watch-your-traffic-grow-with-sparklines/" target="_blank">small traffic graph that appears in the admin bar</a> when  you&#8217;re logged into your WordPress account; it shows your site traffic for the last 48-hours.</p> <p>After looking all over the web, in the WordPress and Jetpack forums I found people with similar issues, but none of their resolutions fit my particular issue.  I tried disabling plugins one at a time, that made no difference.  I deactivated Jetpack and then linked it again. No difference.  Removed Jetpack altogether and reinstalled, same result.</p> <p>Through the WordPress forums I was able to get in touch with <a href="http://wordpress.org/support/profile/jeherve" target="_blank">Jeremy,</a> a Happiness Engineer with Automattic who helped me figure out the root cause. Big thanks to him for taking the time to work with me. Here&#8217;s how we diagnosed the issue.</p> <p>View the xmlrpc.php file in the root of your WordPress directory with a web browser. It should return the text &#8220;<em>XML-RPC server accepts POST requests only.</em>&#8220;  If that message is the first line of the page, then your problem may lie elsewhere.  If there are any empty lines or spaces above that message then you have a php script introducing whitespace before the headers are printed, and Jetpack <em>hates</em> this. That additional whitespace could be coming from plugins, themes, or any custom hacks to the WordPress core.</p> <p>Since I had already disabled all the plugins, I knew it couldn&#8217;t be coming from them.  Next up, switch back to the default theme. When I did that the sparkline appeared right away, so it was something in the theme, so the next step is to go through all the php files in the theme and look for empty lines before the php tags, or empty lines between closing and opening tags, functions.php would be the most likely location.</p> <p>In my case, there were so many included files in the functions.php file that it was becoming quite tedious to look through them all and since a theme update was available I went ahead and tarballed up the .....  Continue reading <a href="http://diis.net/front/2013/03/14/wordpress-jetpack-stats-graph-and-broken-images-in-the-admin-bar/">WordPress, Jetpack stats graph, and broken images in the admin bar &#8211; and a solution</a>]]></description>
				<content:encoded><![CDATA[<p>Get ready for it, this is&#8230;a blog post about a blog.</p>
<p>I recently upgraded to WordPress 3.5.1, the upgrade went off without a hitch, save one problem.  The sparkline graph from the Jetpack plugin was displaying as a broken link.  If you&#8217;re not familiar with the term &#8220;sparkline&#8221; don&#8217;t worry, I didn&#8217;t know what it was called until I started doing searches.  The sparkline is a <a title="sparkline" href="http://en.blog.wordpress.com/2011/08/18/watch-your-traffic-grow-with-sparklines/" target="_blank">small traffic graph that appears in the admin bar</a> when  you&#8217;re logged into your WordPress account; it shows your site traffic for the last 48-hours.</p>
<p>After looking all over the web, in the WordPress and Jetpack forums I found people with similar issues, but none of their resolutions fit my particular issue.  I tried disabling plugins one at a time, that made no difference.  I deactivated Jetpack and then linked it again. No difference.  Removed Jetpack altogether and reinstalled, same result.</p>
<p>Through the WordPress forums I was able to get in touch with <a href="http://wordpress.org/support/profile/jeherve" target="_blank">Jeremy,</a> a Happiness Engineer with Automattic who helped me figure out the root cause. Big thanks to him for taking the time to work with me. Here&#8217;s how we diagnosed the issue.</p>
<p>View the xmlrpc.php file in the root of your WordPress directory with a web browser. It should return the text &#8220;<em>XML-RPC server accepts POST requests only.</em>&#8220;  If that message is the first line of the page, then your problem may lie elsewhere.  If there are any empty lines or spaces above that message then you have a php script introducing whitespace before the headers are printed, and Jetpack <em>hates</em> this. That additional whitespace could be coming from plugins, themes, or any custom hacks to the WordPress core.</p>
<p>Since I had already disabled all the plugins, I knew it couldn&#8217;t be coming from them.  Next up, switch back to the default theme. When I did that the sparkline appeared right away, so it was something in the theme, so the next step is to go through all the php files in the theme and look for empty lines before the php tags, or empty lines between closing and opening tags, functions.php would be the most likely location.</p>
<p>In my case, there were so many included files in the functions.php file that it was becoming quite tedious to look through them all and since a theme update was available I went ahead and tarballed up the directory and ran the update. Result? Graph is back and everything is happy.</p>
<p>I found a useful piece of shell code online that quickly searches for leading and trailing empty lines in files, might come in handy if you decide to search for yourself:</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;"><span class="kw1">for</span> f <span class="kw1">in</span> <span class="sy0">`</span><span class="kw2">find</span> . <span class="re5">-type</span> f<span class="sy0">`</span>; <span class="kw1">do</span><br />
<span class="kw1">for</span> t <span class="kw1">in</span> <span class="kw2">head</span> <span class="kw2">tail</span>; <span class="kw1">do</span><br />
<span class="re1">$t</span> <span class="re5">-1</span> <span class="re1">$f</span> <span class="sy0">|</span><span class="kw2">egrep</span> <span class="st_h">&#8216;^[ ]*$&#8217;</span> <span class="sy0">&amp;</span>gt;<span class="sy0">/</span>dev<span class="sy0">/</span>null <span class="sy0">&amp;</span>amp;<span class="sy0">&amp;</span>amp; <span class="kw3">echo</span> <span class="st0">&quot;blank line at the <span class="es2">$t</span> of <span class="es2">$f</span>&quot;</span>;<br />
<span class="kw1">done</span>;<br />
<span class="kw1">done</span></div>
</div>
<p>Happy Bug Hunting!</p>
]]></content:encoded>
			<wfw:commentRss>http://diis.net/front/2013/03/14/wordpress-jetpack-stats-graph-and-broken-images-in-the-admin-bar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OSX &#8211; Imaging an SD card for use on a Raspberry Pi</title>
		<link>http://diis.net/front/2013/01/05/osx-imaging-an-sd-card-for-use-on-a-raspberry-pi/</link>
		<comments>http://diis.net/front/2013/01/05/osx-imaging-an-sd-card-for-use-on-a-raspberry-pi/#comments</comments>
		<pubDate>Sat, 05 Jan 2013 15:20:57 +0000</pubDate>
		<dc:creator>jgs</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://diis.net/front/?p=357</guid>
		<description><![CDATA[<p>My new Pi and it&#8217;s memory card arrived at the house yesterday afternoon. I got everything unboxed, <a href="http://downloads.raspberrypi.org/images/raspbian/2012-12-16-wheezy-raspbian/2012-12-16-wheezy-raspbian.zip" target="_blank">downloaded the latest image</a> from the Pi website and fired up Disk Utility on my Mac and was ready to start imaging. But it&#8217;s not quite that simple, the Disk Utility can&#8217;t verify the image as being valid, so we have to do this from the command line. But relax, it&#8217;s not hard to do.</p> <p>First insert the SD card into the card reader, open a command prompt and run this command:</p> <div class="codesnip-container" > <div class="bash codesnip" style="font-family:monospace;">elmo:~ jgs$ <span class="kw2">df</span> <span class="re5">-h</span> Filesystem Size Used Avail Capacity iused ifree <span class="sy0">%</span>iused Mounted on <span class="sy0">/</span>dev<span class="sy0">/</span>disk1s1 29Gi 2.1Mi 29Gi <span class="nu0">1</span><span class="sy0">%</span> <span class="nu0">0</span> <span class="nu0">0</span> <span class="nu0">100</span><span class="sy0">%</span> <span class="sy0">/</span>Volumes<span class="sy0">/</span>NO NAME</div> </div> <p>You&#8217;ll end up with a lot more that what I&#8217;m showing you above, but in the interests of keeping it simple, I cropped out the extra disks and drives attached.  You&#8217;ll want to locate the SD card you plan on using either by the size of the disk or the name. Mine was new out of the box and was actually called &#8220;NO NAME&#8221; so it was easy to find.</p> <p>Next fire up Disk Utility, and under the name of the SD card &#8220;unmount&#8221; any partitions that are listed, but don&#8217;t eject the media.</p> <p>So we&#8217;ve identified the drive as <em>/dev/disk1</em>. It&#8217;s very important to make sure you have the correct disk, running the command we&#8217;re about to run has the potential to erase your entire hard disk if not used carefully. Always triple check the destination.</p> <p>Once you&#8217;ve done that, go back to your terminal window and run this command &#8211; <span style="text-decoration: underline;">but alter it first to fit your system!!</span>  The <i>if</i> (input file) parameter should point to the .img file and the <i>of</i> (output file) should point to the SD card.</p> <div class="codesnip-container" > <div class="bash codesnip" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">dd</span> <span class="re2">bs</span>=1m <span class="kw1">if</span>=<span class="sy0">/</span>path<span class="sy0">/</span>to<span class="sy0">/</span>file<span class="sy0">/</span>2012-12-16-wheezy-raspbian.img <span class="re2">of</span>=<span class="sy0">/</span>dev<span class="sy0">/</span>disk1</div> </div> <p>From the command line there won&#8217;t be any output while the program executes, which is slightly annoying, but there&#8217;s a way to force it to show us the progress. There are several ways to do this, depending on the OS you&#8217;re running, and sometimes these commands are not interchangeable and can kill the process. For OSX you&#8217;ll want .....  Continue reading <a href="http://diis.net/front/2013/01/05/osx-imaging-an-sd-card-for-use-on-a-raspberry-pi/">OSX &#8211; Imaging an SD card for use on a Raspberry Pi</a>]]></description>
				<content:encoded><![CDATA[<p>My new Pi and it&#8217;s memory card arrived at the house yesterday afternoon. I got everything unboxed, <a href="http://downloads.raspberrypi.org/images/raspbian/2012-12-16-wheezy-raspbian/2012-12-16-wheezy-raspbian.zip" target="_blank">downloaded the latest image</a> from the Pi website and fired up Disk Utility on my Mac and was ready to start imaging. But it&#8217;s not quite that simple, the Disk Utility can&#8217;t verify the image as being valid, so we have to do this from the command line. But relax, it&#8217;s not hard to do.</p>
<p>First insert the SD card into the card reader, open a command prompt and run this command:</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">elmo:~ jgs$ <span class="kw2">df</span> <span class="re5">-h</span><br />
Filesystem Size Used Avail Capacity iused ifree <span class="sy0">%</span>iused Mounted on<br />
<span class="sy0">/</span>dev<span class="sy0">/</span>disk1s1 29Gi 2.1Mi 29Gi <span class="nu0">1</span><span class="sy0">%</span> <span class="nu0">0</span> <span class="nu0">0</span> <span class="nu0">100</span><span class="sy0">%</span> <span class="sy0">/</span>Volumes<span class="sy0">/</span>NO NAME</div>
</div>
<p>You&#8217;ll end up with a lot more that what I&#8217;m showing you above, but in the interests of keeping it simple, I cropped out the extra disks and drives attached.  You&#8217;ll want to locate the SD card you plan on using either by the size of the disk or the name. Mine was new out of the box and was actually called &#8220;NO NAME&#8221; so it was easy to find.</p>
<p>Next fire up Disk Utility, and under the name of the SD card &#8220;unmount&#8221; any partitions that are listed, but don&#8217;t eject the media.</p>
<p>So we&#8217;ve identified the drive as <em>/dev/disk1</em>. It&#8217;s very important to make sure you have the correct disk, running the command we&#8217;re about to run has the potential <strong>to erase your entire hard disk if not used carefully. Always triple check the destination</strong>.</p>
<p>Once you&#8217;ve done that, go back to your terminal window and run this command &#8211; <span style="text-decoration: underline;">but alter it first to fit your system!!</span>  The <i>if</i> (input file) parameter should point to the .img file and the <i>of</i> (output file) should point to the SD card.</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">dd</span> <span class="re2">bs</span>=1m <span class="kw1">if</span>=<span class="sy0">/</span>path<span class="sy0">/</span>to<span class="sy0">/</span>file<span class="sy0">/</span>2012-12-16-wheezy-raspbian.img <span class="re2">of</span>=<span class="sy0">/</span>dev<span class="sy0">/</span>disk1</div>
</div>
<p>From the command line there won&#8217;t be any output while the program executes, which is slightly annoying, but there&#8217;s a way to force it to show us the progress. There are several ways to do this, depending on the OS you&#8217;re running, and sometimes these commands are not interchangeable and can kill the process. For OSX you&#8217;ll want to open a new terminal window and run this command:</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;"><span class="kw2">sudo</span> pkill <span class="re5">-INFO</span> <span class="re5">-x</span> <span class="kw2">dd</span></div>
</div>
<p>This will instruct the process running in the original terminal window to pause for a moment, report it&#8217;s status, and resume. You can gauge the completion percentage based on the size of the image you&#8217;re copying (mine was about 1.9 GB and took around a half hour to copy). The output will look like this:</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">392+0 records <span class="kw1">in</span><br />
391+0 records out<br />
409993216 bytes transferred <span class="kw1">in</span> <span class="nu0">335.052687</span> secs <span class="br0">&#40;</span><span class="nu0">1223668</span> bytes<span class="sy0">/</span>sec<span class="br0">&#41;</span></div>
</div>
<p>And that&#8217;s pretty much it. Once it completes, eject the SD card, plug it into the Pi and have at it!</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://diis.net/front/2013/01/05/osx-imaging-an-sd-card-for-use-on-a-raspberry-pi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Raspberry Pi Model B on the way&#8230;</title>
		<link>http://diis.net/front/2012/12/31/raspberry-pi-model-b-on-the-way/</link>
		<comments>http://diis.net/front/2012/12/31/raspberry-pi-model-b-on-the-way/#comments</comments>
		<pubDate>Tue, 01 Jan 2013 04:31:11 +0000</pubDate>
		<dc:creator>jgs</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://diis.net/front/?p=344</guid>
		<description><![CDATA[<p><a href="http://diis.net/front/wp-content/data/2012/12/raspberrypirev2.jpg"><img class="alignleft size-full wp-image-345" style="margin: 2px 4px; border: 0px none;" title="raspberrypirev2" src="http://diis.net/front/wp-content/data/2012/12/raspberrypirev2.jpg" alt="" width="129" height="86" /></a>It&#8217;s been a good long while since I&#8217;ve written anything techie (or otherwise) here, been busy and lacked motivation.  Today I ordered my  <a href="http://www.raspberrypi.org/faqs" target="_blank">Raspberry Pi Model B</a> along with a <a href="http://www.adafruit.com/products/914" target="_blank">Adafruit Pi Cobbler Breakout Kit</a> and some other assorted goodies.  I&#8217;m pretty excited to get my hands on it, unfortunately the estimated delivery date is towards the end of January.</p> <p>The possibilities seem relatively endless, there&#8217;s a myriad of <a href="http://www.raspberrypi.org/phpBB3/viewforum.php?f=15">forum posts</a> in their <a href="http://www.raspberrypi.org/phpBB3/index.php" target="_blank">official forums</a> from members of the community that have done some pretty amazing things with them. Yeah, I know, they&#8217;ve been on the market for a while now, this is really tie first time I&#8217;ve taken the time to do any research on them. More to come on this, guaranteed.</p> <p>If you&#8217;re still scratching your head wondering what it&#8217;s all about, check out this <a title="Google Tech Talks (Main Youtube Page)" href="http://www.youtube.com/user/GoogleTechTalks" target="_blank">Google Tech Talk</a> by <a href="http://www.raspberrypi.org/archives/tag/rob-bishop" target="_blank">Rob Bishop</a>, he&#8217;s one of the engineers that has been dedicating their free time developing this product.</p> <p><iframe src="http://www.youtube.com/embed/u4THiC5-JZo" frameborder="0" width="560" height="315"></iframe></p> <p>It&#8217;s a great cause, with a nice side effect of empowering techies to create some cool stuff.</p> ]]></description>
				<content:encoded><![CDATA[<p><a href="http://diis.net/front/wp-content/data/2012/12/raspberrypirev2.jpg"><img class="alignleft size-full wp-image-345" style="margin: 2px 4px; border: 0px none;" title="raspberrypirev2" src="http://diis.net/front/wp-content/data/2012/12/raspberrypirev2.jpg" alt="" width="129" height="86" /></a>It&#8217;s been a good long while since I&#8217;ve written anything techie (or otherwise) here, been busy and lacked motivation.  Today I ordered my  <a href="http://www.raspberrypi.org/faqs" target="_blank">Raspberry Pi Model B</a> along with a <a href="http://www.adafruit.com/products/914" target="_blank">Adafruit Pi Cobbler Breakout Kit</a> and some other assorted goodies.  I&#8217;m pretty excited to get my hands on it, unfortunately the estimated delivery date is towards the end of January.</p>
<p>The possibilities seem relatively endless, there&#8217;s a myriad of <a href="http://www.raspberrypi.org/phpBB3/viewforum.php?f=15">forum posts</a> in their <a href="http://www.raspberrypi.org/phpBB3/index.php" target="_blank">official forums</a> from members of the community that have done some pretty amazing things with them. Yeah, I know, they&#8217;ve been on the market for a while now, this is really tie first time I&#8217;ve taken the time to do any research on them. More to come on this, guaranteed.</p>
<p>If you&#8217;re still scratching your head wondering what it&#8217;s all about, check out this <a title="Google Tech Talks (Main Youtube Page)" href="http://www.youtube.com/user/GoogleTechTalks" target="_blank">Google Tech Talk</a> by <a href="http://www.raspberrypi.org/archives/tag/rob-bishop" target="_blank">Rob Bishop</a>, he&#8217;s one of the engineers that has been dedicating their free time developing this product.</p>
<p><center><iframe src="http://www.youtube.com/embed/u4THiC5-JZo" frameborder="0" width="560" height="315"></iframe></center></p>
<p>It&#8217;s a great cause, with a nice side effect of empowering techies to create some cool stuff.</p>
]]></content:encoded>
			<wfw:commentRss>http://diis.net/front/2012/12/31/raspberry-pi-model-b-on-the-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running pogoplug behind a squid proxy (ipcop)</title>
		<link>http://diis.net/front/2011/08/22/running-pogoplug-behind-a-squid-proxy-ipcop/</link>
		<comments>http://diis.net/front/2011/08/22/running-pogoplug-behind-a-squid-proxy-ipcop/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 01:05:49 +0000</pubDate>
		<dc:creator>jgs</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://diis.net/front/?p=309</guid>
		<description><![CDATA[<p>So I&#8217;ve done a couple of articles about my new filesharing appliance the <a href="http://diis.net/front/2010/09/04/new-gadget-pogoplug/">PogoPlug</a> over the last year. Absolutely fantastic device, use it often remotely.</p> <p>One thing that I&#8217;ve been unable to get working so far was the native OS application. The application allows you to map a drive directly to the drives connected to the appliance, hence the last article about <a href="http://diis.net/front/2010/09/05/installing-samba-on-your-pogoplug/">installing a samba server on it</a>. This issue probably won&#8217;t apply to most folks, my home network is a little unique compared to the average person buying a commercial router from Linksys, Belkin or the like. Skip to the bottom for the commands if you&#8217;re not interested in my reasons for splitting the networks.</p> <p>So, I have two completely separate networks at the house. One is wired, and the other is wireless, they interconnect through some various switches but ultimately demarc on an IPCop firewall. The wired network is where my home servers and toys connect (SlingBox, ssh server, pogoplug) whereas the wireless is mostly computers or smartdevices.</p> <p>With this setup, I don&#8217;t have any want or need to proxy traffic from the wired network as they&#8217;re essentially all services. From the wireless where we actually surf however, I like to run URLFiler and Advanced Proxy on the IPCop box to get filter out ad servers and malicious and adult websites. The problem with doing this is that the clients need an UNFILTERED direct connection to both the PogoPlug device and the main PogoPlug server out in internet land. Until today I mostly used the samba share to get around this, but it started bothering me and after some poking around I came up with a very easy solution.</p> <p>You may be asking, why not just add an exception in squid? Well, it doesn&#8217;t seem to work through the IPCop interface. And modifying the actual config files would do the job, but the next time IPCop restarts or I add something in the web interface, it would wipe out the manual changes I made. So, lets fall back to good old iptables and prerouting!</p> <p>By adding these two rules, we save a whole lot of headaches, and the software works perfectly:</p> <div class="codesnip-container" >/sbin/iptables -t nat -A CUSTOMPREROUTING -p tcp &#8211;dport 80 -d service.pogoplug.com -j ACCEPT /sbin/iptables -t nat -A CUSTOMPREROUTING -p tcp &#8211;dport 80 -d [POGOPLUG_IP] -j ACCEPT</div> <p>The first line allows an unfiltered connection .....  Continue reading <a href="http://diis.net/front/2011/08/22/running-pogoplug-behind-a-squid-proxy-ipcop/">Running pogoplug behind a squid proxy (ipcop)</a>]]></description>
				<content:encoded><![CDATA[<p>So I&#8217;ve done a couple of articles about my new filesharing appliance the <a href="http://diis.net/front/2010/09/04/new-gadget-pogoplug/">PogoPlug</a> over the last year.  Absolutely fantastic device, use it often remotely.</p>
<p>One thing that I&#8217;ve been unable to get working so far was the native OS application. The application allows you to map a drive directly to the drives connected to the appliance, hence the last article about <a href="http://diis.net/front/2010/09/05/installing-samba-on-your-pogoplug/">installing a samba server on it</a>.  This issue probably won&#8217;t apply to most folks, my home network is a little unique compared to the average person buying a commercial router from Linksys, Belkin or the like.  Skip to the bottom for the commands if you&#8217;re not interested in my reasons for splitting the networks.</p>
<p>So, I have two completely separate networks at the house. One is wired, and the other is wireless, they interconnect through some various switches but ultimately demarc on an IPCop firewall.  The wired network is where my home servers and toys connect (SlingBox, ssh server, pogoplug) whereas the wireless is mostly computers or smartdevices.</p>
<p>With this setup, I don&#8217;t have any want or need to proxy traffic from the wired network as they&#8217;re essentially all services. From the wireless where we actually surf however, I like to run URLFiler and Advanced Proxy on the IPCop box to get filter out ad servers and malicious and adult websites. The problem with doing this is that the clients need an UNFILTERED direct connection to both the PogoPlug device and the main PogoPlug server out in internet land.  Until today I mostly used the samba share to get around this, but it started bothering me and after some poking around I came up with a very easy solution.</p>
<p>You may be asking, why not just add an exception in squid? Well, it doesn&#8217;t seem to work through the IPCop interface. And modifying the actual config files would do the job, but the next time IPCop restarts or I add something in the web interface, it would wipe out the manual changes I made. So, lets fall back to good old iptables and prerouting!</p>
<p>By adding these two rules, we save a whole lot of headaches, and the software works perfectly:</p>
<div class="codesnip-container" >/sbin/iptables -t nat -A CUSTOMPREROUTING -p tcp &#8211;dport 80 -d service.pogoplug.com -j ACCEPT<br />
/sbin/iptables -t nat -A CUSTOMPREROUTING -p tcp &#8211;dport 80 -d [POGOPLUG_IP] -j ACCEPT</div>
<p>The first line allows an unfiltered connection to sercvice.pogoplug.com which is the authentication server, the second line allows an unfiltered connection to the pogoplug device itself.  Like I said, this probably won&#8217;t really impact too many people, since my traffic leaves the BLUE network and hits the GREEN network it gets filtered, and in this application that&#8217;s a bad thing.</p>
<p>Hope this helps someone else who&#8217;s been banging their head on the wall like I was.</p>
]]></content:encoded>
			<wfw:commentRss>http://diis.net/front/2011/08/22/running-pogoplug-behind-a-squid-proxy-ipcop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Munin plugins and system configuration..</title>
		<link>http://diis.net/front/2010/12/31/munin-plugins-and-system-configuration/</link>
		<comments>http://diis.net/front/2010/12/31/munin-plugins-and-system-configuration/#comments</comments>
		<pubDate>Fri, 31 Dec 2010 21:12:21 +0000</pubDate>
		<dc:creator>jgs</dc:creator>
				<category><![CDATA[projects]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://diis.net/front/?p=230</guid>
		<description><![CDATA[<p><a href="http://www.munin-monitoring.org/">Munin</a> is a great open-source monitoring solution for servers. I&#8217;ve used it in the past and was really happy with the results, but when I was using it my server was just a little VPS and running the server and node on the same box caused some system resource issues. But now having colo equipment in the rack at DimeNOC I decided to give it another go. <span id="more-230"></span> Installation was pretty much straightforward, the instructions on their website were sufficient to get the server up and running. There was some confusion, however, getting some plugins to play nicely. So, to pick up where the official installation instructions left off, I&#8217;ll go over some of the issues and solutions I was able to come up with.</p> <p><span style="text-decoration: underline;">What you&#8217;ll need to know from the installation</span></p> The location of the munin logfiles. You can set this in the <em>munin.conf</em> file. I used /var/log, seemed like the obvious choice. Your preferences may vary. The location of your munin config files, and plugins. Config files are typically placed in /etc/opt/munin/ Plugin files are typically in /etc/opt/munin/plugins Plugin special configs are typically in /etc/opt/munin/plugin-conf.d If you installed from source, you should have all that information in the installation scrollback. If you installed from an RPM, first try the paths above; if they&#8217;re not there then time to run the &#8216;ol trusty updatedb and do a locate. <p>Ok, so now that we have all that stuff taken care of, it&#8217;s time to dive right in. By default, there are no plugins enabled. In order to enable them we need to put them in the /etc/opt/munin/plugins directory. If you&#8217;d like some help determining what plugins to use, run the munin-node-configure script that came with the installation:</p> <div class="codesnip-container" > <div class="bash codesnip" style="font-family:monospace;">-bash-3.2$ <span class="sy0">/</span>usr<span class="sy0">/</span>sbin<span class="sy0">/</span>munin-node-configure <span class="re5">&#8211;suggest</span></p> <p>Plugin &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; <span class="sy0">&#124;</span> Used <span class="sy0">&#124;</span> Suggestions <span class="re5">&#8212;&#8212;</span> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; <span class="sy0">&#124;</span> <span class="re5">&#8212;-</span> &#160; <span class="sy0">&#124;</span> <span class="re5">&#8212;&#8212;&#8212;&#8211;</span> acpi &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; <span class="sy0">&#124;</span> <span class="kw2">yes</span> &#160;<span class="sy0">&#124;</span> <span class="kw2">yes</span> amavis &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; <span class="sy0">&#124;</span> no &#160; <span class="sy0">&#124;</span> no apache_accesses &#160; &#160; &#160; &#160; &#160; &#160;<span class="sy0">&#124;</span> <span class="kw2">yes</span> &#160;<span class="sy0">&#124;</span> <span class="kw2">yes</span> apache_processes &#160; &#160; .....  Continue reading <a href="http://diis.net/front/2010/12/31/munin-plugins-and-system-configuration/">Munin plugins and system configuration..</a>]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.munin-monitoring.org/">Munin</a> is a great open-source monitoring solution for servers. I&#8217;ve used it in the past and was really happy with the results, but when I was using it my server was just a little VPS and running the server and node on the same box caused some system resource issues. But now having colo equipment in the rack at DimeNOC I decided to give it another go.<br />
<span id="more-230"></span><br />
Installation was pretty much straightforward, the instructions on their website were sufficient to get the server up and running. There was some confusion, however, getting some plugins to play nicely. So, to pick up where the official installation instructions left off, I&#8217;ll go over some of the issues and solutions I was able to come up with.</p>
<p><span style="text-decoration: underline;">What you&#8217;ll need to know from the installation</span></p>
<ul>
<li>The location of the munin logfiles. You can set this in the <em>munin.conf</em> file. I used <tt>/var/log</tt>, seemed like the obvious choice. Your preferences may vary.</li>
<li>The location of your munin config files, and plugins.
<ul>
<li>Config files are typically placed in <tt>/etc/opt/munin/</tt></li>
<li>Plugin files are typically in <tt>/etc/opt/munin/plugins</tt></li>
<li>Plugin special configs are typically in <tt>/etc/opt/munin/plugin-conf.d</tt></li>
</ul>
</li>
<li>If you installed from source, you should have all that information in the installation scrollback. If you installed from an RPM, first try the paths above; if they&#8217;re not there then time to run the &#8216;ol trusty <tt>updatedb</tt> and do a <tt>locate</tt>.</li>
</ul>
<p>Ok, so now that we have all that stuff taken care of, it&#8217;s time to dive right in. By default, there are no plugins enabled. In order to enable them we need to put them in the <tt>/etc/opt/munin/plugins</tt> directory. If you&#8217;d like some help determining what plugins to use, run the <tt>munin-node-configure</tt> script that came with the installation:</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">-bash-3.2$ <span class="sy0">/</span>usr<span class="sy0">/</span>sbin<span class="sy0">/</span>munin-node-configure <span class="re5">&#8211;suggest</span></p>
<p>Plugin &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sy0">|</span> Used <span class="sy0">|</span> Suggestions<br />
<span class="re5">&#8212;&#8212;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sy0">|</span> <span class="re5">&#8212;-</span> &nbsp; <span class="sy0">|</span> <span class="re5">&#8212;&#8212;&#8212;&#8211;</span><br />
acpi &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sy0">|</span> <span class="kw2">yes</span> &nbsp;<span class="sy0">|</span> <span class="kw2">yes</span><br />
amavis &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sy0">|</span> no &nbsp; <span class="sy0">|</span> no<br />
apache_accesses &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="sy0">|</span> <span class="kw2">yes</span> &nbsp;<span class="sy0">|</span> <span class="kw2">yes</span><br />
apache_processes &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sy0">|</span> <span class="kw2">yes</span> &nbsp;<span class="sy0">|</span> <span class="kw2">yes</span><br />
apache_volume &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="sy0">|</span> <span class="kw2">yes</span> &nbsp;<span class="sy0">|</span> <span class="kw2">yes</span><br />
apc_envunit_ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sy0">|</span> no &nbsp; <span class="sy0">|</span> no <span class="br0">&#91;</span>no units to monitor<span class="br0">&#93;</span><br />
bonding_err_ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sy0">|</span> no &nbsp; <span class="sy0">|</span> no <span class="br0">&#91;</span>No <span class="sy0">/</span>proc<span class="sy0">/</span>net<span class="sy0">/</span>bonding<span class="br0">&#93;</span><br />
courier_mta_mailqueue &nbsp; &nbsp; &nbsp;<span class="sy0">|</span> no &nbsp; <span class="sy0">|</span> no <span class="br0">&#91;</span>spooldir not found<span class="br0">&#93;</span><br />
courier_mta_mailstats &nbsp; &nbsp; &nbsp;<span class="sy0">|</span> no &nbsp; <span class="sy0">|</span> no<br />
courier_mta_mailvolume &nbsp; &nbsp; <span class="sy0">|</span> no &nbsp; <span class="sy0">|</span> no</div>
</div>
<p>This gives you a general idea of what plugins are compatible with your server, and why others may not run. It&#8217;s a great tool to begin with. If you enable *all* the plugins munin comes with you&#8217;re going to be left with a lot of empty graphs and log messages complaining about errors. Instead, let munin do some work for you, it can move the &#8216;suggested&#8217; plugins into the correct place and enable them for you by running this command:</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">-bash-3.2$ <span class="sy0">/</span>usr<span class="sy0">/</span>sbin<span class="sy0">/</span>munin-node-configure &nbsp;<span class="re5">&#8211;shell</span> <span class="sy0">|</span> <span class="kw2">sh</span> <span class="re5">-x</span></div>
</div>
<p>Once that&#8217;s been done, look over the list of plugins that it didn&#8217;t suggest to see if there any additional ones you&#8217;d like to include. Usually the reason for excluding them is because a prerequisite wasn&#8217;t met, which most can be corrected.</p>
<p><span style="text-decoration: underline;">The crontab</span></p>
<p>There&#8217;s a script that needs to run every five minutes to collect data from the node, <tt>/usr/bin/munin-cron</tt> This job <em>must</em> not be run as the root user, it should be in the munin users&#8217; crontab. You can either <tt>su</tt> over to munin&#8217;s account or as root edit the users crontab with <tt>crontab -u munin -e</tt>. To have this job run every five minutes, simply insert this line:</p>
<div class="codesnip-container" >
<div class="php codesnip" style="font-family:monospace;"><span class="sy0">*/</span>5 <span class="sy0">*</span> <span class="sy0">*</span> <span class="sy0">*</span> <span class="sy0">*</span> <span class="sy0">/</span>usr<span class="sy0">/</span>bin<span class="sy0">/</span>munin<span class="sy0">-</span>cron &nbsp;<span class="sy0">&gt;/</span>dev<span class="sy0">/</span><span class="kw4">null</span> <span class="nu0">2</span><span class="sy0">&gt;&amp;</span><span class="nu0">1</span></div>
</div>
<p>The last part of that line keeps the cron daemon from sending the munin user an email each time the job runs, which will eventually fill his mailspool and use unnecessary disk space.</p>
<p>Now you&#8217;re ready to start up the munin-node. There&#8217;s a couple of ways to do it, the easiest is just to use the service command:</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">-bash-3.2$ <span class="kw2">sudo</span> service munin-node start</div>
</div>
<p>Once that&#8217;s running, go ahead and (as munin) kick off the <tt>/usr/bin/munin-cron</tt> from the command line. This should begin the data collection process and log any errors (and there will probably be some) to the update log, in my case that&#8217;s located in <tt>/var/log/munin-update.log</tt>.</p>
<p>In addition to the error logs, you can run each munin plugin individually with the <tt>munin-run</tt> command-line tool, which provides some details on why something may have failed. Can be run:</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;"><span class="sy0">/</span>usr<span class="sy0">/</span>sbin<span class="sy0">/</span>munin-run <span class="br0">&#91;</span>plugin_name<span class="br0">&#93;</span></div>
</div>
<p>The plugins that gave me the most trouble were Apache (thanks to some necessary mod_rewrite stuff on this site), sendmail_mailstats and mysql_.  I&#8217;ll go over the problems with each of those below.</p>
<h3>apache_ plugins</h3>
<p>This really should be the easiest plugin to enable, all you need to do is enable server-status in the configuration file, <tt>httpd-info.conf</tt> ( I use Apache2):</p>
<div class="codesnip-container" >
<div class="ini codesnip" style="font-family:monospace;">SetHandler server-status<br />
&nbsp; &nbsp; Order deny,allow<br />
&nbsp; &nbsp; Deny from all<br />
&nbsp; &nbsp; Allow from 127.0.0.1</div>
</div>
<p>I had diis.net listening on it&#8217;s IP address and localhost and mod_rewrite was sending everything to /front (where this blog lives) so that really messed with the server-status URL. A simple change in the <tt>httpd.conf</tt> file fixed that right up.</p>
<h3>sendmail_mailstats</h3>
<p>This was a permissions issue. The user munin could run the mailstats program, but the <tt>/var/log/mail/statistics</tt> file it reads was owned by root.  So the simple solution was to chown the file to root:munin, which made it start collecting data right away.  I don&#8217;t really see any harm in making that change, albeit I&#8217;m not a big fan of changing default system permissions.</p>
<h3>mysql_</h3>
<p>Ok, for this plugin to work you need to create a new <strong>unprivileged</strong> MySQL user account. You also need to put some special directives in the config file <tt>/etc/opt/munin/plugin-conf.d/munin-node</tt> so munin knows how to use the mysqladmin program to get the stats:</p>
<div class="codesnip-container" >
<div class="ini codesnip" style="font-family:monospace;"><span class="re0"><span class="br0">&#91;</span>mysql*<span class="br0">&#93;</span></span><br />
user root<br />
group root<br />
env.mysqladmin /usr/bin/mysqladmin<br />
env.mysqlopts -u MUNIN_USER_NAME &#8211;password<span class="sy0">=</span><span class="re2">MUNIN_PASSWORD</span></div>
</div>
<p>This should have worked fine, but I believe there&#8217;s a limitation of what types of character you can have in the password since you&#8217;re passing the command from a config file into a variable and then as an exec to the shell. My password had some special characters in it, once it was simplified to numbers and letters the queries worked fine. There shouldn&#8217;t be any risk in a simple password for an unprivileged account. Especially if your server has a limited number of users that have shell access and you have MySQL&#8217;s port firewalled off from the internet. Note: That&#8217;s one dash in front of the &#8216;u&#8217; variable and two in front of the &#8216;password&#8217; variable.</p>
<p>And that&#8217;s pretty much it for now, I hope this helps someone stop pulling out their hair out. Got a tip or trick related to munin? Drop it in the comments below.</p>
]]></content:encoded>
			<wfw:commentRss>http://diis.net/front/2010/12/31/munin-plugins-and-system-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Samba on your pogoplug</title>
		<link>http://diis.net/front/2010/09/05/installing-samba-on-your-pogoplug/</link>
		<comments>http://diis.net/front/2010/09/05/installing-samba-on-your-pogoplug/#comments</comments>
		<pubDate>Mon, 06 Sep 2010 01:39:57 +0000</pubDate>
		<dc:creator>jgs</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://diis.net/front/?p=168</guid>
		<description><![CDATA[<p><a href="http://diis.net/front/wp-content/data/2010/09/Screen-shot-2010-09-05-at-9.53.41-PM.png"><img class="size-full wp-image-202 alignleft" style="border: 1px solid black; margin: 10px;" title="Screen shot 2010-09-05 at 9.53.41 PM" src="http://diis.net/front/wp-content/data/2010/09/Screen-shot-2010-09-05-at-9.53.41-PM.png" alt="" width="131" height="124" /></a>I know there are a bunch of articles online about installing samba on Pogoplug (or openpogo enabled) devices. I read quite a few of them and still ran into trouble installing it on my appliance so I though I&#8217;d do a quick write-up of how I got things rolling.</p> <p>First, you need to install the OpenPogo base package. Very detailed and effective directions are <a href="http://www.plugapps.com/index.php5?title=OpenPogo:Installing_Base_Package_-_USB" target="_blank">available here</a>.  A couple of notes about OpenPogo before you go running off though. First, it requires an external USB drive to install on, and run from. Second, if you remove the USB drive (perhaps mistakenly thinking you were done with it) the filesystem that was on there is dismounted and everything running from it stops. And finally, the USB stick will have to be reformatted into a linux ext2 or ext3 format which means you&#8217;ll lose any existing data on it. Best to find an older 1GB stick and use that for this as the packages seem rather small.</p> <p>Ok, so once you&#8217;ve installed the OpenPogo software onto your external USB drive, rebooted, mounted, etc, what you&#8217;ll need to do is run ipkg to install Samba. You <em>should</em> be able to execute this command to kick it off:</p> <div class="codesnip-container" > <div class="bash codesnip" style="font-family:monospace;">-bash-<span class="nu0">3.2</span><span class="co0"># &#160;ipkg install samba2</span></div> </div> <p>This kicks off the download and installation process which I imagine under ideal circumstances should take care of the whole thing for you. If it did, skip this section and see the configuration part below. I&#8217;ll warn you though, the downloads were very slow for me, took about twenty minutes to download the seven meg file even though I was able to wget it to my linux box much faster.</p> <p>The problem I had was an invalid MD5 checksum when using the automatic installer, so I resorted to manually downloading the file, then installing it.</p> <div class="codesnip-container" > <div class="bash codesnip" style="font-family:monospace;">-bash-<span class="nu0">3.2</span><span class="co0"># &#160;cd /root</span> -bash-<span class="nu0">3.2</span><span class="co0"># mount -o rw,remount /</span> -bash-<span class="nu0">3.2</span><span class="co0"># ipkg download samba2</span> -bash-<span class="nu0">3.2</span><span class="co0"># ipkg install samba2_2.2.12-2_arm.ipk</span></div> </div> <p>Once the install has completed successfully, you should turn on the server by running this command:</p> <div class="codesnip-container" > <div class="bash codesnip" style="font-family:monospace;">-bash-<span class="nu0">3.2</span><span class="co0"># /opt/etc/init.d/S80samba start</span></div> </div> <p>After which you can verify that the .....  Continue reading <a href="http://diis.net/front/2010/09/05/installing-samba-on-your-pogoplug/">Installing Samba on your pogoplug</a>]]></description>
				<content:encoded><![CDATA[<p><a href="http://diis.net/front/wp-content/data/2010/09/Screen-shot-2010-09-05-at-9.53.41-PM.png"><img class="size-full wp-image-202 alignleft" style="border: 1px solid black; margin: 10px;" title="Screen shot 2010-09-05 at 9.53.41 PM" src="http://diis.net/front/wp-content/data/2010/09/Screen-shot-2010-09-05-at-9.53.41-PM.png" alt="" width="131" height="124" /></a>I know there are a bunch of articles online about installing samba on Pogoplug (or openpogo enabled) devices. I read quite a few of them and still ran into trouble installing it on my appliance so I though I&#8217;d do a quick write-up of how I got things rolling.</p>
<p>First, you need to install the OpenPogo base package. Very detailed and effective directions are <a href="http://www.plugapps.com/index.php5?title=OpenPogo:Installing_Base_Package_-_USB" target="_blank">available here</a>.  A couple of notes about OpenPogo before you go running off though. First, it requires an external USB drive to install on, and run from. Second, if you remove the USB drive (perhaps mistakenly thinking you were done with it) the filesystem that was on there is dismounted and everything running from it stops. And finally, the USB stick will have to be reformatted into a linux ext2 or ext3 format which means you&#8217;ll lose any existing data on it. Best to find an older 1GB stick and use that for this as the packages seem rather small.</p>
<p>Ok, so once you&#8217;ve installed the OpenPogo software onto your external USB drive, rebooted, mounted, etc, what you&#8217;ll need to do is run <tt>ipkg</tt> to install Samba. You <em>should</em> be able to execute this command to kick it off:</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">-bash-<span class="nu0">3.2</span><span class="co0"># &nbsp;ipkg install samba2</span></div>
</div>
<p>This kicks off the download and installation process which I imagine under ideal circumstances should take care of the whole thing for you. If it did, skip this section and see the configuration part below. I&#8217;ll warn you though, the downloads were very slow for me, took about twenty minutes to download the seven meg file even though I was able to wget it to my linux box much faster.</p>
<p>The problem I had was an invalid MD5 checksum when using the automatic installer, so I resorted to manually downloading the file, then installing it.</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">-bash-<span class="nu0">3.2</span><span class="co0"># &nbsp;cd /root</span><br />
-bash-<span class="nu0">3.2</span><span class="co0"># mount -o rw,remount /</span><br />
-bash-<span class="nu0">3.2</span><span class="co0"># ipkg download samba2</span><br />
-bash-<span class="nu0">3.2</span><span class="co0"># ipkg install samba2_2.2.12-2_arm.ipk</span></div>
</div>
<p>Once the install has completed successfully, you should turn on the server by running this command:</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">-bash-<span class="nu0">3.2</span><span class="co0"># /opt/etc/init.d/S80samba start</span></div>
</div>
<p>After which you can verify that the server is running by checking the output of <tt>netstat</tt></p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">-bash-<span class="nu0">3.2</span><span class="co0"># netstat -an | grep &quot;:13[7-9]&quot;</span><br />
tcp &nbsp; &nbsp; &nbsp; &nbsp;<span class="nu0">0</span> &nbsp; &nbsp; &nbsp;<span class="nu0">0</span> 0.0.0.0:<span class="nu0">139</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0:<span class="sy0">*</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LISTEN<br />
tcp &nbsp; &nbsp; &nbsp; &nbsp;<span class="nu0">0</span> &nbsp; &nbsp; &nbsp;<span class="nu0">0</span> 10.0.101.103:<span class="nu0">139</span> &nbsp; &nbsp; &nbsp; &nbsp;172.0.50.160:<span class="nu0">55118</span> &nbsp; &nbsp; &nbsp;ESTABLISHED<br />
udp &nbsp; &nbsp; &nbsp; &nbsp;<span class="nu0">0</span> &nbsp; &nbsp; &nbsp;<span class="nu0">0</span> 10.0.101.103:<span class="nu0">137</span> &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:<span class="sy0">*</span><br />
udp &nbsp; &nbsp; &nbsp; &nbsp;<span class="nu0">0</span> &nbsp; &nbsp; &nbsp;<span class="nu0">0</span> 169.254.128.38:<span class="nu0">137</span> &nbsp; &nbsp; &nbsp;0.0.0.0:<span class="sy0">*</span><br />
udp &nbsp; &nbsp; &nbsp; &nbsp;<span class="nu0">0</span> &nbsp; &nbsp; &nbsp;<span class="nu0">0</span> 0.0.0.0:<span class="nu0">137</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0:<span class="sy0">*</span><br />
udp &nbsp; &nbsp; &nbsp; &nbsp;<span class="nu0">0</span> &nbsp; &nbsp; &nbsp;<span class="nu0">0</span> 10.0.101.103:<span class="nu0">138</span> &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:<span class="sy0">*</span><br />
udp &nbsp; &nbsp; &nbsp; &nbsp;<span class="nu0">0</span> &nbsp; &nbsp; &nbsp;<span class="nu0">0</span> 169.254.128.38:<span class="nu0">138</span> &nbsp; &nbsp; &nbsp;0.0.0.0:<span class="sy0">*</span><br />
udp &nbsp; &nbsp; &nbsp; &nbsp;<span class="nu0">0</span> &nbsp; &nbsp; &nbsp;<span class="nu0">0</span> 0.0.0.0:<span class="nu0">138</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0:<span class="sy0">*</span></div>
</div>
<p>Now to verify that samba is working properly, execute this <tt>smbclient</tt> command:</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">-bash-<span class="nu0">3.2</span><span class="co0"># smbclient -L localhost -N</span><br />
added interface <span class="re2">ip</span>=10.0.101.103 <span class="re2">bcast</span>=10.0.101.255 <span class="re2">nmask</span>=255.255.255.0<br />
added interface <span class="re2">ip</span>=169.254.128.38 <span class="re2">bcast</span>=169.254.255.255 <span class="re2">nmask</span>=255.255.0.0<br />
<span class="re2">Domain</span>=<span class="br0">&#91;</span>WORKGROUP<span class="br0">&#93;</span> <span class="re2">OS</span>=<span class="br0">&#91;</span>Unix<span class="br0">&#93;</span> <span class="re2">Server</span>=<span class="br0">&#91;</span>Samba 2.2.12<span class="br0">&#93;</span></div>
</div>
<p>The output is a bit more verbose if you have shares active, and other active workgroups, so I snipped them out of this example.  Now we need users! Execute these commands to create a user account on the system:</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">-bash-<span class="nu0">3.2</span><span class="co0"># adduser -H User1</span><br />
-bash-<span class="nu0">3.2</span><span class="co0"># &nbsp;adduser -H User2</span></div>
</div>
<p>Now run these commands to setup a samba user:</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">-bash-<span class="nu0">3.2</span><span class="co0"># smbpasswd -a User1</span><br />
-bash-<span class="nu0">3.2</span><span class="co0"># &nbsp;smbpasswd -a User2</span></div>
</div>
<p>Now comes the part of defining the drive mappings. There are a couple of ways to map things out, you can separate each physical disk into a share, or share all disks under one. Just depends on what your requirements are.</p>
<p>For the first method, separating each disk into it&#8217;s own share, this is what you need to know:</p>
<p>By default, the external USB drives are mounted in <tt>/tmp/.cemnt/sdX1</tt> where X is usually &#8216;a&#8217; for the first disk, &#8216;b&#8217; for the second disk, etc. You can look to see how yours are mounted by running the <tt>df</tt> command:</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">-bash-<span class="nu0">3.2</span><span class="co0"># df -h</span><br />
Filesystem &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Size &nbsp; &nbsp; &nbsp;Used Available Use<span class="sy0">%</span> Mounted on<br />
<span class="sy0">/</span>dev<span class="sy0">/</span>mtdblock2 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 32.0M &nbsp; &nbsp; 18.6M &nbsp; &nbsp; 13.4M &nbsp;<span class="nu0">58</span><span class="sy0">%</span> <span class="sy0">/</span><br />
none &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;125.0M &nbsp; &nbsp; &nbsp;8.0k &nbsp; &nbsp;125.0M &nbsp; <span class="nu0">0</span><span class="sy0">%</span> <span class="sy0">/</span>tmp<br />
<span class="sy0">/</span>dev<span class="sy0">/</span>sdd1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 944.6M &nbsp; &nbsp; 57.8M &nbsp; &nbsp;838.8M &nbsp; <span class="nu0">6</span><span class="sy0">%</span> <span class="sy0">/</span>tmp<span class="sy0">/</span>mnt_opt<br />
<span class="sy0">/</span>tmp<span class="sy0">/</span>.cemnt<span class="sy0">/</span>sda1 &nbsp; &nbsp; &nbsp; &nbsp;465.6G &nbsp; &nbsp;365.0G &nbsp; &nbsp;100.7G &nbsp;<span class="nu0">78</span><span class="sy0">%</span> <span class="sy0">/</span>tmp<span class="sy0">/</span>.cemnt<span class="sy0">/</span>mnt_sda1<br />
<span class="sy0">/</span>tmp<span class="sy0">/</span>.cemnt<span class="sy0">/</span>sdb1 &nbsp; &nbsp; &nbsp; &nbsp; 74.5G &nbsp; &nbsp; 53.5G &nbsp; &nbsp; 21.1G &nbsp;<span class="nu0">72</span><span class="sy0">%</span> <span class="sy0">/</span>tmp<span class="sy0">/</span>.cemnt<span class="sy0">/</span>mnt_sdb1<br />
<span class="sy0">/</span>tmp<span class="sy0">/</span>.cemnt<span class="sy0">/</span>sdc1 &nbsp; &nbsp; &nbsp; &nbsp;149.0G &nbsp; &nbsp; 75.3G &nbsp; &nbsp; 73.7G &nbsp;<span class="nu0">51</span><span class="sy0">%</span> <span class="sy0">/</span>tmp<span class="sy0">/</span>.cemnt<span class="sy0">/</span>mnt_sdc1<br />
<span class="sy0">/</span>tmp<span class="sy0">/</span>.cemnt<span class="sy0">/</span>sdd1 &nbsp; &nbsp; &nbsp; &nbsp;944.6M &nbsp; &nbsp; 57.8M &nbsp; &nbsp;838.8M &nbsp; <span class="nu0">6</span><span class="sy0">%</span> <span class="sy0">/</span>tmp<span class="sy0">/</span>.cemnt<span class="sy0">/</span>mnt_sdd1</div>
</div>
<p>As you can see above, we have four external USB drives mounted. <tt>/dev/sdd1</tt> is the external USB thumb drive that OpenPogo is installed on, and mounted to the /opt directory. <tt>sda1</tt>, <tt>sdb1</tt> and <tt>sdc1</tt> are all external USB drives with user data on them. Make a note of which disk is which, you should be able to tell by the disk size, or at least content.</p>
<p>Next we need to modify the samba configuration file. It should be located in <tt> /opt/etc/samba/smb.conf</tt>. Using a text editor such as <em>vi</em> or <em>nano</em>, edit this file and add the following text &#8212; this part is the global configuration:</p>
<div class="codesnip-container" >
<div class="ini codesnip" style="font-family:monospace;">#smb.conf begin<br />
# Global Parameters<br />
<span class="re0"><span class="br0">&#91;</span>global<span class="br0">&#93;</span></span><br />
<span class="re1">workgroup</span> <span class="sy0">=</span><span class="re2"> WORKGROUP</span><br />
netbios name <span class="sy0">=</span><span class="re2"> Samba</span><br />
log file <span class="sy0">=</span><span class="re2"> /opt/var/log/samba/log.%m</span><br />
null passwords <span class="sy0">=</span><span class="re2"> yes</span><br />
guest account <span class="sy0">=</span><span class="re2"> root</span><br />
<span class="re1">security</span> <span class="sy0">=</span><span class="re2"> share</span><br />
max log size <span class="sy0">=</span><span class="re2"> 50</span><br />
encrypt passwords <span class="sy0">=</span><span class="re2"> yes</span></div>
</div>
<p><strong>NOTE:</strong> If you&#8217;re connecting to these shares from a Windows machine, you may need to set <tt>encrypt passwords = no</tt> in the above example. I&#8217;ve seen mixed results for that.</p>
<p>Now, if you chose to define each drive as it&#8217;s own share, you could add something like this to the config file. The text within the [] brackets is the name of the share:</p>
<div class="codesnip-container" >
<div class="ini codesnip" style="font-family:monospace;"><span class="re0"><span class="br0">&#91;</span>disk1-mybook<span class="br0">&#93;</span></span><br />
<span class="re1">path</span> <span class="sy0">=</span><span class="re2"> /tmp/.cemnt/mnt_sda1/</span><br />
<span class="re1">browseable</span> <span class="sy0">=</span><span class="re2"> yes</span><br />
<span class="re1">available</span> <span class="sy0">=</span><span class="re2"> yes</span><br />
<span class="re1">public</span> <span class="sy0">=</span><span class="re2"> yes</span><br />
<span class="re1">writable</span> <span class="sy0">=</span><span class="re2"> yes</span><br />
<span class="re1">printable</span> <span class="sy0">=</span><span class="re2"> no</span><br />
create mask <span class="sy0">=</span><span class="re2"> 0777</span><br />
guest ok <span class="sy0">=</span><span class="re2"> yes</span><br />
<span class="re1">browseable</span> <span class="sy0">=</span><span class="re2"> yes</span></div>
</div>
<p>The <tt>path - /tmp/.cemnt/mnt_sda1/</tt> is the path to the first external drive. <strong>Keep in mind that this configuration has NO SECURITY other than that of your local area network. If you need per user security you will need to modify these directives.</strong></p>
<p>Now, your other option is to share out ALL external disks under on mapping. To do this, use this configuration:</p>
<div class="codesnip-container" >
<div class="ini codesnip" style="font-family:monospace;"><span class="re0"><span class="br0">&#91;</span>All-Drives<span class="br0">&#93;</span></span><br />
<span class="re1">comment</span> <span class="sy0">=</span><span class="re2"> Pogoplug USB disks</span><br />
<span class="re1">path</span> <span class="sy0">=</span><span class="re2"> /tmp/.cemnt</span><br />
<span class="re1">available</span> <span class="sy0">=</span><span class="re2"> yes</span><br />
<span class="re1">public</span> <span class="sy0">=</span><span class="re2"> yes</span><br />
<span class="re1">writable</span> <span class="sy0">=</span><span class="re2"> yes</span><br />
<span class="re1">printable</span> <span class="sy0">=</span><span class="re2"> no</span><br />
create mask <span class="sy0">=</span><span class="re2"> 0777</span><br />
guest ok <span class="sy0">=</span><span class="re2"> yes</span><br />
<span class="re1">browseable</span> <span class="sy0">=</span><span class="re2"> yes</span></div>
</div>
<p><strong>Keep in mind that this configuration has NO SECURITY other than that of your local area network. If you need per user security you will need to modify these directives.</strong></p>
<p>Anytime that the samba configuration file has been modified, you must restart the service for the changes to take effect. Do that with a restart command:</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">-bash-<span class="nu0">3.2</span><span class="co0"># /opt/etc/init.d/S80samba restart</span><br />
Stopping smbd:<br />
Stopping nmbd:<br />
Starting smbd:<br />
Starting nmbd:</div>
</div>
<p>Now that you&#8217;ve completed the configuration and restarted the service you should be able to connect to your pogoplug device directly, upload, download, delete and modify files. I must stress again that this is a very OPEN configuration for samba. If you require additional security for the shares (like on a corporate network) then you should really know more about samba configuration. If anyone wants to post some examples of securing the directories/disks using the accounts created in the beginning please do &#8212; I&#8217;m no samba expert.</p>
<p>Happy Networking!</p>
]]></content:encoded>
			<wfw:commentRss>http://diis.net/front/2010/09/05/installing-samba-on-your-pogoplug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New gadget: Pogoplug</title>
		<link>http://diis.net/front/2010/09/04/new-gadget-pogoplug/</link>
		<comments>http://diis.net/front/2010/09/04/new-gadget-pogoplug/#comments</comments>
		<pubDate>Sun, 05 Sep 2010 02:27:17 +0000</pubDate>
		<dc:creator>jgs</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://diis.net/front/?p=161</guid>
		<description><![CDATA[<p><a href="http://diis.net/front/wp-content/data/2010/09/Screen-shot-2010-09-04-at-10.07.45-PM.png"><img class="alignleft size-full wp-image-162" style="border: 1px solid black; margin: 10px;" title="Pogoplug (pink?!)" src="http://diis.net/front/wp-content/data/2010/09/Screen-shot-2010-09-04-at-10.07.45-PM.png" alt="" width="136" height="111" /></a>After reading some reviews on <a href="http://www.engadget.com/2010/08/18/pogoplug-wireless-adapter-enables-cord-free-access-comes-free-t/" target="_blank">Engadget</a> and <a href="http://gizmodo.com/5614376/pogoplug-usb-cloud-file-sharing-device-gets-a-wireless-option" target="_blank">Gizmodo</a> I broke down and purchased a <a href="http://www.pogoplug.com" target="_blank">PogoPlug</a> from <a href="http://www.buy.com/retail/usersearchresults.asp?querytype=home&#38;qu=pogoplug&#38;qxt=home&#38;display=col" target="_blank">buy.com</a> (they were on special for $47.99 at the time, $79 at the time of this writing).</p> <p>Pogoplug is an appliance that you can connect to your home network which runs a custom version of linux. The device has a gigabit ethernet port, three USB 2.0 ports on the back and one on the front. Basically, you plug your external USB hard-drives into this thing and it makes your files available to you no matter where you roam.</p> <p>Best part (for home users) is that there are no firewall rules that need to be put on your home router or custom firewall. The device heartbeats out to their servers in the cloud and make the whole thing possible without a lick of configuration being required. Caveat: UDP has to be unfiltered outbound for this to work, so &#8220;real&#8221; firewalls may have to have allow statements put in them.</p> <p>So, with your purchase of the hardware, you get lifetime support and access to your personal &#8220;storage in the cloud&#8221;. This can be accomplished remotely (or locally) via the web client or samba/windows shares. You also have the option to share files and folders with the world, individual users, etc. There&#8217;s even a client that runs on the Mac, PC and iPhone to access files directly and see them as locally mounted drives. If you happen to be on the same network your connections go directly to the device and not through the Pogoplug servers.</p> <p>From my iPhone, I&#8217;ve been able to stream movies over WiFI and 3G with great quality. The Pogoplug device will convert audio and video files on the fly to allow streaming to the iPhone/iPod/iPad/PC/Mac, etc. Sweet little deal, if you happen to have a bunch of movies or music on your external drive(s).</p> <p>Through the use of <a href="http://www.plugapps.com/index.php5?title=Main_Page" target="_blank">OpenPogo</a> you can even install custom software on the appliance like samba, squid, bittorrent, a webserver, etc! Since this little guy runs on linux, the possibilities are endless really.</p> <p>Been using this for a couple of weeks now, and I&#8217;m really impressed. The company announced <a href="http://www.engadget.com/2010/08/31/pogoplug-adds-wireless-printing-wireless-adapter-and-biz-start/" target="_blank">just a few days ago</a> that a new firmware update .....  Continue reading <a href="http://diis.net/front/2010/09/04/new-gadget-pogoplug/">New gadget: Pogoplug</a>]]></description>
				<content:encoded><![CDATA[<p><a href="http://diis.net/front/wp-content/data/2010/09/Screen-shot-2010-09-04-at-10.07.45-PM.png"><img class="alignleft size-full wp-image-162" style="border: 1px solid black; margin: 10px;" title="Pogoplug (pink?!)" src="http://diis.net/front/wp-content/data/2010/09/Screen-shot-2010-09-04-at-10.07.45-PM.png" alt="" width="136" height="111" /></a>After reading some reviews on <a href="http://www.engadget.com/2010/08/18/pogoplug-wireless-adapter-enables-cord-free-access-comes-free-t/" target="_blank">Engadget</a> and <a href="http://gizmodo.com/5614376/pogoplug-usb-cloud-file-sharing-device-gets-a-wireless-option" target="_blank">Gizmodo</a> I broke down and purchased a <a href="http://www.pogoplug.com" target="_blank">PogoPlug</a> from <a href="http://www.buy.com/retail/usersearchresults.asp?querytype=home&amp;qu=pogoplug&amp;qxt=home&amp;display=col" target="_blank">buy.com</a> (they were on special for $47.99 at the time, $79 at the time of this writing).</p>
<p>Pogoplug is an appliance that you can connect to your home network which runs a custom version of linux. The device has a gigabit ethernet port, three USB 2.0 ports on the back and one on the front. Basically, you plug your external USB hard-drives into this thing and it makes your files available to you no matter where you roam.</p>
<p>Best part (for home users) is that there are no firewall rules that need to be put on your home router or custom firewall. The device heartbeats out to their servers in the cloud and make the whole thing possible without a lick of configuration being required. Caveat: UDP has to be unfiltered outbound for this to work, so &#8220;real&#8221; firewalls may have to have allow statements put in them.</p>
<p>So, with your purchase of the hardware, you get lifetime support and access to your personal &#8220;storage in the cloud&#8221;. This can be accomplished remotely (or locally) via the web client or samba/windows shares. You also have the option to share files and folders with the world, individual users, etc. There&#8217;s even a client that runs on the Mac, PC and iPhone to access files directly and see them as locally mounted drives. If you happen to be on the same network your connections go directly to the device and not through the Pogoplug servers.</p>
<p>From my iPhone, I&#8217;ve been able to stream movies over WiFI and 3G with great quality. The Pogoplug device will convert audio and video files on the fly to allow streaming to the iPhone/iPod/iPad/PC/Mac, etc. Sweet little deal, if you happen to have a bunch of movies or music on your external drive(s).</p>
<p>Through the use of <a href="http://www.plugapps.com/index.php5?title=Main_Page" target="_blank">OpenPogo</a> you can even install custom software on the appliance like samba, squid, bittorrent, a webserver, etc! Since this little guy runs on linux, the possibilities are endless really.</p>
<p>Been using this for a couple of weeks now, and I&#8217;m really impressed. The company announced <a href="http://www.engadget.com/2010/08/31/pogoplug-adds-wireless-printing-wireless-adapter-and-biz-start/" target="_blank">just a few days ago</a> that a new firmware update would allow for printing through the device, and is being rolled out now to customers. This thing is becoming very versatile!</p>
<p>More later.</p>
]]></content:encoded>
			<wfw:commentRss>http://diis.net/front/2010/09/04/new-gadget-pogoplug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>And Netflix/iPhone arrives!</title>
		<link>http://diis.net/front/2010/08/27/and-netflixiphone-arrives/</link>
		<comments>http://diis.net/front/2010/08/27/and-netflixiphone-arrives/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 20:34:55 +0000</pubDate>
		<dc:creator>jgs</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://diis.net/front/?p=149</guid>
		<description><![CDATA[<p><a href="http://diis.net/front/wp-content/data/2010/08/netflix-iphone.png"><img class="alignright size-full wp-image-152" style="margin: 10px; border: 1px solid black;" title="netflix-iphone" alt="" src="http://diis.net/front/wp-content/data/2010/08/netflix-iphone.png" width="192" height="288" /></a>Just yesterday Netflix released their much awaited iPhone app (or I should say, Apple approved and published their app to the iTunes store). So far I&#8217;m pretty impressed with it.</p> <p>The application allows you to obviously browse your instant queue, watch whatever you like and resume where you left off should you change directions on them. One thing I was surprised to see when I first logged into the application was that I was using all six of my licenses. Very much akin to the iTunes &#8220;authorized computers&#8221; schema. I was directed to their website where I had the option to kill devices, some of which I had not streamed on in quite some time. The message on that screen said that devices can be added and removed pretty much at will, so no big deal there.</p> <p>So, back to the app. The video quality is very good, comparable to a downloaded movie from the store (or one you ripped). WiFI was very fast obviously, but 3G wasn&#8217;t really too far behind it, took a few moments to load and buffer, but solid after that.</p> <p>I&#8217;m really glad I stuck with my grandfathered unlimited data plan with AT&#38;T, I could see how getting an application like this approved would benefit them greatly financially as users on a limited data plan burn through their megabytes and gigabytes without a second thought. Careful out there, oh limited bandwidth users. Everyone else, burn it up! Cheers.</p> ]]></description>
				<content:encoded><![CDATA[<p><a href="http://diis.net/front/wp-content/data/2010/08/netflix-iphone.png"><img class="alignright size-full wp-image-152" style="margin: 10px; border: 1px solid black;" title="netflix-iphone" alt="" src="http://diis.net/front/wp-content/data/2010/08/netflix-iphone.png" width="192" height="288" /></a>Just yesterday Netflix released their much awaited iPhone app (or I should say, Apple approved and published their app to the iTunes store). So far I&#8217;m pretty impressed with it.</p>
<p>The application allows you to obviously browse your instant queue, watch whatever you like and resume where you left off should you change directions on them. One thing I was surprised to see when I first logged into the application was that I was using all six of my licenses. Very much akin to the iTunes &#8220;authorized computers&#8221; schema. I was directed to their website where I had the option to kill devices, some of which I had not streamed on in quite some time. The message on that screen said that devices can be added and removed pretty much at will, so no big deal there.</p>
<p>So, back to the app. The video quality is very good, comparable to a downloaded movie from the store (or one you ripped). WiFI was very fast obviously, but 3G wasn&#8217;t really too far behind it, took a few moments to load and buffer, but solid after that.</p>
<p>I&#8217;m really glad I stuck with my grandfathered unlimited data plan with AT&amp;T, I could see how getting an application like this approved would benefit them greatly financially as users on a limited data plan burn through their megabytes and gigabytes without a second thought. Careful out there, oh limited bandwidth users. Everyone else, burn it up! Cheers.</p>
]]></content:encoded>
			<wfw:commentRss>http://diis.net/front/2010/08/27/and-netflixiphone-arrives/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
