<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Grace Abundant</title>
	<atom:link href="http://blog.graceabundant.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.graceabundant.com</link>
	<description>Computers, hiking &#38; nature, and randomness</description>
	<lastBuildDate>Wed, 22 May 2013 16:21:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>Comment on Bukit Kutu by peter</title>
		<link>http://blog.graceabundant.com/2012/08/07/bukit-kutu/comment-page-1/#comment-74198</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Wed, 22 May 2013 16:21:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.graceabundant.com/?p=708#comment-74198</guid>
		<description><![CDATA[THANK YOU FOR POSTING THE STARTING COORDINATES!! I HAVE BEEN LOOKING SO HARD!]]></description>
		<content:encoded><![CDATA[<p>THANK YOU FOR POSTING THE STARTING COORDINATES!! I HAVE BEEN LOOKING SO HARD!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automatic Shutdown/Wake Up on FreeNAS by sandreas</title>
		<link>http://blog.graceabundant.com/2012/08/24/automatic-shutdownwake-up-on-freenas/comment-page-1/#comment-74010</link>
		<dc:creator>sandreas</dc:creator>
		<pubDate>Fri, 17 May 2013 11:41:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.graceabundant.com/?p=760#comment-74010</guid>
		<description><![CDATA[Oh, i forgot, current news on http://www.bsdforen.de/showpost.php?p=251495&amp;postcount=13]]></description>
		<content:encoded><![CDATA[<p>Oh, i forgot, current news on <a href="http://www.bsdforen.de/showpost.php?p=251495&#038;postcount=13"   rel="nofollow">http://www.bsdforen.de/showpost.php?p=251495&#038;postcount=13</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automatic Shutdown/Wake Up on FreeNAS by sandreas</title>
		<link>http://blog.graceabundant.com/2012/08/24/automatic-shutdownwake-up-on-freenas/comment-page-1/#comment-74008</link>
		<dc:creator>sandreas</dc:creator>
		<pubDate>Fri, 17 May 2013 11:33:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.graceabundant.com/?p=760#comment-74008</guid>
		<description><![CDATA[I recently wrote an autoshutdown daemon in python, which is a bit more sophisticated. It checks for SSH / Console activity, filesystem activity and mapped shares. Advantages:

- Does not shut down if a local sync via ssh is performed
- Shuts down if no share is mapped or used and no other activity is detected

Link: http://fynder.de/autoshutdown.txt

Install:
- Open SSH connection, type
mount -uw /  # mount / rw
wget -c http://fynder.de/autoshutdown.txt -O /usr/local/sbin/autoshutdown.py
chmod +x /usr/local/sbin/autoshutdown.py

To run at startup an /conf/base/etc/rc.local must exist:

#!/bin/sh
/usr/local/sbin/autoshutdown.py start

Don&#039;t forget:
chmod +x /conf/base/etc/rc.local

Daemon should work after reboot, test it with:
cat /tmp/autoshutdown.pid


Feedback is welcome]]></description>
		<content:encoded><![CDATA[<p>I recently wrote an autoshutdown daemon in python, which is a bit more sophisticated. It checks for SSH / Console activity, filesystem activity and mapped shares. Advantages:</p>
<p>- Does not shut down if a local sync via ssh is performed<br />
- Shuts down if no share is mapped or used and no other activity is detected</p>
<p>Link: <a href="http://fynder.de/autoshutdown.txt"   rel="nofollow">http://fynder.de/autoshutdown.txt</a></p>
<p>Install:<br />
- Open SSH connection, type<br />
mount -uw /  # mount / rw<br />
wget -c <a href="http://fynder.de/autoshutdown.txt"   rel="nofollow">http://fynder.de/autoshutdown.txt</a> -O /usr/local/sbin/autoshutdown.py<br />
chmod +x /usr/local/sbin/autoshutdown.py</p>
<p>To run at startup an /conf/base/etc/rc.local must exist:</p>
<p>#!/bin/sh<br />
/usr/local/sbin/autoshutdown.py start</p>
<p>Don't forget:<br />
chmod +x /conf/base/etc/rc.local</p>
<p>Daemon should work after reboot, test it with:<br />
cat /tmp/autoshutdown.pid</p>
<p>Feedback is welcome</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automatic Shutdown/Wake Up on FreeNAS by Doug</title>
		<link>http://blog.graceabundant.com/2012/08/24/automatic-shutdownwake-up-on-freenas/comment-page-1/#comment-73822</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Sat, 11 May 2013 17:57:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.graceabundant.com/?p=760#comment-73822</guid>
		<description><![CDATA[Denis,

  Thanks so much for your posting of the shell script.  Worked perfect!

  Also, thanks for this article.  I am using this to shutdown my FreeNAS8 after my VMware Server finishes shutting down after power outage.  Obviously, both my VMServer and FreeNAS are plugged into the same CyberPower UPS.  I have tested this process out like 50 times now and it&#039;s never failed.  Great peace of mind!

  Thanks again to all!

Doug]]></description>
		<content:encoded><![CDATA[<p>Denis,</p>
<p>  Thanks so much for your posting of the shell script.  Worked perfect!</p>
<p>  Also, thanks for this article.  I am using this to shutdown my FreeNAS8 after my VMware Server finishes shutting down after power outage.  Obviously, both my VMServer and FreeNAS are plugged into the same CyberPower UPS.  I have tested this process out like 50 times now and it's never failed.  Great peace of mind!</p>
<p>  Thanks again to all!</p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Gunung Bunga Buah by mart lim</title>
		<link>http://blog.graceabundant.com/2012/09/04/gunung-bunga-buah/comment-page-1/#comment-73560</link>
		<dc:creator>mart lim</dc:creator>
		<pubDate>Tue, 30 Apr 2013 05:46:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.graceabundant.com/?p=804#comment-73560</guid>
		<description><![CDATA[i found it really hard being a novice aged 50 plus with neck bone problem and knees arthiritis . I climbed alone in april 2013 &amp; took 7 hours for the whole return trip .]]></description>
		<content:encoded><![CDATA[<p>i found it really hard being a novice aged 50 plus with neck bone problem and knees arthiritis . I climbed alone in april 2013 &amp; took 7 hours for the whole return trip .</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Gunung Bunga Buah by mart lim</title>
		<link>http://blog.graceabundant.com/2012/09/04/gunung-bunga-buah/comment-page-1/#comment-73559</link>
		<dc:creator>mart lim</dc:creator>
		<pubDate>Tue, 30 Apr 2013 05:44:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.graceabundant.com/?p=804#comment-73559</guid>
		<description><![CDATA[i found it really hard being a novice aged 50 plus with neck bone problem and knees arthiritis . I climbed alone in april 2013 &amp; took 7 hours for the whole return trip . Comments pls .]]></description>
		<content:encoded><![CDATA[<p>i found it really hard being a novice aged 50 plus with neck bone problem and knees arthiritis . I climbed alone in april 2013 &amp; took 7 hours for the whole return trip . Comments pls .</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mac OSX Lion not sleeping by James</title>
		<link>http://blog.graceabundant.com/2011/08/29/mac-osx-lion-not-sleeping/comment-page-1/#comment-73068</link>
		<dc:creator>James</dc:creator>
		<pubDate>Fri, 12 Apr 2013 03:27:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.graceabundant.com/?p=530#comment-73068</guid>
		<description><![CDATA[THANKS!!!

My iMac hasn&#039;t slept better in months!!!]]></description>
		<content:encoded><![CDATA[<p>THANKS!!!</p>
<p>My iMac hasn't slept better in months!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mac OSX Lion not sleeping by Torben</title>
		<link>http://blog.graceabundant.com/2011/08/29/mac-osx-lion-not-sleeping/comment-page-1/#comment-71938</link>
		<dc:creator>Torben</dc:creator>
		<pubDate>Mon, 25 Feb 2013 16:29:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.graceabundant.com/?p=530#comment-71938</guid>
		<description><![CDATA[Just in case the system still doesn&#039;t sleep easily, you can also consider Narcolepsy 2.0:
http://blog.schreiter.info/narcolepsy-2-0-for-mac-os-x/

Cheers,
Torben]]></description>
		<content:encoded><![CDATA[<p>Just in case the system still doesn't sleep easily, you can also consider Narcolepsy 2.0:<br />
<a href="http://blog.schreiter.info/narcolepsy-2-0-for-mac-os-x/"   rel="nofollow">http://blog.schreiter.info/narcolepsy-2-0-for-mac-os-x/</a></p>
<p>Cheers,<br />
Torben</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automatic Shutdown/Wake Up on FreeNAS by Josh</title>
		<link>http://blog.graceabundant.com/2012/08/24/automatic-shutdownwake-up-on-freenas/comment-page-1/#comment-71858</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Thu, 21 Feb 2013 06:55:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.graceabundant.com/?p=760#comment-71858</guid>
		<description><![CDATA[What about something like this:
Setup up a low power device (hacked pogoplug?) with a linux variation.  This box intercepts/listens to requests on the network to access the Freenas.  If there is a request, a WOL packet is sent to the server?  I&#039;m a bit of a do-it-yourselfer and this is the route that I&#039;m looking at.  I think this would be a more universal aproach to the problem.  E.g. it would solve the problem of say, an android device wants to access a music/movie file on the nas without having to root the device and setup some kind of script.

Your thoughts?]]></description>
		<content:encoded><![CDATA[<p>What about something like this:<br />
Setup up a low power device (hacked pogoplug?) with a linux variation.  This box intercepts/listens to requests on the network to access the Freenas.  If there is a request, a WOL packet is sent to the server?  I'm a bit of a do-it-yourselfer and this is the route that I'm looking at.  I think this would be a more universal aproach to the problem.  E.g. it would solve the problem of say, an android device wants to access a music/movie file on the nas without having to root the device and setup some kind of script.</p>
<p>Your thoughts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automatic Shutdown/Wake Up on FreeNAS by Denis</title>
		<link>http://blog.graceabundant.com/2012/08/24/automatic-shutdownwake-up-on-freenas/comment-page-1/#comment-71469</link>
		<dc:creator>Denis</dc:creator>
		<pubDate>Tue, 05 Feb 2013 20:43:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.graceabundant.com/?p=760#comment-71469</guid>
		<description><![CDATA[also save the above script as say shutdown.sh

and save it on your nas 

though some one would like this one also..

Denis]]></description>
		<content:encoded><![CDATA[<p>also save the above script as say shutdown.sh</p>
<p>and save it on your nas </p>
<p>though some one would like this one also..</p>
<p>Denis</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automatic Shutdown/Wake Up on FreeNAS by Denis</title>
		<link>http://blog.graceabundant.com/2012/08/24/automatic-shutdownwake-up-on-freenas/comment-page-1/#comment-71468</link>
		<dc:creator>Denis</dc:creator>
		<pubDate>Tue, 05 Feb 2013 20:41:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.graceabundant.com/?p=760#comment-71468</guid>
		<description><![CDATA[i found the above script not to work on a freenas embedded system.....

but found a script that uses sh script instead and works great on and embedded 8.3 freenas.....
still using the cron job and set it to 15min or 10.... and running with sh then path to file... the below script works great for embedded..

if [ &quot;`id -u`&quot; = &quot;0&quot; ]; then
        touch /var/log/check_if_up.log  # Create log if not exist

        if [ `ls -la /var/log/check_if_up.log &#124; awk &#039;{print $5}&#039;` -gt 1048576 ]; then
                mv /var/log/check_if_up.log /var/log/check_if_up.old    # Backup log &gt;1meg
                touch /var/log/check_if_up.log  # Create a new log

        fi

        ping -c 4 -q 192.168.2.139 &gt; /tmp/check_1.tmp    # Test to see if 1st Host is up
        ping -c 4 -q 192.168.2.2 &gt; /tmp/check_2.tmp     # Test to see if 2nd Host is up

        if [ &quot;`cat /tmp/check_1.tmp &#124; awk &#039;{print $1}&#039; &#124; tail -n 1`&quot; = &quot;round-trip&quot; ]; then
                echo The 1st Host is up... `date &quot;+%Y-%m-%d %H:%M:%S&quot;` &gt;&gt; /var/log/check_if_up.log

        elif [ &quot;`cat /tmp/check_2.tmp &#124; awk &#039;{print $1}&#039; &#124; tail -n 1`&quot; = &quot;round-trip&quot; ]; then
                echo The 1st Host is down... `date &quot;+%Y-%m-%d %H:%M:%S&quot;` &gt;&gt; /var/log/check_if_up.log
                echo The 2nd Host is up... `date &quot;+%Y-%m-%d %H:%M:%S&quot;` &gt;&gt; /var/log/check_if_up.log

        else
                echo All Hosts are down. Shutdown FreeNAS at `date &quot;+%Y-%m-%d %H:%M:%S&quot;` &gt;&gt; /var/log/check_if_up.log
                /bin/sync
                /sbin/shutdown -p now

        fi

fi]]></description>
		<content:encoded><![CDATA[<p>i found the above script not to work on a freenas embedded system.....</p>
<p>but found a script that uses sh script instead and works great on and embedded 8.3 freenas.....<br />
still using the cron job and set it to 15min or 10.... and running with sh then path to file... the below script works great for embedded..</p>
<p>if [ "`id -u`" = "0" ]; then<br />
        touch /var/log/check_if_up.log  # Create log if not exist</p>
<p>        if [ `ls -la /var/log/check_if_up.log | awk '{print $5}'` -gt 1048576 ]; then<br />
                mv /var/log/check_if_up.log /var/log/check_if_up.old    # Backup log &gt;1meg<br />
                touch /var/log/check_if_up.log  # Create a new log</p>
<p>        fi</p>
<p>        ping -c 4 -q 192.168.2.139 &gt; /tmp/check_1.tmp    # Test to see if 1st Host is up<br />
        ping -c 4 -q 192.168.2.2 &gt; /tmp/check_2.tmp     # Test to see if 2nd Host is up</p>
<p>        if [ "`cat /tmp/check_1.tmp | awk '{print $1}' | tail -n 1`" = "round-trip" ]; then<br />
                echo The 1st Host is up... `date "+%Y-%m-%d %H:%M:%S"` &gt;&gt; /var/log/check_if_up.log</p>
<p>        elif [ "`cat /tmp/check_2.tmp | awk '{print $1}' | tail -n 1`" = "round-trip" ]; then<br />
                echo The 1st Host is down... `date "+%Y-%m-%d %H:%M:%S"` &gt;&gt; /var/log/check_if_up.log<br />
                echo The 2nd Host is up... `date "+%Y-%m-%d %H:%M:%S"` &gt;&gt; /var/log/check_if_up.log</p>
<p>        else<br />
                echo All Hosts are down. Shutdown FreeNAS at `date "+%Y-%m-%d %H:%M:%S"` &gt;&gt; /var/log/check_if_up.log<br />
                /bin/sync<br />
                /sbin/shutdown -p now</p>
<p>        fi</p>
<p>fi</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automatic Shutdown/Wake Up on FreeNAS by Denis</title>
		<link>http://blog.graceabundant.com/2012/08/24/automatic-shutdownwake-up-on-freenas/comment-page-1/#comment-71373</link>
		<dc:creator>Denis</dc:creator>
		<pubDate>Sat, 02 Feb 2013 10:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.graceabundant.com/?p=760#comment-71373</guid>
		<description><![CDATA[hey rik you using this on embedded]]></description>
		<content:encoded><![CDATA[<p>hey rik you using this on embedded</p>
]]></content:encoded>
	</item>
</channel>
</rss>
