<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>DOCUNEXT</title>
    <link rel="alternate" type="text/html" href="http://www.docunext.com/" />
    <link rel="self" type="application/atom+xml" href="http://www.docunext.com/atom.xml" />
    <id>tag:www.docunext.com,2008-09-16://250</id>
    <updated>2010-08-30T19:54:21Z</updated>
    
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.34-en</generator>

<entry>
    <title>Recently Used Documents in Ubuntu Gnome, OpenOffice Margins, and Printing from the Command Line</title>
    <link rel="alternate" type="text/html" href="http://www.docunext.com/blog/2010/08/recently-used-documents-in-ubuntu-gnome-openoffice-margins-and-printing-from-the-command-line.html" />
    <id>tag:www.docunext.com,2010://250.21298</id>

    <published>2010-08-30T19:32:16Z</published>
    <updated>2010-08-30T19:54:21Z</updated>

    <summary>I don&apos;t like having my recently used documents get saved across Gnome. Took me forever to find the page margin settings in OpenOffice. I wanted to print my documents to a PDF, then batch print them later.</summary>
    <author>
        <name>Albert</name>
        
    </author>
    
        <category term="Ubuntu" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="bash" label="bash" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="commandline" label="command line" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="gnome" label="gnome" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="openoffice" label="openoffice" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="pdf" label="pdf" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="printing" label="printing" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="ubuntu" label="ubuntu" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.docunext.com/">
        <![CDATA[<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"> <img alt="Gnome Logo" src="http://www-01.evenserver.com/s/mt/2010/q3/GnomeBrandBook-LogoMark.png" width="100" height="122" class="mt-image-none flrt" /> </span></p>

<h2>Recently Used Documents in Ubuntu Gnome</h2>

<p>I don't like having my recently used documents get saved across Gnome. I prefer to set individual application preferences. For instance, in jEdit I like to record up to 80 recent documents.</p>

<p>Its a bit tricky to do this, and to be safe I'm using two different methods:</p>

<ul>
<li>Making ~/.recently-used.xbel not modifiable</li>
</ul>

<pre class="sh_sh">
rm ~/.recently-used.xbel
touch ~/.recently-used.xbel
sudo chattr +i ~/.recently-used.xbel
</pre>

<ul>
<li>Setting GTK preferences in ~/.gtkrc-2.0</li>
</ul>

<pre class="sh_sh">
gtk-recent-files-max-age=0
gtk-recent-files-limit=0
</pre>

<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="OpenOffice Logo" src="http://www.docunext.com/s/img/2010/08/openoffice-logo-thumb-60x37-103802.png" width="60" height="37" class="mt-image-none flrt" /></span></p>

<h2>OpenOffice Page Margins</h2>

<p>Took me forever to find the page margin settings in OpenOffice. Hope it helps others, but I know I'll come back here to remember!</p>

<p>Its not in any print dialogs, its under Format->Page. Easy as pie, once I found it!</p>

<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="Ghostscript" src="http://www.docunext.com/s/img/2010/08/246px-Ghostscript.svg-thumb-60x62-103804.png" width="60" height="62" class="mt-image-none flrt" /></span></p>

<h2>Printing from the Command Line</h2>

<p>Since I use a laptop (<a href="http://www.my-tech-deals.com/blog/2010/08/review-of-the-lenovo-g555.html">Lenovo g555</a>), I'm not always connected to a printer. I wanted to print my documents to a PDF, then batch print them later. Rather than manually opening up the PDFs and then printing each one, I figured it could be done via the command line shell, in my case - bash.</p>

<p>Thanks to <a href="http://tkjacobsen.wordpress.com/2008/04/25/print-pdf-files-from-bash/" rel="nofollow">tkjacobsen</a>, I'm trying out this function:</p>

<pre class="sh_sh">
function printpdf ()
{
for i in $@; do
if [ "$1" != "$i" ]; then
dt=`date +%y%m%d%H%M%S`
pdftops $i temp-print${dt}.ps
lpr -P $1 temp-print${dt}.ps
rm temp-print${dt}.ps
fi
done
}
</pre>

<p>I haven't tried it, but I'm about to!</p>
]]>
        

    </content>
</entry>

