<?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/"
	>

<channel>
	<title>WiredRevolution.com</title>
	<atom:link href="http://www.wiredrevolution.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wiredrevolution.com</link>
	<description>A Bit of Linux Wisdom</description>
	<pubDate>Sun, 10 Jan 2010 22:41:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Install Boxee on 64-bit Ubuntu 9.10 Karmic</title>
		<link>http://www.wiredrevolution.com/ubuntu/install-boxee-on-64-bit-ubuntu-910-karmic</link>
		<comments>http://www.wiredrevolution.com/ubuntu/install-boxee-on-64-bit-ubuntu-910-karmic#comments</comments>
		<pubDate>Sat, 02 Jan 2010 15:33:12 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[32-bit]]></category>

		<category><![CDATA[64-bit]]></category>

		<category><![CDATA[9.04]]></category>

		<category><![CDATA[9.10]]></category>

		<category><![CDATA[boxee]]></category>

		<category><![CDATA[howto]]></category>

		<category><![CDATA[HTPC]]></category>

		<category><![CDATA[install]]></category>

		<category><![CDATA[jaunty]]></category>

		<category><![CDATA[karmic]]></category>

		<category><![CDATA[liblzo]]></category>

		<category><![CDATA[library]]></category>

		<category><![CDATA[sources.list]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=1165</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/>Installing Boxee turns your computer into an incredable HTPC but the installation process is not as straight forward as they would have you believe for the 64-bit 9.10 karmic release.  At the time of this post Boxee is only available for 32-bit Jaunty 9.10 release but it can be successfully installed with the following [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/ubuntu/installing-ubuntu-910-on-the-dell-zino-hd' rel='bookmark' title='Permanent Link: Installing Ubuntu 9.10 on the Dell Zino HD'>Installing Ubuntu 9.10 on the Dell Zino HD</a> <small>The Dell Inspiron Zino HD is the perfect machine if...</small></li><li><a href='http://www.wiredrevolution.com/ubuntu/install-linux-development-man-pages-in-ubuntu' rel='bookmark' title='Permanent Link: Install Linux development man pages in Ubuntu'>Install Linux development man pages in Ubuntu</a> <small>By default Ubuntu doesn&#8217;t install the manual pages used for...</small></li><li><a href='http://www.wiredrevolution.com/ubuntu/setup-ps3-controller-over-bluetooth-on-ubuntu' rel='bookmark' title='Permanent Link: Setup PS3 controller over bluetooth on Ubuntu'>Setup PS3 controller over bluetooth on Ubuntu</a> <small>The PS3 Sixaxis and DualShock3 bluetooth controllers are a great...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/><p>Installing Boxee turns your computer into an incredable HTPC but the installation process is not as straight forward as they would have you believe for the 64-bit 9.10 karmic release.  At the time of this post Boxee is only available for 32-bit Jaunty 9.10 release but it can be successfully installed with the following steps. </p>
<p><strong>Update:</strong><br />
Boxee has recently made the latest version of their software available for Karmic 64 and 32-bit.  You can simply download the deb package off their website directly and install it. You can disregard the instructions below.</p>
<p>Start by downloading the repository off the website. Since the 32-bit repository is the only one available simply adding it to your sources.list will not work.</p>
<pre>$ wget http://apt.boxee.tv/dists/jaunty/main/binary-i386/Packages.gz</pre>
<p>Find the latest version of Boxee in the repository.</p>
<pre>$ zcat Packages.gz | grep Filename</pre>
<pre>
Filename: ./dists/intrepid/main/binary-i386/boxee-0.9.6.4578.intrepid.deb
Filename: ./dists/intrepid/main/binary-i386/boxee-0.9.7.4826.intrepid.deb
Filename: ./dists/intrepid/test/binary-i386/boxee-0.9.11.5777.deb
Filename: ./dists/intrepid/test/binary-i386/boxee-0.9.12.6570.deb
Filename: ./dists/intrepid/test/binary-i386/boxee-0.9.13.6684.deb
Filename: ./dists/intrepid/test/binary-i386/boxee-0.9.14.6795.deb
Filename: ./dists/intrepid/test/binary-i386/boxee-0.9.14.6992.deb
</pre>
<p>Download the latest version.</p>
<pre>$ wget http://apt.boxee.tv/dists/intrepid/test/binary-i386/boxee-0.9.14.6992.deb</pre>
<p>Install the package, since your system is 64-bit and you are installing a 32-bit package you will see that your system is missing some required libraries.</p>
<pre>$ sudo dpkg -i --force-all boxee-0.9.14.6992.deb</pre>
<pre>
dpkg: warning: overriding problem because --force enabled:
 package architecture (i386) does not match system (amd64)
Selecting previously deselected package boxee.
(Reading database ... 144498 files and directories currently installed.)
Unpacking boxee (from boxee-0.9.14.6992.deb) ...
dpkg: boxee: dependency problems, but configuring anyway as you requested:
 boxee depends on liblzo1; however:
  Package liblzo1 is not installed.
 boxee depends on libfaad-dev; however:
  Package libfaad-dev is not installed.
 boxee depends on libxmlrpc-c3; however:
  Package libxmlrpc-c3 is not installed.
 boxee depends on libdirectfb-1.0-0; however:
  Package libdirectfb-1.0-0 is not installed.
 boxee depends on libkrb53; however:
  Package libkrb53 is not installed.
 boxee depends on xsel; however:
  Package xsel is not installed.
Setting up boxee (0.9.14.6992)
</pre>
<p>To fix these dependency problems download the getlibs package and install it. </p>
<pre>
$ wget http://frozenfox.freehostia.com/cappy/getlibs-all.deb
$ sudo dpkg -i getlibs-all.deb
</pre>
<p>Now resolve those missing libraries.</p>
<pre>$ getlibs /opt/boxee/Boxee</pre>
<pre>
libfaac.so.0: libfaac0
libhal-storage.so.1: libhal-storage1
libjasper.so.1: libjasper1
libenca.so.0: libenca0
No match for liblzo.so.1
libmysqlclient.so.15: libmysqlclient15off
libfribidi.so.0: libfribidi0
libGLEW.so.1.5: libglew1.5
The following i386 packages will be installed:
libenca0
libfaac0
libfribidi0
libglew1.5
libhal-storage1
libjasper1
libmysqlclient15off
Continue [Y/n]? y
Downloading ...
Installing libraries ...
</pre>
<p>Install the lib32nss-mdns library.</p>
<pre>$ sudo apt-get install lib32nss-mdns</pre>
<p>You also need to manually install the liblzo library which is no longer available in the 9.10 release.</p>
<pre>$ wget http://mirrors.kernel.org/ubuntu/pool/universe/l/lzo/liblzo1_1.08-3_i386.deb
$ getlibs -i liblzo1_1.08-3_i386.deb
</pre>
<p>You should now be able to launch Boxee normally, enjoy!</p>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/ubuntu/installing-ubuntu-910-on-the-dell-zino-hd' rel='bookmark' title='Permanent Link: Installing Ubuntu 9.10 on the Dell Zino HD'>Installing Ubuntu 9.10 on the Dell Zino HD</a> <small>The Dell Inspiron Zino HD is the perfect machine if...</small></li><li><a href='http://www.wiredrevolution.com/ubuntu/install-linux-development-man-pages-in-ubuntu' rel='bookmark' title='Permanent Link: Install Linux development man pages in Ubuntu'>Install Linux development man pages in Ubuntu</a> <small>By default Ubuntu doesn&#8217;t install the manual pages used for...</small></li><li><a href='http://www.wiredrevolution.com/ubuntu/setup-ps3-controller-over-bluetooth-on-ubuntu' rel='bookmark' title='Permanent Link: Setup PS3 controller over bluetooth on Ubuntu'>Setup PS3 controller over bluetooth on Ubuntu</a> <small>The PS3 Sixaxis and DualShock3 bluetooth controllers are a great...</small></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/ubuntu/install-boxee-on-64-bit-ubuntu-910-karmic/feed</wfw:commentRss>
		</item>
		<item>
		<title>Installing Ubuntu 9.10 on the Dell Zino HD</title>
		<link>http://www.wiredrevolution.com/ubuntu/installing-ubuntu-910-on-the-dell-zino-hd</link>
		<comments>http://www.wiredrevolution.com/ubuntu/installing-ubuntu-910-on-the-dell-zino-hd#comments</comments>
		<pubDate>Wed, 30 Dec 2009 15:46:24 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[9.10]]></category>

		<category><![CDATA[ATI]]></category>

		<category><![CDATA[audio]]></category>

		<category><![CDATA[broadcom]]></category>

		<category><![CDATA[dell]]></category>

		<category><![CDATA[FGLRX]]></category>

		<category><![CDATA[HD]]></category>

		<category><![CDATA[HDMI]]></category>

		<category><![CDATA[HTPC]]></category>

		<category><![CDATA[inspiron]]></category>

		<category><![CDATA[karmic]]></category>

		<category><![CDATA[koala]]></category>

		<category><![CDATA[mythtv]]></category>

		<category><![CDATA[STA]]></category>

		<category><![CDATA[VGA]]></category>

		<category><![CDATA[video]]></category>

		<category><![CDATA[Windows 7]]></category>

		<category><![CDATA[wireless]]></category>

		<category><![CDATA[zino]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=1136</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/>The Dell Inspiron Zino HD is the perfect machine if you are looking to build an Ubuntu Linux based HTPC.  At the time of this post the Zino can be purchased with either Windows 7 or Ubuntu linux 9.04. I decided to go with Windows 7 and install Ubuntu 9.10 64-bit karmic on my [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/ubuntu/install-boxee-on-64-bit-ubuntu-910-karmic' rel='bookmark' title='Permanent Link: Install Boxee on 64-bit Ubuntu 9.10 Karmic'>Install Boxee on 64-bit Ubuntu 9.10 Karmic</a> <small>Installing Boxee turns your computer into an incredable HTPC but...</small></li><li><a href='http://www.wiredrevolution.com/ubuntu/setup-ps3-controller-over-bluetooth-on-ubuntu' rel='bookmark' title='Permanent Link: Setup PS3 controller over bluetooth on Ubuntu'>Setup PS3 controller over bluetooth on Ubuntu</a> <small>The PS3 Sixaxis and DualShock3 bluetooth controllers are a great...</small></li><li><a href='http://www.wiredrevolution.com/ubuntu/fix-blue-tinted-video-in-ubuntu' rel='bookmark' title='Permanent Link: Fix blue tinted video in Ubuntu'>Fix blue tinted video in Ubuntu</a> <small>A strange issue has been identified in Ubuntu where video...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/><p>The Dell Inspiron Zino HD is the perfect machine if you are looking to build an Ubuntu Linux based HTPC.  At the time of this post the Zino can be purchased with either Windows 7 or Ubuntu linux 9.04. I decided to go with Windows 7 and install Ubuntu 9.10 64-bit karmic on my own in a dual boot configuration. This article will cover all the steps necessary to get Ubuntu up and running.</p>
<p><a href="http://www.wiredrevolution.com/wp-content/uploads/2009/12/dell_zino.jpg"><img src="http://www.wiredrevolution.com/wp-content/uploads/2009/12/dell_zino.jpg" alt="dell_zino" title="dell_zino" width="539" height="424" class="aligncenter size-full wp-image-1141" /></a></p>
<p>The easiest way to setup a dual boot configuration is to reinstall Windows 7 first with the included OS DVD and then Ubuntu second. When installing Windows 7 make sure to leave space for your Ubuntu installation. Repartition the drive so that Windows 7 only uses a small chuck and leave the rest of the space unallocated. The good thing about reinstalling Windows is that it gets rid of all the extra 3rd party junk that comes preinstalled.</p>
<p>You can install Ubuntu through the HDMI but on some TVs the HDMI port may display incorrectly until the ATI drivers are correctly installed. If this occurs to you switch over the the VGA port until you have completed the installation.</p>
<p>The only other pitfall of this installation is that the default Ubuntu installation doesn&#8217;t recognize the wireless card (in my build it was the Broadcom wireless b/g card). All this means is that you need to have the wired ethernet connection until you update the system and download the appropriate wireless driver.</p>
<p>Once you have completed the initial installation and made sure you have a working network connection you should update your system.</p>
<pre>$ sudo apt-get update &#038;&#038; sudo apt-get -y upgrade</pre>
<p>Next you need to find and install your hardware drivers. Go here:<br />
<strong>System -> Administration -> Hardware Drivers</strong></p>
<p>It should find the Broadcom STA wireless driver for your wireless, and the FGLRX ATI/AMD driver for your video card. Download and activate both of them. You should now be able to connect with wireless and use the HDMI port if you experienced display issues with it during the installation.</p>
<p>If your display resolution if incorrect. Go here:<br />
<strong>System -> Administration -> Display</strong></p>
<p>Configure your sound to work over HDMI. Go here:<br />
<strong>System -> Administration -> Sound</strong></p>
<p>In the Output tab select HDMI. You can go to the Sound Effects tab and select a sound to test that it works.</p>
<p>You should now a fully functional system up and running with Ubuntu, but you may want to install some packages that will make your make your life easier. Here are my suggestions:</p>
<p>ubuntu-restricted-formats<br />
ssh<br />
nfs-common<br />
sshfs<br />
vim</p>
<p>mythtv<br />
boxee<br />
xbmc</p>
<p>Enjoy your new Zino HTPC!</p>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/ubuntu/install-boxee-on-64-bit-ubuntu-910-karmic' rel='bookmark' title='Permanent Link: Install Boxee on 64-bit Ubuntu 9.10 Karmic'>Install Boxee on 64-bit Ubuntu 9.10 Karmic</a> <small>Installing Boxee turns your computer into an incredable HTPC but...</small></li><li><a href='http://www.wiredrevolution.com/ubuntu/setup-ps3-controller-over-bluetooth-on-ubuntu' rel='bookmark' title='Permanent Link: Setup PS3 controller over bluetooth on Ubuntu'>Setup PS3 controller over bluetooth on Ubuntu</a> <small>The PS3 Sixaxis and DualShock3 bluetooth controllers are a great...</small></li><li><a href='http://www.wiredrevolution.com/ubuntu/fix-blue-tinted-video-in-ubuntu' rel='bookmark' title='Permanent Link: Fix blue tinted video in Ubuntu'>Fix blue tinted video in Ubuntu</a> <small>A strange issue has been identified in Ubuntu where video...</small></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/ubuntu/installing-ubuntu-910-on-the-dell-zino-hd/feed</wfw:commentRss>
		</item>
		<item>
		<title>AndroidNexus.com now online</title>
		<link>http://www.wiredrevolution.com/site-news/androidnexuscom-now-online</link>
		<comments>http://www.wiredrevolution.com/site-news/androidnexuscom-now-online#comments</comments>
		<pubDate>Wed, 16 Dec 2009 15:53:19 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[site news]]></category>

		<category><![CDATA[androidnexus.com]]></category>

		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=1131</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/news_icon.png" width="80" height="80" alt="" title="site news" /><br/>AndroidNexus.com will be a site geared towards the Google Android operating system based on the Linux kernel.  I plan on covering topics including the Android Open Source Project as well as application development with the Android SDK. For good measure there should be plenty of information about specific applications and phones as well.
Keep an eye [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/news_icon.png" width="80" height="80" alt="" title="site news" /><br/><p><a href="http://androidnexus.com">AndroidNexus.com</a> will be a site geared towards the Google Android operating system based on the Linux kernel.  I plan on covering topics including the Android Open Source Project as well as application development with the Android SDK. For good measure there should be plenty of information about specific applications and phones as well.</p>
<p>Keep an eye out for future updates!</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/site-news/androidnexuscom-now-online/feed</wfw:commentRss>
		</item>
		<item>
		<title>Install Linux development man pages in Ubuntu</title>
		<link>http://www.wiredrevolution.com/ubuntu/install-linux-development-man-pages-in-ubuntu</link>
		<comments>http://www.wiredrevolution.com/ubuntu/install-linux-development-man-pages-in-ubuntu#comments</comments>
		<pubDate>Wed, 13 May 2009 14:53:15 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[development]]></category>

		<category><![CDATA[documentation]]></category>

		<category><![CDATA[glibc]]></category>

		<category><![CDATA[GNU]]></category>

		<category><![CDATA[GNU/Linux]]></category>

		<category><![CDATA[install]]></category>

		<category><![CDATA[libc]]></category>

		<category><![CDATA[man]]></category>

		<category><![CDATA[man pages]]></category>

		<category><![CDATA[manual]]></category>

		<category><![CDATA[posix]]></category>

		<category><![CDATA[software]]></category>

		<category><![CDATA[system administration]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=1127</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/>By default Ubuntu doesn&#8217;t install the manual pages used for Linux software development which is an invaluable reference for any system developer.  These man pages describe the Linux programming interface including Linux system calls as well as system library calls.
To install these man pages simply install the manpages-dev package.

$ sudo apt-get install manpages-dev

You can [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/ubuntu/install-boxee-on-64-bit-ubuntu-910-karmic' rel='bookmark' title='Permanent Link: Install Boxee on 64-bit Ubuntu 9.10 Karmic'>Install Boxee on 64-bit Ubuntu 9.10 Karmic</a> <small>Installing Boxee turns your computer into an incredable HTPC but...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/><p>By default Ubuntu doesn&#8217;t install the manual pages used for Linux software development which is an invaluable reference for any system developer.  These man pages describe the Linux programming interface including Linux system calls as well as system library calls.</p>
<p>To install these man pages simply install the <strong>manpages-dev</strong> package.</p>
<pre>
$ sudo apt-get install manpages-dev
</pre>
<p>You can also install the POSIX specific interfaces by installing the <strong>manpages-posix-dev</strong> package.</p>
<pre>
$ sudo apt-get install manpages-posix-dev
</pre>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/ubuntu/install-boxee-on-64-bit-ubuntu-910-karmic' rel='bookmark' title='Permanent Link: Install Boxee on 64-bit Ubuntu 9.10 Karmic'>Install Boxee on 64-bit Ubuntu 9.10 Karmic</a> <small>Installing Boxee turns your computer into an incredable HTPC but...</small></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/ubuntu/install-linux-development-man-pages-in-ubuntu/feed</wfw:commentRss>
		</item>
		<item>
		<title>Setup PS3 controller over bluetooth on Ubuntu</title>
		<link>http://www.wiredrevolution.com/ubuntu/setup-ps3-controller-over-bluetooth-on-ubuntu</link>
		<comments>http://www.wiredrevolution.com/ubuntu/setup-ps3-controller-over-bluetooth-on-ubuntu#comments</comments>
		<pubDate>Sat, 04 Apr 2009 15:25:49 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[8.10]]></category>

		<category><![CDATA[bluetooth]]></category>

		<category><![CDATA[controller]]></category>

		<category><![CDATA[dualshock3]]></category>

		<category><![CDATA[intrepid]]></category>

		<category><![CDATA[joystick]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[playstation3]]></category>

		<category><![CDATA[ps3]]></category>

		<category><![CDATA[sixaxis]]></category>

		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=1058</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/>The PS3 Sixaxis and DualShock3 bluetooth controllers are a great for gaming on your PS3 but will work just as well under Linux. With this guide you will be able to configure them to work on your Ubuntu Linux 8.10 (Intrepid Ibex) PC in USB as well as wireless bluetooth mode.
There are a variety of [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/ubuntu/installing-ubuntu-910-on-the-dell-zino-hd' rel='bookmark' title='Permanent Link: Installing Ubuntu 9.10 on the Dell Zino HD'>Installing Ubuntu 9.10 on the Dell Zino HD</a> <small>The Dell Inspiron Zino HD is the perfect machine if...</small></li><li><a href='http://www.wiredrevolution.com/ubuntu/install-boxee-on-64-bit-ubuntu-910-karmic' rel='bookmark' title='Permanent Link: Install Boxee on 64-bit Ubuntu 9.10 Karmic'>Install Boxee on 64-bit Ubuntu 9.10 Karmic</a> <small>Installing Boxee turns your computer into an incredable HTPC but...</small></li><li><a href='http://www.wiredrevolution.com/ubuntu/install-linux-development-man-pages-in-ubuntu' rel='bookmark' title='Permanent Link: Install Linux development man pages in Ubuntu'>Install Linux development man pages in Ubuntu</a> <small>By default Ubuntu doesn&#8217;t install the manual pages used for...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/><p>The PS3 <strong>Sixaxis</strong> and <strong>DualShock3</strong> bluetooth controllers are a great for gaming on your PS3 but will work just as well under Linux. With this guide you will be able to configure them to work on your <strong>Ubuntu Linux 8.10</strong> (<strong>Intrepid Ibex</strong>) PC in USB as well as wireless bluetooth mode.</p>
<p>There are a variety of solutions out there but they are either overly complex, or because of the ever changing state of Linux bluetooth support, they are somewhat outdated. The advantage of this solution is that it is simple, and requires only slight modification to the default versions of the <strong>bluez-utils</strong> packages (<strong>bluez-4.12</strong>). This minimizes possible conflicts and eliminates unneeded configuration. </p>
<p>This guide specifically covers <strong>Ubuntu Linux 8.10 (Intrepid Ibex)</strong> but I&#8217;m sure similar steps can be taken for other distributions.</p>
<h2>Installation</h2>
<p>Install the <strong>hidd</strong> daemon located in the <strong>bluez-compat</strong> package.</p>
<pre>
$ sudo apt-get bluez-compat joystick
</pre>
<p>The <strong>hidd</strong> daemon in the <strong>bluez-compat</strong> package has been deprecated but it provides the only way to connect with the PS3 controller. It will not interfere with the current <strong>bluetooth</strong> service.</p>
<p>From this point you can take one of two roads. </p>
<ol>
<li>If you are on <strong>32bit (i386)</strong> or <strong>64bit (amd64)</strong> versions of Ubuntu I have precompiled all the binaries you will need. Simply download the corresponding tarball for your architecture and follow a couple simple steps to complete the setup.</li>
<li>The other option is to manually patch and compile the binaries yourself. This is a bit more time consuming but not anymore difficult as I have documented the exact steps for this method as well. This option is necessary if you are on some other architecture (<strong>PowerPC</strong>, etc.) or if you experience any problems with the precompiled binaries I provided.</li>
</ol>
<h2>Option 1: Download Precompiled Binaries</h2>
<p>You can test which architecture you are using by running <strong>uname</strong>.</p>
<pre>
$ uname -a
</pre>
<pre>
Linux xps 2.6.27-7-generic #1 SMP Tue Nov 4 19:33:06 UTC 2008 <strong>x86_64</strong> GNU/Linux
</pre>
<p>Download the tarball of binaries which corresponds to your architecture.<br />
<a href='http://www.wiredrevolution.com/wp-content/uploads/2009/04/bluez-compat_ps3_amd64.tgz'>bluez-compat_ps3_amd64.tgz</a><br />
<a href='http://www.wiredrevolution.com/wp-content/uploads/2009/04/bluez-compat_ps3_i386.tgz'>bluez-compat_ps3_i386.tgz</a></p>
<p>Untar the files.</p>
<pre>
$ tar xzvf bluez-compat_ps3_&lt;<em>arch</em>&gt;.tgz
</pre>
<pre>
bluez-compat_4.12-0ubuntu5_amd64.deb
sixpair
</pre>
<p>Skip down to the <strong>Install the Updated Package</strong> section.</p>
<h2>Option 2: Patch and Compile Binaries</h2>
<p>Download the <strong>hidd</strong> daemon patch:<br />
<a href='http://www.wiredrevolution.com/wp-content/uploads/2009/04/patch-hidd-3.19-pabr3'>patch-hidd-3.19-pabr3</a></p>
<p>Install the <strong>dpkg-dev</strong> and <strong>fakeroot</strong> which will allow you to compile the <strong>blues-utils</strong> package.</p>
<pre>
$ sudo apt-get dpkg-dev fakeroot
</pre>
<p>Install the <strong>blues-utils</strong> package, apply the patch, and build the package.</p>
<pre>
$ sudo apt-get source bluez-utils
$ sudo apt-get build-dep bluez-utils
$ patch bluez-4.12/compat/hidd.c patch-hidd-3.19-pabr3
$ cd bluez-4.12
$ sudo dpkg-buildpackage -rfakeroot
$ cd ../
</pre>
<p>This will build all the bluez related packages, the only one we are interested in is <strong>bluez-compat</strong>.</p>
<p>Download the <strong>sixpair.c</strong> source code:<br />
<a href='http://www.wiredrevolution.com/wp-content/uploads/2009/04/sixpair.c'>sixpair.c</a></p>
<p>Install the <strong>libusb-dev</strong> and <strong>libusb-0.1-4</strong> which will allow you to compile the <strong>sixpair</strong> utility.</p>
<pre>
$ sudo apt-get libusb-dev libusb-0.1-4
</pre>
<p>Build the <strong>sixpair</strong> utility.</p>
<pre>
$ gcc -o sixpair sixpair.c -lusb
</pre>
<h2>Install the Updated Package</h2>
<p>At this point you should have either downloaded or compiled the <strong>bluez-compat</strong> package.</p>
<p>Install the patched <strong>bluez-compat</strong> package.</p>
<pre>
$ sudo dpkg -i bluez-compat_4.12-0ubuntu5_&lt;<em>arch</em>&gt;.deb
</pre>
<p><em>Optional</em>: if you will dist-upgrade your system, the process will overwrite your modified package with newer versions. You can either choose to redo the above steps every time a new version of bluez-utils is packaged, or &#8220;hold&#8221; the package. This should work with both apt and aptitude.</p>
<pre>
$ sudo echo bluez-compat hold | sudo dpkg --set-selections
</pre>
<h2>Bluetooth Pairing</h2>
<p>With the updated package in place, you can now follow steps will get the PS3 controller paired with your Ubuntu system. This step only needs to be performed once as it will remain successfully paired with Ubuntu between uses.  If you reconnect/re-pair the controller with the PS3 however, you will have to repeat this step.</p>
<p>If you want to setup multiple controllers, repeat this step for each one individually. </p>
<p>Run the following command to view the system log messages as they are generated. </p>
<pre>
$ watch -n 1 "tail /var/log/messages"
</pre>
<p>Plug in PS3 controller with USB cable. You should see output similar to the following system log in the terminal.</p>
<pre>
Apr  4 11:06:40 xps kernel: [ 9666.789711] input: Sony PLAYSTATION(R)3 Controller as /devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/input/input23
Apr  4 11:06:40 xps kernel: [ 9666.834506] input,hiddev96,hidraw3: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:1d.0-2
</pre>
<p>The lights will blink indicating that the controller is communicating with the system. </p>
<p>Press the PS button (clear button in the center of the gamepad). This will acknowledge the controller connection sequence and the controller will become activated.</p>
<p>Check that the <strong>/dev/input/js0</strong> device exists at this point.</p>
<pre>
$ls /dev/input/js*
</pre>
<pre>
/dev/input/js0
</pre>
<p>You can test the controller by running either of the following commands. <strong>jscalibrator</strong> opens a GUI window and allows you you calibrate your buttons. <strong>jstest</strong> shows the raw output from the buttons themselves. Make sure you have pressed the PS button on the controller if you aren&#8217;t getting any response.</p>
<pre>
$ jscalibrator -d /dev/input/js0
</pre>
<p>or</p>
<pre>
$ jstest /dev/input/js0
</pre>
<p>The lights will continue to blink indefinitely as long as the controller is connected, this is normal. There is no way at this point to disable them but the controller will operate correctly over USB.</p>
<p>Execute the <strong>sixpair</strong> utility. This will tell the PS3 controller to look for your Ubuntu bluetooth master device and not the PS3 itself when it attempts to connect over bluetooth.</p>
<pre>
$ sudo ./sixpair
</pre>
<pre>
Current Bluetooth master: 00:1f:e1:e3:48:YY
Setting master bd_addr to 00:1f:e1:e3:48:YY
</pre>
<p>You should now disconnect the controller from the USB cable. It will remain paired with the Ubuntu system from this point forward.</p>
<h2>Initiate Connection</h2>
<p>By now you should have installed the updated package and successfully paired the PS3 controller with your Ubuntu system. Until you reconnect/re-pair the controller to the PS3 you can simply repeat this step each time you want to use your controller.</p>
<p>For the controller to successfully connect with your Ubuntu system you will have to temporarily disable the default bluetooth service and start the <strong>hidd</strong> daemon instead.</p>
<p>Stop the <strong>bluetooth</strong> service.</p>
<pre>
$ sudo /etc/init.d/bluetooth stop
</pre>
<p>Run the <strong>hidd</strong> daemon. The &#8216;<strong>-n</strong>&#8216; will stop it from running in the background and you can see its output in the terminal.</p>
<pre>
$ sudo hidd --server --nocheck -n
</pre>
<pre>
hidd[14407]: Bluetooth HID daemon
</pre>
<p>In a separate terminal run the <strong>hcidump</strong> command below. It will show you the current bluetooth traffic as it happens.</p>
<pre>
$ sudo hcidump -t -V -x
</pre>
<p>Press the PS button (clear button in the center of the gamepad). This will cause the controller to begin its connection sequence. You should see the <strong>hidd</strong> daemon accept the connection and print something similar to the output below. Pay attention to the bold text below. This is your bluetooth PS3 controller address which you will need later to ultimately disconnect the controller.</p>
<pre>
hidd[13149]: New HID device <strong>00:16:FE:D7:8C:XX</strong> (Sony Computer Entertainment Wireless Controller)
</pre>
<p>The system log should also show the following.</p>
<pre>
Apr  4 11:09:52 xps kernel: [ 6258.750437] input: Sony Computer Entertainment Wireless Controller as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2.1/7-2.1:1./bluetooth/hci0/hci0:11/input22
</pre>
<p><strong>hcidump</strong> should start reporting a large amount of bluetooth traffic from the PS3 controller. Here&#8217;s a snippet of the sample output below. </p>
<pre>
2009-04-04 11:10:04.745725 > ACL data: handle 11 flags 0x02 dlen 54
    L2CAP(d): cid 0x0041 len 50 [psm 19]
      HIDP: Data: Input report
      01 00 00 00 00 00 86 88 78 79 00 00 00 00 00 00 00 00 00 00
      00 00 00 00 00 00 00 00 00 03 05 14 FF C8 00 00 23 5E 77 01
      81 01 FE 01 E8 01 8F 00 02
2009-04-04 11:10:04.757745 > ACL data: handle 11 flags 0x02 dlen 54
    L2CAP(d): cid 0x0041 len 50 [psm 19]
      HIDP: Data: Input report
      01 00 00 00 00 00 86 88 78 79 00 00 00 00 00 00 00 00 00 00
      00 00 00 00 00 00 00 00 00 03 05 14 FF C8 00 00 23 5E 77 01
      81 01 FE 01 E7 01 8F 00 02
</pre>
<p>Check that the <strong>/dev/input/js0</strong> device exists once again.</p>
<pre>
$ls /dev/input/js*
</pre>
<pre>
/dev/input/js0
</pre>
<p>You can verify the controller is correctly working over bluetooth by once again running either <strong>jscalibrator</strong> or <strong>jstest</strong>.</p>
<pre>
$ jscalibrator -d /dev/input/js0
</pre>
<p>or</p>
<pre>
$ jstest /dev/input/js0
</pre>
<p>Congratulations! You have successfully connected your PS3 controller. As before, the lights will continue to blink as long as the controller is connected. You can operate the controller and map its buttons just like any other joystick or gamepad.</p>
<p>If you are wanting to connect multiple controllers that were successfully paired in the previous step, press the PS button for each one. You should see that a device (<strong>/dev/input/js*</strong>) is created for each one. </p>
<p>Kill the <strong>hidd</strong> daemon by pressing <strong>Ctrl+C</strong> in the terminal window. You no longer need this as the the PS3 controller is now connected.</p>
<p>You can now restart the bluetooth service to resume the normal operation of bluetooth devices on your system. The controller will continue to operate normally.</p>
<pre>
$ sudo /etc/init.d/bluetooth start
</pre>
<h2>Terminate Connection</h2>
<p>The PS3 controller doesn&#8217;t hibernate and power off like it does when paired with the PS3. To conserve your battery, once you are done with it you need to &#8220;unplug&#8221; the controller from the system with the following command. Use the bluetooth address you saved from initiating the connection.</p>
<pre>
$ sudo hidd --unplug <strong>00:16:FE:D7:8C:XX</strong>
</pre>
<p>The lights on the controller will go dark once it has been successfully unplugged. </p>
<p>If you want to reconnect/re-pair the controller to your PS3, simply reattach the controller to the PS3 with the USB cable and press the PS button.</p>
<h2>Summary</h2>
<p>Once you have successfully installed the package and are comfortable with the pairing and connection process you can eliminate all the debugging steps.</p>
<p>Here is a quick reference for the pairing and connection process.</p>
<p><strong>Bluetooth Paring</strong> (only if you need to re-pair with Ubuntu)</p>
<pre>
(connect controller with USB cable)
$ sudo ./sixpair
(disconnect controller from USB cable)
</pre>
<p><strong>Initiate Connection</strong></p>
<pre>
$ sudo /etc/init.d/bluetooth stop
$ sudo hidd --server --nocheck -n
(press the PS button on controller to connect)
(terminate hidd Ctrl+C)
$ sudo /etc/init.d/bluetooth start
</pre>
<p><strong>Terminate Connection</strong></p>
<pre>
$ sudo hidd --unplug 00:16:FE:D7:8C:XX
</pre>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/ubuntu/installing-ubuntu-910-on-the-dell-zino-hd' rel='bookmark' title='Permanent Link: Installing Ubuntu 9.10 on the Dell Zino HD'>Installing Ubuntu 9.10 on the Dell Zino HD</a> <small>The Dell Inspiron Zino HD is the perfect machine if...</small></li><li><a href='http://www.wiredrevolution.com/ubuntu/install-boxee-on-64-bit-ubuntu-910-karmic' rel='bookmark' title='Permanent Link: Install Boxee on 64-bit Ubuntu 9.10 Karmic'>Install Boxee on 64-bit Ubuntu 9.10 Karmic</a> <small>Installing Boxee turns your computer into an incredable HTPC but...</small></li><li><a href='http://www.wiredrevolution.com/ubuntu/install-linux-development-man-pages-in-ubuntu' rel='bookmark' title='Permanent Link: Install Linux development man pages in Ubuntu'>Install Linux development man pages in Ubuntu</a> <small>By default Ubuntu doesn&#8217;t install the manual pages used for...</small></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/ubuntu/setup-ps3-controller-over-bluetooth-on-ubuntu/feed</wfw:commentRss>
		</item>
		<item>
		<title>Share a remote filesystem over SSH</title>
		<link>http://www.wiredrevolution.com/system-administration/share-a-remote-filesystem-over-ssh</link>
		<comments>http://www.wiredrevolution.com/system-administration/share-a-remote-filesystem-over-ssh#comments</comments>
		<pubDate>Wed, 25 Mar 2009 12:25:24 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[system administration]]></category>

		<category><![CDATA[/etc/fstab]]></category>

		<category><![CDATA[apt-get]]></category>

		<category><![CDATA[emerge]]></category>

		<category><![CDATA[fusermount]]></category>

		<category><![CDATA[gentoo]]></category>

		<category><![CDATA[mount]]></category>

		<category><![CDATA[NFS]]></category>

		<category><![CDATA[remote filesystem]]></category>

		<category><![CDATA[Samba]]></category>

		<category><![CDATA[sftp]]></category>

		<category><![CDATA[share]]></category>

		<category><![CDATA[shared filesystem]]></category>

		<category><![CDATA[SSH]]></category>

		<category><![CDATA[SSHFS]]></category>

		<category><![CDATA[sshfs-fuse]]></category>

		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=1028</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/sysadmin_icon.png" width="80" height="94" alt="" title="system administration" /><br/>You may already be familiar with NFS and Samba for sharing files over a network. While these are both great distributed filesystem solutions, they require extra configuration and setup overhead in order to get them to work. If you want quick and easy access to a remote filesystem then SSHFS may be your best shot.
SSHFS [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/system-administration/how-to-mount-an-iso-disk-image' rel='bookmark' title='Permanent Link: How to mount an ISO disk image'>How to mount an ISO disk image</a> <small>An ISO image is an archive file (disk image) of...</small></li><li><a href='http://www.wiredrevolution.com/gentoo/setup-nfs-server-on-gentoo' rel='bookmark' title='Permanent Link: Setup NFS server on Gentoo'>Setup NFS server on Gentoo</a> <small>Setting up a NFS server on Gentoo doesn&#8217;t have to...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/sysadmin_icon.png" width="80" height="94" alt="" title="system administration" /><br/><p>You may already be familiar with <strong>NFS</strong> and <strong>Samba</strong> for sharing files over a network. While these are both great distributed filesystem solutions, they require extra configuration and setup overhead in order to get them to work. If you want quick and easy access to a remote filesystem then <strong>SSHFS</strong> may be your best shot.</p>
<p>SSHFS (Secure SHell FileSystem) is a file system for Linux capable of operating on files on a remote computer using just a secure shell login. It is based on sftp (SSH File Transfer Protocol).  Setup is easy on the server side, since most servers support SSH out of the box there is nothing to do.  On the client side, mounting the filesystem is as easy as logging in with SSH. The end user can seamlessly and securely interact with remote files as if they were local to your machine.</p>
<p><strong>Advantages of SSHFS over NFS/Samba</strong>:</p>
<ul>
<li>Utilizes SSH and is therefore very secure.</li>
<li>Allows secure access to remote filesystems outside of your local network.</li>
<li>Requires no special configuration on the server side.</li>
</ul>
<p><strong>Disadvantages</strong>:</p>
<ul>
<li>Slightly slower, although the difference is fairly small.</li>
<li>Does not show filesystem usage statistics.</li>
<li>Requires a user account on the server side.</li>
<li>Not a true distributed file system, single point to point sharing.</li>
</ul>
<p>
<h3>Setup</h3>
<p></p>
<p>The first step is to install SSHFS.</p>
<p>In Ubuntu:</p>
<pre>
$ sudo apt-get install sshfs
</pre>
<p>or in Gentoo:</p>
<pre>
$ sudo emerge -av sshfs-fuse
</pre>
<p>Create the mount point on your local machine. This is where you are going to access the remote filesystem.</p>
<pre>
$ sudo mkdir /mnt/share
</pre>
<p>Your user must have permission to access this mountpoint.</p>
<pre>
$ sudo chown ryan /mnt/share
</pre>
<p>
<h3>Start Sharing</h3>
<p></p>
<p>Now use the sshfs command to mount the remote filesystem. If the username is different on the server you are connecting, use the &#8220;username@host:&#8221; format, otherwise you can simply specify &#8220;host:&#8221;. </p>
<pre>
$ sshfs ryan@fileserver:/remote/share /mnt/share
</pre>
<p>If you are not using keys with SSH you will be prompted for a password.</p>
<pre>
ryan@fileserver's password:
</pre>
<p>Once you are finished you can easily unmount the filesystem.</p>
<p>as regular user:</p>
<pre>
$ fusermount -u /mnt/share
</pre>
<p>or as root:</p>
<pre>
$ sudo umount /mnt/share
</pre>
<p>
<h3>Configuration</h3>
<p></p>
<p>You can add an entry for this share to <strong>/etc/fstab</strong> to make the mounting process more seamless.</p>
<pre>
sshfs#ryan@fileserver:/remote/share /mnt/share fuse user,noauto 0 0
</pre>
<p><strong>user</strong> - allow any user to mount this share.<br />
<strong>noauto</strong> - stop the shared directory from being automatically mounted at startup. </p>
<p>If you want it automatically mounted, ensure that your SSH configuration uses keys and not passwords so it doesn&#8217;t ask for a password at startup. Once keys are in use you can safely remove the noauto option.</p>
<p>With fstab updated you can now mount the share as a normal user with this simple mount command. Again, if ssh is configured to use passwords you will still be prompted for one.</p>
<pre>
$ mount /mnt/share
</pre>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/system-administration/how-to-mount-an-iso-disk-image' rel='bookmark' title='Permanent Link: How to mount an ISO disk image'>How to mount an ISO disk image</a> <small>An ISO image is an archive file (disk image) of...</small></li><li><a href='http://www.wiredrevolution.com/gentoo/setup-nfs-server-on-gentoo' rel='bookmark' title='Permanent Link: Setup NFS server on Gentoo'>Setup NFS server on Gentoo</a> <small>Setting up a NFS server on Gentoo doesn&#8217;t have to...</small></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/system-administration/share-a-remote-filesystem-over-ssh/feed</wfw:commentRss>
		</item>
		<item>
		<title>Setup NFS server on Gentoo</title>
		<link>http://www.wiredrevolution.com/gentoo/setup-nfs-server-on-gentoo</link>
		<comments>http://www.wiredrevolution.com/gentoo/setup-nfs-server-on-gentoo#comments</comments>
		<pubDate>Thu, 19 Mar 2009 12:08:51 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[gentoo]]></category>

		<category><![CDATA[/etc/exports]]></category>

		<category><![CDATA[/proc/config.gz]]></category>

		<category><![CDATA[emerge]]></category>

		<category><![CDATA[menuconfig]]></category>

		<category><![CDATA[NFS]]></category>

		<category><![CDATA[nfs-utils]]></category>

		<category><![CDATA[rc-update]]></category>

		<category><![CDATA[server]]></category>

		<category><![CDATA[showmount]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=1014</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/gentoo_icon.png" width="80" height="82" alt="" title="gentoo" /><br/>Setting up a NFS server on Gentoo doesn&#8217;t have to be difficult. Here I will explain how to setup a basic NFS server in just a few steps.
The fist step is to become root.

$ su -

Your Gentoo kernel must be compiled with support for both NFS server and client. You can check for this in [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/system-administration/share-a-remote-filesystem-over-ssh' rel='bookmark' title='Permanent Link: Share a remote filesystem over SSH'>Share a remote filesystem over SSH</a> <small>You may already be familiar with NFS and Samba for...</small></li><li><a href='http://www.wiredrevolution.com/ubuntu/setup-ps3-controller-over-bluetooth-on-ubuntu' rel='bookmark' title='Permanent Link: Setup PS3 controller over bluetooth on Ubuntu'>Setup PS3 controller over bluetooth on Ubuntu</a> <small>The PS3 Sixaxis and DualShock3 bluetooth controllers are a great...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/gentoo_icon.png" width="80" height="82" alt="" title="gentoo" /><br/><p>Setting up a NFS server on Gentoo doesn&#8217;t have to be difficult. Here I will explain how to setup a basic NFS server in just a few steps.</p>
<p>The fist step is to become root.</p>
<pre>
$ su -
</pre>
<p>Your Gentoo kernel must be compiled with support for both NFS server and client. You can check for this in a couple ways.</p>
<p>If you manually built your kernel you can do the following to check for support.</p>
<pre>
# cd /usr/src/linux
# make menuconfig
</pre>
<p>The following options should be enabled in the kernel.</p>
<p><strong>File Systems</strong> &#8212;><br />
<strong>Network File Systems</strong> &#8212;><br />
<*> NFS file system support<br />
[*] Provide NFSv3 client support<br />
<*> NFS server support<br />
[*] Provide NFSv3 server support</p>
<p>It should look similar to this.</p>
<p style="text-align: center;">
<img src="http://www.wiredrevolution.com/wp-content/uploads/2009/03/make_menuconfig_nfs.gif" alt="make_menuconfig_nfs" title="make_menuconfig_nfs" width="500" height="307" class="aligncenter size-full wp-image-1022" />
</p>
<p>Alternatively you may be able to check your configuration settings in <strong>/proc/config.gz</strong>.</p>
<pre>
# zcat /proc/config.gz | grep NFS
</pre>
<p>Here are the important lines to look for.</p>
<pre>
...
#
# Network File Systems
#
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
# CONFIG_NFS_V4 is not set
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=y
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V4 is not set
# CONFIG_NFSD_TCP is not set
...
</pre>
<p>If your configuration lacks these options you will need to rebuild your kernel.</p>
<p>Once you verified your kernel has NFS support go ahead and emerge the <strong>nfs-utils</strong> package. This package contains all the user-space programs to setup NFS.</p>
<pre>
# emerge nfs-utils
</pre>
<p>You should now edit <strong>/etc/exports</strong> which tells NFS which filesystems should be shared.</p>
<pre>
# vim /etc/exports
</pre>
<p>Here is a basic entry example. Here the /mnt/storage directory will be shared to all computers on 192.168.1.* network. The share options will allow for secure read and write access to the NFS volume.</p>
<pre>
/mnt/storage 192.168.1.0/24(rw,sync,no_subtree_check)
</pre>
<p>Now start the NFS service.</p>
<pre>
# /etc/init.d/nfs start
</pre>
<p>Congratulations you should now have a working NFS server, but there are still a couple things to do.</p>
<p>Add this service to your default run level. This will automatically start the service every time the system boots. </p>
<pre>
# rc-update add nfs default
</pre>
<p>The <strong>showmount</strong> command can be used to check which NFS volumes are exported.</p>
<pre>
# showmount -e [host]
</pre>
<p>If you make any changes to the <strong>/etc/exports</strong> file you need to reload the NFS service for these changes to take effect.</p>
<pre>
# /etc/init.d/nfs reload
</pre>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/system-administration/share-a-remote-filesystem-over-ssh' rel='bookmark' title='Permanent Link: Share a remote filesystem over SSH'>Share a remote filesystem over SSH</a> <small>You may already be familiar with NFS and Samba for...</small></li><li><a href='http://www.wiredrevolution.com/ubuntu/setup-ps3-controller-over-bluetooth-on-ubuntu' rel='bookmark' title='Permanent Link: Setup PS3 controller over bluetooth on Ubuntu'>Setup PS3 controller over bluetooth on Ubuntu</a> <small>The PS3 Sixaxis and DualShock3 bluetooth controllers are a great...</small></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/gentoo/setup-nfs-server-on-gentoo/feed</wfw:commentRss>
		</item>
		<item>
		<title>Fix blue tinted video in Ubuntu</title>
		<link>http://www.wiredrevolution.com/ubuntu/fix-blue-tinted-video-in-ubuntu</link>
		<comments>http://www.wiredrevolution.com/ubuntu/fix-blue-tinted-video-in-ubuntu#comments</comments>
		<pubDate>Thu, 12 Mar 2009 19:20:05 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[blue]]></category>

		<category><![CDATA[gstreamer]]></category>

		<category><![CDATA[gstreamer-properies]]></category>

		<category><![CDATA[Mplayer]]></category>

		<category><![CDATA[Nvidia]]></category>

		<category><![CDATA[totem]]></category>

		<category><![CDATA[video]]></category>

		<category><![CDATA[VLC]]></category>

		<category><![CDATA[xine]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=895</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/>A strange issue has been identified in Ubuntu where video takes on a blue colored tint.  Other descriptions of the problem include inverted colors, blue skin tones, or distorted video hues. The problems have been reproduced with Totem (Gstreamer), Totem (Xine), Mplayer, as well as VLC and other players. 
The common theme with this [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/ubuntu/installing-ubuntu-910-on-the-dell-zino-hd' rel='bookmark' title='Permanent Link: Installing Ubuntu 9.10 on the Dell Zino HD'>Installing Ubuntu 9.10 on the Dell Zino HD</a> <small>The Dell Inspiron Zino HD is the perfect machine if...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/><p>A strange issue has been identified in Ubuntu where video takes on a blue colored tint.  Other descriptions of the problem include inverted colors, blue skin tones, or distorted video hues. The problems have been reproduced with Totem (Gstreamer), Totem (Xine), Mplayer, as well as VLC and other players. </p>
<p>The common theme with this bug seems to be the use of the Nvidia closed source drivers.</p>
<p>Here is an example showing the blue tint problem.</p>
<p style="text-align: center;">
<img src="http://www.wiredrevolution.com/wp-content/uploads/2009/03/blue_tint_totem.gif" alt="blue_tint_totem" title="blue_tint_totem" width="500" height="429" class="aligncenter size-full wp-image-1000" />
</p>
<p>Here are the specific steps to fix the issue for the Totem (Gstreamer) player. There may be similar methods for other players.</p>
<p>The first thing you need to do is make a change to <strong>gstreamer-properties</strong>.</p>
<p>Open gstreamer-properties from within a terminal.</p>
<pre>
$ gstreamer-properties
</pre>
<p>Now click on the <strong>Video</strong> tab. From the <strong>Plugin</strong> dropdown box select <strong>Custom</strong>. Finally add the following line to the <strong>Pipeline</strong> box.</p>
<pre>
videobalance hue=-1 ! autovideosink
</pre>
<p>The window should look like this.</p>
<p style="text-align: center;">
<img src="http://www.wiredrevolution.com/wp-content/uploads/2009/03/gstreamer_properties.gif" alt="gstreamer_properties" title="gstreamer_properties" width="455" height="439" class="aligncenter size-full wp-image-1002" />
</p>
<p>Restart Totem for these changes to take effect.</p>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/ubuntu/installing-ubuntu-910-on-the-dell-zino-hd' rel='bookmark' title='Permanent Link: Installing Ubuntu 9.10 on the Dell Zino HD'>Installing Ubuntu 9.10 on the Dell Zino HD</a> <small>The Dell Inspiron Zino HD is the perfect machine if...</small></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/ubuntu/fix-blue-tinted-video-in-ubuntu/feed</wfw:commentRss>
		</item>
		<item>
		<title>How to mount an ISO disk image</title>
		<link>http://www.wiredrevolution.com/system-administration/how-to-mount-an-iso-disk-image</link>
		<comments>http://www.wiredrevolution.com/system-administration/how-to-mount-an-iso-disk-image#comments</comments>
		<pubDate>Thu, 12 Mar 2009 17:48:40 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[system administration]]></category>

		<category><![CDATA[CD]]></category>

		<category><![CDATA[disk image]]></category>

		<category><![CDATA[DVD]]></category>

		<category><![CDATA[image]]></category>

		<category><![CDATA[ISO]]></category>

		<category><![CDATA[loop]]></category>

		<category><![CDATA[loopback]]></category>

		<category><![CDATA[mount]]></category>

		<category><![CDATA[mount point]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=991</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/sysadmin_icon.png" width="80" height="94" alt="" title="system administration" /><br/>An ISO image is an archive file (disk image) of an optical disc using a conventional ISO (International Organization for Standardization) format. ISO image files typically have a file extension of .ISO.
Many times is convenient to mount an ISO file directly instead of burning it to a CD first. Not only does this save on [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/system-administration/share-a-remote-filesystem-over-ssh' rel='bookmark' title='Permanent Link: Share a remote filesystem over SSH'>Share a remote filesystem over SSH</a> <small>You may already be familiar with NFS and Samba for...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/sysadmin_icon.png" width="80" height="94" alt="" title="system administration" /><br/><p>An ISO image is an archive file (disk image) of an optical disc using a conventional ISO (International Organization for Standardization) format. ISO image files typically have a file extension of .ISO.</p>
<p>Many times is convenient to mount an ISO file directly instead of burning it to a CD first. Not only does this save on wasted CDs/DVDs, but allows much faster access to the ISO since it is on the hard disk itself.</p>
<p>Create the directory or mount point for the ISO.</p>
<pre>
$ sudo mkdir -p /mnt/disk
</pre>
<p>Use the mount command to mount the ISO</p>
<pre>
$ sudo mount -o loop disk_image.iso /mnt/disk
</pre>
<p>A loop device is a pseudo-device that makes a file accessible as a block device. You can now access the files within the ISO as you would a normal disk at the mount point &#8216;/mnt/disk&#8217;.</p>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/system-administration/share-a-remote-filesystem-over-ssh' rel='bookmark' title='Permanent Link: Share a remote filesystem over SSH'>Share a remote filesystem over SSH</a> <small>You may already be familiar with NFS and Samba for...</small></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/system-administration/how-to-mount-an-iso-disk-image/feed</wfw:commentRss>
		</item>
		<item>
		<title>Custom screenrc configuration file</title>
		<link>http://www.wiredrevolution.com/scripts/custom-screenrc-configuration-file</link>
		<comments>http://www.wiredrevolution.com/scripts/custom-screenrc-configuration-file#comments</comments>
		<pubDate>Tue, 10 Mar 2009 14:00:44 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[scripts]]></category>

		<category><![CDATA[caption]]></category>

		<category><![CDATA[config]]></category>

		<category><![CDATA[configuration]]></category>

		<category><![CDATA[file]]></category>

		<category><![CDATA[screen]]></category>

		<category><![CDATA[screenrc]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=973</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/scripts_icon.png" width="80" height="80" alt="" title="scripts" /><br/>Screen may be the most useful Linux applications when it comes to getting things done through the terminal. This custom screenrc configuration file will provide you with a permanent caption line at the bottom of each window. This caption line will enable you to easily keep track of each terminal window and provide other helpful [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/scripts_icon.png" width="80" height="80" alt="" title="scripts" /><br/><p>Screen may be the most useful Linux applications when it comes to getting things done through the terminal. This custom screenrc configuration file will provide you with a permanent caption line at the bottom of each window. This caption line will enable you to easily keep track of each terminal window and provide other helpful information such as host and current time. </p>
<p>When screen is invoked, it executes initialization commands from the files &#8220;/etc/screenrc&#8221; and &#8220;.screenrc&#8221; in the user’s home directory. </p>
<p>Simply create a file in your home directory with vim or some other editor.</p>
<pre>
$ vim ~/.screenrc
</pre>
<p>And place the following line in the file.</p>
<pre>
caption always "%{Wb} %H %{Bk}| %{Ck}%-w%50&gt;%{Cb} %n %t %{-}%+w%&lt;%{- Wk}%{Bk} | %=%{Wb} %C "
</pre>
<p>Now launch a new screen session for it to take effect.</p>
<p>Here is an example of what it will look like.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-983" title="screen_configuration" src="http://www.wiredrevolution.com/wp-content/uploads/2009/03/screen_configuration.gif" alt="screen_configuration" width="500" height="332" /></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/scripts/custom-screenrc-configuration-file/feed</wfw:commentRss>
		</item>
		<item>
		<title>New Look</title>
		<link>http://www.wiredrevolution.com/site-news/new-look</link>
		<comments>http://www.wiredrevolution.com/site-news/new-look#comments</comments>
		<pubDate>Mon, 09 Mar 2009 12:05:16 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[site news]]></category>

		<category><![CDATA[design]]></category>

		<category><![CDATA[news]]></category>

		<category><![CDATA[theme]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=885</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/news_icon.png" width="80" height="80" alt="" title="site news" /><br/>As you may have noticed, WiredRevolution.com has a new look. The majority of the work is now complete but you may see a few more changes in the future. The majority of these changes revolve around browser compatibility, and wrapping up the last design issues.
These design changes have been developed into a new Wordpress theme [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/site-news/androidnexuscom-now-online' rel='bookmark' title='Permanent Link: AndroidNexus.com now online'>AndroidNexus.com now online</a> <small>AndroidNexus.com will be a site geared towards the Google Android...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/news_icon.png" width="80" height="80" alt="" title="site news" /><br/><p>As you may have noticed, WiredRevolution.com has a new look. The majority of the work is now complete but you may see a few more changes in the future. The majority of these changes revolve around browser compatibility, and wrapping up the last design issues.</p>
<p>These design changes have been developed into a new Wordpress theme which I will eventually release to the public. If this is something you might be interested in using, or you have any questions/suggestions, feel free to leave me a comment.</p>
<p>Keep an eye on this site for the latest.</p>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/site-news/androidnexuscom-now-online' rel='bookmark' title='Permanent Link: AndroidNexus.com now online'>AndroidNexus.com now online</a> <small>AndroidNexus.com will be a site geared towards the Google Android...</small></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/site-news/new-look/feed</wfw:commentRss>
		</item>
		<item>
		<title>Setup user login restrictions with SSH</title>
		<link>http://www.wiredrevolution.com/system-administration/setup-user-login-restrictions-with-ssh</link>
		<comments>http://www.wiredrevolution.com/system-administration/setup-user-login-restrictions-with-ssh#comments</comments>
		<pubDate>Wed, 04 Feb 2009 15:52:57 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[system administration]]></category>

		<category><![CDATA[/etc/ssh/sshd_config]]></category>

		<category><![CDATA[AllowUsers]]></category>

		<category><![CDATA[host]]></category>

		<category><![CDATA[login]]></category>

		<category><![CDATA[restrict]]></category>

		<category><![CDATA[SSH]]></category>

		<category><![CDATA[sshd]]></category>

		<category><![CDATA[sshd_config]]></category>

		<category><![CDATA[user]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=960</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/sysadmin_icon.png" width="80" height="94" alt="" title="system administration" /><br/>At various times it is necessary to restrict the users which can access a certain host. If your network relies on SSH it is as simple as changing an option in the sshd_config configuration file. You will of course need root access to make the necessary changes to this file and eventually reset the SSH [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/system-administration/share-a-remote-filesystem-over-ssh' rel='bookmark' title='Permanent Link: Share a remote filesystem over SSH'>Share a remote filesystem over SSH</a> <small>You may already be familiar with NFS and Samba for...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/sysadmin_icon.png" width="80" height="94" alt="" title="system administration" /><br/><p>At various times it is necessary to restrict the users which can access a certain host. If your network relies on SSH it is as simple as changing an option in the <strong>sshd_config</strong> configuration file. You will of course need root access to make the necessary changes to this file and eventually reset the SSH daemon.</p>
<p>This configuration file is usually located here.<br />
<strong>/etc/ssh/sshd_config</strong></p>
<p>Open the file as root in order to make changes.</p>
<pre>
$ sudo vim /etc/ssh/sshd_config
</pre>
<p>You need to set the <strong>AllowUsers</strong> keyword followed by the users you want to have access to the machine.</p>
<pre>
AllowUsers	ryan joe
</pre>
<p>If you want to do something more complex here is the output from the man page:<br />
<em><br />
AllowUsers<br />
This keyword can be followed by a list of user name patterns, separated by spaces.  If specified, login is allowed only for user names that match one of the patterns.  &#8216;*&#8217; and &#8216;?&#8217; can be used as wildcards in the patterns.  Only user names are valid; a numerical user ID is not recognized.  By default, login is allowed for all users.  If the pattern takes the form USER@HOST then USER and HOST are separately checked, restricting logins to particular users from particular hosts.<br />
</em></p>
<p>Another helpful to set the <strong>PermitRootLogin</strong> to &#8216;no&#8217; so that the root account is inaccessible.</p>
<pre>
PermitRootLogin  no
</pre>
<p>When these settings have been changed go ahead and restart the SSH daemon.</p>
<pre>
$ sudo /etc/init.d/sshd restart
</pre>
<p>There are of course ways around this if other users have access to sudo or the root account. But for the most part it is a good way to restrict user access. </p>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/system-administration/share-a-remote-filesystem-over-ssh' rel='bookmark' title='Permanent Link: Share a remote filesystem over SSH'>Share a remote filesystem over SSH</a> <small>You may already be familiar with NFS and Samba for...</small></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/system-administration/setup-user-login-restrictions-with-ssh/feed</wfw:commentRss>
		</item>
		<item>
		<title>Enable HDMI output on Dell XPS M1530/M1330 with Ubuntu</title>
		<link>http://www.wiredrevolution.com/ubuntu/enable-hdmi-output-on-dell-xps-m1530m1330-with-ubuntu</link>
		<comments>http://www.wiredrevolution.com/ubuntu/enable-hdmi-output-on-dell-xps-m1530m1330-with-ubuntu#comments</comments>
		<pubDate>Sat, 24 Jan 2009 14:45:15 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[8.10]]></category>

		<category><![CDATA[audio]]></category>

		<category><![CDATA[dell]]></category>

		<category><![CDATA[HDMI]]></category>

		<category><![CDATA[intrepid]]></category>

		<category><![CDATA[m1330]]></category>

		<category><![CDATA[m1530]]></category>

		<category><![CDATA[output]]></category>

		<category><![CDATA[video]]></category>

		<category><![CDATA[xps]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=940</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/>Hardware support in Linux, specifically Ubuntu 8.10 (Intrepid Ibex) for the Dell XPS M1530 and M1330 is very impressive. However in certain cases the process is not as straight forward as it could be, and it takes a bit of tinkering in order to get it to work. In this article I will go through [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/ubuntu/installing-ubuntu-910-on-the-dell-zino-hd' rel='bookmark' title='Permanent Link: Installing Ubuntu 9.10 on the Dell Zino HD'>Installing Ubuntu 9.10 on the Dell Zino HD</a> <small>The Dell Inspiron Zino HD is the perfect machine if...</small></li><li><a href='http://www.wiredrevolution.com/ubuntu/fix-blue-tinted-video-in-ubuntu' rel='bookmark' title='Permanent Link: Fix blue tinted video in Ubuntu'>Fix blue tinted video in Ubuntu</a> <small>A strange issue has been identified in Ubuntu where video...</small></li><li><a href='http://www.wiredrevolution.com/ubuntu/setup-ps3-controller-over-bluetooth-on-ubuntu' rel='bookmark' title='Permanent Link: Setup PS3 controller over bluetooth on Ubuntu'>Setup PS3 controller over bluetooth on Ubuntu</a> <small>The PS3 Sixaxis and DualShock3 bluetooth controllers are a great...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/><p>Hardware support in Linux, specifically Ubuntu 8.10 (Intrepid Ibex) for the Dell XPS M1530 and M1330 is very impressive. However in certain cases the process is not as straight forward as it could be, and it takes a bit of tinkering in order to get it to work. In this article I will go through how to enable audio and video through the HDMI output.</p>
<p>The first step is making sure that the HDMI cable is connected between the computer and external monitor, HDTV, etc.</p>
<h3>Video Support</h3>
<p></p>
<p>To enable the video you need to go to your <strong>NVIDIA X Server Settings</strong> manager. This of course assumes you are using the NVIDIA driver on your system.</p>
<p><strong>System -> Administration ->  NVIDIA X Server Settings</strong></p>
<p>Select the <strong>X Server Display Configuration</strong>.  Click the <strong>Detect Displays</strong> button and you external monitor should be displayed. Click on the external screen so that it becomes selected and click the <strong>Configure</strong> button and select the <strong>TwinView</strong> option.</p>
<p>Once this monitor is enabled a <strong>Position</strong> dropdown box should appear. It is best in most cases to select <strong>Clones</strong>.The screen output will be duplicated on both devices. </p>
<p>Select the <strong>Apply</strong> button for these changes to take effect.</p>
<p>If your external monitor has a lower resolution than your laptop screen it may help to disable the laptop screen so that maximized video won&#8217;t go beyond the borders of your external monitor. To do this click the laptop screen so that it becomes selected, click the <strong>Configure</strong> button, and select <strong>Disabled</strong>.</p>
<h3>Audio Support</h3>
<p></p>
<p>Open the <strong>Volume Control</strong> manager, usually ou can click on the volume applet on the top GNOME panel.</p>
<p>Make sure your device is set to <strong>HDA Intel (Alsa Mixer).</strong></p>
<p>Select the <strong>Switches</strong> tab and put a check mark next to <strong>IEC958</strong>. Selecting this enables audio output over the HDMI connection. </p>
<p>If you want to disable audio output through your laptop speakers you can disable them. Go back to the <strong>Playback</strong> tab and mute the <strong>Front</strong> channel.</p>
<h3>Bugs</h3>
<p></p>
<p>1) Enabling the laptop screen as well an external monitor through HDMI can cause X to freeze with certain Compiz-Fusion effects such as desktop switching. Disabling Compiz-Fusion or disabling the laptop screen while operating in this mode fixes this issue.</p>
<p>2) Disabling the laptop monitor will not correctly resize the GNOME desktop to match the resolution of the external monitor over HDMI. However video playback will still be correctly maximized.</p>
<p>3) Audio output over HDMI connection may not work for a specific program even if everything has been configured correctly. Restarting this program usually fixes this issue.</p>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/ubuntu/installing-ubuntu-910-on-the-dell-zino-hd' rel='bookmark' title='Permanent Link: Installing Ubuntu 9.10 on the Dell Zino HD'>Installing Ubuntu 9.10 on the Dell Zino HD</a> <small>The Dell Inspiron Zino HD is the perfect machine if...</small></li><li><a href='http://www.wiredrevolution.com/ubuntu/fix-blue-tinted-video-in-ubuntu' rel='bookmark' title='Permanent Link: Fix blue tinted video in Ubuntu'>Fix blue tinted video in Ubuntu</a> <small>A strange issue has been identified in Ubuntu where video...</small></li><li><a href='http://www.wiredrevolution.com/ubuntu/setup-ps3-controller-over-bluetooth-on-ubuntu' rel='bookmark' title='Permanent Link: Setup PS3 controller over bluetooth on Ubuntu'>Setup PS3 controller over bluetooth on Ubuntu</a> <small>The PS3 Sixaxis and DualShock3 bluetooth controllers are a great...</small></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/ubuntu/enable-hdmi-output-on-dell-xps-m1530m1330-with-ubuntu/feed</wfw:commentRss>
		</item>
		<item>
		<title>Skip network filesystems when searching with find</title>
		<link>http://www.wiredrevolution.com/system-administration/skip-network-filesystems-when-searching-with-find</link>
		<comments>http://www.wiredrevolution.com/system-administration/skip-network-filesystems-when-searching-with-find#comments</comments>
		<pubDate>Mon, 19 Jan 2009 16:45:06 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[system administration]]></category>

		<category><![CDATA[command]]></category>

		<category><![CDATA[filesystem]]></category>

		<category><![CDATA[find]]></category>

		<category><![CDATA[mount]]></category>

		<category><![CDATA[network filesystem]]></category>

		<category><![CDATA[shared filesystem]]></category>

		<category><![CDATA[xdev]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=932</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/sysadmin_icon.png" width="80" height="94" alt="" title="system administration" /><br/>When you run the find command on the root directory of a system you may want to exclude all network filesystems and confine your search to only your local machine.  The benefits of this are obvious as it will save you a great amount of time especially if the mounted filesystem is very large.
Luckily [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/system-administration/share-a-remote-filesystem-over-ssh' rel='bookmark' title='Permanent Link: Share a remote filesystem over SSH'>Share a remote filesystem over SSH</a> <small>You may already be familiar with NFS and Samba for...</small></li><li><a href='http://www.wiredrevolution.com/system-administration/how-to-mount-an-iso-disk-image' rel='bookmark' title='Permanent Link: How to mount an ISO disk image'>How to mount an ISO disk image</a> <small>An ISO image is an archive file (disk image) of...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/sysadmin_icon.png" width="80" height="94" alt="" title="system administration" /><br/><p>When you run the <strong>find</strong> command on the root directory of a system you may want to exclude all network filesystems and confine your search to only your local machine.  The benefits of this are obvious as it will save you a great amount of time especially if the mounted filesystem is very large.</p>
<p>Luckily the find command provides this ability with the &#8216;<strong>-xdev</strong>&#8216; or &#8216;<strong>-mount</strong>&#8216; options.</p>
<p>For example:</p>
<pre>
$ find / -xdev -name myfile.txt
</pre>
<p>This command will recursively search for myfile.txt starting in your root directory and skip all externally mounted filesystems.</p>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/system-administration/share-a-remote-filesystem-over-ssh' rel='bookmark' title='Permanent Link: Share a remote filesystem over SSH'>Share a remote filesystem over SSH</a> <small>You may already be familiar with NFS and Samba for...</small></li><li><a href='http://www.wiredrevolution.com/system-administration/how-to-mount-an-iso-disk-image' rel='bookmark' title='Permanent Link: How to mount an ISO disk image'>How to mount an ISO disk image</a> <small>An ISO image is an archive file (disk image) of...</small></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/system-administration/skip-network-filesystems-when-searching-with-find/feed</wfw:commentRss>
		</item>
		<item>
		<title>Enable syntax highlighting in vim with Ubuntu</title>
		<link>http://www.wiredrevolution.com/ubuntu/enable-syntax-highlighting-in-vim-with-ubuntu</link>
		<comments>http://www.wiredrevolution.com/ubuntu/enable-syntax-highlighting-in-vim-with-ubuntu#comments</comments>
		<pubDate>Wed, 14 Jan 2009 14:34:16 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[apt-get]]></category>

		<category><![CDATA[syntax highlighting]]></category>

		<category><![CDATA[vi]]></category>

		<category><![CDATA[vim]]></category>

		<category><![CDATA[vim.basic]]></category>

		<category><![CDATA[vim.tiny]]></category>

		<category><![CDATA[vimrc]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=925</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/>Many distributions have syntax highlighting in vim enabled with their default installation. In Ubuntu as well as other Debian based distributions, this is not the case. By default Ubuntu installs the vim-tiny package which does not support syntax highlighting or many other advanced features.
You can see by following the chain of symlinks that in the [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/ubuntu/install-linux-development-man-pages-in-ubuntu' rel='bookmark' title='Permanent Link: Install Linux development man pages in Ubuntu'>Install Linux development man pages in Ubuntu</a> <small>By default Ubuntu doesn&#8217;t install the manual pages used for...</small></li><li><a href='http://www.wiredrevolution.com/ubuntu/install-boxee-on-64-bit-ubuntu-910-karmic' rel='bookmark' title='Permanent Link: Install Boxee on 64-bit Ubuntu 9.10 Karmic'>Install Boxee on 64-bit Ubuntu 9.10 Karmic</a> <small>Installing Boxee turns your computer into an incredable HTPC but...</small></li><li><a href='http://www.wiredrevolution.com/ubuntu/setup-ps3-controller-over-bluetooth-on-ubuntu' rel='bookmark' title='Permanent Link: Setup PS3 controller over bluetooth on Ubuntu'>Setup PS3 controller over bluetooth on Ubuntu</a> <small>The PS3 Sixaxis and DualShock3 bluetooth controllers are a great...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/><p>Many distributions have syntax highlighting in <strong>vim</strong> enabled with their default installation. In Ubuntu as well as other Debian based distributions, this is not the case. By default Ubuntu installs the <strong>vim-tiny</strong> package which does not support syntax highlighting or many other advanced features.</p>
<p>You can see by following the chain of symlinks that in the default installation vim calls vim.tiny.</p>
<pre>
$ which vim
</pre>
<pre>
/usr/bin/vim
</pre>
<p><strong>/usr/bin/vim -> /etc/alternatives/vim -> /usr/bin/vim.tiny</strong></p>
<p>If you want additional features including syntax highlighting you need to install the <strong>vim</strong> package.</p>
<pre>
$ sudo apt-get install vim
</pre>
<p>Now vim uses vim.basic which is what we want. This version supports all the advanced features.<br />
<strong>/usr/bin/vim -> /etc/alternatives/vim -> /usr/bin/vim.basic</strong></p>
<p>The last step is to actually enable syntax highlighting. </p>
<p>To enable it for a single session go into command mode and enter this command:</p>
<pre>
:syn on
</pre>
<p>Make these changes permanent for every vim session by opening or creating the <strong>.vimrc</strong> configuration file in your home directory.<br />
<strong>/home/username/.vimrc</strong></p>
<p>Insert the following lines.</p>
<pre>
if has ("syntax")
        syntax on
endif
</pre>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/ubuntu/install-linux-development-man-pages-in-ubuntu' rel='bookmark' title='Permanent Link: Install Linux development man pages in Ubuntu'>Install Linux development man pages in Ubuntu</a> <small>By default Ubuntu doesn&#8217;t install the manual pages used for...</small></li><li><a href='http://www.wiredrevolution.com/ubuntu/install-boxee-on-64-bit-ubuntu-910-karmic' rel='bookmark' title='Permanent Link: Install Boxee on 64-bit Ubuntu 9.10 Karmic'>Install Boxee on 64-bit Ubuntu 9.10 Karmic</a> <small>Installing Boxee turns your computer into an incredable HTPC but...</small></li><li><a href='http://www.wiredrevolution.com/ubuntu/setup-ps3-controller-over-bluetooth-on-ubuntu' rel='bookmark' title='Permanent Link: Setup PS3 controller over bluetooth on Ubuntu'>Setup PS3 controller over bluetooth on Ubuntu</a> <small>The PS3 Sixaxis and DualShock3 bluetooth controllers are a great...</small></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/ubuntu/enable-syntax-highlighting-in-vim-with-ubuntu/feed</wfw:commentRss>
		</item>
		<item>
		<title>Fix for missing title bar and GNOME panel with Firefox</title>
		<link>http://www.wiredrevolution.com/gnome/fix-for-missing-title-bar-and-gnome-panel-with-firefox</link>
		<comments>http://www.wiredrevolution.com/gnome/fix-for-missing-title-bar-and-gnome-panel-with-firefox#comments</comments>
		<pubDate>Tue, 13 Jan 2009 12:22:55 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[gnome]]></category>

		<category><![CDATA[firefox]]></category>

		<category><![CDATA[fix]]></category>

		<category><![CDATA[localstore.rdf]]></category>

		<category><![CDATA[panel]]></category>

		<category><![CDATA[title bar]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=913</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/gnome_icon.png" width="80" height="91" alt="" title="gnome" /><br/>This is a bug in Firefox 3 where it launches into full screen mode and completely covers the top and bottom GNOME panels as well as its own title bar. While in this buggy mode Firefox cannot be resized, and can only be closed from within the menu. 
File -> Quit
A temporary fix involves pressing [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/gnome_icon.png" width="80" height="91" alt="" title="gnome" /><br/><p>This is a bug in Firefox 3 where it launches into full screen mode and completely covers the top and bottom GNOME panels as well as its own title bar. While in this buggy mode Firefox cannot be resized, and can only be closed from within the menu. </p>
<p><strong>File -> Quit</strong></p>
<p>A temporary fix involves pressing <strong>F11</strong> which switches you into full screen browser mode and pressing it once again to switch back. Once you close Firefox and restart it however it will continue to have the same issue.</p>
<p>To fix this bug permanently, delete the file <strong>localstore.rdf</strong> from your Mozilla-Firefox profile which is stored in your home directory. Firefox must be closed in order for this to work correctly.</p>
<p>In your home directory run the following command:</p>
<pre>
$ find . -name localstore.rdf
</pre>
<pre>
./.mozilla/firefox/9m0erq4m.default/extensions.rdf
</pre>
<p>Close Firefox.</p>
<p>Remove the file that was output by the previous command.</p>
<pre>
$ rm ./.mozilla/firefox/9m0erq4m.default/extensions.rdf
</pre>
<p>Restart Firefox.</p>
<p>After restarting Firefox will rebuild this file and your browser should work correctly once again.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/gnome/fix-for-missing-title-bar-and-gnome-panel-with-firefox/feed</wfw:commentRss>
		</item>
		<item>
		<title>Convert text files within a directory from Windows to Unix format</title>
		<link>http://www.wiredrevolution.com/bash-programming/convert-text-files-within-a-directory-from-windows-to-unix-format</link>
		<comments>http://www.wiredrevolution.com/bash-programming/convert-text-files-within-a-directory-from-windows-to-unix-format#comments</comments>
		<pubDate>Wed, 07 Jan 2009 14:14:33 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[bash]]></category>

		<category><![CDATA[BASH]]></category>

		<category><![CDATA[carriage return]]></category>

		<category><![CDATA[convert]]></category>

		<category><![CDATA[CRLF]]></category>

		<category><![CDATA[remove]]></category>

		<category><![CDATA[script]]></category>

		<category><![CDATA[text]]></category>

		<category><![CDATA[tr]]></category>

		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=901</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/bash_icon.png" width="80" height="34" alt="" title="bash" /><br/>When a file is saved in Windows and then moved to a Linux system the formatting differences can cause a variety of problems. To effectively use these files you will need to change the format from Windows/DOS to Unix. This conversion occurs by simply removing the Windows carriage return characters.
I have explained how to use [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/bash_icon.png" width="80" height="34" alt="" title="bash" /><br/><p>When a file is saved in Windows and then moved to a Linux system the formatting differences can cause a variety of problems. To effectively use these files you will need to change the format from Windows/DOS to Unix. This conversion occurs by simply removing the Windows carriage return characters.</p>
<p>I have explained how to <a href="/system-administration/remove-windows-carriage-returns-with-tr">use the tr command remove these windows carriage returns</a>, but when you have a large amount of files to convert this can become tedious. As a solution to this I have written a BASH script to convert all text files within a directory.</p>
<pre>
#!/bin/bash

for file in /directory/to/convert/*
do
  if [[ -f $file &#038;&#038; `file $file | grep text` ]]
  then
    tr -d '\r' < $file > "$file"_clear
    mv "$file"_clear $file
  fi
done
</pre>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/bash-programming/convert-text-files-within-a-directory-from-windows-to-unix-format/feed</wfw:commentRss>
		</item>
		<item>
		<title>View the status of a long emerge</title>
		<link>http://www.wiredrevolution.com/gentoo/view-the-status-of-a-long-emerge</link>
		<comments>http://www.wiredrevolution.com/gentoo/view-the-status-of-a-long-emerge#comments</comments>
		<pubDate>Wed, 31 Dec 2008 14:13:29 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[gentoo]]></category>

		<category><![CDATA[emerge]]></category>

		<category><![CDATA[emerge.log]]></category>

		<category><![CDATA[portage]]></category>

		<category><![CDATA[status]]></category>

		<category><![CDATA[tail]]></category>

		<category><![CDATA[update]]></category>

		<category><![CDATA[watch]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=896</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/gentoo_icon.png" width="80" height="82" alt="" title="gentoo" /><br/>At certain times while using Gentoo you are going to have to perform a large emerge, for example when you do an update world. It can be challenging to keep track of the status of this emerge with all the output flying by on the screen. It can also become a problem if you want [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/gentoo/setup-nfs-server-on-gentoo' rel='bookmark' title='Permanent Link: Setup NFS server on Gentoo'>Setup NFS server on Gentoo</a> <small>Setting up a NFS server on Gentoo doesn&#8217;t have to...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/gentoo_icon.png" width="80" height="82" alt="" title="gentoo" /><br/><p>At certain times while using Gentoo you are going to have to perform a large emerge, for example when you do an update world. It can be challenging to keep track of the status of this emerge with all the output flying by on the screen. It can also become a problem if you want to check on the status from another machine that did not initiate the emerge.</p>
<p>Thankfully you can check the <strong>/var/log/emerge.log</strong> and get the current status.</p>
<p>Run this command to see the last 10 lines of the log.</p>
<pre>
$ sudo tail /var/log/emerge.log
</pre>
<p>You can combine this command with <strong>watch</strong> and get real-time updates.  This command will automatically update every second.</p>
<pre>
$ watch -n 1 "sudo tail /var/log/emerge.log"
</pre>
<p>Likewise you can use the &#8216;<strong>-f</strong>&#8216; tail option to get updates.</p>
<pre>
$ sudo tail -f /var/log/emerge.log
</pre>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/gentoo/setup-nfs-server-on-gentoo' rel='bookmark' title='Permanent Link: Setup NFS server on Gentoo'>Setup NFS server on Gentoo</a> <small>Setting up a NFS server on Gentoo doesn&#8217;t have to...</small></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/gentoo/view-the-status-of-a-long-emerge/feed</wfw:commentRss>
		</item>
		<item>
		<title>How to SSH into Ubuntu LiveCD</title>
		<link>http://www.wiredrevolution.com/ubuntu/how-to-ssh-into-ubuntu-livecd</link>
		<comments>http://www.wiredrevolution.com/ubuntu/how-to-ssh-into-ubuntu-livecd#comments</comments>
		<pubDate>Tue, 16 Dec 2008 14:08:44 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[8.10]]></category>

		<category><![CDATA[apt-get]]></category>

		<category><![CDATA[aptitude]]></category>

		<category><![CDATA[ifconfig]]></category>

		<category><![CDATA[inet addr]]></category>

		<category><![CDATA[intrepid]]></category>

		<category><![CDATA[IP address]]></category>

		<category><![CDATA[livecd]]></category>

		<category><![CDATA[openssh_server]]></category>

		<category><![CDATA[SSH]]></category>

		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=865</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/>The ability to remotely SSH into a machine running an Ubuntu LiveCD can come in handy in many situations. The LiveCD supports a large variety of hardware and can be used to troubleshoot system problems on a machine where you have limited or no access. A user with limited skills can easily setup remote access [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/system-administration/share-a-remote-filesystem-over-ssh' rel='bookmark' title='Permanent Link: Share a remote filesystem over SSH'>Share a remote filesystem over SSH</a> <small>You may already be familiar with NFS and Samba for...</small></li><li><a href='http://www.wiredrevolution.com/ubuntu/setup-ps3-controller-over-bluetooth-on-ubuntu' rel='bookmark' title='Permanent Link: Setup PS3 controller over bluetooth on Ubuntu'>Setup PS3 controller over bluetooth on Ubuntu</a> <small>The PS3 Sixaxis and DualShock3 bluetooth controllers are a great...</small></li><li><a href='http://www.wiredrevolution.com/ubuntu/installing-ubuntu-910-on-the-dell-zino-hd' rel='bookmark' title='Permanent Link: Installing Ubuntu 9.10 on the Dell Zino HD'>Installing Ubuntu 9.10 on the Dell Zino HD</a> <small>The Dell Inspiron Zino HD is the perfect machine if...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/><p>The ability to remotely <strong>SSH</strong> into a machine running an <strong>Ubuntu</strong> <strong>LiveCD</strong> can come in handy in many situations. The LiveCD supports a large variety of hardware and can be used to troubleshoot system problems on a machine where you have limited or no access. A user with limited skills can easily setup remote access and allow a trusted friend to troubleshoot the system from another location.</p>
<p>The first thing to start the process is to open a <strong>terminal</strong>. Follow these menus:</p>
<p><strong>Applications -> Accessories -> Terminal</strong></p>
<p>In the terminal install the <strong>ssh server</strong> on your LiveCD system.</p>
<pre>
$ sudo apt-get install openssh-server
</pre>
<p>The server is started automatically after installing. </p>
<p>To login remotely, you’ll need to set the password for the default ubuntu user.</p>
<pre>
$ sudo passwd ubuntu
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
</pre>
<p>You should now be able to login to the system running the LiveCD. But first you need to <a href="/system-administration/find-your-ip-address-with-ifconfig">find the IP address</a> of the machine so you can connect to it.</p>
<p>The <strong>ifconfig</strong> command will list your network interfaces and along with it your IP address.</p>
<pre>
$ ifconfig
</pre>
<pre>
eth0      ...
          <strong>inet addr:192.168.1.1</strong>  Bcast:192.168.2.255  Mask:255.255.255.0
          ...
</pre>
<p>The <strong>inet addr</strong> entry is your IP address which you need to log into the LiveCD system. As you an see above the IP address begins with &#8220;<strong>192.168</strong>&#8221; which indicates that the IP address is only valid on the local network. It was an address assigned to the machine by the router.  This is fine if you plan on logging in from another machine on this local network.</p>
<p>If you need to access the machine from outside your local network you have a couple of options.  The first is to remove any router between you and the Internet. This should give you a valid IP address which is accessible from outside your local network. You may also be able to access your router&#8217;s administration panel and tell it to pass SSH traffic to the IP address of the LiveCD system.  You will then use the router&#8217;s IP address instead for the next step.</p>
<p>If your IP address already begins with something other than &#8220;<strong>192.168</strong>&#8221; then you are safe as well. You should be able to access the LiveCD system from any location, local or not.</p>
<p>Using the IP address from the previous step you can now log into the LiveCD system as the ubuntu user. Use the password you created earler.</p>
<pre>
$ ssh ubuntu@&lt;IP Address&gt;
</pre>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/system-administration/share-a-remote-filesystem-over-ssh' rel='bookmark' title='Permanent Link: Share a remote filesystem over SSH'>Share a remote filesystem over SSH</a> <small>You may already be familiar with NFS and Samba for...</small></li><li><a href='http://www.wiredrevolution.com/ubuntu/setup-ps3-controller-over-bluetooth-on-ubuntu' rel='bookmark' title='Permanent Link: Setup PS3 controller over bluetooth on Ubuntu'>Setup PS3 controller over bluetooth on Ubuntu</a> <small>The PS3 Sixaxis and DualShock3 bluetooth controllers are a great...</small></li><li><a href='http://www.wiredrevolution.com/ubuntu/installing-ubuntu-910-on-the-dell-zino-hd' rel='bookmark' title='Permanent Link: Installing Ubuntu 9.10 on the Dell Zino HD'>Installing Ubuntu 9.10 on the Dell Zino HD</a> <small>The Dell Inspiron Zino HD is the perfect machine if...</small></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/ubuntu/how-to-ssh-into-ubuntu-livecd/feed</wfw:commentRss>
		</item>
		<item>
		<title>View process environment details with proc</title>
		<link>http://www.wiredrevolution.com/system-administration/view-process-environment-details-with-proc</link>
		<comments>http://www.wiredrevolution.com/system-administration/view-process-environment-details-with-proc#comments</comments>
		<pubDate>Wed, 10 Dec 2008 12:42:25 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
		
		<category><![CDATA[system administration]]></category>

		<category><![CDATA[environ]]></category>

		<category><![CDATA[environment variable]]></category>

		<category><![CDATA[PID]]></category>

		<category><![CDATA[proc]]></category>

		<category><![CDATA[tr]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=848</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/sysadmin_icon.png" width="80" height="94" alt="" title="system administration" /><br/>The process environment consists of all the individual environment variables which are passed on to the program by the shell when the program is launched. This environment can be read and changed by the program during its execution, and can affect how a program is linked or how it executes. For all these reasons it [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/sysadmin_icon.png" width="80" height="94" alt="" title="system administration" /><br/><p>The <strong>process environment</strong> consists of all the individual <strong>environment variables</strong> which are passed on to the program by the shell when the program is launched. This environment can be read and changed by the program during its execution, and can affect how a program is linked or how it executes. For all these reasons it may be important at times to see exactly what the environment contains. The <strong>proc</strong> filesystem provides the interface to make this happen.</p>
<p>The <strong>proc</strong> pseudo-file system is used as an interface to kernel data structures.  It is commonly mounted at /proc and most of the files inside are read-only. Within proc there exists a subdirectory for every running process on the system identified by its <strong>process ID</strong> (<strong>PID</strong>). </p>
<p>Inside each process directory is an <strong>environ</strong> file which contains the current environment for that process.</p>
<p><strong>/proc/&lt;PID&gt;/environ</strong></p>
<p>This file is limited at this point in time to 4096 characters. Therefore if you have a process with an unusually large environment the data beyond this limit will be truncated.</p>
<p>The environment variable entries are separated by <strong>null</strong> characters &#8216;<strong>\0</strong>&#8216;, which makes it difficult to view the file.  The best way to get around this is with the <strong>tr</strong> command which will replace the the null characters with <strong>newline</strong> characters &#8216;<strong>\n</strong>&#8216;.</p>
<pre>
$ cat /proc/12345/environ | tr "\000" "\n"
</pre>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/system-administration/view-process-environment-details-with-proc/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
