<?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; ubuntu</title>
	<atom:link href="http://sampierson.com/blog/tag/ubuntu/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>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>
	</channel>
</rss>