<entry>
    <title>Copy and Paste from jEdit to Gnome Terminal *RESOLVED*</title>
    <link rel="alternate" type="text/html" href="http://www.docunext.com/blog/2010/08/copy-and-paste-from-jedit-to-gnome-terminal-resolved.html" />
    <id>tag:www.docunext.com,2010://250.21284</id>

    <published>2010-08-28T01:44:44Z</published>
    <updated>2010-08-29T21:51:05Z</updated>

    <summary>On a recent install of Lucid Lynx Ubuntu version 10.4, I was unable to copy and paste from jEdit to Gnome Terminal.</summary>
    <author>
        <name>Albert</name>
        
    </author>
    
        <category term="Ubuntu" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="jedit" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="java" label="java" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="jdk" label="jdk" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="sun" label="sun" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="wmname" label="wmname" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.docunext.com/">
        <![CDATA[<p>On a recent install of Lucid Lynx Ubuntu version 10.4, <strong>I was unable to copy and paste from jEdit to Gnome Terminal</strong>.</p>

<p>I found <a href="http://baroque.posterous.com/19170112">this</a> web page that explained how installing the Sun JRE fixed it:</p>

<pre class="sh_sh">
sudo apt-get install sun-java6-jdk
</pre>

<p>But Lucid Lynx doesn't have the Sun JRE! Thankfully, <a href="https://wiki.ubuntu.com/LucidLynx/ReleaseNotes">this</a> page explains that it is available in the partner repository, and how to add it:</p>

<pre class="sh_sh">
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
</pre>

<p>After I got that installed, I was still having problems, apparently because I'm using the Awesome window manager. The awesome <a href="http://awesome.naquadah.org/wiki/Problems_with_Java">wiki</a> has a fix that worked for me, putting this at the top of /usr/bin/jedit:</p>

<pre class="sh_sh">
wmname LG3D
</pre>

<p>Alas, this causes problems with search and replace! I decided to switch back to the OpenJDK packages and switch to lxterminal.</p>

<p>Funny, lxterminal started getting kind of sluggish for me, so I installed Xfce4-terminal and it rocks! So it's not so much a resolution but a workaround.</p>

<pre class="sh_sh">
sudo apt-get install xfce4-terminal
sudo update-alternatives --config x-terminal-emulator
</pre>
]]>
        

    </content>
</entry>

<entry>
    <title>Apache2 Bridge Between S3 and DAV</title>
    <link rel="alternate" type="text/html" href="http://www.docunext.com/blog/2010/08/apache2-bridge-between-s3-and-dav.html" />
    <id>tag:www.docunext.com,2010:/blog//250.21255</id>

    <published>2010-08-22T19:38:11Z</published>
    <updated>2010-08-22T19:48:46Z</updated>

    <summary>This got me thinking and reminded me that I wanted to try connecting S3 to DAV with Apache2::S3. But as my test confirmed, that won&apos;t work at all.</summary>
    <author>
        <name>Albert</name>
        
    </author>
    
        <category term="File systems" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="apache2" label="apache2" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="dav" label="dav" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="fuse" label="fuse" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="gdrive" label="gdrive" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="google" label="google" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="rest" label="REST" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="s3" label="s3" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.docunext.com/">
        <![CDATA[<h2>Experimenting with Apache, mod_perl, Apache2::S3, and DAV</h2>

<p>I'm going to set this up today and see if this item on my "to-do" list works:</p>

<p><a href="http://www.docunext.com/blog/2010/08/to-do-test-apache2s3-as-a-dav-proxy-with-davfs2.html" class="h3 strong">To-Do: Test Apache2::S3 as a DAV Proxy with DAVFS2</a></p>

<p>Alas, it didn't work. I didn't use davfs2, but actually that's what encouraged me to try this today! After tinkering around the <a href="http://www.docunext.com/blog/2010/08/some-ubuntu-customizations-im-using-with-lucid-lynx-1004.html">Lucid Lynx Ubuntu system</a> I recently setup on my <a href="http://www.my-tech-deals.com/blog/2010/08/review-of-the-lenovo-g555.html">Lenovo G555</a> I noticed something that sounded familiar but hadn't actually seen before: <strong>.gvfs</strong>.</p>

<h2>What is GVFS?</h2>

<p>GVFS is the successor to the Gnome virtual file system. Thankfully, it doesn't need the usual hardware abstraction layer (HAL) and is apparently very modular, kind of like PAM. I happened upon the hidden .gvfs folder in my home directory while trying to clean it up, with a goal of putting all my settings in $XDG<em>CONFIG</em>HOME (aka ~/.config). Would I want to delete .gvfs? Turns out I definitely want to keep it -- in my humble opinion it is a very very cool little folder! Not so much for what it as a folder does, but for what it alerted me to - the brand new world of GVFS at large.</p>

<p>On my Lucid Lynx install, I have these gvfs related packages installed:</p>

<pre class="sh_sh">
lash@lenovo-g555-2:~$ dpkg -l | grep gvfs
ii  gvfs                                  1.6.1-0ubuntu1build1                            userspace virtual filesystem - server
ii  gvfs-backends                         1.6.1-0ubuntu1build1                            userspace virtual filesystem - backends
ii  gvfs-bin                              1.6.1-0ubuntu1build1                            userspace virtual filesystem - binaries
ii  gvfs-fuse                             1.6.1-0ubuntu1build1                            userspace virtual filesystem - fuse server
ii  libgvfscommon0    
</pre>

<p>Get the idea? Good! I'll elaborate anyway! Docunext readers may be familiar with <a href="http://www.docunext.com/wiki/FUSE">FUSE</a>, I know I am - I've been using SSHFS to mount filesystems over the SSH protocol for years, though I've been using NFS more often these days. I still use FUSE all the time for Encfs, too.</p>

<p>Anyway, from what I've learned so far, gvfs is a set of tools, abstraction layers, and programming interfaces to provide tighter integration of FUSE, as well as other filesystem backends, with Gnome. While reading up on gvfs, I discovered that <a href="http://thiblahute.blogspot.com/2010/01/good-news-about-google-documents-gvfs.html">Thibault Saunier is working on a Google Docs interface to gvfs</a>! Believe in the gDrive! The <a href="http://www.telecomrebirth.com/blog/2010/08/droid-x-review.html">gPhone</a> came true!!</p>

<p>This got me thinking and reminded me that I wanted to try connecting S3 to DAV with Apache2::S3. But as my test confirmed, that won't work at all:</p>

<pre class="sh_log">
[Sun Aug 22 18:07:02 2010] [error] [client 192.168.1.215] &lt;?xml version="1.0" encoding="UTF-8"?>\n&lt;Error>&lt;Code>MethodNotAllowed&lt;/Code>&lt;Message>The specified method is not allowed against this resource.&lt;/Message>&lt;ResourceType>BUCKET&lt;/ResourceType>&lt;Method>PROPFIND&lt;/Method>&lt;RequestId>B0DA9D7EE6DE73AD&lt;/RequestId>&lt;AllowedMethod>PUT&lt;/AllowedMethod>&lt;HostId>tIbZEhZarXoApiO9wzD23fLIrGiYqZ+DKhUxiFYXmG5frXO6faXdpOLgGEAx2Fwc&lt;/HostId>&lt;/Error> at /usr/local/share/perl/5.10.1/Apache2/S3.pm line 153.\n
</pre>

<p>So, it looks like S3FS it the best bet, though that one definitely needs some more work, too.</p>
]]>
        

    </content>
