
<?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>Thu, 01 Sep 2011 22:43:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<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 to sercvice.pogoplug.com which </pre></code></blockquote></code></div></div>
<p>.....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></p>]]></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.</p>
<p>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>What you&#8217;ll need to know from the installation</p>

The location of the munin logfiles. You can set this in the munin.conf 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$ /usr/sbin/munin-node-configure &#8211;suggest</p>
<p>Plugin &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#124; Used &#124; Suggestions
&#8212;&#8212; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#124; &#8212;- &#160; &#124; &#8212;&#8212;&#8212;&#8211;
acpi &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#124; yes &#160;&#124; yes
amavis &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#124; no &#160; &#124; no
apache_accesses &#160; &#160; &#160; &#160; &#160; &#160;&#124; yes &#160;&#124; yes
apache_processes &#160; &#160; &#160; &#160; &#160; &#124; yes &#160;&#124; yes
apache_volume &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#124; yes &#160;&#124; yes
apc_envunit_ &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#124; no &#160; &#124; no &#91;no units to monitor&#93;
bonding_err_ &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#124; no </pre></code></blockquote></code></div></div>
<p>.....Continue reading <a href="http://diis.net/front/2010/12/31/munin-plugins-and-system-configuration/">Munin plugins and system configuration..</a></p>]]></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.</p>
<p>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 should be able to execute this command to kick it off:</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">-bash-3.2# &#160;ipkg install samba2</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-3.2# &#160;cd /root
-bash-3.2# mount -o rw,remount /
-bash-3.2# ipkg download samba2
-bash-3.2# ipkg install samba2_2.2.12-2_arm.ipk</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-3.2# /opt/etc/init.d/S80samba start</div>
</div>
<p>After which you can verify that the server is running by checking the output of netstat</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">-bash-3.2# netstat -an &#124; grep &#34;:13[7-9]&#34;
tcp &#160; &#160; &#160; &#160;0 &#160; &#160; &#160;0 0.0.0.0:139 &#160; &#160; &#160; </pre></code></blockquote></code></div></div>
<p>.....Continue reading <a href="http://diis.net/front/2010/09/05/installing-samba-on-your-pogoplug/">Installing Samba on your pogoplug</a></p>]]></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 would allow for printing through the </pre></code></blockquote></code></div></div>
<p>.....Continue reading <a href="http://diis.net/front/2010/09/04/new-gadget-pogoplug/">New gadget: Pogoplug</a></p>]]></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" src="http://diis.net/front/wp-content/data/2010/08/netflix-iphone.png" alt="" 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" src="http://diis.net/front/wp-content/data/2010/08/netflix-iphone.png" alt="" 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>
		<item>
		<title>Uh, isn’t summer almost over? What’s the deal Netflix?</title>
		<link>http://diis.net/front/2010/08/15/uh-isnt-summer-almost-over-whats-the-deal-netflix/</link>
		<comments>http://diis.net/front/2010/08/15/uh-isnt-summer-almost-over-whats-the-deal-netflix/#comments</comments>
		<pubDate>Sun, 15 Aug 2010 04:36:23 +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=114</guid>
		<description><![CDATA[<p>Back in June, movie rental giant Netflix <a href="http://blog.netflix.com/2010/06/netflix-on-iphone-coming-this-summer.html">promised an iPhone app this summer</a>. So far, no app, no word. So, what&#8217;s the deal, summer is certainly coming to an end, and very soon. Apparently, in addition to not monitoring their <a href="http://blog.netflix.com/">official blog</a> for spam, they&#8217;re also not commenting on the status of their iPhone app. Is it coming, or isn&#8217;t it? </p>
]]></description>
			<content:encoded><![CDATA[<p>Back in June, movie rental giant Netflix <a href="http://blog.netflix.com/2010/06/netflix-on-iphone-coming-this-summer.html">promised an iPhone app this summer</a>. So far, no app, no word. So, what&#8217;s the deal, summer is certainly coming to an end, and very soon. Apparently, in addition to not monitoring their <a href="http://blog.netflix.com/"><em>official blog</em></a> for spam, they&#8217;re also not commenting on the status of their iPhone app. Is it coming, or isn&#8217;t it? </p>
]]></content:encoded>
			<wfw:commentRss>http://diis.net/front/2010/08/15/uh-isnt-summer-almost-over-whats-the-deal-netflix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fun with geek tool</title>
		<link>http://diis.net/front/2010/08/06/fun-with-geek-tool/</link>
		<comments>http://diis.net/front/2010/08/06/fun-with-geek-tool/#comments</comments>
		<pubDate>Sat, 07 Aug 2010 00:13:23 +0000</pubDate>
		<dc:creator>jgs</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://diis.net/front/?p=93</guid>
		<description><![CDATA[<p>Thanks again to LifeHacker, I&#8217;ve been playing around with <a href="http://projects.tynsoe.org/en/geektool/" target="_self">Geek Tool</a>. It&#8217;s a tool for OS X that can do a bunch of things, <a href="http://diis.net/front/wp-content/data/2010/08/Screen-shot-2010-08-06-at-7.51.10-PM.png"><img class="size-full wp-image-95 alignleft" style="border: 1px solid black; margin: 10px;" title="Screen shot 2010-08-06 at 7.51.10 PM" src="http://diis.net/front/wp-content/data/2010/08/Screen-shot-2010-08-06-at-7.51.10-PM.png" alt="" width="258" height="176" /></a>I&#8217;m using it to create some desktop widget type things. I got the code to display the current weather conditions from<a href="http://lifehacker.com/5168857/put-current-weather-conditions-on-your-desktop-with-geektool"> this post</a> and decided to play around with adding some additional code.</p>
<p>So after mucking around with the graphical interface and figuring a few things out (which really isn&#8217;t difficult to do) I came up with a little routine that checks latency to the inside interface on my firewall. It&#8217;s really nothing special but I kind of like seeing it up there.</p>
<p>You can paste this into the command window in Geek Tool or put it in a file and call it as a shell script. <a href="http://diis.net/code/geektool-firewall.txt">Here&#8217;s the code</a> (replace YOURIP with your real IP address obviously). You may need to modify the script slightly if your ping output isn&#8217;t the same as what I&#8217;m using.</p>
<div class="codesnip-container" >
<div class="php codesnip" style="font-family:monospace;">ping -c 1 YOURIP &#124; grep -i icmp_seq &#124; sed -e &#8216;s/64 bytes from YOURIP: icmp_seq=0 ttl=64 time=/Wireless lag: /&#8217;</div>
</div>
<p>I set the refresh rate for 60 seconds and have the status feedback image enabled, if the little green bubble turns red then it&#8217;s skipped a beat. I found a bunch of other really useful posts about scripting too, here&#8217;s a couple to get you started if you&#8217;re interested:</p>

<a href="http://www.macthemes.net/forum/viewtopic.php?id=16793954">http://www.macthemes.net/forum/viewtopic.php?id=16793954</a>
<a href="http://www.maclife.com/article/howtos/customize_your_desktop_geektool">http://www.maclife.com/article/howtos/customize_your_desktop_geektool</a>
<a href="http://www.cattail.nu/mac/geektool/">http://www.cattail.nu/mac/geektool/</a>
<a href="http://blogof.francescomugnai.com/2009/04/mega-roundup-of-geektool-scripts-inspiration-gallery/">http://blogof.francescomugnai.com/2009/04/mega-roundup-of-geektool-scripts-inspiration-gallery/</a>
<a href="http://appmagezine.com/?p=8025">http://appmagezine.com/?p=8025</a>

]]></description>
			<content:encoded><![CDATA[<p>Thanks again to LifeHacker, I&#8217;ve been playing around with <a href="http://projects.tynsoe.org/en/geektool/" target="_self">Geek Tool</a>. It&#8217;s a tool for OS X that can do a bunch of things, <a href="http://diis.net/front/wp-content/data/2010/08/Screen-shot-2010-08-06-at-7.51.10-PM.png"><img class="size-full wp-image-95 alignleft" style="border: 1px solid black; margin: 10px;" title="Screen shot 2010-08-06 at 7.51.10 PM" src="http://diis.net/front/wp-content/data/2010/08/Screen-shot-2010-08-06-at-7.51.10-PM.png" alt="" width="258" height="176" /></a>I&#8217;m using it to create some desktop widget type things. I got the code to display the current weather conditions from<a href="http://lifehacker.com/5168857/put-current-weather-conditions-on-your-desktop-with-geektool"> this post</a> and decided to play around with adding some additional code.</p>
<p>So after mucking around with the graphical interface and figuring a few things out (which really isn&#8217;t difficult to do) I came up with a little routine that checks latency to the inside interface on my firewall. It&#8217;s really nothing special but I kind of like seeing it up there.</p>
<p>You can paste this into the command window in Geek Tool or put it in a file and call it as a shell script. <a href="http://diis.net/code/geektool-firewall.txt">Here&#8217;s the code</a> (replace YOURIP with your real IP address obviously). You may need to modify the script slightly if your ping output isn&#8217;t the same as what I&#8217;m using.</p>
<div class="codesnip-container" >
<div class="php codesnip" style="font-family:monospace;">ping <span class="sy0">-</span>c 1 YOURIP <span class="sy0">|</span> grep <span class="sy0">-</span>i icmp_seq <span class="sy0">|</span> sed <span class="sy0">-</span>e <span class="st_h">&#8216;s/64 bytes from YOURIP: icmp_seq=0 ttl=64 time=/Wireless lag: /&#8217;</span></div>
</div>
<p>I set the refresh rate for 60 seconds and have the status feedback image enabled, if the little green bubble turns red then it&#8217;s skipped a beat. I found a bunch of other really useful posts about scripting too, here&#8217;s a couple to get you started if you&#8217;re interested:</p>
<ul>
<li><a href="http://www.macthemes.net/forum/viewtopic.php?id=16793954">http://www.macthemes.net/forum/viewtopic.php?id=16793954</a></li>
<li><a href="http://www.maclife.com/article/howtos/customize_your_desktop_geektool">http://www.maclife.com/article/howtos/customize_your_desktop_geektool</a></li>
<li><a href="http://www.cattail.nu/mac/geektool/">http://www.cattail.nu/mac/geektool/</a></li>
<li><a href="http://blogof.francescomugnai.com/2009/04/mega-roundup-of-geektool-scripts-inspiration-gallery/">http://blogof.francescomugnai.com/2009/04/mega-roundup-of-geektool-scripts-inspiration-gallery/</a></li>
<li><a href="http://appmagezine.com/?p=8025">http://appmagezine.com/?p=8025</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://diis.net/front/2010/08/06/fun-with-geek-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DIY Network Controlled AC</title>
		<link>http://diis.net/front/2010/08/04/diy-network-controlled-ac/</link>
		<comments>http://diis.net/front/2010/08/04/diy-network-controlled-ac/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 00:12:40 +0000</pubDate>
		<dc:creator>jgs</dc:creator>
				<category><![CDATA[DIY]]></category>

		<guid isPermaLink="false">http://diis.net/front/?p=88</guid>
		<description><![CDATA[<p>Found this today on <a href="http://lifehacker.com/5604571/automate-and-control-your-air-conditioner-with-your-home-network" target="_blank">LifeHacker</a>, it&#8217;s a do-it-yourself job that <a href="http://stuff.r-type.ca/networkac/">this fella</a> cooked up to control the air conditioning unit over his home network.  If you&#8217;re handy with electronics and computers, just wire in a logic board (or in this case a network addressable snmp aware relay board) connect it up and you&#8217;re hauling the mail. Well, after a little work.</p>
<p>Sure does look like it&#8217;d be a lot of fun to build, but not at the cost that board is going for. I&#8217;m sure one could find something similar at a cheaper price. Worth checking out though.</p>
]]></description>
			<content:encoded><![CDATA[<p>Found this today on <a href="http://lifehacker.com/5604571/automate-and-control-your-air-conditioner-with-your-home-network" target="_blank">LifeHacker</a>, it&#8217;s a do-it-yourself job that <a href="http://stuff.r-type.ca/networkac/">this fella</a> cooked up to control the air conditioning unit over his home network.  If you&#8217;re handy with electronics and computers, just wire in a logic board (or in this case a network addressable snmp aware relay board) connect it up and you&#8217;re hauling the mail. Well, after a little work.</p>
<p>Sure does look like it&#8217;d be a lot of fun to build, but not at the cost that board is going for. I&#8217;m sure one could find something similar at a cheaper price. Worth checking out though.</p>
]]></content:encoded>
			<wfw:commentRss>http://diis.net/front/2010/08/04/diy-network-controlled-ac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Evaluating personal VPN solutions</title>
		<link>http://diis.net/front/2010/06/20/evaluating-personal-vpn-solutions/</link>
		<comments>http://diis.net/front/2010/06/20/evaluating-personal-vpn-solutions/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 23:41:21 +0000</pubDate>
		<dc:creator>jgs</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[VPN]]></category>

		<guid isPermaLink="false">http://diis.net/front/?p=81</guid>
		<description><![CDATA[<p>I&#8217;ve been doing a lot of reading online, trying to find which personal VPN service would be best for me to use. The concept of using a non-work VPN is a little foreign to me, but now that I&#8217;m finding myself connecting more and more to the internet away from home and through public wifi access points (or wireless at work) I though it might be high time to invest in a little security.</p>
<p>Right now I&#8217;m evaluating (and by evaluating I mean I paid for a month of access) VPN services by the folks over at <a href="http://hidemyass.com/vpn/" target="_blank">HideMyAss</a>. Now, for the record, I hate the name and think they should call their professional VPN services by another name, but I guess what really matters is how the service functions.</p>
<p>So, for about $12/month (less if you pay for a longer subscription) you get to choose from 28 different VPN endpoints in nine different countries. Pretty handy I suppose if you&#8217;re in the UK and wanted to watch video that is restricted by region to the US. Not what I need it for, but the functionality exists.</p>
<p>I&#8217;m a Mac user and installation was really easy, even though I&#8217;m running an older operating system (10.4.11). They  have a client you can use that autoconfigures, or you can use PPTP VPN tunneling built into the OS and be up and running in minutes.</p>
<p>So far, so good. Speeds are really good. I can&#8217;t really see any notable difference in my connection speed while connected or disconnected. I&#8217;ll continue to play with it for a while, but will still be looking around for more options.</p>
<p>So, what say you, got some experiences or reviews you&#8217;d like to share? Jump in and leave a comment..</p>
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been doing a lot of reading online, trying to find which personal VPN service would be best for me to use. The concept of using a non-work VPN is a little foreign to me, but now that I&#8217;m finding myself connecting more and more to the internet away from home and through public wifi access points (or wireless at work) I though it might be high time to invest in a little security.</p>
<p>Right now I&#8217;m evaluating (and by evaluating I mean I paid for a month of access) VPN services by the folks over at <a href="http://hidemyass.com/vpn/" target="_blank">HideMyAss</a>. Now, for the record, I hate the name and think they should call their professional VPN services by another name, but I guess what really matters is how the service functions.</p>
<p>So, for about $12/month (less if you pay for a longer subscription) you get to choose from 28 different VPN endpoints in nine different countries. Pretty handy I suppose if you&#8217;re in the UK and wanted to watch video that is restricted by region to the US. Not what I need it for, but the functionality exists.</p>
<p>I&#8217;m a Mac user and installation was really easy, even though I&#8217;m running an older operating system (10.4.11). They  have a client you can use that autoconfigures, or you can use PPTP VPN tunneling built into the OS and be up and running in minutes.</p>
<p>So far, so good. Speeds are really good. I can&#8217;t really see any notable difference in my connection speed while connected or disconnected. I&#8217;ll continue to play with it for a while, but will still be looking around for more options.</p>
<p>So, what say you, got some experiences or reviews you&#8217;d like to share? Jump in and leave a comment..</p>
]]></content:encoded>
			<wfw:commentRss>http://diis.net/front/2010/06/20/evaluating-personal-vpn-solutions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Radio feed issues fixed</title>
		<link>http://diis.net/front/2010/04/24/radio-feed-issues-fixed/</link>
		<comments>http://diis.net/front/2010/04/24/radio-feed-issues-fixed/#comments</comments>
		<pubDate>Sat, 24 Apr 2010 10:58:24 +0000</pubDate>
		<dc:creator>jgs</dc:creator>
				<category><![CDATA[radio/scanner]]></category>

		<guid isPermaLink="false">http://diis.net/front/?p=15</guid>
		<description><![CDATA[<p>For those of you not aware, we&#8217;re providing <a title="RadioReference.com link" href="http://www.radioreference.com">RadioReference</a> with audio feeds of both the <a title="Hampton Police Division Live Radio Feed" href="http://www.radioreference.com/apps/audio/?feedId=3905" target="_blank">Hampton Police Division</a> and <a title="Newport News Police Department Live Radio Feed" href="http://www.radioreference.com/apps/audio/?feedId=3957">Newport News Police department</a> broadcasts. If you&#8217;re interested, see the links on the right side of the page.</p>
<p>The machine streaming the audio got in a funky state and started handing of some very choppy and unreliable audio and needed a swift kick, which it got. Things are back up and running now, hopefully for a while.</p>
<p>Update:  The Hampton Police Division feed is no longer being provided to Radio Reference or being carried by this site.  The City of Hampton had decided to take advantage of P25 encryption on all police talkgroups (no longer just tactical channels) which unfortunately can&#8217;t legally (or otherwise) be decoded.</p>
]]></description>
			<content:encoded><![CDATA[<p>For those of you not aware, we&#8217;re providing <a title="RadioReference.com link" href="http://www.radioreference.com">RadioReference</a> with audio feeds of both the <a title="Hampton Police Division Live Radio Feed" href="http://www.radioreference.com/apps/audio/?feedId=3905" target="_blank">Hampton Police Division</a> and <a title="Newport News Police Department Live Radio Feed" href="http://www.radioreference.com/apps/audio/?feedId=3957">Newport News Police department</a> broadcasts. If you&#8217;re interested, see the links on the right side of the page.</p>
<p>The machine streaming the audio got in a funky state and started handing of some very choppy and unreliable audio and needed a swift kick, which it got. Things are back up and running now, hopefully for a while.</p>
<p><strong>Update</strong>:  The Hampton Police Division feed is no longer being provided to Radio Reference or being carried by this site.  The City of Hampton had decided to take advantage of P25 encryption on all police talkgroups (no longer just tactical channels) which unfortunately can&#8217;t legally (or otherwise) be decoded.</p>
]]></content:encoded>
			<wfw:commentRss>http://diis.net/front/2010/04/24/radio-feed-issues-fixed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

