<?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; debian</title>
	<atom:link href="http://nozell.com/blog/tag/debian/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>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>
		<item>
		<title>SheevaPlug customizing pre-installed Ubuntu/Jaunty</title>
		<link>http://nozell.com/blog/2009/05/17/sheevaplug-customizing-pre-installed-ubuntujaunty/</link>
		<comments>http://nozell.com/blog/2009/05/17/sheevaplug-customizing-pre-installed-ubuntujaunty/#comments</comments>
		<pubDate>Sun, 17 May 2009 18:39:02 +0000</pubDate>
		<dc:creator>Marc Nozell</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[elinks]]></category>
		<category><![CDATA[hplip]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[kernel modules]]></category>
		<category><![CDATA[lanmap]]></category>
		<category><![CDATA[links2]]></category>
		<category><![CDATA[mediawiki]]></category>
		<category><![CDATA[munin]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[sheevaplug]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://nozell.com/blog/?p=762</guid>
		<description><![CDATA[Show-n-Tell day &#8212; brining LordShiva to the MA offices. mediawiki / mysql / apache2 root@LordShiva:~# sudo apt-get install mediawiki Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: apache2 apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient15off libnet-daemon-perl libplrpc-perl libpq5 libterm-readkey-perl mysql-client-5.0 mysql-common mysql-server [...]]]></description>
			<content:encoded><![CDATA[<p>Show-n-Tell day &#8212; brining LordShiva to the MA offices.</p>
<p><strong>mediawiki / mysql / apache2</strong></p>
<p><code><br />
root@LordShiva:~# sudo apt-get install mediawiki<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
The following extra packages will be installed:<br />
  apache2 apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libhtml-template-perl<br />
  libmysqlclient15off libnet-daemon-perl libplrpc-perl libpq5 libterm-readkey-perl mysql-client-5.0 mysql-common mysql-server mysql-server-5.0<br />
  mysql-server-core-5.0 php5 php5-cli php5-common php5-mysql psmisc ssl-cert<br />
Suggested packages:<br />
  www-browser apache2-doc apache2-suexec apache2-suexec-custom ufw php-pear dbishell libipc-sharedcache-perl libcompress-zlib-perl php5-gd imagemagick<br />
  mediawiki-math memcached clamav mysql-doc-5.0 tinyca mailx<br />
The following NEW packages will be installed:<br />
  apache2 apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libhtml-template-perl<br />
  libmysqlclient15off libnet-daemon-perl libplrpc-perl libpq5 libterm-readkey-perl mediawiki mysql-client-5.0 mysql-common mysql-server mysql-server-5.0<br />
  mysql-server-core-5.0 php5 php5-cli php5-common php5-mysql psmisc ssl-cert<br />
0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 53.6MB/53.6MB of archives.<br />
After this operation, 166MB of additional disk space will be used.<br />
Do you want to continue [Y/n]? </code></p>
<p><strong>text mode web browsers (elinks / links2)</strong></p>
<p><code><br />
root@LordShiva:~# apt-get install elinks links2<br />
The following extra packages will be installed:<br />
  elinks-data libdirectfb-1.0-0 liblua50 liblualib50 libperl5.10 libpng12-0<br />
  libruby1.8 libsysfs2 libtiff4 libts-0.0-0<br />
Suggested packages:<br />
  elinks-doc<br />
The following NEW packages will be installed:<br />
  elinks elinks-data libdirectfb-1.0-0 liblua50 liblualib50 libperl5.10<br />
  libpng12-0 libruby1.8 libsysfs2 libtiff4 libts-0.0-0 links2<br />
0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 5104kB of archives.<br />
After this operation, 15.4MB of additional disk space will be used.<br />
Do you want to continue [Y/n]?<br />
</code></p>
<p><strong>lanmap </strong></p>
<p><code>root@LordShiva:~# apt-get install lanmap<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
The following extra packages will be installed:<br />
  defoma fontconfig fontconfig-config graphviz libcairo2 libdatrie0<br />
  libfontconfig1 libfontenc1 libfreetype6 libgd2-noxpm libgraphviz4 libice6<br />
  libltdl7 libpango1.0-0 libpango1.0-common libpcap0.8 libpixman-1-0 libsm6<br />
  libthai-data libthai0 libxaw7 libxcb-render-util0 libxcb-render0 libxext6<br />
  libxfont1 libxft2 libxmu6 libxpm4 libxrender1 libxt6 ttf-dejavu<br />
  ttf-dejavu-core ttf-dejavu-extra ttf-liberation x-ttcidfont-conf x11-common<br />
  xfonts-encodings xfonts-utils<br />
Suggested packages:<br />
  defoma-doc psfontmgr dfontmgr libft-perl gsfonts graphviz-doc libgd-tools<br />
  ttf-japanese-gothic ttf-japanese-mincho ttf-thryomanes ttf-baekmuk<br />
  ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp ttf-arphic-gkai00mp<br />
  ttf-arphic-bkai00mp<br />
The following NEW packages will be installed:<br />
  defoma fontconfig fontconfig-config graphviz lanmap libcairo2 libdatrie0<br />
  libfontconfig1 libfontenc1 libfreetype6 libgd2-noxpm libgraphviz4 libice6<br />
  libltdl7 libpango1.0-0 libpango1.0-common libpcap0.8 libpixman-1-0 libsm6<br />
  libthai-data libthai0 libxaw7 libxcb-render-util0 libxcb-render0 libxext6<br />
  libxfont1 libxft2 libxmu6 libxpm4 libxrender1 libxt6 ttf-dejavu<br />
  ttf-dejavu-core ttf-dejavu-extra ttf-liberation x-ttcidfont-conf x11-common<br />
  xfonts-encodings xfonts-utils<br />
0 upgraded, 39 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 11.4MB of archives.<br />
After this operation, 24.6MB of additional disk space will be used.<br />
</code></p>
<p><strong>screen</strong></p>
<p><code>marc@LordShiva:~$ sudo apt-get install screen<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done</p>
<p>The following extra packages will be installed:<br />
  gettext-base iso-codes python-apt python-central python-newt screen-profiles update-motd update-notifier-common<br />
Suggested packages:<br />
  isoquery python-apt-dbg python-gtk2 python-vte python-newt-dbg screen-profiles-extras<br />
The following NEW packages will be installed:<br />
  gettext-base iso-codes python-apt python-central python-newt screen screen-profiles update-motd update-notifier-common<br />
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 2947kB of archives.<br />
After this operation, 14.6MB of additional disk space will be used.</code></p>
<p>Seems like a bunch of extra stuff&#8230; update-motd?</p>
<p><strong>nfs </strong></p>
<p>Installing NFS to hack around.  Eventually storage on lordshiva will be via usb disks.</p>
<p><code><br />
sudo root@LordShiva:~# sudo apt-get install nfs-kernel-server<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
The following extra packages will be installed:<br />
  libevent1 libgssglue1 libnfsidmap2 librpcsecgss3 nfs-common portmap<br />
The following NEW packages will be installed:<br />
  libevent1 libgssglue1 libnfsidmap2 librpcsecgss3 nfs-common<br />
  nfs-kernel-server portmap<br />
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 503kB of archives.<br />
After this operation, 1548kB of additional disk space will be used.<br />
Do you want to continue [Y/n]?<br />
</code></p>
<p>I made sure the nfs-kernel-server was also installed on where the disks were and added to <code>/etc/exports</code> something like:</p>
<p><code>/home/Music		lordshiva(ro,sync,no_subtree_check)</code></p>
<p>and ran <code>sudo exportfs -av</code></p>
<p>The on the SheevaPlug:</p>
<p><code>sudo mkdir -p /nfs/Music<br />
sudo mount homeserver:/home/Music /nfs/Music</code></p>
<p>And updated <code>/etc/gnump3/gnump3.conf</code> to point to <code>/nfs/Music</code></p>
<p><strong>updating what munin monitors</strong></p>
<p>Running the following commands will make some recommendations on additional things munin can monitor.</p>
<p><code># munin-node-configure --shell --families auto<br />
# munin-node-configure --shell --families contrib<br />
# munin-node-configure --shell --families manual</code></p>
<p>Just cut-n-paste the ones you want to enable into a root shell.  Remember to restart the daemon too.</p>
<p><code>root@LordShiva:~# ln -s /usr/share/munin/plugins/ntp_offset /etc/munin/plugins/ntp_offset<br />
root@LordShiva:~# ln -s /usr/share/munin/plugins/ntp_ /etc/munin/plugins/ntp_europium_canonical_com<br />
root@LordShiva:~# ln -s /usr/share/munin/plugins/ntp_states /etc/munin/plugins/ntp_states<br />
root@LordShiva:~# ln -s /usr/share/munin/plugins/port_ /etc/munin/plugins/port_ssh<br />
root@LordShiva:~# ln -s /usr/share/munin/plugins/port_ /etc/munin/plugins/port_www<br />
root@LordShiva:~# /etc/init.d/munin-node restart<br />
</code></p>
<p><strong>SheevaPlug as a mini-printserver</strong></p>
<p>The pre-installed Ubuntu doesn&#8217;t include any kernel modules, but thought I&#8217;d try using the SheevaPlug as a mini-print/scan server for my hp PSC 1510 All-in-One printer/scanner.</p>
<p>Install <code>cups</code> which pulls in a ton of other packages as well as the open source print management tools from Hewlett-Packard, <code>hplip</code></p>
<p><code>root@LordShiva:~# 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 />
  acl avahi-utils bc cups-client cups-common cupsddk cupsddk-drivers foomatic-db foomatic-db-engine foomatic-filters ghostscript gsfonts hal hal-info hdparm hpijs<br />
  hplip-data libavahi-client3 libavahi-compat-libdnssd1 libcupsimage2 libexif12 libffi5 libgphoto2-2 libgphoto2-port0 libgs8 libhal-storage1 libhal1 libieee1284-3<br />
  libijs-0.35 libpaper-utils libpaper1 libpci3 libpciaccess0 libpolkit-dbus2 libpolkit-grant2 libpoppler4 libsane libsensors3 libslp1 libsnmp-base libsnmp15<br />
  pciutils pm-utils policykit poppler-utils powermgmt-base psfontmgr python-dbus python-gobject python-imaging python-support radeontool sane-utils smartdimmer<br />
  smbclient ttf-freefont wget<br />
Suggested packages:<br />
  cups-bsd cups-driver-gutenprint xpdf-korean xpdf-japanese xpdf-chinese-traditional xpdf-chinese-simplified cups-pdf kdeprint gtklp cups-pt xpp foomatic-db-hpijs<br />
  foomatic-db-gutenprint foo2zjs openprinting-ppds foomatic-gui ghostscript-x gnome-device-manager apmd hpijs-ppds hplip-doc hplip-gui gphoto2 gtkam hpoj<br />
  libsane-extras lm-sensors slpd openslp-doc cpufrequtils policykit-gnome python-dbus-doc python-dbus-dbg python-gobject-dbg python-imaging-doc python-imaging-dbg<br />
  unpaper smbfs<br />
Recommended packages:<br />
  vbetool<br />
The following NEW packages will be installed:<br />
  acl avahi-utils bc cups cups-client cups-common cupsddk cupsddk-drivers foomatic-db foomatic-db-engine foomatic-filters ghostscript gsfonts hal hal-info hdparm<br />
  hpijs hplip hplip-data libavahi-client3 libavahi-compat-libdnssd1 libcupsimage2 libexif12 libffi5 libgphoto2-2 libgphoto2-port0 libgs8 libhal-storage1 libhal1<br />
  libieee1284-3 libijs-0.35 libpaper-utils libpaper1 libpci3 libpciaccess0 libpolkit-dbus2 libpolkit-grant2 libpoppler4 libsane libsensors3 libslp1 libsnmp-base<br />
  libsnmp15 pciutils pm-utils policykit poppler-utils powermgmt-base psfontmgr python-dbus python-gobject python-imaging python-support radeontool sane-utils<br />
  smartdimmer smbclient ttf-freefont wget<br />
0 upgraded, 59 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 38.4MB of archives.<br />
After this operation, 127MB of additional disk space will be used.<br />
Do you want to continue [Y/n]?</code></p>
<p>Hmm, during the install I plugged in the printer and checked dmesg to see if it was recognized.  The lanmap process appears to have had a problem allocating memory:</p>
<p><code><br />
lanmap: page allocation failure. order:5, mode:0xc0d0<br />
[<c00ef438>] (dump_stack+0x0/0x14) from [<c0147514>] (__alloc_pages+0x28c/0x2a0)<br />
[<c0147288>] (__alloc_pages+0x0/0x2a0) from [<c0147550>] (__get_free_pages+0x28/0x5c)<br />
[<c0147528>] (__get_free_pages+0x0/0x5c) from [<c03bb3d0>] (packet_set_ring+0xc4/0x30c)<br />
[<c03bb30c>] (packet_set_ring+0x0/0x30c) from [<c03bd414>] (packet_setsockopt+0x34c/0x4b4)<br />
[<c03bd0c8>] (packet_setsockopt+0x0/0x4b4) from [<c03675bc>] (sys_setsockopt+0x84/0xa8)<br />
[<c0367538>] (sys_setsockopt+0x0/0xa8) from [<c0027480>] (ret_fast_syscall+0x0/0x2c)<br />
 r8:c0027628 r7:00000126 r6:0004f978 r5:0000005c r4:00000010<br />
Mem-info:<br />
DMA per-cpu:<br />
CPU    0: Hot: hi:  186, btch:  31 usd: 180   Cold: hi:   62, btch:  15 usd:  58<br />
Active:54514 inactive:39796 dirty:0 writeback:0 unstable:0<br />
 free:26150 slab:6191 mapped:4044 pagetables:328 bounce:0<br />
DMA free:104600kB min:2884kB low:3604kB high:4324kB active:218056kB inactive:159184kB present:520192kB pages_scanned:0 all_unreclaimable? no<br />
lowmem_reserve[]: 0 0<br />
DMA: 8554*4kB 4492*8kB 1155*16kB 399*32kB 48*64kB 1*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 104600kB<br />
Swap cache: add 0, delete 0, find 0/0, race 0+0<br />
Free swap  = 0kB<br />
Total swap = 0kB<br />
Free swap:            0kB<br />
131072 pages of RAM<br />
26907 free pages<br />
2296 reserved pages<br />
6165 slab pages<br />
20272 pages shared<br />
0 pages swap cached<br />
device eth0 left promiscuous mode<br />
</c0027480></c0367538></c03675bc></c03bd0c8></c03bd414></c03bb30c></c03bb3d0></c0147528></c0147550></c0147288></c0147514></c00ef438></code></p>
<p>When I tried to killall lanmap, ssh sessions hung.  I could get in via console still.  The network seemed to be a bit wonky, so rebooted.</p>
<p><strong>Hmm, scary kernel messsages</strong></p>
<p>This is after the reboot and seems to be when <code>hal</code> is starting up on install.  Install is slowing continuing.</p>
<p><code><br />
Unable to handle kernel paging request at virtual address 1a364e25<br />
pgd = c9e2c000<br />
[1a364e25] *pgd=00000000<br />
Internal error: Oops: 5 [#1]<br />
Modules linked in:<br />
CPU: 0    Not tainted  (2.6.22.18 #1)<br />
PC is at strnlen+0x20/0x34<br />
LR is at vsnprintf+0x314/0x5b4<br />
pc : [<c0240228>]    lr : [<c02414f8>]    psr: a0000013<br />
sp : ca99bdc0  ip : ca99bdd0  fp : ca99bdcc<br />
r10: ffffffff  r9 : ffffffff  r8 : 00000000<br />
r7 : ffffffff  r6 : caa68041  r5 : 1a364e25  r4 : ca99be40<br />
r3 : c00c8994  r2 : 1a364e25  r1 : fffffffe  r0 : 1a364e25<br />
Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  Segment user<br />
Control: 0005317f  Table: 09e2c000  DAC: 00000015<br />
Process udevadm (pid: 4301, stack limit = 0xca99a268)<br />
Stack: (0xca99bdc0 to 0xca99c000)<br />
bdc0: ca99be1c ca99bdd0 c02414f8 c0240218 c023db48 ca99bdec ca99bdfc ca99bdf0<br />
bde0: c027369c 35597fbe caa68041 c00d321a ca99be44 00000014 00000041 d4502000<br />
be00: caa68000 c03ed298 00000000 c03fc7a4 ca99be38 ca99be20 c0241864 c02411f4<br />
be20: c03ed240 ca99be40 caa68000 ca99beec ca99be48 c026ef10 c024184c c00d3219<br />
be40: 1a364e25 1a364e25 d4502000 00001000 d4502000 d450200c d4502020 d4502033<br />
be60: 1a364e25 00000044 000280d0 c03f1574 00000000 00000000 ffffff9c c03f1574<br />
be80: c08927e8 000080d0 c03f1570 ce818ac0 00000000 00000000 ca99beec ca99bea8<br />
bea0: c01472ec c0146724 000280d0 00000010 c0581d00 ca99a000 40020000 4001f000<br />
bec0: 00100073 ca9e82a0 c08927e8 c03ed240 ca9e82a0 c08927e8 c03ed240 ca9e82c0<br />
bee0: ca99befc ca99bef0 c026e810 c026ee28 ca99bf44 ca99bf00 c019ca14 c026e7fc<br />
bf00: ca99bf74 ca99bf10 c0153c60 ca99bf70 00001000 4001f000 00000000 d48a7700<br />
bf20: 4001f000 ca99bf70 00001000 4001f000 ca99a000 00000000 ca99bf6c ca99bf48<br />
bf40: c01625e8 c019c964 00000000 00000000 00000000 00000000 d48a7700 00001000<br />
bf60: ca99bfa4 ca99bf70 c01629fc c0162540 00000000 00000000 00000022 00000000<br />
bf80: ffffffff 2a024d18 2a024d18 000007ff 00000003 c0027628 00000000 ca99bfa8<br />
bfa0: c0027480 c01629c8 2a024d18 2a024d18 00000007 4001f000 00001000 00000000<br />
bfc0: 2a024d18 2a024d18 000007ff 00000003 bece6f0c 0000000a 4017f000 bece6f0c<br />
bfe0: 40170000 bece6e68 400aab04 400fe3fc 60000010 00000007 00002031 00002431<br />
Backtrace:<br />
[<c0240208>] (strnlen+0x0/0x34) from [<c02414f8>] (vsnprintf+0x314/0x5b4)<br />
[<c02411e4>] (vsnprintf+0x0/0x5b4) from [<c0241864>] (sprintf+0x2c/0x34)<br />
[<c0241838>] (sprintf+0x0/0x34) from [<c026ef10>] (show_uevent+0xf8/0x140)<br />
 r3:1a364e25 r2:1a364e25 r1:c00d3219<br />
[<c026ee18>] (show_uevent+0x0/0x140) from [<c026e810>] (dev_attr_show+0x24/0x28)<br />
 r7:ca9e82c0 r6:c03ed240 r5:c08927e8 r4:ca9e82a0<br />
[<c026e7ec>] (dev_attr_show+0x0/0x28) from [<c019ca14>] (sysfs_read_file+0xc0/0x130)<br />
[<c019c954>] (sysfs_read_file+0x0/0x130) from [<c01625e8>] (vfs_read+0xb8/0x148)<br />
[<c0162530>] (vfs_read+0x0/0x148) from [<c01629fc>] (sys_read+0x44/0x70)<br />
 r7:00001000 r6:d48a7700 r5:00000000 r4:00000000<br />
[<c01629b8>] (sys_read+0x0/0x70) from [<c0027480>] (ret_fast_syscall+0x0/0x2c)<br />
 r8:c0027628 r7:00000003 r6:000007ff r5:2a024d18 r4:2a024d18<br />
Code: ea000000 e2800001 e2511001 3a000002 (e5d03000) </c0027480></c01629b8></c01629fc></c0162530></c01625e8></c019c954></c019ca14></c026e7ec></c026e810></c026ee18></c026ef10></c0241838></c0241864></c02411e4></c02414f8></c0240208></c02414f8></c0240228></code></p>
<p>I&#8217;ve removed just hal, <code>apt-get --purge remove hal</code></p>
<p>Hmm, now it appears that the pre-install Ubuntu/Jaunty doesn&#8217;t include any kernel loadablel modules for things like USB printers.  Time to install stock Debian on this beastie.</p>
]]></content:encoded>
			<wfw:commentRss>http://nozell.com/blog/2009/05/17/sheevaplug-customizing-pre-installed-ubuntujaunty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Another list of Ubuntu essentials</title>
		<link>http://nozell.com/blog/2006/06/29/another-list-of-ubuntu-essentials/</link>
		<comments>http://nozell.com/blog/2006/06/29/another-list-of-ubuntu-essentials/#comments</comments>
		<pubDate>Thu, 29 Jun 2006 16:53:01 +0000</pubDate>
		<dc:creator>Marc Nozell</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[dapper]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[useful]]></category>

		<guid isPermaLink="false">http://nozell.com/blog/2006/06/29/another-list-of-ubuntu-essentials/</guid>
		<description><![CDATA[Mark Pilgrim has compiled his list of Ubuntu essentials &#8212; time to add some KDE goodness to &#8216;My Ubuntu/Dapper Configuration&#8216; page&#8230;]]></description>
			<content:encoded><![CDATA[<p>Mark Pilgrim has compiled <a href="http://diveintomark.org/archives/2006/06/26/essentials-2006">his list of Ubuntu essentials</a> &#8212; time to add some KDE goodness to &#8216;<a href="http://nozell.com/blog/my-ubuntu-dapper-configuration/">My Ubuntu/Dapper Configuration</a>&#8216; page&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://nozell.com/blog/2006/06/29/another-list-of-ubuntu-essentials/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>More on Dual Monitor with Ubuntu/Dapper</title>
		<link>http://nozell.com/blog/2006/06/24/585/</link>
		<comments>http://nozell.com/blog/2006/06/24/585/#comments</comments>
		<pubDate>Sat, 24 Jun 2006 18:10:30 +0000</pubDate>
		<dc:creator>Marc Nozell</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[hp]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://nozell.com/blog/archives/2006/06/24/585/</guid>
		<description><![CDATA[This is a follow on to last week&#8217;s post about Dual Monitor on Ubuntu/Dapper I&#8217;ve been using the xorg.conf-ati.20060621 configuration at work with two monitors, but when at home the laptop didn&#8217;t degrade down to working with the one LCD monitor of the laptop. So, here is a new configuration that lets you switch between [...]]]></description>
			<content:encoded><![CDATA[<p>This is a follow on to last week&#8217;s post about <a href="http://nozell.com/blog/archives/2006/06/21/dual-monitor-on-ubuntudapper/">Dual Monitor on Ubuntu/Dapper</a></p>
<p>I&#8217;ve been using the xorg.conf-ati.20060621 configuration at work with two monitors, but when at home the laptop didn&#8217;t degrade down to working with the one LCD monitor of the laptop.  So,  here is a new configuration that lets you switch between a single monitor mode (1024&#215;768) or one large one (2048&#215;768) that can be &#8216;slid over to&#8217; by using the mouse.  The key press is Control-Alt-+ (the + over on the side where the number entry is).  On the laptop, it is Control-Alt-blue_Fn-?</p>
<p>Here the is xorg.conf file:<br />
<a href="http://nozell.com/examples/xorg.conf-ati-works-with-one-monitor.20060624"><br />
xorg.conf-ati-works-with-one-monitor.20060624</a></p>
]]></content:encoded>
			<wfw:commentRss>http://nozell.com/blog/2006/06/24/585/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dual Monitor on Ubuntu/Dapper</title>
		<link>http://nozell.com/blog/2006/06/21/dual-monitor-on-ubuntudapper/</link>
		<comments>http://nozell.com/blog/2006/06/21/dual-monitor-on-ubuntudapper/#comments</comments>
		<pubDate>Wed, 21 Jun 2006 17:38:20 +0000</pubDate>
		<dc:creator>Marc Nozell</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[hp]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[useful]]></category>

		<guid isPermaLink="false">http://nozell.com/blog/archives/2006/06/21/dual-monitor-on-ubuntudapper/</guid>
		<description><![CDATA[I&#8217;ve noticed a number of people asking about dual head support in dapper on #ubuntu, so here is my setup: This hp/compaq nc6000 laptop/notebook that has an ATI card: $ sudo lspci&#124;grep VGA 0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] I have two head monitors working with both the &#8216;ati&#8217; [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve noticed a number of people asking about dual head support in dapper on #ubuntu, so here is my setup:</p>
<p>This hp/compaq nc6000 laptop/notebook that has an ATI card:</p>
<p><code><br />
$ sudo lspci|grep VGA<br />
0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]<br />
</code></p>
<p>I have two head monitors working with both the &#8216;ati&#8217; and the closed source &#8216;fglrx&#8217; drivers.  </p>
<p>Here are the configuration files:</p>
<li><a href="http://nozell.com/examples/xorg.conf-fglrx.20060621">xorg.conf-fglrx.20060621</a> &#8212; works when booting without the second monitor</li>
<li><a href="http://nozell.com/examples/xorg.conf-ati.20060621">xorg.conf-ati.20060621</a> &#8212; when booting with out the second monitor attached, it still thinks it is there.  Some windows may pop up on the unreachable monitor.  </li>
<p>Before you start hacking around with your xorg.conf, save a copy somewhere safe.</p>
]]></content:encoded>
			<wfw:commentRss>http://nozell.com/blog/2006/06/21/dual-monitor-on-ubuntudapper/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>iPodder (v2.0rc3) on UbuntuLinux</title>
		<link>http://nozell.com/blog/2005/05/23/ipodder-v20rc3-on-ubuntulinux/</link>
		<comments>http://nozell.com/blog/2005/05/23/ipodder-v20rc3-on-ubuntulinux/#comments</comments>
		<pubDate>Tue, 24 May 2005 00:03:11 +0000</pubDate>
		<dc:creator>Marc Nozell</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[laptop]]></category>

		<guid isPermaLink="false">http://nozell.com/blog/archives/2005/05/23/ipodder-v20rc3-on-ubuntulinux/</guid>
		<description><![CDATA[I usually run debian/sarge on my laptop, but tonight it is booted to Ubuntu &#8216;Hoary Hedgehog&#8217; and wanted iPodder running in this environment too. The current &#8216;released&#8217; version of iPodder today is v2.0rc3 for Linux. First off, go grab and install the the kit from http://ipodder.sourceforge.net/ You&#8217;ll need to use python2.3 instead of the default [...]]]></description>
			<content:encoded><![CDATA[<p>I usually run debian/sarge on my laptop, but tonight it is booted to Ubuntu &#8216;Hoary Hedgehog&#8217; and wanted iPodder running in this environment too.</p>
<p>The current &#8216;released&#8217; version of iPodder today is v2.0rc3 for Linux.   </p>
<p>First off, go grab and install the the kit from http://ipodder.sourceforge.net/</p>
<p>You&#8217;ll need to use python2.3 instead of the default python which is v2.4.   I already had it installed, but you many need to install it.  Also the older version of the xmms python library needed to be installed, but the current version of libwxgtk2.5.3-python is needed.</p>
<p>The commands to install those packages is:</p>
<p>    sudo apt-get install  python2.3 python2.3-xmms libwxgtk2.5.3-python</p>
<p>Finally the PYTHONPATH needs to be extended to pick up the wx 2.5.3 libraries.</p>
<p>Either edit /usr/bin/iPodder to look like this, or just do it manually when you want to run iPodder:</p>
<p>    export PYTHONPATH=/usr/lib/python2.4/site-packages/wx-2.5.3-gtk2-unicode/:$PYTHONPATH-unicode:$PYTHONPATH<br />
    cd /opt/iPodder<br />
    python2.3 iPodderGui.py</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://nozell.com/blog/2005/05/23/ipodder-v20rc3-on-ubuntulinux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>fyi: straw database recovery</title>
		<link>http://nozell.com/blog/2005/05/13/fyi-straw-database-recovery/</link>
		<comments>http://nozell.com/blog/2005/05/13/fyi-straw-database-recovery/#comments</comments>
		<pubDate>Fri, 13 May 2005 13:05:09 +0000</pubDate>
		<dc:creator>Marc Nozell</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[debian]]></category>

		<guid isPermaLink="false">http://nozell.com/blog/archives/2005/05/13/fyi-straw-database-recover/</guid>
		<description><![CDATA[This morning I accidentally double clicked on the straw RSS aggregator icon and two copies raced to see who could corrupt the app&#8217;s database first. straw refused to start with this error: ItemStore.py:52:__init__: DB_RUNRECOVERY: Fatal error, run database recovery &#8211; - PANIC: Invalid argument Recovery Error: See README for details on how to recover data. [...]]]></description>
			<content:encoded><![CDATA[<p>This morning I accidentally double clicked on the straw RSS aggregator icon and two copies raced<br />
to see who could corrupt the app&#8217;s database first.   </p>
<p>straw refused to start with this error:</p>
<p>    ItemStore.py:52:__init__: DB_RUNRECOVERY: Fatal error, run<br />
        database recovery &#8211; - PANIC: Invalid argument<br />
    Recovery Error: See README for details on how to recover data.</p>
<p>And the straw README says to do this:</p>
<p>    $ db_recover -h $HOME/.straw -c -v<br />
    $ db_checkpoint -1 -v</p>
<p>Fair enough, but I don&#8217;t have those scripts installed db\_recover or db\_checkpoint.  It turns out that they are in the libdb2-util package.  (apt-get install libdb2-util)</p>
<p>Fortunately the recovery processed work fine. </p>
]]></content:encoded>
			<wfw:commentRss>http://nozell.com/blog/2005/05/13/fyi-straw-database-recovery/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Getting the bleeding edge iPodder on Linux (debian/sarge) mini-HOWTO</title>
		<link>http://nozell.com/blog/2005/01/04/getting-the-bleeding-edge-ipodder-on-linux-debiansarge-mini-howto/</link>
		<comments>http://nozell.com/blog/2005/01/04/getting-the-bleeding-edge-ipodder-on-linux-debiansarge-mini-howto/#comments</comments>
		<pubDate>Tue, 04 Jan 2005 15:42:56 +0000</pubDate>
		<dc:creator>Marc Nozell</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://nozell.com/blog/archives/2005/01/04/getting-the-bleeding-edge-ipodder-on-linux-debiansarge-mini-howto/</guid>
		<description><![CDATA[Lately, I&#8217;ve been using the bleeding edge version of iPodder from CVS (which confusingly is in the iSpider directory) Here is how you can grab a copy for yourself: $ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ipodder login CVS password: (press return) $ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ipodder co iSpider [tons of informational messages about downloading iSpider] $ cd iSpider $ export [...]]]></description>
			<content:encoded><![CDATA[<p>Lately, I&#8217;ve been using the bleeding edge version of iPodder from CVS (which confusingly is in the<br />
iSpider directory)  Here is how you can grab a copy for yourself:</p>
<p>        $ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ipodder login<br />
        CVS password:  (press return)</p>
<p>        $ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ipodder co iSpider</p>
<p>    [tons of informational messages about downloading iSpider]</p>
<p>        $ cd iSpider<br />
        $ export PYTHONPATH=/usr/lib/python2.3/site-packages/wx-2.5.3-gtk2-unicode:$PYTHONPATH-unicode:$PYTHONPATH<br />
        $ python iPodderGui.pyw</p>
<p>&#8230; And fire up your favorite dev tools!</p>
]]></content:encoded>
			<wfw:commentRss>http://nozell.com/blog/2005/01/04/getting-the-bleeding-edge-ipodder-on-linux-debiansarge-mini-howto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPodder GUI on Linux (debian/sarge) mini-HOWTO</title>
		<link>http://nozell.com/blog/2005/01/04/ipodder-gui-on-linux-debiansarge-mini-howto/</link>
		<comments>http://nozell.com/blog/2005/01/04/ipodder-gui-on-linux-debiansarge-mini-howto/#comments</comments>
		<pubDate>Tue, 04 Jan 2005 15:22:53 +0000</pubDate>
		<dc:creator>Marc Nozell</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://nozell.com/blog/archives/2005/01/04/ipodder-gui-on-linux-debiansarge-mini-howto/</guid>
		<description><![CDATA[I&#8217;ve been using the ipodder beta on my laptop that runs GNU/Linux Debian/Sarge in the command line only mode. But over the holidays there was and update to wxpython that gets the GUI working. This is what you need to do: $ alien &#8211;to-deb ipodder-1.1.2-1cl.noarch.rpm $ sudo dpkg -i ipodder_1.1.2-2_all.deb $ export PYTHONPATH=/usr/lib/python2.3/site-packages/wx-2.5.3-gtk2-unicode:$PYTHONPATH-unicode:$PYTHONPATH $ /opt/iPodder/iPodderGui.py [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using the <a href="http://ipodder.sourceforge.net/index.php">ipodder beta</a> on<br />
my <a href="http://ipodder.sourceforge.net/index.php">laptop</a> that runs GNU/Linux Debian/Sarge in the command line only mode.  But over the holidays there was and update to wxpython that gets the GUI working.</p>
<p>This is what you need to do:</p>
<p>    $ alien &#8211;to-deb ipodder-1.1.2-1cl.noarch.rpm<br />
    $ sudo dpkg -i ipodder_1.1.2-2_all.deb<br />
    $ export PYTHONPATH=/usr/lib/python2.3/site-packages/wx-2.5.3-gtk2-unicode:$PYTHONPATH-unicode:$PYTHONPATH<br />
    $ /opt/iPodder/iPodderGui.py</p>
<p>and enjoy&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://nozell.com/blog/2005/01/04/ipodder-gui-on-linux-debiansarge-mini-howto/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Creating an audio blog reply using Festival</title>
		<link>http://nozell.com/blog/2004/10/26/creating-an-audio-blog-reply-using-festival/</link>
		<comments>http://nozell.com/blog/2004/10/26/creating-an-audio-blog-reply-using-festival/#comments</comments>
		<pubDate>Wed, 27 Oct 2004 00:19:06 +0000</pubDate>
		<dc:creator>Marc Nozell</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://nozell.com/blog/archives/2004/10/26/creating-an-audio-blog-reply-using-festival/</guid>
		<description><![CDATA[I listened to Dave Winer&#8217;s Coffee Notes for 24-Oct-2004 podcast on the way home tonight and felt compelled to reply to him with an audio reply email about Richard Scoble/Scooble&#8217;s voice mail. Here is how I created it. * Get the Festival Speech Synthesis package for your Debian GNU/Linux box $ sudo apt-get install festival [...]]]></description>
			<content:encoded><![CDATA[<p>I listened to Dave Winer&#8217;s <a href=" http://static.scripting.com/blogs/gems/davetravel/cnOct24a.mp3">Coffee Notes for 24-Oct-2004</a> <a href="http://www.ipodder.org">podcast</a> on the way home tonight and felt compelled to reply to him with an audio reply email about Richard Scoble/Scooble&#8217;s voice mail.  Here is how I created it.</p>
<p>* Get the Festival Speech Synthesis package for your Debian GNU/Linux box</p>
<p><code><br />
    $ sudo apt-get install festival</p>
<p>    [...bunch of status about installing a festival and dependancies removed...]<br />
   $<br />
</code></p>
<p>* Create a snappy reply.  I like emacs.  This is exactly what hi-dave.txt looks like:</p>
<p>    Hi Dave!</p>
<p>    This is Marc No-zell and I just listened to your Coffee Talk with<br />
    Richard Scoble.  It sounds like Microsoft&#8217;s voice mail system is using<br />
    a descendant of the DECK-talk system that was created by DECK in the<br />
    1980s.</p>
<p>    I&#8217;m creating this audio reply using the Festival Speech Synthesis<br />
    System on my Deb-ian GNU Linux laptop.  Neener, neener, neener!</p>
<p>    Well, thanks for the Coffee Notes!</p>
<p>Now I did do a little cheating here.   Festival follows strict pronunciation rules and sometimes gets words wrong.  For example my surname would be said as &#8216;nozzel&#8217;, so I  spell it how I want it to sound.  The same is true for DECtalk and DEC, which sounds like &#8216;dec-tork&#8217; and &#8216;december&#8217; (trying to be a little too clever  ;-)</p>
<p>* Convert from text to wave format:</p>
<p><code><br />
    $ text2wave hi-dave.txt -o hi-dave.wav<br />
</code> </p>
<p>* Convert from wav to mp3 format</p>
<p><code><br />
    $ lame hi-dave.wav hi-dave.mp3<br />
</code></p>
<p>* Listen to the result:</p>
<p><code><br />
    $ xmms <a href="http://www.nozell.com/marc/blog/data/hi-dave.mp3">hi-dave.mp3</a><br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://nozell.com/blog/2004/10/26/creating-an-audio-blog-reply-using-festival/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