</entry>

<entry>
    <title>Some Ubuntu Customizations I&apos;m Using with Lucid Lynx 10.04</title>
    <link rel="alternate" type="text/html" href="http://www.docunext.com/blog/2010/08/some-ubuntu-customizations-im-using-with-lucid-lynx-1004.html" />
    <id>tag:www.docunext.com,2010:/blog//250.21254</id>

    <published>2010-08-22T13:23:00Z</published>
    <updated>2010-08-22T13:38:42Z</updated>

    <summary>I&apos;ve installed Ubuntu version 10.04 aka Lucid Lynx on my Lenovo G555 and I&apos;ve just about got it setup how I want, though I definitely made some changes!</summary>
    <author>
        <name>Albert</name>
        
    </author>
    
        <category term="Operating Systems" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Ubuntu" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="laptops" label="laptops" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="lenovo" label="lenovo" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="ubuntu" label="ubuntu" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="ubuntuone" label="ubuntu one" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.docunext.com/">
        <![CDATA[<p>I've installed Ubuntu version 10.04 aka Lucid Lynx on my <a href="http://www.my-tech-deals.com/blog/2010/08/review-of-the-lenovo-g555.html">Lenovo G555</a> and I've just about got it setup how I want, though I definitely made some changes!</p>

<h2>Awesome Window Manager</h2>

<p>I kept the Gnome default install and setup Awesome following the instructions provided on the <a href="http://awesome.naquadah.org/wiki/Quickly_Setting_up_Awesome_with_Gnome">Awesome wiki</a>:</p>

<pre class="sh_sh">
apt-get install awesome awesome-extra
gconftool-2 --type bool --set /apps/nautilus/preferences/show_desktop False
 # Still disable the buggy Nautilus desktop thing
 gconftool-2 --type string --set /desktop/gnome/session/required_components/windowmanager awesome
 # sets awesome as wm
</pre>

<p><strong>~/.local/share/applications/awesome.desktop</strong></p>

<pre class="sh_sh">
[Desktop Entry]
 Version=1.0
 Type=Application
 Name=Awesome
 Comment=The awesome launcher!
 TryExec=awesome
 Exec=awesome
</pre>

<p>Then I customized my .config/awesome/rc.lua file as I have done in the past.</p>

<p>So far Gnome Keyring is working, so I'll stick with gdm. I moved the bottom panel, opting for the Awesome wiibox, then put the top Gnome panel on the bottom with auto-hide turned on.</p>

<h2>Removing Ubuntu One, Shutting Down Unused Services</h2>

<p>I removed <a href="/wiki/Ubuntu_One">Ubuntu One following the instructions mentioned in the Docunext wiki</a>, and then stopped a whole bunch of stuff I don't use in Preferences -> Startup Applications, such as bluetooth.</p>

<h2>Pam Environment</h2>

<p>I added pam_env to /etc/pam.d/common-session so I could set some environment variables upon login via gdm / xdm / ssh whatever.</p>
]]>
        

    </content>
