<?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>Sam Pierson&#039;s Blog &#187; linux</title>
	<atom:link href="http://sampierson.com/blog/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://sampierson.com/blog</link>
	<description>Augmentation of an Imperfect Memory.</description>
	<lastBuildDate>Wed, 21 Jul 2010 01:41:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing Brother MFC5860CN printer on Ubuntu</title>
		<link>http://sampierson.com/blog/system-administration/installing-brother-mfc5860cn-printer-on-ubuntu/</link>
		<comments>http://sampierson.com/blog/system-administration/installing-brother-mfc5860cn-printer-on-ubuntu/#comments</comments>
		<pubDate>Thu, 01 Nov 2007 16:23:00 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">urn:uuid:13e90ca7-600a-41fa-be09-94729c301ae9</guid>
		<description><![CDATA[Ubuntu Fiesty Fawn detected this printer, but it didin’t work.   Here is what I did to get it working:
Delete the existing printer:
Open a web broswer and wet to CUPS management URL: http://localhost:631 -&#62; Administration -&#62; Manage Printers, then deleted the MFC printer.
Followed these instructions and downloaded: 

mfc5860cnlpr-1.0.0-9.i386.deb
mfc5860cncupswrapper-1.0.0-10.i386.deb

Installed:

dpkg -i mfc5860cnlpr-1.0.0-9.i386.deb
  Produces errors - these can be safely [...]]]></description>
			<content:encoded><![CDATA[<p>Ubuntu Fiesty Fawn detected this printer, but it didin’t work.   Here is what I did to get it working:</p>
<p>Delete the existing printer:</p>
<p>Open a web broswer and wet to CUPS management URL: http://localhost:631 -&gt; Administration -&gt; Manage Printers, then deleted the MFC printer.</p>
<p>Followed these <a href="http://solutions.brother.com/linux/sol/printer/linux/cups_wrapper_install6.html">instructions</a> and downloaded: </p>
<pre>
mfc5860cnlpr-1.0.0-9.i386.deb
mfc5860cncupswrapper-1.0.0-10.i386.deb
</pre>
<p>Installed:</p>

<div class="wp_syntax"><div class="code"><pre class="foo" style="font-family:monospace;">dpkg -i mfc5860cnlpr-1.0.0-9.i386.deb
  Produces errors - these can be safely ignored:
    mkdir: cannot create directory `/var/spool/lpd/mfc5860cn’: No such file or directory
    chown: cannot access `/var/spool/lpd/mfc5860cn’: No such file or directory
    chgrp: cannot access `/var/spool/lpd/mfc5860cn’: No such file or directory
    chmod: cannot access `/var/spool/lpd/mfc5860cn’: No such file or directory
&nbsp;
dpkg -i mfc5860cncupswrapper-1.0.0-10.i386.deb</pre></div></div>

<p>Printer was now listed in printer list and just worked after that.</p>
]]></content:encoded>
			<wfw:commentRss>http://sampierson.com/blog/system-administration/installing-brother-mfc5860cn-printer-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a password protected YUM repository</title>
		<link>http://sampierson.com/blog/system-administration/creating-a-password-protected-yum-repository/</link>
		<comments>http://sampierson.com/blog/system-administration/creating-a-password-protected-yum-repository/#comments</comments>
		<pubDate>Wed, 17 Oct 2007 17:48:00 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">urn:uuid:e29b41fc-986e-4090-9cb5-b64d90ade04f</guid>
		<description><![CDATA[Setup http authentication in httpd.conf file (encouraged rather than using .htaccess):

&#60;Directory /var/www/repo&#62;
    AuthType Basic
    AuthName &#34;Password Required&#34;
    AuthUserFile /etc/apache2/passwords/repo
    Require valid-user
&#60;/Directory&#62;

Create auth user password file:

htpasswd -c /etc/apache2/passwords/repo repouser

Restart apache.
Create repo:

yum install createrepo # or equivalent
mkdir /var/www/repo
cp *.rpm /var/www/repo
createrepo /var/www/repo

To use the repo, on the [...]]]></description>
			<content:encoded><![CDATA[<p>Setup http authentication in httpd.conf file (encouraged rather than using .htaccess):</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Directory</span> /var/www/repo<span style="color: #000000; font-weight: bold;">&gt;</span></span>
    AuthType Basic
    AuthName &quot;Password Required&quot;
    AuthUserFile /etc/apache2/passwords/repo
    Require valid-user
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Directory<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>Create auth user password file:</p>

<div class="wp_syntax"><div class="code"><pre class="sh" style="font-family:monospace;">htpasswd -c /etc/apache2/passwords/repo repouser</pre></div></div>

<p>Restart apache.</p>
<p>Create repo:</p>

<div class="wp_syntax"><div class="code"><pre class="sh" style="font-family:monospace;">yum install createrepo # or equivalent
mkdir /var/www/repo
cp *.rpm /var/www/repo
createrepo /var/www/repo</pre></div></div>

<p>To use the repo, on the client system in /etc/yum.repo.d/&lt;reponame&gt;.repo, have:</p>

<div class="wp_syntax"><div class="code"><pre class="sh" style="font-family:monospace;">baseurl=http://repouser:password@server/repo</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://sampierson.com/blog/system-administration/creating-a-password-protected-yum-repository/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>LDAP &#8211; Setting up an address book that Evolution likes</title>
		<link>http://sampierson.com/blog/system-administration/ldap-setting-up-an-address-book-that-evolution-likes/</link>
		<comments>http://sampierson.com/blog/system-administration/ldap-setting-up-an-address-book-that-evolution-likes/#comments</comments>
		<pubDate>Mon, 09 Jul 2007 12:52:31 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://sampierson.com/blog/?p=438</guid>
		<description><![CDATA[The goal of this exercise was to create an LDAP address book that the Gnome Evolution mail client would read and write. It tooks 3 days to get to the bottom of this.  Getting some trivial functionality working was easy.  Getting (nearly) all the Evo contact fields to work, with security enabled on [...]]]></description>
			<content:encoded><![CDATA[<p>The goal of this exercise was to create an LDAP address book that the Gnome Evolution mail client would read and write. It tooks 3 days to get to the bottom of this.  Getting some trivial functionality working was easy.  Getting (nearly) all the Evo contact fields to work, with security enabled on the LDAP server was much harder.</p>
<p>Here is the setup:</p>
<ul>
<li>Evolution mail client, running on Ubuntu 7.04 Feisty Fawn</li>
<li>Openldap server running on CentOS 4.4</li>
</ul>
<p>First the facts, then the details&#8230;</p>
<h3>Use</h3>
<ul>
<li>BindDN -&gt; uid=sam,ou=users,dc=ombwa,dc=org</li>
<li>BaseDN -&gt; ou=Sams,ou=address books,dc=ombwa,dc=org</li>
</ul>
<h3>Setup</h3>
<ul>
<li>Copied evolutionperson.schema from /usr/share/evolution-data-server-1.10/ to my LDAP server /etc/openldap/schema</li>
<li>Write the following slapd.conf (original comments/examples ommitted for brevity):</li>
</ul>
<pre lang="slapd.conf">#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include		/etc/openldap/schema/core.schema
include		/etc/openldap/schema/cosine.schema
include		/etc/openldap/schema/inetorgperson.schema
include		/etc/openldap/schema/nis.schema
include		/etc/openldap/schema/evolutionperson.schema

# 128=ALCs 256=OpStats
#loglevel	384
pidfile		/var/run/slapd.pid
argsfile	/var/run/slapd.args

#######################################################################
# Database for ombwa.org
#######################################################################

database	bdb
suffix		"dc=ombwa,dc=org"
rootdn		"cn=Manager,dc=ombwa,dc=org"
rootpw

directory	/var/lib/ldap/ombwa.org
mode		0600

#################### Access controls ####################
# Evolution queries the rootDSE and Subschema while anonymous.
access to dn=""
by * read
access to dn.exact="cn=Subschema"
by * read
# Allow auth access to users subtree.
access to dn.subtree="ou=users,dc=ombwa,dc=org"
by * auth
# Allow sam access to Sam's address book.
access to dn.subtree="ou=Sams,ou=address books,dc=ombwa,dc=org"
by dn="uid=sam,ou=users,dc=ombwa,dc=org" write
# No soup for you.
access to *
by * none

# Indices to maintain for this database
index objectClass                       eq,pres
index ou,cn,mail,surname,givenname      eq,pres,sub
index uidNumber,gidNumber,loginShell    eq,pres
index uid,memberUid                     eq,pres,sub
index nisMapName,nisMapEntry            eq,pres,sub</pre>
<ul>
<li>Restarted LDAP server.</li>
<li>Setup the tree by running the following LDIF file through</li>
</ul>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ldapadd <span style="color: #660033;">-x</span> <span style="color: #660033;">-D</span> <span style="color: #ff0000;">&quot;cn=Manager,dc=ombwa,dc=org&quot;</span> <span style="color: #660033;">-w</span> <span style="color: #660033;">-a</span> <span style="color: #660033;">-f</span> <span style="color: #ff0000;">''</span></pre></div></div>

<p>To be honest I did half of it with PhpLdapAdmin &#8211; you can tell those entries because of the vestigial &#8221;top&#8221; objectClass:</p>

<div class="wp_syntax"><div class="code"><pre class="ldif" style="font-family:monospace;">dn: dc=ombwa,dc=org
objectClass: dcObject
objectClass: organization
dc: ombwa
o: ombwa.org
&nbsp;
dn: ou=users,dc=ombwa,dc=org
objectClass: organizationalUnit
ou: users
&nbsp;
dn: uid=sam,ou=users,dc=ombwa,dc=org
uid: sam
userPassword::
objectClass: account
objectClass: simpleSecurityObject
&nbsp;
dn: ou=address books,dc=ombwa,dc=org
objectClass: organizationalUnit
objectClass: top
ou: address books
&nbsp;
dn: ou=Sams,ou=address books,dc=ombwa,dc=org
ou: Sams
objectClass: organizationalUnit
objectClass: top</pre></div></div>

<h3>Explanation</h3>
<p>Initially whenever I started locking down the ACLs at all, Evo would grey out most or all of the fields in the contact form.  Clearly it wasn&#8217;t happy with the schemas that it could find on the LDAP server.  Googling led me to discover the evolutionPerson objectclass, but the picture got clearer when I downloaded and examined the source:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #7a0874; font-weight: bold;">source</span> evolutuion
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #7a0874; font-weight: bold;">source</span> evolutuion-data-server</pre></div></div>

<p>In evolution-data-server-1.10.1/addressbook/backends/ldap/e-book-backend-ldap.c it says:</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* the objectClasses we need */</span>
<span style="color: #339933;">#define TOP                  &quot;top&quot;</span>
<span style="color: #339933;">#define PERSON               &quot;person&quot;</span>
<span style="color: #339933;">#define ORGANIZATIONALPERSON &quot;organizationalPerson&quot;</span>
<span style="color: #339933;">#define INETORGPERSON        &quot;inetOrgPerson&quot;</span>
<span style="color: #339933;">#define CALENTRY             &quot;calEntry&quot;</span>
<span style="color: #339933;">#define EVOLUTIONPERSON      &quot;evolutionPerson&quot;</span>
<span style="color: #339933;">#define GROUPOFNAMES         &quot;groupOfNames&quot;</span></pre></div></div>

<p>I&#8217;m not doing calendaring yet, so I ignored calEntry.  Everything but evolutionPerson was installed by default.  After much Googling it turns out evolutionPerson schema is installed at with Evolution, at /usr/share/evolution-data-server-1.10/evolutionperson.schema.  I copied this to my LDAP server /etc/openldap/schema and added a line for it to slapd.conf.</p>
<p>This still didn&#8217;t help, however, which the ACLs issue.  After reading most of <a href="http://www.zytrax.com/books/ldap/">LDAP for Rocket Scientists</a> I figured out what is going on.  There is an &#8220;uber-object&#8221; called the RootDSE that contains meta-information about what the LDAP server serves.  It has an object under it called Subschema that allows the caller to see all the classes the LDAP server supports.  Evolution attempts to access these before authenticating, so you must have ACLs to support that.  Ironically the example ACLs in the top of the slapd.conf set this up.</p>
]]></content:encoded>
			<wfw:commentRss>http://sampierson.com/blog/system-administration/ldap-setting-up-an-address-book-that-evolution-likes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setup of Hanzo (Ubuntu dual-monitor desktop)</title>
		<link>http://sampierson.com/blog/system-administration/setup-of-hanzo-ubuntu-dual-monitor-desktop/</link>
		<comments>http://sampierson.com/blog/system-administration/setup-of-hanzo-ubuntu-dual-monitor-desktop/#comments</comments>
		<pubDate>Mon, 09 Jul 2007 12:51:21 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://sampierson.com/blog/?p=449</guid>
		<description><![CDATA[Installed Ubuntu Fiesty Fawn 7.04
Much shenanigans with disk drives, not ubuntu&#8217;s fault.
Updated system.
Desktop Effects
Enabled this, which required installation of nvidia proprietary driver (useful for multiple monitor support in a sec).
Dual Monitor Support
After reading this and this, did this:

gksudo nvidia-settings
# -&#62; X Server Display Configuration
# Selected disabled monitor.
# Enabled it (1600x1200 was automatically selected).
# Apply
# Save [...]]]></description>
			<content:encoded><![CDATA[<h3>Installed Ubuntu Fiesty Fawn 7.04</h3>
<p>Much shenanigans with disk drives, not ubuntu&#8217;s fault.</p>
<p>Updated system.</p>
<h3>Desktop Effects</h3>
<p>Enabled this, which required installation of nvidia proprietary driver (useful for multiple monitor support in a sec).</p>
<h3>Dual Monitor Support</h3>
<p>After reading <a href="http://ubuntuforums.org/showthread.php?t=221174">this</a> and <a href="http://ubuntuforums.org/showthread.php?p=1773584">this</a>, did this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">gksudo nvidia-settings
<span style="color: #666666; font-style: italic;"># -&gt; X Server Display Configuration</span>
<span style="color: #666666; font-style: italic;"># Selected disabled monitor.</span>
<span style="color: #666666; font-style: italic;"># Enabled it (1600x1200 was automatically selected).</span>
<span style="color: #666666; font-style: italic;"># Apply</span>
<span style="color: #666666; font-style: italic;"># Save to X Configuration File -&gt; /etc/X11/xorg.conf </span></pre></div></div>

<h3>Ruby</h3>
<p>Using synaptics package manager, installed:</p>
<ul>
<li>ruby (pulled in ruby1.8)</li>
<li>rubygems (ri -&gt; irb1.8 libgems-ruby1.8 libopenssl-ruby1.8 libreadline-ruby1.8 rdoc1.8)</li>
<li>ri (needed for symlink)</li>
</ul>
<p>For building extensions:</p>
<ul>
<li>ruby1.8-dev, build-essentials</li>
</ul>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #660033;">--include-dependencies</span> rails
<span style="color: #666666; font-style: italic;"># Installed rails-1.2.3 activesupport-1.4.2 activerecord-1.15.3</span>
<span style="color: #666666; font-style: italic;"># actionpack-1.13.3 actionmailer-1.3.3 actionwebservice-1.2.3</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> rake</pre></div></div>

<h3>Subversion</h3>
<p>Using synaptics package manager installed:</p>
<ul>
<li>subversion</li>
<li>rapidsvn</li>
<li>libsvn-ruby</li>
</ul>
<h3>MySQL / PHPMyAdmin / PHP / Apache2</h3>
<p>Using synaptics package manager:</p>
<ul>
<li>phpmyadmin, which pulled in PHP and Apache2.</li>
<li>mysql, which pulled in both the client and server.</li>
</ul>
<p>MySQL server default password is blank.</p>
<h3>sshd</h3>
<p>Installed &#8220;ssh&#8221; which pulled in openssh-server (openssh-client already installed) so I could move things from my notebook to the desktop.</p>
<h3>Desktop Effects</h3>
<p>Desktop effects &#8220;Workspaces on a Cube&#8221; effect stops working if you ever try to modify settings after initially turning them on.  Here is a fix <a href="https://bugs.launchpad.net/ubuntu/+source/desktop-effects/+bug/102309">https://bugs.launchpad.net/ubuntu/+source/desktop-effects/+bug/102309</a></p>
<ol>
<li>Open the Desktop Effects window</li>
<li>Right Click on the Switcher</li>
<li>Left Click on preferences</li>
<li>Change the Number of Workspaces to 4</li>
<li>Enable Desktop on a Cube</li>
<li>Close the Desktop Effects window</li>
</ol>
<h3>Gaim w/SILC</h3>
<p>Standard copy of GAIM for Ubuntu is missing SILC support.  Here is now to recompile it with support:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #7a0874; font-weight: bold;">source</span> gaim
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> build-dep gaim
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libsilc-<span style="color: #000000;">1.0</span>-<span style="color: #000000;">2</span>-dev
<span style="color: #7a0874; font-weight: bold;">cd</span> gaim-2.0.0+beta3.1
.<span style="color: #000000; font-weight: bold;">/</span>configure
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>Then run it out of /usr/local/bin</p>
]]></content:encoded>
			<wfw:commentRss>http://sampierson.com/blog/system-administration/setup-of-hanzo-ubuntu-dual-monitor-desktop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco VPN client</title>
		<link>http://sampierson.com/blog/system-administration/cisco-vpn-client/</link>
		<comments>http://sampierson.com/blog/system-administration/cisco-vpn-client/#comments</comments>
		<pubDate>Mon, 09 Jul 2007 12:50:50 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://sampierson.com/blog/?p=436</guid>
		<description><![CDATA[Environment:

Ubuntu 7.04 Feisty Fawn, 2.6.20-16-generic
vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz (got from work)
Rackable.pcf

The package is broken wrt this Linux distro.  A guy by the name of Alexander Griesser keeps creating patches to fix it.  Here is the lastest on at the time of writing http://tuxx-home.at/archives/2007/05/29/T16_34_26/.  He provides instructions too:

Unpack vpnclient sources:
&#160;
 1. Untar the VPN Client
 # [...]]]></description>
			<content:encoded><![CDATA[<p>Environment:</p>
<ul>
<li>Ubuntu 7.04 Feisty Fawn, 2.6.20-16-generic</li>
<li>vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz (got from work)</li>
<li>Rackable.pcf</li>
</ul>
<p>The package is broken wrt this Linux distro.  A guy by the name of <a href="http://tuxx-home.at">Alexander Griesser</a> keeps creating patches to fix it.  Here is the lastest on at the time of writing http://tuxx-home.at/archives/2007/05/29/T16_34_26/.  He provides instructions too:</p>

<div class="wp_syntax"><div class="code"><pre class="none" style="font-family:monospace;">Unpack vpnclient sources:
&nbsp;
 1. Untar the VPN Client
 # tar xzf vpnclient-linux-4.8.00.0490-k9.tar.gz
&nbsp;
 2. Download the patch
 # wget -q http://tuxx-home.at/projects/cisco-vpnclient/vpnclient-linux-2.6.22.diff
&nbsp;
 3. Change to the vpnclient directory
 # cd vpnclient
&nbsp;
 4. Apply the patch
 # patch &lt;../vpnclient-linux-2.6.22.diff
 patching file frag.c
 patching file interceptor.c
 patching file IPSecDrvOS_linux.c
 patching file linuxcniapi.c
 patching file linux_os.h
&nbsp;
 Now the patch has been applied and you can safely install the client
 #./vpn_install</pre></div></div>

<p>Then put Rackable.pcf in /etc/CiscoSystemsVPNClient/Profiles/</p>
<p>Instead of rebooting:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>vpnclient_init</pre></div></div>

<p>Then to connect:<br />
It seems it will always use the first ethernet interface, so if that doesn&#8217;t go anywhere, you have to disable it:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">ifconfig</span> eth0 down
 <span style="color: #c20cb9; font-weight: bold;">sudo</span> vpnclient connect Rackable</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://sampierson.com/blog/system-administration/cisco-vpn-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building Linux Kernels</title>
		<link>http://sampierson.com/blog/system-administration/building-linux-kernels/</link>
		<comments>http://sampierson.com/blog/system-administration/building-linux-kernels/#comments</comments>
		<pubDate>Mon, 09 Jul 2007 12:50:21 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://sampierson.com/blog/?p=429</guid>
		<description><![CDATA[Downloaded latest kernel from kernel.org, currently http://kernel.org/pub/linux/kernel/v2.6/patch-2.6.20.bz2

cd
tar xvfj linux-2.6.20.tar.bz2 
cd linux-2.6.20/
make clean
make mrproper
cp /boot/config-2.6.9-42.ELsmp .config
make menuconfig
   # set XFS support to M
make -j6 all
make modules_install
make install
# reboot

-j6 refers to degree of parallelism. They recommend 2x # of processors. I like 1.5x.
]]></description>
			<content:encoded><![CDATA[<p>Downloaded latest kernel from kernel.org, currently <a href="http://kernel.org/pub/linux/kernel/v2.6/patch-2.6.20.bz2">http://kernel.org/pub/linux/kernel/v2.6/patch-2.6.20.bz2</a></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span>
<span style="color: #c20cb9; font-weight: bold;">tar</span> xvfj linux-2.6.20.tar.bz2 
<span style="color: #7a0874; font-weight: bold;">cd</span> linux-2.6.20<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> clean
<span style="color: #c20cb9; font-weight: bold;">make</span> mrproper
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>config-2.6.9-42.ELsmp .config
<span style="color: #c20cb9; font-weight: bold;">make</span> menuconfig
   <span style="color: #666666; font-style: italic;"># set XFS support to M</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #660033;">-j6</span> all
<span style="color: #c20cb9; font-weight: bold;">make</span> modules_install
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span>
<span style="color: #666666; font-style: italic;"># reboot</span></pre></div></div>

<p>-j6 refers to degree of parallelism. They recommend 2x # of processors. I like 1.5x.</p>
]]></content:encoded>
			<wfw:commentRss>http://sampierson.com/blog/system-administration/building-linux-kernels/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building xfs utilities</title>
		<link>http://sampierson.com/blog/system-administration/building-xfs-utilties/</link>
		<comments>http://sampierson.com/blog/system-administration/building-xfs-utilties/#comments</comments>
		<pubDate>Mon, 09 Jul 2007 12:38:54 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[xfs]]></category>

		<guid isPermaLink="false">http://sampierson.com/blog/?p=444</guid>
		<description><![CDATA[Downloaded from ftp://oss.sgi.com/projects/xfs/cmd_tars/xfsprogs_2.8.18-1.tar.gz

tar xvfz xfsprogs_2.8.18-1.tar.gz 
cd xfsprogs-2.8.18/
./Makepkgs verbose
rpm --install build/rpm/xfsprogs-2.8.18-1.x86_64.rpm

]]></description>
			<content:encoded><![CDATA[<p>Downloaded from <a class="external free" title="ftp://oss.sgi.com/projects/xfs/cmd_tars/xfsprogs_2.8.18-1.tar.gz" rel="nofollow" href="ftp://oss.sgi.com/projects/xfs/cmd_tars/xfsprogs_2.8.18-1.tar.gz">ftp://oss.sgi.com/projects/xfs/cmd_tars/xfsprogs_2.8.18-1.tar.gz</a></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> xvfz xfsprogs_2.8.18-1.tar.gz 
<span style="color: #7a0874; font-weight: bold;">cd</span> xfsprogs-2.8.18<span style="color: #000000; font-weight: bold;">/</span>
.<span style="color: #000000; font-weight: bold;">/</span>Makepkgs verbose
rpm <span style="color: #660033;">--install</span> build<span style="color: #000000; font-weight: bold;">/</span>rpm<span style="color: #000000; font-weight: bold;">/</span>xfsprogs-2.8.18-1.x86_64.rpm</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://sampierson.com/blog/system-administration/building-xfs-utilties/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux remounts</title>
		<link>http://sampierson.com/blog/system-administration/linux-remounts/</link>
		<comments>http://sampierson.com/blog/system-administration/linux-remounts/#comments</comments>
		<pubDate>Mon, 09 Jul 2007 12:38:41 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://sampierson.com/blog/?p=441</guid>
		<description><![CDATA[To use the mount &#8211;bind functionality at boot time, use the following in /etc/fstab:

/space/vol0             /vol0                   auto    bind      [...]]]></description>
			<content:encoded><![CDATA[<p>To use the <em>mount &#8211;bind</em> functionality at boot time, use the following in /etc/fstab:</p>

<div class="wp_syntax"><div class="code"><pre class="fstab" style="font-family:monospace;">/space/vol0             /vol0                   auto    bind            0 0</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://sampierson.com/blog/system-administration/linux-remounts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
