<?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>Nozell, rhymes with Oh Hell &#187; SheevaPlug</title>
	<atom:link href="http://nozell.com/blog/taxonomy/categories/linux/sheevaplug-linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://nozell.com/blog</link>
	<description>Marc Nozell's random stuff -- mostly GNU/Linux, technology, genealogy, family</description>
	<lastBuildDate>Tue, 13 Mar 2012 01:18:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Belated Blog Birthday</title>
		<link>http://nozell.com/blog/2012/03/12/belated-blog-birthday/</link>
		<comments>http://nozell.com/blog/2012/03/12/belated-blog-birthday/#comments</comments>
		<pubDate>Tue, 13 Mar 2012 00:01:12 +0000</pubDate>
		<dc:creator>Marc Nozell</dc:creator>
				<category><![CDATA[DreamPlug]]></category>
		<category><![CDATA[genealogy]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[hp]]></category>
		<category><![CDATA[hp 2133]]></category>
		<category><![CDATA[SheevaPlug]]></category>

		<guid isPermaLink="false">http://nozell.com/blog/?p=1065</guid>
		<description><![CDATA[I missed a couple of milestones. This blog turned 10 years old on March 5th, 2012. It started life as a humble blosxom script and stayed like that for two years when I migrated to a self-hosted wordpress blog. Since I&#8217;ve been tracking late in 2007, there has been 180,000 page views &#8212; a good [...]]]></description>
			<content:encoded><![CDATA[<p>I missed a couple of milestones.</p>
<p>This blog turned <strong>10</strong> years old on March 5th, 2012.  It <a href="http://nozell.com/blog/2002/03/05/first-entry/">started life</a> as a humble <a href="http://www.blosxom.com/">blosxom</a> script and stayed like that for two years when <a href="http://nozell.com/blog/2004/07/13/howto-migrate-from-blosxom-to-wordpress-work-in-progress/">I migrated to a self-hosted wordpress</a> blog.  Since I&#8217;ve been tracking late in 2007, there has been 180,000 page views &#8212; a good percentage is probably spammers.</p>
<p>Here are my move viewed blog entries:</p>
<ol>
<li><a href="http://nozell.com/blog/2004/08/13/tesselation-art/">messing around with tiles</a> (13-Aug-2004; 16,153 hits) &#8212; a silly little post about using the <a href="http://www.cgl.uwaterloo.ca/~csk/washington//taprats/">taprats</a> java app to generate some interesting titles.  It is also where I got the favicon for nozell.com.</li>
<li><a href="http://nozell.com/blog/2003/05/04/family-pictures-including-one-of-me-naked/">family pictures &#8212; including one of me naked!</a> (4-May-2003; 7,560 hits) &#8212; Seems lots of people are searching for naked photos on the internet.  Who knew?  The entry has some bitrot, but I had scanned some old photos as part of a genealogy project.  Here is the <a href="http://www.flickr.com/photos/marcn/30956283/">photo of me butt naked.<br />
</a></li>
<li><a href="http://nozell.com/blog/2009/05/12/getting-started-with-the-sheevaplug/">Getting started with the SheevaPlug</a> (12-May-2009; 7,158 hits) &#8212; finally a geek-related entry!  I&#8217;m still somewhat happy with LordShiva.local, but it sometimes flakes out losing the root filesystem. Its backup function has been moved to a DreamPlug.</li>
<li><a href="http://nozell.com/blog/2004/09/04/flickr-upload-for-gnomes-nautilus/">flickr upload for gnome&#8217;s nautilus</a> (4-Sep-2004; 6,077 hits) &#8212; Back in the Debian/Sarge days I wrote a little Nautilus script to upload flickr photos.  It got some link-love from flickr.  Sadly the script is lost to the ages. </li>
<li><a href="http://nozell.com/blog/2004/03/05/ive-seen-things-ive-seen-them-with-my-eyes/">I’ve seen things, I’ve seen them with my eyes…</a> (5-Mar-2004; 4,901 hits) &#8212; damn earworm by the excellent Weebl. Surprisingly the link is still good. Best part of the song? Kuala Lumpur!</li>
<li><a href="http://nozell.com/blog/2004/05/08/some-tips-to-reinstall-grub-on-an-hp-proliant-server/">Some tips to (re)install grub on an HP ProLiant server</a> (8-May-2004, 4762 hits) &#8212; Back in the day HP ProLiant with SmartArray controllers, Red Hat and grub didn&#8217;t love each other as much as they do today. My notes were popular for a while, less so over time.</li>
<li><a href="http://nozell.com/blog/2006/09/13/logitech-usb-headset-ubuntulinux/">Logitech USB headset &#038; Ubuntu/Linux</a> (13-Sep-2006; 4,263 hits) &#8212; evidence that random devices work out of the box on Linux just like it usually does on Windows.</li>
<li><a href="http://nozell.com/blog/2008/06/04/hp-2133-update/">hp 2133 update</a> (4-Jun-2008; 3,799 hits) &#8212; described some problems installing various distros of Linux on my cute little hp2133 netbook.  Since then Ubuntu has been running on the hp2133 just fine and has ubeen upgraded through Oneric.  Now it is off at college with Son #2 who uses it for notetaking in class.</li>
<li><a href="http://nozell.com/blog/2009/05/17/sheevaplug-customizing-pre-installed-ubuntujaunty/">SheevaPlug customizing pre-installed Ubuntu/Jaunty</a> (17-May-2009; 3,392 hits) &#8212; misc notes on the SheevaPlug when it was running Ubuntu/Jaunty.  Currently it is running Debian/Squeeze mainly because Ubuntu dropped support for the ARM CPU it uses.</li>
<li><a href="http://nozell.com/blog/2009/06/26/sheevaplug-is-now-my-main-home-server/">SheevaPlug is now my main home server</a> (26-Jun-2009; 2,916 hits) &#8212; A write up on what the SheevaPlug was hosting in <a href="http://nozell.com/blog/2011/04/14/my-plugcomputer-datacenter/">my home datacenter</a>.  All those functions have moved to the newer and more capable <a href="http://nozell.com/blog/?s=dreamplug">DreamPlug</a>.
</li>
</ol>
<p>The other big milestone is I&#8217;ve had the <a href="http://nozell.com/">nozell.com</a> domain for <strong>15</strong> years &#8212; 6-Feb-1997.  I have children that are younger than that domain!</p>
<p><code><br />
 Record last updated on 07-Feb-2012.<br />
 Record expires on 07-Feb-2013.<br />
 Record created on 06-Feb-1997.<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://nozell.com/blog/2012/03/12/belated-blog-birthday/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My PlugComputer datacenter</title>
		<link>http://nozell.com/blog/2011/04/14/my-plugcomputer-datacenter/</link>
		<comments>http://nozell.com/blog/2011/04/14/my-plugcomputer-datacenter/#comments</comments>
		<pubDate>Thu, 14 Apr 2011 17:24:11 +0000</pubDate>
		<dc:creator>Marc Nozell</dc:creator>
				<category><![CDATA[DreamPlug]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[photos]]></category>
		<category><![CDATA[SheevaPlug]]></category>
		<category><![CDATA[dreamplug]]></category>
		<category><![CDATA[sheevaplug]]></category>

		<guid isPermaLink="false">http://nozell.com/blog/2011/04/14/my-plugcomputer-datacenter/</guid>
		<description><![CDATA[.flickr-photo { border: solid 2px #000000; } .flickr-yourcomment { } .flickr-frame { text-align: left; padding: 3px; } .flickr-caption { font-size: 0.8em; margin-top: 0px; } My PlugComputer datacenter, originally uploaded by marcn.]]></description>
			<content:encoded><![CDATA[<style type="text/css">
.flickr-photo { border: solid 2px #000000; }
.flickr-yourcomment { }
.flickr-frame { text-align: left; padding: 3px; }
.flickr-caption { font-size: 0.8em; margin-top: 0px; }
</style>
<div class="flickr-frame">
	<a href="http://www.flickr.com/photos/marcn/5619450798/" title="photo sharing"><img src="http://farm6.static.flickr.com/5309/5619450798_0589f5054e.jpg" class="flickr-photo" alt="" /></a><br />
<br />
	<span class="flickr-caption"><a href="http://www.flickr.com/photos/marcn/5619450798/">My PlugComputer datacenter</a>, originally uploaded by <a href="http://www.flickr.com/photos/marcn/">marcn</a>.</span>
</div>
<p class="flickr-yourcomment">
]]></content:encoded>
			<wfw:commentRss>http://nozell.com/blog/2011/04/14/my-plugcomputer-datacenter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dreamplug</title>
		<link>http://nozell.com/blog/2011/04/13/dreamplug/</link>
		<comments>http://nozell.com/blog/2011/04/13/dreamplug/#comments</comments>
		<pubDate>Thu, 14 Apr 2011 01:17:37 +0000</pubDate>
		<dc:creator>Marc Nozell</dc:creator>
				<category><![CDATA[DreamPlug]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[SheevaPlug]]></category>
		<category><![CDATA[ARM]]></category>
		<category><![CDATA[dreamplug]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://nozell.com/blog/?p=938</guid>
		<description><![CDATA[My Dreamplug from Globalscale Technologies finally arrived yesterday and I&#8217;m just getting around to dig into it. Things I&#8217;ve noticed: Shipped with Ubuntu/Jaunty preinstalled. Root password: nosoup4u kernel: Linux ubuntu 2.6.33.6 #1 PREEMPT Tue Feb 8 03:18:41 EST 2011 armv5tel GNU/Linux Misc system info: /proc/meminfo,/proc/cpuinfo, dmesg and lsmod Only port open is ssh The dreamplug [...]]]></description>
			<content:encoded><![CDATA[<p>My <a href=http://www.globalscaletechnologies.com/t-dreamplugdetails.aspx>Dreamplug</a> from <a href=http://www.globalscaletechnologies.com>Globalscale Technologies</a> finally arrived yesterday and I&#8217;m just getting around to dig into it.</p>
<p>Things I&#8217;ve noticed:</p>
<ul>
<li> Shipped with Ubuntu/Jaunty preinstalled.  Root password: nosoup4u</li>
<li>kernel:<br />
<tt>Linux ubuntu 2.6.33.6 #1 PREEMPT Tue Feb 8 03:18:41 EST<br />
2011 armv5tel GNU/Linux</tt></li>
<li>Misc system info: <a href=http://dl.dropbox.com/u/966718/DreamPlug/meminfo.txt>/proc/meminfo</a>,<a href=http://dl.dropbox.com/u/966718/DreamPlug/cpuinfo.txt>/proc/cpuinfo</a>, <a href=http://dl.dropbox.com/u/966718/DreamPlug/dmesg.txt>dmesg</a> and <a href=http://dl.dropbox.com/u/966718/DreamPlug/lsmod.txt>lsmod</a>
</li>
<li>Only port open is ssh</li>
<li>The dreamplug starts up as an open wifi access point that will route through either eth0 of the wired network or a ppp0 device.  It is named DreamPlug-uAP-{last two octects of the uap0 MAC address} ie: DreamPlug-uAP-eb4c</li>
<li>/etc/rc.local runs a script in ~root/init_setup.sh(!)  It sets up the wifi as an access point, configures iptables for ip masquerade/ip forwarding, enables bluetooth and plays with the LED light brightness. See: <a href=http://dl.dropbox.com/u/966718/DreamPlug/init_setup.sh>init_setup.sh</a>
</li>
<li>They didn&#8217;t clean up .history &#8212; lots of interesting stuff in there! Grab a copy before you do any commands as root.  I lost the first 34 commands and curious what else they were doing. See: <a href=http://dl.dropbox.com/u/966718/DreamPlug/history.txt>history.txt</a>
</li>
<li>
Some commands they used and places to check for changes from default values:</p>
<p>  &#8211; uaputl sys_config<br />
  &#8211; cp -rf /mnt/uaputl /usr/bin/uaputl<br />
  &#8211; vi /sbin/wlan.sh<br />
  &#8211; vi /etc/usbmount/usbmount.conf<br />
  &#8211; mocp /media/usb1/EyesOnMe.mp3  (someone&#8217;s favorite song, it gets played a number of times)<br />
  &#8211; vi /etc/modprobe.d/blacklist-framebuffer.conf<br />
  &#8211; vi /etc/modprobe.d/alsa-base.conf<br />
  &#8211; cat /proc/asound/card0/codec<br />
  &#8211; cat /proc/asound/card0/usbbus<br />
  &#8211; cat /proc/asound/card0/usbid<br />
  &#8211; cat /proc/asound/card0/pcm0p/info<br />
  &#8211; vi /etc/ld.so.conf.d/libasound2.conf<br />
  &#8211; vi /etc/java-6-openjdk/sound.properties<br />
  &#8211; speaker-test<br />
  &#8211; vi /etc/mke2fs.conf +5<br />
  &#8211; vi /etc/asound.conf<br />
  &#8211; arecord -f dat -D hw:3,0 -d 30 foo.wav<br />
  &#8211; arecord -f dat -D hw:0 -d 30 foo.wav<br />
  &#8211; arecord -f dat -D hw:1,0 -d 30 foo.wav<br />
  &#8211; cat /proc/asound/cards<br />
  &#8211; arecord -l<br />
  &#8211; vi /etc/asound.conf<br />
  &#8211; mocp BuzzingBee.wav<br />
  &#8211; mv /etc/asound.conf /etc/asound1.conf<br />
  &#8211; vi /etc/modprobe.conf<br />
  &#8211; sudo apt-get  install  snd_pcm_dmix<br />
  &#8211; vi /etc/asound1.conf<br />
  &#8211; cp -rf /etc/asound1.conf /etc/asound.conf<br />
  &#8211; play /home/havana.wav<br />
  &#8211; vi /etc/udhcpd.conf
</li>
<li>There are two kernel modules (mcypt.ko &#038; sd8xxx.ko) sitting in ~root/ On how to use them (not that I&#8217;ve tried yet), try <a href="http://www.openplug.org/plugwiki/index.php/Setting_GuruPlug_to_be_a_stable_WiFi_Client">here on openplug.org</a>. See: <a href=http://dl.dropbox.com/u/966718/DreamPlug/mcypt.ko>mcypt.ko</a> and <a href=http://dl.dropbox.com/u/966718/DreamPlug/sd8xxx.ko>sd8xxx.ko</a>
</li>
<li>Packages installed by default: <a href=http://dl.dropbox.com/u/966718/DreamPlug/dpkg.list>dpkg.txt</a>
</li>
<li>Things to do:<br />
<del datetime="2011-04-14T15:02:16+00:00">  &#8211; <code>apt-get update &#038;&#038; apt-get upgrade</code> (carefully don&#8217;t trash possibly changed config files)</del><br />
<del datetime="2011-04-14T15:02:16+00:00">  &#8211; install emacs (<code>sudo apt-get install emacs</code>)</del><br />
<del datetime="2011-04-14T15:03:02+00:00">  &#8211; change password</del><br />
<del datetime="2011-04-14T15:03:02+00:00">  &#8211; create user accounts</del><br />
<del datetime="2011-04-14T15:03:02+00:00">  &#8211; add users to sudousers (<code>visudo</code>)</del><br />
<del datetime="2011-04-14T15:03:02+00:00">  &#8211; install ssh keys (<code>ssh-copy-id user@ubuntu.local</code>)</del><br />
<del datetime="2011-04-14T15:07:08+00:00">  &#8211; change the hostname from ubuntu.local to <a href="http://en.wikipedia.org/wiki/Morpheus_(mythology)">morpheus.local</a> (to go with my SheevaPlug named <a href="http://en.wikipedia.org/wiki/Shiva">lordshiva.local</a>) (edit /etc/hostname and /etc/hosts)</del><br />
  &#8211; play with USB webcam &#038; <a href=http://manpages.ubuntu.com/manpages/jaunty/en/man1/motion.1.html>motion</a><br />
  &#8211; setup ftp/nfs for local file sharing<br />
  &#8211; carefully consider upgrading to more recent versions<br />
  &#8211; look at using as a wifi client<br />
  &#8211; try pairing bluetooth headset<br />
  &#8211; try pairing android phone &#8212; file transfers? remote control?<br />
  &#8211; install cups<br />
  &#8211; install gnump3d (needs make)<br />
  &#8211; install munin to monitor performance (is this going to kill my<br />
  internal sd storage?)
</li>
</ul>
<p>14-Apr 10:50am Update: <a href="http://www.reddit.com/r/linux/comments/gp49y/so_i_happened_across_a_dreamplug/">DreamPlug discussion on reddit submitted by sub2k1</a></p>
]]></content:encoded>
			<wfw:commentRss>http://nozell.com/blog/2011/04/13/dreamplug/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>SheevaPlug is now my main home server</title>
		<link>http://nozell.com/blog/2009/06/26/sheevaplug-is-now-my-main-home-server/</link>
		<comments>http://nozell.com/blog/2009/06/26/sheevaplug-is-now-my-main-home-server/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 18:04:40 +0000</pubDate>
		<dc:creator>Marc Nozell</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[SheevaPlug]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[homeserver]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[lordshiva]]></category>
		<category><![CDATA[sheevaplug]]></category>

		<guid isPermaLink="false">http://nozell.com/blog/?p=769</guid>
		<description><![CDATA[I&#8217;m finally at the point where the little SheevaPlug can replace the aging Compaq DeskPro EN that has been our main home server. Functions: mail hub network print server scan server mp3 file server system monitor proxy server Here are the detailed steps needed to convert this $99 low power server into something useful: Connect [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m finally at the point where the little SheevaPlug can replace the aging Compaq DeskPro EN that has been our main home server.</p>
<p>Functions:</p>
<ul>
<li>mail hub</li>
<li>network print server</li>
<li>scan server</li>
<li>mp3 file server</li>
<li>system monitor</li>
<li>proxy server</li>
</ul>
<p>Here are the detailed steps needed to convert this $99 low power server into something useful:</p>
<p><span id="more-769"></span></p>
<p><strong>Connect to the SheevaPlug console</strong></p>
<p>* Connect the mini-USB/USB cable to a handy Linux box<br />
* Load the appropriate kernel module:<br />
<code>sudo modprobe ftdi_sio vendor=0x9e88 product=0x9e8f </code><br />
* Install gtkterm if you don&#8217;t already have it:<br />
<code>apt-get install gtkterm</code><br />
* Configure gtkterm to connect to port /dev/ttyUSB1 (or whatever the SheevaPlug reports as, <code>ls /dev/ttyUSB*</code> to find out)<br />
* Power up and watch the boot</p>
<p>= Start with Martin&#8217;s file system =</p>
<p>See the excellent description of getting the Debian/Lenny filesystem snapshot that Martin Michlmayr has provided:<br />
<a href="http://www.cyrius.com/debian/kirkwood/sheevaplug/unpack.html">http://www.cyrius.com/debian/kirkwood/sheevaplug/unpack.html</a></p>
<p>In addition to building an MMC card with the initial Debian file system, also upgrade the firmware to the one provided by user <a href="http://plugcomputer.org/plugforum/index.php?action=profile;u=221">kwonsk</a> at the <a href="http://plugcomputer.org/plugforum/index.php?topic=183.0">PlugComputer.org forum</a>.  You will likely need to install the tftp server somewhere on your network &#8212; <code>apt-get install tftpd</code> and put the u-boot.bin binary in <code>/srv/tftp/</code></p>
<p>= Initial steps =</p>
<p>* Login as root via the console change the root password: <code>passwd<br />
* Note the ip address (</code><code>/sbin/ifconfig eth0</code>ntpdate pool.ntp.org<br />
* Change the ssh keys:<br />
<code><br />
<strong>rm /etc/ssh/ssh_host*</strong><br />
<strong>ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ""</strong><br />
Generating public/private dsa key pair.<br />
Your identification has been saved in /etc/ssh/ssh_host_dsa_key.<br />
Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.<br />
The key fingerprint is:<br />
b0:25:d2:d8:5c:89:9c:07:bc:94:cf:be:26:d5:ee:66 root@debian<br />
The key's randomart image is:<br />
+--[ DSA 1024]----+<br />
|     o.=..       |<br />
|     =B.o        |<br />
|    o.*=.        |<br />
|     ..=o        |<br />
|      ..S.       |<br />
|        o .      |<br />
|       . o       |<br />
|      . o E      |<br />
|       o +.      |<br />
+-----------------+<br />
<strong>ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ""</strong><br />
Generating public/private rsa key pair.<br />
Your identification has been saved in /etc/ssh/ssh_host_rsa_key.<br />
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.<br />
The key fingerprint is:<br />
4f:e4:64:bc:bc:20:5b:3c:7d:8a:5f:b9:70:9c:e2:b5 root@debian<br />
The key's randomart image is:<br />
+--[ RSA 2048]----+<br />
|                 |<br />
|         .       |<br />
|          =      |<br />
|       . B .     |<br />
|      . S * .    |<br />
|       + * = o   |<br />
|      . . * B    |<br />
|         o * o   |<br />
|          o E    |<br />
+-----------------+<br />
</code></p>
<p>* Unless you live in the same region as Martin, change /etc/apt/sources.list to use a closer Debian repository:<br />
<code>perl -pi~ -e 's/ftp.at/ftp.us/' /etc/apt/sources.list</code></p>
<p>* Same with timezone and locale: <code>dpkg-reconfigure tzdata &#038;&#038; dpkg-reconfigure locales</code></p>
<p>* Pick a hostname, I&#8217;m using lordshiva<br />
<code><br />
perl -pi~ -e 's/debian/lordshiva/' /etc/hostname<br />
hostname -F /etc/hostname<br />
</code></p>
<p>* Update/Upgrade<br />
<code>apt-get update &#038;&#038; apt-get upgrade </code></p>
<p>* Add users <code>adduser marc</code>, etc</p>
<p>= Initial tools =</p>
<p>Add openntpd to keep the time in sync</p>
<p><code>apt-get install openntpd<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
The following NEW packages will be installed:<br />
  openntpd<br />
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 0B/45.7kB of archives.<br />
After this operation, 188kB of additional disk space will be used.<br />
Selecting previously deselected package openntpd.<br />
(Reading database ... 16890 files and directories currently installed.)<br />
Unpacking openntpd (from .../openntpd_3.9p1-7_armel.deb) ...<br />
Processing triggers for man-db ...<br />
Setting up openntpd (3.9p1-7) ...<br />
Starting openntpd: ntpd.<br />
</code></p>
<p>So you don&#8217;t get tempted to use root all the time, get sudo and add appropriate user accounts:</p>
<p><code>apt-get install sudo<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
The following NEW packages will be installed:<br />
  sudo<br />
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 180kB of archives.<br />
After this operation, 438kB of additional disk space will be used.<br />
Get:1 http://ftp.us.debian.org lenny/main sudo 1.6.9p17-2 [180kB]<br />
Fetched 180kB in 1s (140kB/s)<br />
Selecting previously deselected package sudo.<br />
(Reading database ... 16906 files and directories currently installed.)<br />
Unpacking sudo (from .../sudo_1.6.9p17-2_armel.deb) ...<br />
Processing triggers for man-db ...<br />
Setting up sudo (1.6.9p17-2) ...<br />
No /etc/sudoers found... creating one for you.<br />
lordshiva# <strong>visudo</strong><br />
add a line line this:<br />
<strong>marc    ALL=(ALL) ALL</strong><br />
</code></p>
<p>Log out as root and reconnect as your new username to continue.</p>
<p>= Handy tools =</p>
<p>Install a number of handy tools: emacs (without X), usbutils, telnet, rsync, screen, htop</p>
<p><code><br />
marc@lordshiva:~$ sudo apt-get install emacs22-nox rsync screen htop sudo: unable to resolve host lordshiva</p>
<p>We trust you have received the usual lecture from the local System<br />
Administrator. It usually boils down to these three things:</p>
<p>    #1) Respect the privacy of others.<br />
    #2) Think before you type.<br />
    #3) With great power comes great responsibility.</p>
<p>[sudo] password for marc:<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
The following extra packages will be installed:<br />
  emacs22-bin-common emacs22-common emacsen-common libasound2<br />
Suggested packages:<br />
  emacs22-el emacs22-common-non-dfsg libasound2-plugins<br />
The following NEW packages will be installed:<br />
  emacs22-bin-common emacs22-common emacs22-nox emacsen-common htop libasound2 rsync screen<br />
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 18.5MB of archives.<br />
After this operation, 63.9MB of additional disk space will be used.<br />
Do you want to continue [Y/n]?<br />
</code></p>
<p>= The avahi daemon =</p>
<p>Avahi is handy on small home networks because it lets you refer to systems with DHCP provided address by name without having to update everyone&#8217;s /etc/hosts file.  eg: ssh lordshiva.local</p>
<p><code>sudo apt-get install avahi-daemon<br />
marc@lordshiva:~$ sudo apt-get install avahi-daemon<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
The following extra packages will be installed:<br />
  dbus dbus-x11 libavahi-common-data libavahi-common3 libavahi-core5 libdaemon0 libdbus-1-3 libexpat1 libnss-mdns libx11-6 libx11-data libxau6 libxcb-xlib0 libxcb1<br />
  libxdmcp6<br />
Suggested packages:<br />
  avahi-autoipd<br />
The following NEW packages will be installed:<br />
  avahi-daemon dbus dbus-x11 libavahi-common-data libavahi-common3 libavahi-core5 libdaemon0 libdbus-1-3 libexpat1 libnss-mdns libx11-6 libx11-data libxau6<br />
  libxcb-xlib0 libxcb1 libxdmcp6<br />
0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 1721kB of archives.<br />
After this operation, 7250kB of additional disk space will be used.<br />
Do you want to continue [Y/n]?</code></p>
<p>= Making the SheevaPlug a printserver =</p>
<p>I have an hp PSC 1510 All-in-One printer/scanner that I want to share to the other workstations at home.</p>
<p>Install cups which pulls in a ton of other packages as well as the open source print management tools from Hewlett-Packard, hplip</p>
<p><code>marc@lordshiva:~$ sudo apt-get install cups hplip<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
The following extra packages will be installed:<br />
  avahi-utils cpp cpp-4.3 cups-client cups-common cupsddk cupsddk-drivers<br />
  defoma fontconfig fontconfig-config foomatic-db foomatic-db-engine<br />
  foomatic-filters gconf2 gconf2-common ghostscript ghostscript-x gksu<br />
  gnome-keyring gs-common gs-esp gsfonts hicolor-icon-theme hpijs hplip-data<br />
  hplip-gui libatk1.0-0 libatk1.0-data libaudio2 libavahi-client3<br />
  libavahi-compat-libdnssd1 libcairo2 libcups2 libcupsimage2 libdatrie0<br />
  libdbus-glib-1-2 libdirectfb-1.0-0 libdrm2 libexif12 libffi5 libfontconfig1<br />
  libfontenc1 libfreetype6 libgconf2-4 libgksu2-0 libgl1-mesa-glx libglade2-0<br />
  libglib2.0-0 libglib2.0-data libglu1-mesa libgmp3c2 libgnome-keyring0<br />
  libgphoto2-2 libgphoto2-port0 libgs8 libgtk2.0-0 libgtk2.0-bin<br />
  libgtk2.0-common libgtop2-7 libgtop2-common libhal-storage1 libhal1 libice6<br />
  libidl0 libieee1284-3 libjpeg62 liblcms1 libltdl3 libmng1 libmpfr1ldbl<br />
  libmysqlclient15off liborbit2 libpam-gnome-keyring libpango1.0-0<br />
  libpango1.0-common libpaper-utils libpaper1 libperl5.10 libpixman-1-0<br />
  libpng12-0 libpoppler3 libqt3-mt libqt4-assistant libqt4-dbus<br />
  libqt4-designer libqt4-help libqt4-network libqt4-qt3support libqt4-script<br />
  libqt4-sql libqt4-sql-mysql libqt4-svg libqt4-test libqt4-webkit libqt4-xml<br />
  libqt4-xmlpatterns libqtcore4 libqtgui4 libsane libsane-extras libsensors3<br />
  libslp1 libsm6 libsnmp-base libsnmp15 libstartup-notification0 libsysfs2<br />
  libtalloc1 libthai-data libthai0 libtiff4 libts-0.0-0 libwbclient0<br />
  libxcb-render-util0 libxcb-render0 libxcomposite1 libxcursor1 libxdamage1<br />
  libxext6 libxfixes3 libxfont1 libxft2 libxi6 libxinerama1 libxmu6 libxmuu1<br />
  libxrandr2 libxrender1 libxt6 libxxf86vm1 mysql-common openssl<br />
  openssl-blacklist poppler-utils psfontmgr psmisc python-dbus<br />
  python-elementtree python-gobject python-imaging python-qt3 python-qt4<br />
  python-qt4-common python-reportlab python-sip4 python-support qt4-qtconfig<br />
  samba-common sane-utils smbclient ssl-cert ttf-bitstream-vera ttf-dejavu<br />
  ttf-dejavu-core ttf-dejavu-extra ttf-dustin x-ttcidfont-conf x11-common<br />
  xauth xfonts-encodings xfonts-utils<br />
Suggested packages:<br />
  cpp-doc gcc-4.3-locales cups-bsd cups-driver-gutenprint xpdf-korean<br />
  xpdf-japanese xpdf-chinese-traditional xpdf-chinese-simplified cups-pdf<br />
  kdeprint gtklp cups-pt xpp defoma-doc dfontmgr foomatic-db-hpijs<br />
  foomatic-db-gutenprint foo2zjs cupsys foomatic-gui hpijs-ppds hplip-doc<br />
  openprinting-ppds nas libfreetype6-dev gphoto2 gtkam librsvg2-common<br />
  liblcms-utils ttf-kochi-gothic ttf-kochi-mincho ttf-thryomanes ttf-baekmuk<br />
  ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp ttf-arphic-gkai00mp<br />
  ttf-arphic-bkai00mp libqt3-mt-mysql libqt3-mt-odbc libqt3-mt-psql libqt4-dev<br />
  hpoj lm-sensors slpd openslp-doc ca-certificates python-dbus-dbg<br />
  python-dbus-doc python-elementtree-doc python-gobject-dbg python-imaging-doc<br />
  python-imaging-dbg python-qt3-doc python-qt3-gl python-qt4-dbg pdf-viewer<br />
  python-egenix-mxtexttools python-reportlab-doc unpaper smbfs<br />
Recommended packages:<br />
  libft-perl cupsys-client lpr lprng pdq rlpr python-renderpm<br />
The following NEW packages will be installed:<br />
  avahi-utils cpp cpp-4.3 cups cups-client cups-common cupsddk cupsddk-drivers<br />
  defoma fontconfig fontconfig-config foomatic-db foomatic-db-engine<br />
  foomatic-filters gconf2 gconf2-common ghostscript ghostscript-x gksu<br />
  gnome-keyring gs-common gs-esp gsfonts hicolor-icon-theme hpijs hplip<br />
  hplip-data hplip-gui libatk1.0-0 libatk1.0-data libaudio2 libavahi-client3<br />
  libavahi-compat-libdnssd1 libcairo2 libcups2 libcupsimage2 libdatrie0<br />
  libdbus-glib-1-2 libdirectfb-1.0-0 libdrm2 libexif12 libffi5 libfontconfig1<br />
  libfontenc1 libfreetype6 libgconf2-4 libgksu2-0 libgl1-mesa-glx libglade2-0<br />
  libglib2.0-0 libglib2.0-data libglu1-mesa libgmp3c2 libgnome-keyring0<br />
  libgphoto2-2 libgphoto2-port0 libgs8 libgtk2.0-0 libgtk2.0-bin<br />
  libgtk2.0-common libgtop2-7 libgtop2-common libhal-storage1 libhal1 libice6<br />
  libidl0 libieee1284-3 libjpeg62 liblcms1 libltdl3 libmng1 libmpfr1ldbl<br />
  libmysqlclient15off liborbit2 libpam-gnome-keyring libpango1.0-0<br />
  libpango1.0-common libpaper-utils libpaper1 libperl5.10 libpixman-1-0<br />
  libpng12-0 libpoppler3 libqt3-mt libqt4-assistant libqt4-dbus<br />
  libqt4-designer libqt4-help libqt4-network libqt4-qt3support libqt4-script<br />
  libqt4-sql libqt4-sql-mysql libqt4-svg libqt4-test libqt4-webkit libqt4-xml<br />
  libqt4-xmlpatterns libqtcore4 libqtgui4 libsane libsane-extras libsensors3<br />
  libslp1 libsm6 libsnmp-base libsnmp15 libstartup-notification0 libsysfs2<br />
  libtalloc1 libthai-data libthai0 libtiff4 libts-0.0-0 libwbclient0<br />
  libxcb-render-util0 libxcb-render0 libxcomposite1 libxcursor1 libxdamage1<br />
  libxext6 libxfixes3 libxfont1 libxft2 libxi6 libxinerama1 libxmu6 libxmuu1<br />
  libxrandr2 libxrender1 libxt6 libxxf86vm1 mysql-common openssl<br />
  openssl-blacklist poppler-utils psfontmgr psmisc python-dbus<br />
  python-elementtree python-gobject python-imaging python-qt3 python-qt4<br />
  python-qt4-common python-reportlab python-sip4 python-support qt4-qtconfig<br />
  samba-common sane-utils smbclient ssl-cert ttf-bitstream-vera ttf-dejavu<br />
  ttf-dejavu-core ttf-dejavu-extra ttf-dustin x-ttcidfont-conf x11-common<br />
  xauth xfonts-encodings xfonts-utils<br />
0 upgraded, 163 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 123MB of archives.<br />
After this operation, 332MB of additional disk space will be used.<br />
Do you want to continue [Y/n]?<br />
</code></p>
<p>Setup the printer:</p>
<p><code><br />
marc@lordshiva:~$ <strong>sudo hp-setup -i -a      </strong></p>
<p>HP Linux Imaging and Printing System (ver. 2.8.6b)<br />
Printer/Fax Setup Utility ver. 7.2</p>
<p>Copyright (c) 2001-8 Hewlett-Packard Development Company, LP<br />
This software comes with ABSOLUTELY NO WARRANTY.<br />
This is free software, and you are welcome to distribute it<br />
under certain conditions. See COPYING file for more details.</p>
<p>--------------------------<br />
| CHOOSE CONNECTION TYPE |<br />
--------------------------</p>
<p>  Num.        Connection  Connection Type Description<br />
              Type<br />
  ----------  ----------  ----------------------------------------<br />
  0*          usb         Universal Serial Bus (USB)<br />
  1           net         Network/Ethernet/Wireless (direct<br />
                          connection or JetDirect)<br />
  2           par         Parallel Port (LPT:)                    </p>
<p>Enter number 0...2 for connection type (q=quit, enter=usb*) ? </p>
<p>Using connection type: usb</p>
<p>--------------------<br />
| DEVICE DISCOVERY |<br />
--------------------</p>
<p>Using device: hp:/usb/PSC_1500_series?serial=MY5CFD14F40498</p>
<p>Setting up device: hp:/usb/PSC_1500_series?serial=MY5CFD14F40498</p>
<p>---------------------<br />
| PRINT QUEUE SETUP |<br />
---------------------</p>
<p>Using queue name: PSC_1500</p>
<p>Found a possible PPD file: drv:///hpijs.drv/hp-psc_1500_series-hpijs.ppd<br />
Desc: HP PSC 1500 series Foomatic/hpijs</p>
<p>Adding print queue to CUPS:<br />
Device URI: hp:/usb/PSC_1500_series?serial=MY5CFD14F40498<br />
Queue name: PSC_1500<br />
PPD file: drv:///hpijs.drv/hp-psc_1500_series-hpijs.ppd<br />
Location:<br />
Information: Automatically setup by HPLIP</p>
<p>---------------------<br />
| PRINTER TEST PAGE |<br />
---------------------</p>
<p>HP Linux Imaging and Printing System (ver. 2.8.6b)<br />
Testpage Print Utility ver. 5.1</p>
<p>Copyright (c) 2001-8 Hewlett-Packard Development Company, LP<br />
This software comes with ABSOLUTELY NO WARRANTY.<br />
This is free software, and you are welcome to distribute it<br />
under certain conditions. See COPYING file for more details.</p>
<p>warning: hp-testpage should not be run as root.</p>
<p>Printing test page to printer PSC_1500...<br />
request id is PSC_1500-1 (1 file(s))<br />
Test page has been sent to printer.</p>
<p>note: If an error occured, or the test page failed to print, refer to the HPLIP website<br />
note: at: http://hplip.sourceforge.net for troubleshooting and support.</p>
<p>Done.</p>
<p>Done.<br />
marc@lordshiva:~$<br />
</code></p>
<p>Now you want to be able to manage the print server remotely via the web interface, so you&#8217;ll have to edit /etc/cups/cupsd.conf.</p>
<p><code>sudo $EDITOR /etc/cups/cupsd.conf</code><br />
&#8230;find the three places that look like this:<br />
 Location /<br />
 Location /admin<br />
 Location /admin/conf </p>
<p>and add the following after the &#8220;Order allow,deny&#8221; lines:</p>
<p><code> Allow @LOCAL</code></p>
<p>Also change the line from:<br />
<code>Listen localhost:631</code><br />
to<br />
<code>Port 631</code></p>
<p>Then  restart the cups daemon: <code> sudo /etc/init.d/cups restart</p>
<p>How you will be able to use a web browser to manage your system here:   http://lordshiva.local:631/  using your root credentials.  In the "Manager Server" section, enable "Share published printers connected to this system"</p>
<p>= scan server =</p>
<p>The tools xsane and gimp can take advantage of a network sane scanner.  To enable this, edit /etc/sane.d/scand.conf and add either the hostnames you'll be scanning from our a netblock.</p>
<p>Then tell inetd to start listening on the sane-port (6566)</p>
<p></code><code>marc@lordshiva:/etc/sane.d$ sudo update-inetd --enable sane-port</code></p>
<p>Now all you need to do on the system you are going to scan from, edit /etc/sane.d/net.conf and add lordshiva.local (or whatever you named yours ;-)</p>
<p>= Sharing MP3 =</p>
<p>gnump3d is a nice tool to share mp3 files on the home network.</p>
<p>Downloaded gnump3d-3.0.tar.gz from http://www.gnu.org/software/gnump3d/index.html</p>
<p>which needs make&#8230;</p>
<p><code><br />
 sudo apt-get install make<br />
sudo apt-get install make<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
Suggested packages:<br />
  make-doc<br />
The following NEW packages will be installed:<br />
  make<br />
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 0B/385kB of archives.<br />
After this operation, 1233kB of additional disk space will be used.<br />
</code></p>
<p>Back to gnump3&#8230;</p>
<p><code><br />
cd /usr/src/<br />
sudo tar zxvf ~/gnump3d-3.0.tar.gz<br />
cd gnump3d-3.0<br />
sudo make install<br />
install -d //etc/gnump3d<br />
install -d //usr/bin<br />
install -d //usr/share/gnump3d<br />
install -d //usr/local/man/man1<br />
install -d /`perl bin/getlibdir`/gnump3d/plugins<br />
install -d /`perl bin/getlibdir`/gnump3d/lang<br />
install -d //var/log/gnump3d<br />
install -d //var/cache/gnump3d<br />
chmod 777 //var/cache/gnump3d<br />
install -d //var/cache/gnump3d/serving<br />
chmod 777 //var/cache/gnump3d/serving<br />
chmod a+rx /`perl bin/getlibdir`/gnump3d/<br />
chmod a+rx /`perl bin/getlibdir`/gnump3d/plugins<br />
chmod a+rx /`perl bin/getlibdir`/gnump3d/lang<br />
cp lib/gnump3d/*.pm /`perl bin/getlibdir`/gnump3d<br />
cp lib/gnump3d/plugins/*.pm /`perl bin/getlibdir`/gnump3d/plugins<br />
rm /`perl bin/getlibdir`/gnump3d/plugins/bug.pm<br />
rm: cannot remove `//usr/share/perl5/gnump3d/plugins/bug.pm': No such file or directory<br />
make: [install] Error 1 (ignored)<br />
cp lib/gnump3d/lang/*.pm /`perl bin/getlibdir`/gnump3d/lang<br />
cp bin/gnump3d2 //usr/bin<br />
chmod 755 //usr/bin/gnump3d2<br />
ln -sf //usr/bin/gnump3d2 //usr/bin/gnump3d<br />
cp bin/gnump3d-top //usr/bin<br />
chmod 755 //usr/bin/gnump3d-top<br />
cp bin/gnump3d-index //usr/bin<br />
chmod 755 //usr/bin/gnump3d-index<br />
cp man/gnump3d-top.1 //usr/local/man/man1<br />
cp man/gnump3d-index.1 //usr/local/man/man1<br />
cp man/gnump3d.1 //usr/local/man/man1<br />
cp man/gnump3d.conf.1 //usr/local/man/man1<br />
cp -R templates/* //usr/share/gnump3d<br />
chmod -R a+r //usr/share/gnump3d<br />
chmod +rx //usr/share/gnump3d/*/<br />
if [ -e //etc/gnump3d/gnump3d.conf ]; then cp //etc/gnump3d/gnump3d.conf //etc/gnump3d/gnump3d.conf-orig ; fi<br />
sed "s#PLUGINDIR#`perl bin/getlibdir`#g" etc/gnump3d.conf > //etc/gnump3d/gnump3d.conf<br />
cp etc/mime.types //etc/gnump3d<br />
cp etc/file.types //etc/gnump3d<br />
rm -f /`perl bin/getlibdir`/gnump3d/FreezeThaw.pm<br />
rm -f /`perl bin/getlibdir`/gnump3d/playlist.pm<br />
marc@lordshiva:/usr/src/gnump3d-3.0$ </p>
<p></code></p>
<p>Now to configure gnump3 is pretty simple, edit /etc/gnump3d/gnump3d.conf and set root = /media/mp3 or wherever the music is. </p>
<p>To start it up:</p>
<p>sudo gnump3d &#038;</p>
<p>Then point a browser to http://lordshiva.local:8888/ and listen or download music. This comes in very handy for the kids when they need to load up their mp3 players.</p>
<p>= monitoring system =</p>
<p>I like to use munin to keep an eye on how the home systems are doing.</p>
<p><code><br />
sudo apt-get install munin munin-node munin-plugins-extra apache2<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
The following extra packages will be installed:<br />
  apache2-mpm-worker apache2-utils apache2.2-common gawk libapr1 libaprutil1<br />
  libdate-manip-perl libhtml-template-perl libio-multiplex-perl<br />
  libnet-cidr-perl libnet-server-perl libnet-snmp-perl libpq5 librrd4<br />
  librrds-perl rrdtool<br />
Suggested packages:<br />
  apache2-doc apache2-suexec apache2-suexec-custom libipc-sharedcache-perl<br />
  libio-socket-ssl-perl libcrypt-des-perl libdigest-hmac-perl<br />
  libdigest-sha1-perl libio-socket-inet6-perl httpd libwww-perl<br />
  liblwp-useragent-determined-perl libnet-irc-perl mysql-client smartmontools<br />
  acpi lm-sensors ethtool libdbd-pg-perl logtail libnet-netmask-perl<br />
The following NEW packages will be installed:<br />
  apache2 apache2-mpm-worker apache2-utils apache2.2-common gawk libapr1<br />
  libaprutil1 libdate-manip-perl libhtml-template-perl libio-multiplex-perl<br />
  libnet-cidr-perl libnet-server-perl libnet-snmp-perl libpq5 librrd4<br />
  librrds-perl munin munin-node munin-plugins-extra rrdtool<br />
0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 2144kB/5263kB of archives.<br />
After this operation, 14.4MB of additional disk space will be used.<br />
Do you want to continue [Y/n]?<br />
</code></p>
<p>Now setup munin-node to know what to monitor locally.  I like to run munin-node-configure with the &#8211;shell option to see what my choices are and then cut-n-paste the ones I&#8217;m interested in.</p>
<p><code><br />
marc@lordshiva:~$ sudo munin-node-configure --shell --families=auto &#038;&#038; sudo munin-node-configure --shell --families=contrib &#038;&#038; sudo munin-node-configure --shell --families=manual</code></p>
<p>And then just pick: (jump into a root shell first, sudo -i)<br />
<code><br />
ln -s /usr/share/munin/plugins/apt /etc/munin/plugins/apt<br />
ln -s /usr/share/munin/plugins/apt_all /etc/munin/plugins/apt_all<br />
ln -s /usr/share/munin/plugins/df_abs /etc/munin/plugins/df_abs<br />
ln -s /usr/share/munin/plugins/fw_packets /etc/munin/plugins/fw_packets<br />
ln -s /usr/share/munin/plugins/multips /etc/munin/plugins/multips<br />
ln -s /usr/share/munin/plugins/munin_graph /etc/munin/plugins/munin_graph<br />
ln -s /usr/share/munin/plugins/munin_update /etc/munin/plugins/munin_update<br />
ln -s /usr/share/munin/plugins/port_ /etc/munin/plugins/port_8888<br />
ln -s /usr/share/munin/plugins/port_ /etc/munin/plugins/port_ipp<br />
ln -s /usr/share/munin/plugins/port_ /etc/munin/plugins/port_munin<br />
ln -s /usr/share/munin/plugins/port_ /etc/munin/plugins/port_sane-port<br />
ln -s /usr/share/munin/plugins/port_ /etc/munin/plugins/port_smtp<br />
ln -s /usr/share/munin/plugins/port_ /etc/munin/plugins/port_ssh<br />
ln -s /usr/share/munin/plugins/port_ /etc/munin/plugins/port_sunrpc<br />
ln -s /usr/share/munin/plugins/port_ /etc/munin/plugins/port_www<br />
ln -s /usr/share/munin/plugins/uptime /etc/munin/plugins/uptime<br />
</code></p>
<p>And restart munin-node</p>
<p><code>sudo /etc/init.d/munin-node restart<br />
Stopping Munin-Node: done.<br />
Starting Munin-Node: done.<br />
</code></p>
<p>Come back later and look at http://lordshiva.local/munin/</p>
<p>= fetchmail =</p>
<p>I pull email from my web hoster, drop a copy of the email and forward a copy to gmail use procmail.</p>
<p><code>sudo apt-get install fetchmail procmail<br />
marc@lordshiva:~$ sudo apt-get install fetchmail procmail<br />
[sudo] password for marc:<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
procmail is already the newest version.<br />
The following extra packages will be installed:<br />
  ca-certificates<br />
Suggested packages:<br />
  fetchmailconf resolvconf<br />
The following NEW packages will be installed:<br />
  ca-certificates fetchmail<br />
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 813kB of archives.<br />
After this operation, 2597kB of additional disk space will be used.<br />
Do you want to continue [Y/n]?<br />
</code></p>
<p>My fetchmail configuration looks like this:</p>
<p><code><br />
cat ~/.fetchmailrc<br />
set logfile /home/marc/fetchmail.log</p>
<p>poll pop.nozell.com<br />
 with proto POP3 timeout 600<br />
       user 'XXX@XXXX.XXX' there with password 'XXX' is 'marc' here options fetchall<br />
</code></p>
<p>And here is my .procmailrc</p>
<p><code><br />
cat .procmailrc<br />
LOGFILE=/home/marc/procmail.log<br />
MAILDIR=ImapFolders</p>
<p>:0<br />
{<br />
	:0 c<br />
	! nozell@gmail.com<br />
}</p>
<p>:0<br />
Unsorted.Inbox.`date +%Y-%m`<br />
</code>  </p>
<p>= reconfigure the local mail server =</p>
<p>sudo dpkg-reconfigure exim4-conf</p>
<p>And pick the smarthost option and point it to the appropriate upstream mail server.</p>
<p>= squid =</p>
<p><code><br />
sudo apt-get install squid<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
The following extra packages will be installed:<br />
  squid-common<br />
Suggested packages:<br />
  squidclient squid-cgi logcheck-database resolvconf winbind<br />
The following NEW packages will be installed:<br />
  squid squid-common<br />
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 497kB/1224kB of archives.<br />
After this operation, 6816kB of additional disk space will be used.<br />
Do you want to continue [Y/n]?<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://nozell.com/blog/2009/06/26/sheevaplug-is-now-my-main-home-server/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