</entry>

<entry>
    <title>Frozen Debian Squeeze, Anyone?</title>
    <link rel="alternate" type="text/html" href="http://www.docunext.com/blog/2010/08/frozen-debian-squeeze-anyone.html" />
    <id>tag:www.docunext.com,2010:/blog//250.21187</id>

    <published>2010-08-07T17:36:44Z</published>
    <updated>2010-08-07T17:38:34Z</updated>

    <summary>Yes! Debian Squeeze is now frozen!! That means its one step closer to official release.</summary>
    <author>
        <name>Albert</name>
        
    </author>
    
        <category term="Debian" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="debian" label="debian" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="release" label="release" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="squeeze" label="squeeze" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.docunext.com/">
        <![CDATA[<p>Yes! Debian Squeeze is now frozen!! That means its one step closer to official release.</p>

<p>I've been using Squeeze for almost a year now I'd guess and only ran into one or two major hurdles, though I run a fairly specific set of applications and configurations.</p>
]]>
        

    </content>
</entry>

<entry>
    <title>To-Do: Test Apache2::S3 as a DAV Proxy with DAVFS2</title>
    <link rel="alternate" type="text/html" href="http://www.docunext.com/blog/2010/08/to-do-test-apache2s3-as-a-dav-proxy-with-davfs2.html" />
    <id>tag:www.docunext.com,2010:/blog//250.21163</id>

    <published>2010-08-05T07:31:16Z</published>
    <updated>2010-08-05T07:41:00Z</updated>

    <summary>This is a cool idea - why not use Amazon&apos;s S3 device via a caching proxy? It could even be mounted on the filesystem for easier distribution and uploads.</summary>
    <author>
        <name>Albert</name>
        
    </author>
    
        <category term="Apache2" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="amazon" label="amazon" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="apache" label="apache" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="dav" label="dav" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="filesystems" label="file systems" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="proxies" label="proxies" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.docunext.com/">
        <![CDATA[<p>This is a cool idea - why not use Amazon's S3 device via a caching proxy with <a href="http://search.cpan.org/~iwade/Apache2-S3-0.05/lib/Apache2/S3.pm">Apache2::S3</a> and davfs? It could even be mounted on the filesystem for easier distribution and uploads.</p>

<p>Its an idea! A good idea!</p>

<p>Somewhat related:</p>

<ul>
<li><a href="http://pmsenthilkumar.blogspot.com/2009/07/python-30-how-it-is-transitioning.html">http://pmsenthilkumar.blogspot.com/2009/07/python-30-how-it-is-transitioning.html</a></li>
</ul>
]]>
        

    </content>
</entry>

