<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Josh&#039;s Ambry</title>
	<atom:link href="http://joshsambry.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://joshsambry.wordpress.com</link>
	<description>In churches, an ambry is a kind of closet, niche, pantry, or cupboard for utensils and vestments. In other words, this is where I store stuff that might come in handy later.</description>
	<lastBuildDate>Sun, 09 Oct 2011 22:00:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='joshsambry.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Josh&#039;s Ambry</title>
		<link>http://joshsambry.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://joshsambry.wordpress.com/osd.xml" title="Josh&#039;s Ambry" />
	<atom:link rel='hub' href='http://joshsambry.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Configuring our HTPC</title>
		<link>http://joshsambry.wordpress.com/2011/01/15/configuring-our-htpc/</link>
		<comments>http://joshsambry.wordpress.com/2011/01/15/configuring-our-htpc/#comments</comments>
		<pubDate>Sat, 15 Jan 2011 18:24:21 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://joshsambry.wordpress.com/?p=152</guid>
		<description><![CDATA[Installing XBMC on a Zotac ZBOX HD-ID11 Downloads needed files: Zotac ZBOX BIOS update package pa113.zip HP USB Disk Storage Format Tool HPUSBFW USBDos usbdos.zip http://www.bay-wolf.com/usbmemstick.htm BIOS Update (optional): (do it on your own risk !!!) 1. Download all the files above 2. Unpack the files 3. Plug in usb stick 4. Start hp tool 5. Choose your [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joshsambry.wordpress.com&amp;blog=10215428&amp;post=152&amp;subd=joshsambry&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>Installing XBMC on a Zotac ZBOX HD-ID11</h2>
<p><strong>Downloads needed files:</strong></p>
<p>Zotac ZBOX BIOS update package <a href="http://downloads.zotac.com/mediadrivers/mb/bios/pa113.zip" target="_blank">pa113.zip</a><br />
HP USB Disk Storage Format Tool <a href="http://dl.cdn.chip.de/downloads/3309288/HPUSBFW_v2.2.3.exe?1260862760-1260870260-d48c3e-B-b7ecf9a2d2e464d3560095b18eb25c3b.exe" target="_blank">HPUSBFW</a><br />
USBDos <a href="http://dl.cdn.chip.de/downloads/6440065/usbdos.zip?1260862808-1260870308-ba0b48-B-ba237e553c1c330111ace16fdf0348fe" target="_blank">usbdos.zip</a></p>
<p>http://www.bay-wolf.com/usbmemstick.htm</p>
<p><strong>BIOS Update (optional):</strong></p>
<p><span style="color:red;">(do it on your own risk !!!)</span></p>
<p>1. Download all the files above<br />
2. Unpack the files<br />
3. Plug in usb stick<br />
4. Start hp tool<br />
5. Choose your usb stick, filesystem: fat32, create a dos startup disk and choose the folder with the unzipped usbdos files, click Start<br />
6. Copy afudos.exe from the unzipped pa113.zip to the stick<br />
7. Copy N1210WMA.rom from pa113 folder to the stick<br />
8. Plug in the stick to the zotag mag, power on and go directly into the bios<br />
9. Choose the right boot order and save the changes and reboot<br />
10. ZBox should now boot from the usb stick<br />
11. On the command prompt type the following command:</p>
<pre>AFUDOS A1400825.ROM /B /P /N /X /C</pre>
<p>12. After successful ROM update, power off ZBox, unplug usb stick and power on again</p>
<p>These instructions were gleaned or adapted from the following sources. Some other useful links are included</p>
<p>Step-by-step (although out-of-date) install of Ubuntu and XBMC. <a href="http://forum.xbmc.org/showthread.php?t=68653">http://forum.xbmc.org/showthread.php?t=68653</a></p>
<p>Speed boot time with minimal footprint linux distribution. <a href="http://openelec.tv/">http://openelec.tv</a></p>
<h2>To get audio working via HDMI:</h2>
<p>Add to the end of the options in<em> /etc/modprobe.d/sound.conf</em>:<br />
options snd-hda-intel enable_msi=0 probe_mask=0xffff,0xfff2</p>
<p>Here are some useful sites about the HD-ID11 in general:<br />
<a href="http://blog.insanegenius.com/2010/05/zotac-zbox-mini-pc-zboxhd-id11.html">Pieter Viljoen&#8217;s Blog: Zotac ZBOX Mini-PC ZBOXHD-ID11</a><a href="http://blog.insanegenius.com/2010/05/zotac-zbox-mini-pc-zboxhd-id11.html"><br />
</a><a href="http://www.xbmcfreak.nl/en/category/nvidia-ion/page/3/">XBMCFreak » Nvidia ION<br />
</a><a href="http://wiki.xbmc.org/?title=XBMCbuntu#Audio_over_HDMI_for_NVidia_GeForce.2FnForce_controller">XBMCbuntu &#8211; XBMC</a></p>
<h2>To enable awake from suspend with remote:</h2>
<p>I configured XBMC to go into suspend mode (ACPI S3 state), and can normally be woken up by pressing the power button (which blinks red and green in suspend mode). However, since it&#8217;s mounted to the back of our TV, the button is hard to reach, so I want to wake it up using my wireless USB remote (Lenovo multimedia keyboard).</p>
<p><span style="font-size:15.6px;">Follow these instructions <a href="http://www.zotacusa.com/forum/topic/3101-id11-wake-from-suspend-w-remote-on-xbmc-live/">Awake from Suspend with Remote</a>. You have to know the USB port mapping:</span></p>
<p><span style="font-size:15.6px;">USB3: Port on front next to card reader, but maybe it&#8217;s the device number assigned. Anyway, USB3 worked for me.<br />
Issue the command</span></p>
<pre><span style="font-size:15.6px;">sudo sh -c "echo USBx &gt; /proc/acpi/wakeup"
</span></pre>
<p><span style="font-size:15.6px;">where x is the USB port station, which will toggle between disabled/enabled for the given device. until suspend/wakeup works via the USB device. The sh -c command extends sudo rights through the whole command in quotes. If everything works correctly, see if /proc/acpi/wakeup is preserved on reboot. Mine was not, so I added the above command (without sudo) to /etc/local.rc (make sure the execute flag is set on local.rc)</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/joshsambry.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/joshsambry.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/joshsambry.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/joshsambry.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/joshsambry.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/joshsambry.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/joshsambry.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/joshsambry.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/joshsambry.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/joshsambry.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/joshsambry.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/joshsambry.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/joshsambry.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/joshsambry.wordpress.com/152/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joshsambry.wordpress.com&amp;blog=10215428&amp;post=152&amp;subd=joshsambry&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://joshsambry.wordpress.com/2011/01/15/configuring-our-htpc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6108b7601c41e5337baaa26330c4af1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Josh</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing OS from USB</title>
		<link>http://joshsambry.wordpress.com/2010/08/11/installing-os-from-usb/</link>
		<comments>http://joshsambry.wordpress.com/2010/08/11/installing-os-from-usb/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 03:35:45 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://joshsambry.wordpress.com/?p=146</guid>
		<description><![CDATA[I ran into a few problems while installing Ubuntu 10.04 with the alternate CD on an old laptop. Using the CD would never complete the installation so I turned to the USB trick: Using Unetbootin, copy the .iso to the USB (make sure the USB dev is correct before starting) Open the syslinux.cfg file in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joshsambry.wordpress.com&amp;blog=10215428&amp;post=146&amp;subd=joshsambry&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I ran into a few problems while installing Ubuntu 10.04 with the alternate CD on an old laptop. Using the CD would never complete the installation so I turned to the USB trick:</p>
<ol>
<li> Using Unetbootin, copy the .iso to the USB (make sure the USB dev is correct before starting)</li>
<li>Open the syslinux.cfg file in the USB root directory and add &#8220;cdrom-detect/try-usb=true&#8221; to the &#8220;menu label default&#8221; entry after &#8220;append &#8230; &#8212; &#8221; so that it reads:
<pre> label unetbootindefault
 menu label Default
 kernel /ubnkern
 append initrd=/ubninit vga=normal -- quiet cdrom-detect/try-usb=true</pre>
</li>
<li>Boot to the USB and run the default installer. It still had an error after installing the base system, but I just ran the step again (I think I unselected the ubuntu-desktop package, then just installed it from the terminal later) and it worked fine.</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/joshsambry.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/joshsambry.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/joshsambry.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/joshsambry.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/joshsambry.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/joshsambry.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/joshsambry.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/joshsambry.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/joshsambry.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/joshsambry.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/joshsambry.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/joshsambry.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/joshsambry.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/joshsambry.wordpress.com/146/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joshsambry.wordpress.com&amp;blog=10215428&amp;post=146&amp;subd=joshsambry&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://joshsambry.wordpress.com/2010/08/11/installing-os-from-usb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6108b7601c41e5337baaa26330c4af1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Josh</media:title>
		</media:content>
	</item>
		<item>
		<title>Printing to a Canon Pixma MX860 Network Printer</title>
		<link>http://joshsambry.wordpress.com/2010/07/11/printing-to-a-canon-pixma-mx860-network-printer/</link>
		<comments>http://joshsambry.wordpress.com/2010/07/11/printing-to-a-canon-pixma-mx860-network-printer/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 22:26:20 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://joshsambry.wordpress.com/?p=140</guid>
		<description><![CDATA[The print head on our old printer died. I think it&#8217;s because we tried using (really) cheap ink from 123inkjets.com. The blue cartridge leaked everywhere. They say refilled cartridges (even Staples or OfficeMax) will shorten the lifespan of the print head. But, hey, the Canon cartridges cost about $65 to replace, office supply refills about [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joshsambry.wordpress.com&amp;blog=10215428&amp;post=140&amp;subd=joshsambry&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The print head on our old printer died. I think it&#8217;s because we tried using (really) cheap ink from 123inkjets.com. The blue cartridge leaked everywhere. They say refilled cartridges (even Staples or OfficeMax) will shorten the lifespan of the print head. But, hey, the Canon cartridges cost about $65 to replace, office supply refills about $55, and 123inkjets.com, $25. However, there&#8217;s also a diminishing print quality the cheaper you go. We were spending over a hundred dollars a year on ink alone. So I haven&#8217;t decided yet if it&#8217;s cheaper to just buy cheap ink and a new printer every 2-3 years. In any case, a new print head costs $60-80 and a new Pixma was on sale for $100. &#8220;Upgrading&#8221; printers is nice, too.</p>
<p>It&#8217;s not hard to set up the printer as a network printer (without the included Windows/Mac setup utilities). The MX860 has wireless capabilities so we can put it anywhere convenient within reach of our router signal and a power outlet, which is nice. I found out that only so much network configuration can be done through the printer&#8217;s onboard menus. Here&#8217;s the general setup procedure I used.</p>
<ol>
<li>Connect the printer&#8217;s ethernet to the router</li>
<li>Read the DHCP&#8217;ed IP address from the printer</li>
<li>From any computer on the network, browse to that IP address</li>
<li>Set up the wireless settings (SSID, encryption, etc.) to match you network<br />
Choosing to obtain an address automatically or a static IP address doesn&#8217;t really matter since clients will look for the printer by mac address anyway</li>
<li>Activate wireless on the printer and make sure you can still connect</li>
<li>On the clients (Ubuntu 9.10, AMD64 and i386 CPUs), follow these instructions:<br />
<a href="http://kubuntuforums.net/forums/index.php?action=printpage;topic=3111999.0" target="_blank">http://kubuntuforums.net/forums/index.php?action=printpage;topic=3111999.0</a></li>
<li>After the printer is installed via System-&gt;Administration-&gt;Printing, set the Canon-MX860 to duplex printing (by default) on the Printer Options tab.</li>
</ol>
<p>But I still had a problem running the scanner from the xsane interface (or, equivically, running scanimage -T from the terminal). I always got:  &#8220;FAIL Error: Operation was cancelled&#8221;. I found this wonderful post that explains how to fix it:</p>
<p><a href="http://harbhag.wordpress.com/2010/04/09/canon-pixma-mp258-or-any-mp250-series-printer-on-ubuntu-debian-fedora-and-arch-linux/">http://harbhag.wordpress.com/2010/04/09/canon-pixma-mp258-or-any-mp250-series-printer-on-ubuntu-debian-fedora-and-arch-linux/</a></p>
<p>or</p>
<p><a href="http://mp610.blogspot.com/2008/04/give-your-scanner-new-freshly-sane.html">http://mp610.blogspot.com/2008/04/give-your-scanner-new-freshly-sane.html</a></p>
<p>To get this working, here are the steps to take:</p>
<p>1) You need some usb libraries, so, in a terminal type:</p>
<p>sudo apt-get install libusb-dev build-essential libsane-dev</p>
<p>2) To get the sane backends from git you need git-core. If you don&#8217;t already have it, type this (also in a terminal):</p>
<p>sudo apt-get install git-core</p>
<p>3) Now use the git that was just installed to get the sane backends using the following command:</p>
<p>git clone git://git.debian.org/sane/sane-backends.git</p>
<p>That downloads the backends and puts them in a folder called sane-backends in your home folder.</p>
<p>4) Change directory into the new sane-backends folder and compile them:</p>
<p>cd sane-backends</p>
<p>./configure &#8211;prefix=/usr &#8211;sysconfdir=/etc &#8211;localstatedir=/var</p>
<p>make &lt;&#8212; this one takes a while</p>
<p>sudo make install</p>
<p>Now everything is installed, but you still won&#8217;t be able to scan (except as root) until you set up some permissions.</p>
<p>5) You need to edit a file, but you need to be root to edit it, so:</p>
<p>sudo gedit /lib/udev/rules.d/40-libsane.rules</p>
<p>and add the following 2 lines:</p>
<p># Canon CanoScan Lide 100<br />
ATTRS{idVendor}==&#8221;04a9&#8243;, ATTRS{idProduct}==&#8221;1904&#8243;, ENV{libsane_matched}=&#8221;yes&#8221;</p>
<p>save the file, exit gedit, exit terminal, reboot, and&#8230;</p>
<p>&nbsp;</p>
<p>Everything works!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/joshsambry.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/joshsambry.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/joshsambry.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/joshsambry.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/joshsambry.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/joshsambry.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/joshsambry.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/joshsambry.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/joshsambry.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/joshsambry.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/joshsambry.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/joshsambry.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/joshsambry.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/joshsambry.wordpress.com/140/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joshsambry.wordpress.com&amp;blog=10215428&amp;post=140&amp;subd=joshsambry&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://joshsambry.wordpress.com/2010/07/11/printing-to-a-canon-pixma-mx860-network-printer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6108b7601c41e5337baaa26330c4af1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Josh</media:title>
		</media:content>
	</item>
		<item>
		<title>Granola for Your Computer</title>
		<link>http://joshsambry.wordpress.com/2010/05/12/granola-for-your-computer/</link>
		<comments>http://joshsambry.wordpress.com/2010/05/12/granola-for-your-computer/#comments</comments>
		<pubDate>Thu, 13 May 2010 04:02:01 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://joshsambry.wordpress.com/?p=130</guid>
		<description><![CDATA[About a year ago, I began thinking about how much electricity my computer used. I&#8217;m not talking about using my computer, but about not using it. Really, how much of your computer do you really use? I&#8217;m watching the resource meter right now as I&#8217;m typing and the CPU history rarely spikes above 25%. That&#8217;s [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joshsambry.wordpress.com&amp;blog=10215428&amp;post=130&amp;subd=joshsambry&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Light bulb button" src="http://farm3.static.flickr.com/2702/4189497967_34e65338dd_m.jpg" alt="" width="240" height="160" />About a year ago, I began thinking about how much electricity my computer used. I&#8217;m not talking about using my computer, but about not using it. Really, how much of your computer do you really use? I&#8217;m watching the resource meter right now as I&#8217;m typing and the CPU history rarely spikes above 25%. That&#8217;s when I&#8217;m &#8220;using&#8221; it. Most of the time it spends on, I spend in the other room.</p>
<p>Your computer power supply is rated in Watts, just like light bulbs, and is built into the design of the whole computer to handle the maximum power load that all the hardware could possibly require. For average systems, that maximum rating is somewhere between 250-400 Watts. However, higher-end hardware such as hefty video cards for gaming or large monitors, multi-core processors, cooling fans, multimedia encoding/decoding, optical disc drives (say, burning DVDs), multiple or high-speed hard drives, or other power-hungry components can bump that peak demand above 1000 Watts. Most of the day you probably float at less than half your peak power. Even so, your computer can easily draw 100 Watts idling. Did you ever think of your computer as an extra light in your house, one that you leave on when you leave the room, or, like some people I know, while you&#8217;re sleeping? Sure, I try to turn off my computer when I don&#8217;t need it (I usually get more done then anyway), but sometimes it&#8217;s just not practical. When that extra proverbial light bulb needs to be on, wouldn&#8217;t it be nice to dim the lights when only need mood lighting or you leave the room, while still enjoy the brightness when you need it? Enter Granola.</p>
<p><a href="http://grano.la" target="_blank">Granola</a> is software that does just that. It emerged out of beta on Earth Day 2010 and, best of all, it&#8217;s free and runs on Windows and Linux, and may be planned for Mac OSX down the road. Formerly MicroMiser, Granola was renamed to &#8220;more accurately capture our goal of making a serious impact on the planet through the reduction of wasted energy,&#8221; says MiserWare, the company behind Granola. According to the email they sent me announcement the newest version: &#8220;There are over a billion personal computers in the world. Together, they consume hundreds of billions of kilowatt hours annually. If each of these computers ran Granola and reduced their power consumption by even 10%, it would be like taking 7 million cars off the road. Or planting 900 million trees. Or turning off 65 coal power plants.&#8221; So far, they claim that the Granola community has saved as much CO2 as <a title="Granola Impact" href="http://grano.la/community/impact.php" target="_blank">tens of thousands of trees</a>. That&#8217;s assuming that every download equates to &#8220;average saving&#8221; of 56.9kWh and runs on a computer 24/7. Even though it seems that reported numbers are best-case scenarios based on assumptions and averages, I think more awareness of green aware computers is needed. And to be honest, if there&#8217;s any chance of reducing my home power use, I&#8217;m interested.</p>
<p>I have Granola running on three linux computers at home: a newer quad-core CPU computer, an older single-core CPU computer, and a small server with an low-power Intel Atom processor. Granola saves a bit over 45% CPU energy on all three, and claims to save about $25/year each, after setting our local energy rate to $0.10/kWh. Scale that by how often they&#8217;re on, and the savings comes to about $40/year. My wife claims to notice her computer runs a bit slower, but I don&#8217;t notice much change on mine. Next step is to find a <a title="Kill-A-Watt" href="http://www.p3international.com/products/p4460.html">Kill-A-Watt</a> meter to check the power savings.</p>
<p>But Granola can only throttle the CPU power. Other managements are built into your operating system to quell power draw, such as timed monitor power-down, spinning down the hard drive, or hibernating, which are especially appreciated on laptops. The sure-fire hacks to save computer energy still remain: use laptops instead of desktops, turn them off when not in use, and don&#8217;t buy higher performing systems than life demands. But if those don&#8217;t work for you, Granola can bring some peace of mind and a little green to your CPU.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/joshsambry.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/joshsambry.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/joshsambry.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/joshsambry.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/joshsambry.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/joshsambry.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/joshsambry.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/joshsambry.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/joshsambry.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/joshsambry.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/joshsambry.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/joshsambry.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/joshsambry.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/joshsambry.wordpress.com/130/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joshsambry.wordpress.com&amp;blog=10215428&amp;post=130&amp;subd=joshsambry&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://joshsambry.wordpress.com/2010/05/12/granola-for-your-computer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6108b7601c41e5337baaa26330c4af1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Josh</media:title>
		</media:content>

		<media:content url="http://farm3.static.flickr.com/2702/4189497967_34e65338dd_m.jpg" medium="image">
			<media:title type="html">Light bulb button</media:title>
		</media:content>
	</item>
		<item>
		<title>Experimental Apps</title>
		<link>http://joshsambry.wordpress.com/2010/01/22/experimental-apps/</link>
		<comments>http://joshsambry.wordpress.com/2010/01/22/experimental-apps/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 05:16:07 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://joshsambry.wordpress.com/?p=116</guid>
		<description><![CDATA[These posts caught my eye. Maybe I&#8217;ll try them out soon. MicroMiser &#8211; an intelligent software power management solution for x86 servers, laptops, and PCs running Linux Activity Journal &#8211; There are so many indexing tools out there. Here&#8217;s another.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joshsambry.wordpress.com&amp;blog=10215428&amp;post=116&amp;subd=joshsambry&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>These posts caught my eye. Maybe I&#8217;ll try them out soon.</p>
<p><a title="MicroMiser" href="http://www.ubuntugeek.com/micromiser-power-saving-software-for-ubuntu-laptopsdesktopsservers.html" target="_blank">MicroMiser</a> &#8211; an intelligent software power management solution for x86 servers,  laptops, and PCs running Linux</p>
<p><a title="GNOME Activity Journal" href="http://www.ubuntugeek.com/how-to-install-gnome-activity-journal-in-ubuntu.html" target="_blank">Activity Journal</a> &#8211; There are so many indexing tools out there. Here&#8217;s another.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/joshsambry.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/joshsambry.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/joshsambry.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/joshsambry.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/joshsambry.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/joshsambry.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/joshsambry.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/joshsambry.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/joshsambry.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/joshsambry.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/joshsambry.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/joshsambry.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/joshsambry.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/joshsambry.wordpress.com/116/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joshsambry.wordpress.com&amp;blog=10215428&amp;post=116&amp;subd=joshsambry&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://joshsambry.wordpress.com/2010/01/22/experimental-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6108b7601c41e5337baaa26330c4af1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Josh</media:title>
		</media:content>
	</item>
		<item>
		<title>Desktop Applications</title>
		<link>http://joshsambry.wordpress.com/2009/12/19/desktop-applications/</link>
		<comments>http://joshsambry.wordpress.com/2009/12/19/desktop-applications/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 05:35:54 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Desktop]]></category>

		<guid isPermaLink="false">http://joshsambry.wordpress.com/?p=83</guid>
		<description><![CDATA[Packages Once up and running, these are the packages I like to have handy on my desktop clients (um, besides the defaults): Eye Candy gtk2-engines-ubuntulooks (which uninstalls human-theme, ubuntu-artwork and ubuntu-desktop) blubuntu-theme (I like this look) cairo-dock (a glorious mac-like application launcher) compizconfig-settings-manager Utility sun-java6-jre &#8211; Sun Java 6 Runtime virtualbox-3.1 deb http://download.virtualbox.org/virtualbox/debian karmic non-free [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joshsambry.wordpress.com&amp;blog=10215428&amp;post=83&amp;subd=joshsambry&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>Packages</h2>
<p>Once up and running, these are the packages I like to have handy on my desktop clients (um, besides the defaults):</p>
<h3>Eye Candy</h3>
<ul>
<li>gtk2-engines-ubuntulooks (which uninstalls human-theme, ubuntu-artwork and ubuntu-desktop)</li>
<li>blubuntu-theme (I like this look)</li>
<li>cairo-dock (a glorious mac-like application launcher)</li>
<li>compizconfig-settings-manager</li>
</ul>
<h3>Utility</h3>
<ul>
<li>sun-java6-jre &#8211; Sun Java 6 Runtime</li>
<li>virtualbox-3.1
<pre>deb http://download.virtualbox.org/virtualbox/debian karmic non-free
wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -</pre>
</li>
</ul>
<ul>
<li>nautilus-dropbox (DropBox is a great little peer-to-peer syncronization application)
<pre>deb http://linux.getdropbox.com/ubuntu karmic main
deb-src http://linux.getdropbox.com/ubuntu karmic main</pre>
<p>Then install:</p>
<pre>sudo apt-get install nautilus-dropbox</pre>
<p>Log out and log back in.</li>
<li>keepassx (KeePassX password manager, compatible with Window&#8217;s KeePass)</li>
<li>p7zip (7zip compression utility. Compresses better, although not faster, than regular zip files)</li>
</ul>
<h3>Graphics</h3>
<ul>
<li>gthumb (my personal quick image viewer with basic image manipulation tools)</li>
<li>picasa3<br />
- download and install the .deb package from Google directly</li>
<li>inkscape (an exceptional vector drawing program akin to Illustrator)</li>
<li>scribus (desktop publishing)</li>
<li>ttf-mscorefonts-installer (Microsoft core fonts)</li>
<li>fontmatrix (a system font viewer)</li>
</ul>
<h3>Media</h3>
<ul>
<li>ubuntu-restricted-extras (Proprietary encoders and decoders that don&#8217;t ship with Ubuntu)</li>
<li>libdvdread4</li>
<li>vlc (about the best media player out there)</li>
<li>k3b (CD/DVD burner and ripper)</li>
<li>libk3b6-extracodecs (extra k3b libraries for mp3, ffmpeg and video DVD support)</li>
<li>songbird<br />
Easiest to install via getdeb.net</li>
<li>handbrake</li>
</ul>
<h3>Internet</h3>
<ul>
<li>thunderbird &#8211; Thunderbird (with Lightning extension)</li>
</ul>
<h3>Office</h3>
<ul>
<li>openoffice</li>
<li>lyx-common (an excellent LaTeX interface)</li>
<li>jpilot</li>
<li>gnucash</li>
</ul>
<h3>Science</h3>
<ul>
<li>scilab &#8211; SciLab</li>
<li>maxima &#8211; Maxima</li>
<li>labplot &#8211; LabPlot</li>
</ul>
<h3>Kid Games</h3>
<ul>
<li>Extreme Tux Racer</li>
<li>Potato Guy</li>
<li>Torcs</li>
<li>Supertuxkart</li>
<li>ChildsPlay</li>
<li>Tux Paint</li>
</ul>
<h3>Fonts</h3>
<p>Sometimes I like to break out of the standard font mold and use some more upbeat fonts. There are probably way too many fonts in the following packages, but I&#8217;ll have to sort that out later. I use Fontmatrix to view them.</p>
<pre>sudo apt-get install ttf-sil-gentium sun-java6-fonts ttf-larabie-deco \
ttf-larabie-straight ttf-larabie-uncommon ttf-sjfonts ttf-georgewilliams ttf-dustin</pre>
<h2>Other Notes</h2>
<h3>Firefox</h3>
<p>Extensions added:</p>
<ul>
<li>AdBlock Plus</li>
<li>XMarks</li>
<li>Download Statusbar</li>
<li>Firegestures</li>
<li>Googlebar Lite</li>
</ul>
<p><a title="Top 10 Ubuntu Downloads" href="http://lifehacker.com/5227309/" target="_blank">2009 Top 10 Ubuntu Downloads</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/joshsambry.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/joshsambry.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/joshsambry.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/joshsambry.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/joshsambry.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/joshsambry.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/joshsambry.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/joshsambry.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/joshsambry.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/joshsambry.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/joshsambry.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/joshsambry.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/joshsambry.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/joshsambry.wordpress.com/83/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joshsambry.wordpress.com&amp;blog=10215428&amp;post=83&amp;subd=joshsambry&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://joshsambry.wordpress.com/2009/12/19/desktop-applications/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6108b7601c41e5337baaa26330c4af1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Josh</media:title>
		</media:content>
	</item>
		<item>
		<title>Install webmin</title>
		<link>http://joshsambry.wordpress.com/2009/12/19/install-webmin/</link>
		<comments>http://joshsambry.wordpress.com/2009/12/19/install-webmin/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 05:18:30 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Configuration]]></category>

		<guid isPermaLink="false">http://joshsambry.wordpress.com/?p=72</guid>
		<description><![CDATA[Webmin will let you do a lot your configuration and administration in a lightweight graphical (web) interface. First, make sure the needed perl packages are installed: sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl then $ wget http://www.webmin.com/download/deb/webmin-current.deb $ sudo dpkg -i webmin_1.490_all.deb Or whatever .deb file you just downloaded. Then browse to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joshsambry.wordpress.com&amp;blog=10215428&amp;post=72&amp;subd=joshsambry&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Webmin will let you do a lot your configuration and administration in a lightweight graphical (web) interface.</p>
<p>First, make sure the needed perl packages are installed:</p>
<pre>sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl</pre>
<div>then</div>
<pre>$ wget http://www.webmin.com/download/deb/webmin-current.deb
$ sudo dpkg -i webmin_1.490_all.deb
</pre>
<p>Or whatever .deb file you just downloaded. Then browse to https://servername:10000/ on your desktop Firefox. Firefox probably won&#8217;t like the untrusted certificate, but you can trust the exception here.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/joshsambry.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/joshsambry.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/joshsambry.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/joshsambry.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/joshsambry.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/joshsambry.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/joshsambry.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/joshsambry.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/joshsambry.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/joshsambry.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/joshsambry.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/joshsambry.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/joshsambry.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/joshsambry.wordpress.com/72/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joshsambry.wordpress.com&amp;blog=10215428&amp;post=72&amp;subd=joshsambry&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://joshsambry.wordpress.com/2009/12/19/install-webmin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6108b7601c41e5337baaa26330c4af1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Josh</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting Up the Web Server</title>
		<link>http://joshsambry.wordpress.com/2009/12/19/setting-up-the-web-server/</link>
		<comments>http://joshsambry.wordpress.com/2009/12/19/setting-up-the-web-server/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 05:15:31 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Home Network]]></category>

		<guid isPermaLink="false">http://joshsambry.wordpress.com/?p=65</guid>
		<description><![CDATA[Since the LAMP server is installed by default, I just had to mod a few things. First added ServerName homeserver to /etc/apache2/apache2.conf. Then, in /etc/apache2/sites-enabled/000-default, change DocumentRoot to /home/www and added to the bottom, &#60;VirtualHost *:80&#62; ServerName homeserver ServerAlias lightbulbbooks.dev *.lightbulbbooks.dev lbb.dev *.lbb.dev DocumentRoot /home/www/lightbulbbooks.dev &#60;/VirtualHost&#62; Now $ sudo /etc/init.d/apache2 restart Make sure the /etc/hosts [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joshsambry.wordpress.com&amp;blog=10215428&amp;post=65&amp;subd=joshsambry&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Since the LAMP server is installed by default, I just had to mod a few things. First added</p>
<pre>ServerName homeserver</pre>
<p>to /etc/apache2/apache2.conf. Then, in /etc/apache2/sites-enabled/000-default, change DocumentRoot to</p>
<pre>/home/www</pre>
<p>and added to the bottom,</p>
<pre>&lt;VirtualHost *:80&gt;
 ServerName homeserver
 ServerAlias lightbulbbooks.dev *.lightbulbbooks.dev lbb.dev *.lbb.dev
 DocumentRoot /home/www/lightbulbbooks.dev
&lt;/VirtualHost&gt;</pre>
<p>Now</p>
<pre>$ sudo /etc/init.d/apache2 restart</pre>
<p>Make sure the /etc/hosts file on all the intranet clients contains something like</p>
<pre># The following are for web site aliases
10.0.0.10       www.llb.dev llb.dev
10.0.0.10       www.lightbulbbooks.dev lightbulbbooks.dev</pre>
<p>I could then browse to my virtual domains from the network clients.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/joshsambry.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/joshsambry.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/joshsambry.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/joshsambry.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/joshsambry.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/joshsambry.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/joshsambry.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/joshsambry.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/joshsambry.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/joshsambry.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/joshsambry.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/joshsambry.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/joshsambry.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/joshsambry.wordpress.com/65/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joshsambry.wordpress.com&amp;blog=10215428&amp;post=65&amp;subd=joshsambry&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://joshsambry.wordpress.com/2009/12/19/setting-up-the-web-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6108b7601c41e5337baaa26330c4af1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Josh</media:title>
		</media:content>
	</item>
		<item>
		<title>Backing Up</title>
		<link>http://joshsambry.wordpress.com/2009/12/11/backing-up/</link>
		<comments>http://joshsambry.wordpress.com/2009/12/11/backing-up/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 20:12:55 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Home Network]]></category>

		<guid isPermaLink="false">http://joshsambry.wordpress.com/?p=67</guid>
		<description><![CDATA[CrashPlan is about the best backup software out there with an all-inclusive feature set. See Jonathan&#8217;s great summary here. And here is some extra advice. Specifically, for the purposes here, it can be installed headless, i.e., without a GUI interface. Before installing on the server, though you need to install the java runtime environment (JRE) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joshsambry.wordpress.com&amp;blog=10215428&amp;post=67&amp;subd=joshsambry&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>CrashPlan is about the best backup software out there with an all-inclusive feature set. See Jonathan&#8217;s great summary <a title="Are your irreplaceable files backed up?" href="http://oliver-fam.blogspot.com/2009/10/are-your-irreplaceable-files-backed-up.html" target="_blank">here</a>. And <a title="You're backing up your data the wrong way." href="http://lifehacker.com/5405775/youre-backing-up-your-data-the-wrong-way" target="_blank">here</a> is some extra advice. Specifically, for the purposes here, it can be installed headless, i.e., without a GUI interface.</p>
<p>Before installing on the server, though you need to install the java runtime environment (JRE) and SWT.</p>
<pre>
<pre>$ sudo apt-get install sun-java6-jre sun-java6-bin sun-java6-fonts libswt-gtk-3.4-java xauth</pre>
</pre>
<p>Now just follow the instructions on CrashPlan&#8217;s support site <a title="Installing CrashPlan on Linux" href="http://support.crashplan.com/doku.php/getting_started/installing_crashplan#linux" target="_blank">here</a> and <a title="Connect to a Headless Crashplan Desktop" href="http://support.crashplan.com/doku.php/how_to/configure_a_headless_client" target="_blank">here</a>, although for the latter, I don&#8217;t use the ssh port forwarding since I&#8217;d rather run the GUI directly from the server via ssh tunneling. So in essence, CrashPlan has to only be installed on the server&#8211;the GUI can be run from the desktop through ssh.</p>
<p>Then establish a tunnel between the desktop and the server</p>
<pre>$ ssh -p ?? josh@homeserver</pre>
<p>where ?? is the ssh port you set up on the server. Then run</p>
<pre>josh@homeserver$ CrashPlanDesktop</pre>
<p>or</p>
<pre>josh@homeserver$ sudo ln -s /usr/local/crashplan/bin/CrashPlanDesktop /usr/local/bin/crashplan
josh@homeserver$ crashplan</pre>
<p>Once crashplan is running, setup is in the bag. The configuration I&#8217;m going for is to backup (locally) to an external hard drive attached to the server and (remotely) to a hard drive on a relative&#8217;s home network in another state. That way, come disk crash, burglar or fire, I can still get my data (and life) back.</p>
<p>Also, I&#8217;ve found out that the kernal doesn&#8217;t always mount the usb backup drive to the same spot every time. But, it&#8217;s not too hard to setup a udev rule to settle that.</p>
<p>First, find out what the drive is called. With the usb drive connected, but not mounted, run</p>
<pre>$ sudo blkid</pre>
<p>and copy UUID or LABEL. Make the following entry in /etc/fstab:</p>
<pre># External USB backup drive      
LABEL=backup    /backup         ext4    defaults        0       0
</pre>
<p>Here&#8217;s a nice, information excerpt from <a title="Make a removable USB hdd mount at fixed mount point" href="http://www.linuxquestions.org/questions/linux-general-1/make-removable-usb-hdd-mount-at-fixed-mount-point-511917/" target="_blank">linuxquestions thread</a>: &#8220;If you use UUID they get lost when you mkfs, if you use LABEL you have  to assign the labels by hand after a mkfs, and if you use ID you could  have device &#8220;conflicts&#8221; if you have two identical drives &#8211; but this  would happen with the udev hack too.&#8221;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/joshsambry.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/joshsambry.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/joshsambry.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/joshsambry.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/joshsambry.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/joshsambry.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/joshsambry.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/joshsambry.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/joshsambry.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/joshsambry.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/joshsambry.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/joshsambry.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/joshsambry.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/joshsambry.wordpress.com/67/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joshsambry.wordpress.com&amp;blog=10215428&amp;post=67&amp;subd=joshsambry&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://joshsambry.wordpress.com/2009/12/11/backing-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6108b7601c41e5337baaa26330c4af1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Josh</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting Up the Print/Scan Server</title>
		<link>http://joshsambry.wordpress.com/2009/12/04/setting-up-the-printscan-server/</link>
		<comments>http://joshsambry.wordpress.com/2009/12/04/setting-up-the-printscan-server/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 06:00:59 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Configuration]]></category>

		<guid isPermaLink="false">http://joshsambry.wordpress.com/?p=62</guid>
		<description><![CDATA[Printing Here&#8217;s the first part of /etc/cups/cupsd.conf: # Log general information in error_log - change "warn" to "debug" # for troubleshooting... LogLevel warn # Deactivate CUPS' internal logrotating, as we provide a better one, especially # LogLevel debug2 gets usable now MaxLogSize 0 # Administrator user group... SystemGroup lpadmin # Only listen for connections from [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joshsambry.wordpress.com&amp;blog=10215428&amp;post=62&amp;subd=joshsambry&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>Printing</h2>
<p>Here&#8217;s the first part of /etc/cups/cupsd.conf:</p>
<pre># Log general information in error_log - change "warn" to "debug"
# for troubleshooting...
LogLevel warn
# Deactivate CUPS' internal logrotating, as we provide a better one, especially
# LogLevel debug2 gets usable now
MaxLogSize 0
# Administrator user group...
SystemGroup lpadmin
# Only listen for connections from the local machine.
Listen *:631
#Listen localhost:631
Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseLocalProtocols CUPS dnssd
BrowseAddress @LOCAL

# Default authentication type, when authentication is required...
DefaultAuthType Basic

# Restrict access to the server...
&lt;Location /&gt;
#  Order allow,deny
 Order deny,allow
 Deny from all
 Allow localhost
 Allow @LOCAL
&lt;/Location&gt;

# Restrict access to the admin pages...
&lt;Location /admin&gt;
 Order allow,deny
Allow @LOCAL
&lt;/Location&gt;

# Restrict access to configuration files...
&lt;Location /admin/conf&gt;
 AuthType Default
 Require user @SYSTEM
 Order allow,deny
 Allow @LOCAL
&lt;/Location&gt;

# Set the default printer/job policies...
...
...</pre>
<p>After restarting the CUPS server</p>
<pre>sudo /etc/init.d/cups restart</pre>
<p>you can browse to the server administration pages at</p>
<pre>http://homeserver:631/</pre>
<p>After connecting our Canon Pixma MP780 via USB into the server, I ran</p>
<pre>josh@homeserver:/$ lpinfo -v
network lpd
network socket
network smb
network http
network ipp
network beh
direct scsi
network dnssd://Canon%20MP780%20%40%20hannahscomp._ipp._tcp.local/cups
network dnssd://Canon,%20Inc.%20PIXMA%20MP780%20Scanner%20%40%20hannahscomp._ipp._tcp.local/cups
network dnssd://Metafile%20to%20EPS%20Converter%20%40%20hannahscomp._ipp._tcp.local/cups
direct hp
direct usb://Canon/MP780
direct usb://Canon/MP780%20FAX
direct hpfax</pre>
<p>Then, to find the right driver,</p>
<pre>josh@homeserver:$ lpinfo -m | grep 'Canon PIXMA MP780'
gutenprint.5.2://bjc-MULTIPASS-MP780/expert Canon PIXMA MP780 - CUPS+Gutenprint v5.2.4</pre>
<p>The problem now is that I can&#8217;t see the printer from any other computer on the network through the cups service. I had to set up a samba share to print, which worked for a while then I think I broke it eventually. I found a better way to get it to work, avoiding samba altogether. On the clients, install a network printer via Internet Printing Protocol (ipp). The IPP Printer URI syntax is:</p>
<pre>ipp://homeserver/printers/Canon_MP780
(Host: homeserver/printers/
Queue: Canon_MP780)</pre>
<p>The device name, Canon_MP780, should be whatever cups sees the device name installed as on the server. Leave the queue blank. I still can&#8217;t see the shared printer via the cups protocol, which would be much more convenient, but this works OK for now.</p>
<p>I found an interesting link on setting up a LDAP print server <a title="Home print server using CUPS" href="http://ubuntuforums.org/showthread.php?p=8667635" target="_blank">here</a>, with summary <a title="Home print server using CUPS - Ubuntu Geek" href="http://www.ubuntugeek.com/home-print-server-using-cups-using-x11-or-console-based-only.html" target="_blank">here</a>, but haven&#8217;t tried it out yet.</p>
<h2>Scanning</h2>
<p>Follow along <a href="https://help.ubuntu.com/community/ScanningHowTo">https://help.ubuntu.com/community/ScanningHowTo</a></p>
<p>With one caveat (bug) that I ran into. Apparently, the local scanner port needs write permissions&#8211;not given by default. The fix I found is described <a href="http://ubuntuforums.org/showthread.php?p=8362346" target="_blank">here</a>, and consists of the following. But first, run a few diagnostic tools:</p>
<pre>sane-find-scanner
$ scanimage -V
$ scanimage -L
$ scanimage -T</pre>
<p>This is where it broke, saying &#8220;scanimage: open of device pixma:04A91707 failed: Access to resource has been denied&#8221;. The problem is evident when you look at permissions on your usb port.</p>
<pre>$ ll /dev/bus/usb/001/003 (or where ever scanimage -T told you to look)
crw-rw-r-- 1 root root 189, 2 2009-12-04 22:04 003</pre>
<p>As a work around, edit</p>
<pre>$ sudo nano /lib/udev/rules.d/50-udev-default.rules</pre>
<p>Change the libusb line to read:</p>
<pre># libusb device nodes
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"</pre>
<p>Then just unplug, and replug in the scanner, and run</p>
<pre>$ scanimage -T
</pre>
<h3>Client configuration</h3>
<p>Finally, in order for your clients to find the server, goto /etc/sane.d/net.conf and add the line</p>
<pre>homeserver
</pre>
<p>Then, to keep sane from listing digital cameras in the scanner list at start up, edit /etc/sane.d/v4l.conf thus:</p>
<pre>#
# In order to use the v4linux backend you have to give the device
# You can enable multiple lines if
# you really have multible v4l devices.
#
/dev/bttv0
# To keep sane from listing digital camera in scanner list
#/dev/video0
/dev/video1
/dev/video2
/dev/video3</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/joshsambry.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/joshsambry.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/joshsambry.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/joshsambry.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/joshsambry.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/joshsambry.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/joshsambry.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/joshsambry.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/joshsambry.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/joshsambry.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/joshsambry.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/joshsambry.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/joshsambry.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/joshsambry.wordpress.com/62/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joshsambry.wordpress.com&amp;blog=10215428&amp;post=62&amp;subd=joshsambry&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://joshsambry.wordpress.com/2009/12/04/setting-up-the-printscan-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6108b7601c41e5337baaa26330c4af1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Josh</media:title>
		</media:content>
	</item>
	</channel>
</rss>