<entry>
    <title>The New pfSense is Incredibly Awesome</title>
    <link rel="alternate" type="text/html" href="http://www.docunext.com/blog/2010/07/the-new-pfsense-is-incredibly-awesome.html" />
    <id>tag:www.docunext.com,2010:/blog//250.21156</id>

    <published>2010-07-30T00:25:20Z</published>
    <updated>2010-08-05T05:06:38Z</updated>

    <summary>The latest version of pfSense is version 2.0 *beta* and it includes a downright bevy of kickass improvements and totally new functionality.</summary>
    <author>
        <name>Albert</name>
        
    </author>
    
        <category term="pfsense" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="ipsec" label="ipsec" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="openvpn" label="openvpn" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="pfsense" label="pfsense" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.docunext.com/">
        <![CDATA[<p>The latest version of pfSense is version 2.0 *beta* and it includes a downright bevy of kickass improvements and totally new functionality.</p>

<p>I tried it out a few months ago and was impressed, but only recently delved into the treasure trove of networkings' inner sanctum of great power.</p>

<p>No hyperbole here. Yes, its <em>that</em> good, but for the picky ones among us, its easy to find where its definitely still in beta.</p>

<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"> <a href="http://www.docunext.com/blog/2010/q3/20100730_pfsense_ipsec_tunnels.png" title="pfsense ipsec tunnels" class="thickbox"> <img alt="pfsense ipsec tunnels" src="http://www.docunext.com/blog/s/img/2010/07/20100730_pfsense_ipsec_tunnels-thumb-250x53-103630.png" width="250" height="53" class="mt-image-none" /> </a> </span></p>

<h3>Virtual Private Networks</h3>

<p>Though I can't get the newer version of ipsec-tools / racoon on pfSense 2.0 to work with pfsense 1.3:</p>

<pre class="sh_log">
Jul 30 00:20:56     racoon: []: ERROR: no configuration found for x.x.x.x.
Jul 30 00:20:56     racoon: []: ERROR: failed to begin ipsec sa negotication.
</pre>

<p>Looks like I can get it to work if I set both endpoints to have static IP addresses, but not when one is a dynamic IP and I try setting one up as a mobile client.</p>

<p>Speaking of which, the IPSec interface is way different, though I'm not sure if that's a good thing. More specifically, each tunnel has a separate screen for phase 1 and phase 2 - so there is a whole lot more clicking going on. It seems that it was done to allow one gateway to have multiple phase two entries, but does that happen very often?</p>

<p>I'm really starting to like openVPN, so I'm going to use that for networks and clients with dynamic ips.</p>

<h3>Traffic Shaper</h3>

<p>The traffic shaper in 1.3 was pretty good, and I'm not sure of the face lift in version 2.0:</p>

<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"> <a href="http://www.docunext.com/blog/2010/q3/pfsense_traffic_shaper.png" title="pfsense traffic shaper" class="thickbox"> <img alt="pfsense traffic shaper" src="http://www.docunext.com/blog/s/img/2010/07/pfsense_traffic_shaper-thumb-250x136-103632.png" width="250" height="136" class="mt-image-none" /> </a> </span></p>

<h3>Multi-Wan</h3>

<p>The multi-wan feature has greatly improved. I'm not taking full advantage of this feature quite yet, but it did come in useful this past week as a manual fail-over for a busted router.</p>

<h3>glxsb:</h3>

<p>"The AMD Geode LX Security Block will accelerate some cryptographic functions on systems which have the chip. Do not enable this option if you have a Hifn cryptographic acceleration card, as this will take precedence and the Hifn card will not be used. Acceleration should be automatic for IPsec when using Rijndael (AES). OpenVPN should be set for AES-128-CBC."</p>

<p>Awesome!!</p>

<p><strong>UPDATE</strong>: I've started a new wiki page focusing solely on <a href="http://www.docunext.com/wiki/PfSense_2">pfSense 2</a>.</p>
]]>
        

    </content>
</entry>

<entry>
    <title>Sporadic FIOS Network Connectivity</title>
    <link rel="alternate" type="text/html" href="http://www.docunext.com/blog/2010/07/sporadic-network-connectivity.html" />
    <id>tag:www.docunext.com,2010:/blog//250.21152</id>

    <published>2010-07-27T22:42:09Z</published>
    <updated>2010-08-03T09:04:34Z</updated>

    <summary>Intermittent problems with an ALIX, FIOS, and dns.</summary>
    <author>
        <name>Albert</name>
        
    </author>
    
        <category term="Networking" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="dig" label="dig" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="fios" label="fios" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="netstat" label="netstat" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="networking" label="networking" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="tcpdump" label="tcpdump" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.docunext.com/">
        <![CDATA[<p>My network is behaving badly - connectivity is sporadic; it works fine for five minutes, then exhibits extreme latency, apparently only for tcp connections, not icmp!</p>

<h3>Troubleshooting Network Connectivity Tools</h3>

<ol>
<li>tcpdump</li>
<li>ping and httping</li>
<li>dig</li>
<li>netstat</li>
</ol>

<p>Switching to only forward udp for dns, are dns queries eating up too many tcp connections?</p>

<p>Tue Jul 27 20:31:26 EDT 2010</p>

<p>nss-mysql[3075]: <em>nss</em>mysql<em>getspnam</em>r conf file parsing failed</p>

<p>Apache not logging, very strange. Changed apache2-worker to apache2-prefork, somehow that is helping.</p>

<p>Seemed to work fine until Tue Jul 27 20:49:18 EDT 2010.</p>

<p>Its very odd - I wonder if its FIOS and not my network setup. I've run through most of the basic troubleshooting techniques and no issues are popping up.</p>
]]>
        

    </content>
</entry>

<entry>
    <title>Gnash versus YouTube, and Why Doesn&apos;t Adobe Open Flash?</title>
    <link rel="alternate" type="text/html" href="http://www.docunext.com/blog/2010/07/gnash-versus-youtube-and-why-doesnt-adobe-open-flash.html" />
    <id>tag:www.docunext.com,2010:/blog//250.21139</id>

    <published>2010-07-23T03:53:48Z</published>
    <updated>2010-07-23T04:37:20Z</updated>

    <summary>Grrrr! I wish Gnash and YouTube played well together. This is what I get when I try to view a YouTube video with Gnash in Iceweasel on Debian: I&apos;ve read that there are workarounds to get Gnash and YouTube to...</summary>
    <author>
        <name>Albert</name>
        
    </author>
    
        <category term="Flash" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Gnash" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="adobe" label="adobe" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="flash" label="flash" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="gnash" label="gnash" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="macromedia" label="macromedia" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="swf" label="swf" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="youtube" label="youtube" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.docunext.com/">
        <![CDATA[<p>Grrrr! I wish Gnash and YouTube played well together. This is what I get when I try to view a YouTube video with Gnash in Iceweasel on Debian:</p>

<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"> <a href="http://www.docunext.com/blog/2010/q3/screenshot_013.png" title="Gnash versus YouTube" class="thickbox"> <img alt="Gnash versus YouTube" src="http://www.docunext.com/blog/s/img/2010/07/screenshot_013-thumb-250x206-103618.png" width="250" height="206" class="mt-image-none" /> </a> </span></p>

<p>I've read that there are workarounds to get Gnash and YouTube to play nicely, but I haven't bothered. I had a binary blob Flash plugin for awhile - it was the alpha version for x86<em>64 linux, but apparently there was a security issue with it, and the x86</em>64 alpha has been discontinued and is no longer available. Ugh!</p>

<p>It seems so preposterous that Adobe is floundering with Flash where Macromedia made mega waves and had incredible penetration - I heard their plug-in was installed in over 90% of all browsers.</p>

<p>In my opinion, Adobe needs to really open up Flash. Macromedia sort of did it, but then pulled back. Flash has lost a lot of its luster in recent years, and they really need to do something to save it. Besides the fact that Apple refuses to support it on the iphone, javascript and CSS are catching up in terms of engaging, rich media, and obviously those are open technologies / standards.</p>

<p>With HTML5 on the horizon, Adobe needs to act fast. The open source community has already done so much for and with the SWF format, its time for Adobe to step up to the plate and open up the format!</p>

<p>At least this error page on YouTube is a little more informative:</p>

<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"> <a href="http://www.docunext.com/blog/2010/q3/screenshot_014.png" title="YouTube versus Gnash, Part II" class="thickbox"> <img alt="YouTube versus Gnash, Part II" src="http://www.docunext.com/blog/s/img/2010/07/screenshot_014-thumb-250x153-103620.png" width="250" height="153" class="mt-image-none" /> </a> </span></p>

<p>Ooh! This one is even better:</p>

<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"> <a href="http://www.docunext.com/blog/2010/q3/screenshot_008.png" title="Another Gnash Error" class="thickbox"> <img alt="Another Gnash Error" src="http://www.docunext.com/blog/s/img/2010/07/screenshot_008-thumb-250x201-103622.png" width="250" height="201" class="mt-image-none" /> </a> </span></p>

<p>I tried listening to <a href="http://www.toobinator.com/blog/2010/06/new-world-in-my-view.html">New World in My View by King Britt</a>.</p>
]]>
        

    </content>
</entry>

<entry>
    <title>Puppet 2.6!</title>
    <link rel="alternate" type="text/html" href="http://www.docunext.com/blog/2010/07/puppet-26.html" />
    <id>tag:www.docunext.com,2010:/blog//250.21130</id>

    <published>2010-07-21T21:35:54Z</published>
    <updated>2010-07-23T04:40:36Z</updated>

    <summary> Puppet 2.6 has just been released! This is awesome news, but I was disappointed its still not compatible with Ruby 1.9... though I also read that the next release (not sure if its a major or minor release) should...</summary>
    <author>
        <name>Albert</name>
        
    </author>
    
        <category term="Automation" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Ruby" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="puppet" label="puppet" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="ruby" label="ruby" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.docunext.com/">
        <![CDATA[<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"> <img alt="puppet_logo.png" src="http://www.docunext.com/blog/2010/q3/puppet_logo.png" width="175" height="272" class="mt-image-none flrt" /> </span></p>

<p>Puppet 2.6 has just been released! This is awesome news, but I was disappointed its still not compatible with Ruby 1.9... though I also read that the next release (not sure if its a major or minor release) should support 1.9.</p>

<p>I still use Puppet on some machines, but I'd really like to not have to install both Ruby 1.8 and 1.9.</p>

<p>What are the new features?</p>

<ul>
<li>Preliminary Windows support - blah, I could care less</li>
<li>REST API - sounds interesting...</li>
<li>Event model - better performance?</li>
</ul>
]]>
        

    </content>
</entry>

<entry>
    <title>Memcachedb for Voting / Polling Systems</title>
    <link rel="alternate" type="text/html" href="http://www.docunext.com/blog/2010/07/memcachedb-for-voting-polling-systems.html" />
    <id>tag:www.docunext.com,2010:/blog//250.21129</id>

    <published>2010-07-21T19:42:21Z</published>
    <updated>2010-07-21T19:48:09Z</updated>

    <summary>I recently setup a polling system for a client and when I was planning the design, I decided to use memcachedb thanks to the atomic increment functionality. I&apos;m using Sinatra and Ruby for most web-based applications I develop these days,...</summary>
    <author>
        <name>Albert</name>
        
    </author>
    
        <category term="MemcacheDB" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="memcache" label="memcache" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="memcachedb" label="memcachedb" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="ruby" label="ruby" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="sinatra" label="sinatra" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="webapplications" label="web applications" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.docunext.com/">
        <![CDATA[<p>I recently setup a polling system for a client and when I was planning the design, I decided to use memcachedb thanks to the atomic increment functionality.</p>

<p>I'm using Sinatra and Ruby for most web-based applications I develop these days, and I ran into an issue with <a href="http://www.docunext.com/wiki/Ruby_Memcache_Client">marshal data too short</a> in the memcached client, but that was an easy fix.</p>

<p>I chose memcachedb instead of memcache for the obvious reason that I need the data to be persistent.</p>
]]>
        

    </content>
</entry>

<entry>
    <title>Arch Hurd</title>
    <link rel="alternate" type="text/html" href="http://www.docunext.com/blog/2010/07/arch-hurd.html" />
    <id>tag:www.docunext.com,2010:/blog//250.21075</id>

    <published>2010-07-09T17:14:10Z</published>
    <updated>2010-07-09T17:18:44Z</updated>

    <summary>I just read about Arch Hurd - a &quot;port&quot; of the Arch GNU/Linux distribution to the Hurd platform / kernel. I&apos;m really pleased to find out about another distribution (in addition to the Debian Hurd team) working on and contributing...</summary>
    <author>
        <name>Albert</name>
        
    </author>
    
        <category term="Debian" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="archlinux" label="arch linux" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="debian" label="debian" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="hurd" label="hurd" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="qemu" label="qemu" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.docunext.com/">
        <![CDATA[<p>I just read about Arch Hurd - a "port" of the Arch GNU/Linux distribution to the Hurd platform / kernel.</p>

<p>I'm really pleased to find out about another distribution (in addition to the Debian Hurd team) working on and contributing to development of the Hurd.</p>

<p><strong>What is the Hurd?</strong></p>

<p>The Hurd is the micro-kernel from the GNU. Often times, the GNU/Linux operating system is referred to simply as Linux, but Linux is just the kernel. The GNU provides the userland tools that allow users to run and interact with the Linux kernel. The Hurd is still under active development, but it is functional!</p>

<p>I've tried the Debian Hurd QEMU images in the past, but I just found out about a new QEMU image from April 2010, so I've just downloaded it and am planning to try it out.</p>
]]>
        

    </content>
</entry>

<entry>
    <title>Ubuntu and Debian</title>
    <link rel="alternate" type="text/html" href="http://www.docunext.com/blog/2010/06/ubuntu-and-debian.html" />
    <id>tag:www.docunext.com,2010:/blog//250.21045</id>

    <published>2010-06-30T21:15:47Z</published>
    <updated>2010-06-30T21:42:36Z</updated>

    <summary>I recently installed Ubuntu on a Lenovo G555 because I was having problems with the Squeeze network install CD (the laptop&apos;s ethernet cable kept on disappearing!). While I usually prefer Debian to Ubuntu, I appreciate some of the things that...</summary>
    <author>
        <name>Albert</name>
        
    </author>
    
        <category term="Debian" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Ubuntu" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="awesomewm" label="awesomewm" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="debian" label="debian" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="grub" label="grub" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="iceweasel" label="iceweasel" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="ubuntu" label="ubuntu" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.docunext.com/">
        <![CDATA[<p>I recently installed Ubuntu on a <a href="http://www.my-tech-deals.com/blog/2010/06/awesome-laptop-for-wicked-cheap.html">Lenovo G555</a> because I was having problems with the Squeeze network install CD (the laptop's ethernet cable kept on disappearing!).</p>

<p>While I usually prefer Debian to Ubuntu, I appreciate some of the things that Ubuntu has done for GNU/Linux, including the awareness it has raised for the operating system and kernel. I use Debian on my current laptop, and really like the setup: AwesomeWM, some GNOME components, Iceweasel, jEdit, Vim, OpenOffice, and Chromium.</p>

<p>I decided to stick with Ubuntu for the G555 as I read that it was easy to use the Broadcom binary blob for wifi networking. It was indeed, and it was also easy to setup the ATI binary blob for video. </p>

<p>For the most part, I'm quite pleased with Ubuntu. I'd tried it before, but decided to switch back to Debian as I wasn't crazy with the use of Upstart instead of the normal init system. I didn't happen to think that the issues with init were worth splitting from Debian efforts. Years later, Ubuntu is still using Upstart, so apparently its stable enough to trust. Ubuntu is now version 10, and it looks and feels quite nice.</p>

<p>I'm surprised that it still uses Grub legacy instead of Grub 2, like Debian Squeeze is now using. Thankfully, Ubuntu comes with Firefox 3.6.2 (3.6.x is in experimental on Debian). I also noticed that ext4 is the default filesystem. Just in case, I decided to switch it back to ext3.</p>

<p>There are some interesting differences between Debian and Ubuntu - seems to me that Ubuntu is focused on making GNU/Linux more appealing, while Debian is focused on making it better - both valiant efforts!</p>

<p>Also, the <a href="http://www.my-tech-deals.com/blog/2010/06/awesome-laptop-for-wicked-cheap.html">Lenovo G555</a> is an great machine except for the fact that the ethernet device keeps disappearing on me!</p>
]]>
        

    </content>
</entry>

<entry>
    <title>OpenVPN between pfSense and Debian GNU/Linux</title>
    <link rel="alternate" type="text/html" href="http://www.docunext.com/blog/2010/06/openvpn-between-pfsense-and-debian-gnulinux.html" />
    <id>tag:www.docunext.com,2010:/blog//250.21028</id>

    <published>2010-06-29T10:41:16Z</published>
    <updated>2010-06-29T10:51:51Z</updated>

    <summary>I wish I&apos;d thought of this setup earlier - its a sweet combo! I&apos;ve definitely used IPSec between linux and pfSense, but for single external nodes, the common site-to-site IPSec configuration wasn&apos;t necessary for me. OpenVPN servers use a DHCP-like...</summary>
    <author>
        <name>Albert</name>
        
    </author>
    
        <category term="OpenVPN" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="debian" label="debian" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="linux" label="linux" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="openvpn" label="openvpn" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="pfsense" label="pfsense" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.docunext.com/">
        <![CDATA[<p>I wish I'd thought of this setup earlier - its a sweet combo! I've definitely used IPSec between linux and pfSense, but for single external nodes, the common site-to-site IPSec configuration wasn't necessary for me.</p>

<p>OpenVPN servers use a DHCP-like system for distributing private IP addresses to clients. This setup required me to use the public key infrastructure setup (PKI) as opposed to the shared key, which I've come to learn is used with only one client at a time.</p>

<p>Since I had a handful of clients, I setup a C-class, 192.168.x.0/26, 255.255.255.192 subnet - that provides me with a maximum of 62 hosts which is plenty, even though apparently some OpenVPN configurations use up a lot of IP space when supporting Windows clients. I am not, so I used the <strong>ifconfig-pool-linear</strong> option on the server.</p>

<p>I've got three Debian GNU/Linux clients setup with this configuration and plan to use it in a variety of ways... but first I'm going to make sure everything is super stable. I've definitely had to do some tweaking since I first setup it up, so there may be more. I've definitely learned a lot in the process!</p>

<p>For more information on my setup, check out the <a href="http://www.docunext.com/wiki/OpenVPN">Docunext OpenVPN wiki page where I've uploaded screenshots</a>.</p>
]]>
        

    </content>
</entry>

<entry>
    <title>NFS Mount Error</title>
    <link rel="alternate" type="text/html" href="http://www.docunext.com/blog/2010/06/nfs-mount-error.html" />
    <id>tag:www.docunext.com,2010:/blog//250.21018</id>

    <published>2010-06-27T18:47:23Z</published>
    <updated>2010-06-27T18:51:45Z</updated>

    <summary>I tried mounting an NFS share over OpenVPN on a Linode VPS. At first I was getting this error: # mount /var/www/virtual mount.nfs: an incorrect mount option was specified Digging into dmesg led to this error: NFS: bad mount option...</summary>
    <author>
        <name>Albert</name>
        
    </author>
    
        <category term="NFS" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="linode" label="linode" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="nfs" label="nfs" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="vps" label="vps" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.docunext.com/">
        <![CDATA[<p>I tried mounting an NFS share over OpenVPN on a Linode VPS. At first I was getting this error:</p>

<pre class="sh_sh">
# mount /var/www/virtual
mount.nfs: an incorrect mount option was specified
</pre>

<p>Digging into dmesg led to this error:</p>

<pre class="sh_sh">
NFS: bad mount option value specified: vers=4
</pre>

<p>Apparently the linode kernel only has support for version 3, and thanks to this <a href="http://lifeasasysadmin.blogspot.com/2010/05/nfs-mount-error.html">nfs mount error blog post</a> at <a href="http://lifeasasysadmin.blogspot.com/">My Life as a Sysadmin</a>, I was able to find a workaround:</p>

<pre class="sh_sh">
192.168.8.2:/var/www/virtual  /var/www/virtual nfs    _netdev,noatime,rw,vers=3 0 0
</pre>
]]>
        

    </content>
</entry>

</feed>
