<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Edward Stafford&#187; Linux</title>
	<atom:link href="http://www.edwardstafford.com/category/technology/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.edwardstafford.com</link>
	<description>Technologist, Artist, and Geek</description>
	<lastBuildDate>Thu, 12 Aug 2010 17:59:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Add a Network Printer to an Ubuntu Desktop &#8211; The Easy Way?</title>
		<link>http://www.edwardstafford.com/2009/08/31/add-a-network-printer-to-an-ubuntu-desktop-the-easy-way/</link>
		<comments>http://www.edwardstafford.com/2009/08/31/add-a-network-printer-to-an-ubuntu-desktop-the-easy-way/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 03:36:56 +0000</pubDate>
		<dc:creator>Ed Stafford</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.edwardstafford.com/?p=137</guid>
		<description><![CDATA[The Rant It&#8217;s no secret that I am a fan of Ubuntu Linux. BUT.. one of the annoying things about using Ubuntu is trying to set up a network printer on a desktop or workstation. Regarding nearly all administrative tasks under most Linux systems that would require root permissions, Ubuntu has done a nice job [...]]]></description>
			<content:encoded><![CDATA[<h2>The Rant</h2>
<p>It&#8217;s no secret that I am a fan of Ubuntu Linux. BUT.. one of the annoying things about using Ubuntu is trying to set up a network printer on a desktop or workstation. Regarding nearly all administrative tasks under most Linux systems that would require root permissions, Ubuntu has done a nice job of making it possible to operate a system as a &#8220;normal&#8221; user without elevated privileges, and then easily gain the elevated (root) privileges temporarily assigned to complete some specific administrative task. Ubuntu detects when a user is trying to do something requiring the elevated (root) privileges and pops up a small window asking for the current user&#8217;s password to gain the required permission. All the magic happens behind the scene and the user never has to issue a text command. It wasn&#8217;t long ago that users would have had to open a command terminal and issue all the instructions by hand. Well.. we&#8217;ve come a long way.. With the exception of installing a network printer. For some reason, when installing a printer in Ubuntu, the user is not prompted with the normal su password pop-up that presents itself for all other administrative tasks. Instead, the CUPS system prompts the user for the root password &#8211; and under Ubuntu, there is no root password by default meaning that root can not complete any direct action requiring a password. In fact, root can not log directly into the system at all. Fortunately, the solution is fairly easy.</p>
<h2>The Solution</h2>
<p>Do not try to install a printer from <strong>System &gt; Administration &gt; Printing</strong> menu. It won&#8217;t work. Sure, it will allow you to go through the wizard and give you the false impression that you&#8217;re actually accomplishing something &#8211; until you reach the point where a driver needs to be installed and you&#8217;re prompted for the root password. Instead, go to the <strong>Applications &gt; Accessories</strong> menu and select <strong>Terminal</strong>.</p>
<p>Once the terminal window opens, issue the following command</p>
<blockquote><p>sudo system-config-printer</p></blockquote>
<p>The next line in the terminal window will ask for your password. Type in your user password and hit enter. If all is correct, the printer setup and configuration window will open with elevated privileges enabled and you can finish installing and setting up your new printer from comfort of an easy to use GUI.</p>
<h2>Sample Setup</h2>
<p>Lets take a few minutes and walk through the process. In this example, I will be setting up a Dell 1700 Laser Printer in my Home Office. Before you get started, you will need to know a few things about the printer first.<span id="more-137"></span></p>
<p>IP address: What IP address did you assign to your network printer?</p>
<p>RAW Port: Typically, the default RAW Port is 9100. If you assigned something different you&#8217;ll need to remember what it is.</p>
<p>Open a Terminal Window: <strong>System &gt; Administration &gt; Terminal</strong></p>
<p><strong></strong></p>
<div id="attachment_156" class="wp-caption aligncenter" style="width: 310px"><strong><strong><img class="size-medium wp-image-156" title="screenshot-terminal12" src="http://www.edwardstafford.com/wp-content/uploads/screenshot-terminal12-300x219.png" alt="Terminal Window" width="300" height="219" /></strong></strong><p class="wp-caption-text">Terminal Window</p></div>
<p><strong></strong></p>
<p>Issue the command &#8220;<strong>sudo system-config-printer</strong>&#8221; (no quotes)</p>
<div id="attachment_157" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-157" title="screenshot-sudo-command2" src="http://www.edwardstafford.com/wp-content/uploads/screenshot-sudo-command2-300x126.png" alt="sudo command" width="300" height="126" /><p class="wp-caption-text">sudo command</p></div>
<p>Provide your password when prompted.</p>
<div id="attachment_158" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-158" title="screenshot-sudo-password2" src="http://www.edwardstafford.com/wp-content/uploads/screenshot-sudo-password2-300x126.png" alt="sudo password" width="300" height="126" /><p class="wp-caption-text">sudo password</p></div>
<p>The Printer Configuration window should have opened</p>
<div id="attachment_142" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-142" title="screenshot-printer-configuration" src="http://www.edwardstafford.com/wp-content/uploads/screenshot-printer-configuration-300x165.png" alt="Printer Configuration" width="300" height="165" /><p class="wp-caption-text">Printer Configuration</p></div>
<p>Press the &#8220;<strong>New</strong>&#8221; button to add a new printer.</p>
<p>The &#8220;<strong>New Printer</strong>&#8221; window will open after a brief search displaying the &#8220;select Device&#8221; panel</p>
<p>Under the &#8220;Devices&#8221; list, expand the &#8220;<strong>Network Printer</strong>&#8221; selection by clicking the small black arrow.</p>
<p>Next, Select &#8220;<strong>AppSocket/HP JetDirect</strong>&#8221;</p>
<p>At the right, new options will be displayed (Host and Port Number)</p>
<p>In the host field, type the IP address of the network printer you&#8217;re installing.</p>
<p>In the Port Number field, type the RAW port number for the network printer. If you did not change this directly in the Printer&#8217;s Settings, or you are not sure, then leave the default value 9100.</p>
<div id="attachment_143" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-143" title="screenshot-select-device" src="http://www.edwardstafford.com/wp-content/uploads/screenshot-select-device-300x264.png" alt="Select Device" width="300" height="264" /><p class="wp-caption-text">Select Device</p></div>
<p>Press the &#8220;<strong>Forward</strong>&#8221; button: The next panel is the &#8220;<strong>Choose Driver</strong>&#8221; panel</p>
<p>Choose the &#8220;<strong>Select Printer from Database</strong>&#8221; option</p>
<p>Highlight the &#8220;<strong>Generic</strong>&#8221; option under the &#8220;<strong>Makes</strong>&#8221; list</p>
<div id="attachment_144" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-144" title="screenshot-choose-driver1" src="http://www.edwardstafford.com/wp-content/uploads/screenshot-choose-driver1-300x264.png" alt="Chose Driver Panel 1" width="300" height="264" /><p class="wp-caption-text">Chose Driver Panel 1</p></div>
<p>Press the &#8220;<strong>Forward</strong>&#8221; button: The next panel is the &#8220;<strong>Choose Driver</strong>&#8221; panel #2</p>
<p>On this Panel, under the &#8220;<strong>Model</strong>&#8221; list, select &#8220;<strong>PCL 6/PCL XL Driver</strong>&#8221;</p>
<p>Under the &#8220;<strong>Drivers</strong>&#8221; Select the &#8220;<strong>PCL 6/PCL XL Driver &#8211; CUPS + Gutenprint v5.2.3 [en] (recommended)</strong>&#8221;</p>
<div id="attachment_145" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-145" title="screenshot-choose-driver-2" src="http://www.edwardstafford.com/wp-content/uploads/screenshot-choose-driver-2-300x264.png" alt="Choose Driver Panel 2" width="300" height="264" /><p class="wp-caption-text">Choose Driver Panel 2</p></div>
<p>Press the &#8220;<strong>Forward</strong>&#8221; button: The next panel is &#8220;<strong>Describe the Printer</strong>&#8221;</p>
<p><strong>Printer Name</strong>: in this field, type a name for your printer as it will appear in you installed printers list. I&#8217;ll call mine &#8220;Dell1700&#8243; Note that spaces are not permitted here.</p>
<p><strong>Description</strong> (optional): In this field, type a short description of your printer to help identfy it in you installed printers list. I described mine as &#8220;Dell Printer Home Office&#8221;. You can leave this blank if you want.</p>
<p><strong>Location</strong> (optional): In this field, put a location descriptor that will help to identify the location of the printer in the installed printers list. For this field, I used &#8220;Home Office&#8221;. You can leave this blank if you want.</p>
<div id="attachment_146" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-146" title="screenshot-describe-printer" src="http://www.edwardstafford.com/wp-content/uploads/screenshot-describe-printer-300x265.png" alt="Describe the Printer" width="300" height="265" /><p class="wp-caption-text">Describe the Printer</p></div>
<p>When you finish, click the &#8220;<strong>Apply</strong>&#8221; button. You&#8217;ll be prompted and asked if you want to print a test page, which might be a good idea at this point to make sure you got everything set up correctly.</p>
<div id="attachment_147" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-147" title="screenshot-test-page" src="http://www.edwardstafford.com/wp-content/uploads/screenshot-test-page-300x154.png" alt="Test Printing" width="300" height="154" /><p class="wp-caption-text">Test Printing</p></div>
<p>If everything went well, you will now see a new printer added to your installed printers list under &#8220;<strong>Printer Configuration</strong>&#8220;.</p>
<div id="attachment_148" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-148" title="screenshot-new-printer-complete" src="http://www.edwardstafford.com/wp-content/uploads/screenshot-new-printer-complete-300x165.png" alt="New Printer Installed" width="300" height="165" /><p class="wp-caption-text">New Printer Installed</p></div>
<p><strong>Note</strong>: This walkthrough was completed using a Dell 1700 Laserprinter and does work with these instructions. This printer does not have linux drivers available. If your printer has supported/avalible drivers provided by your manufacturer, your setup process may be different. This information is provided as a general guide.</p>
<p>I hope you find this information helpful. Leave a comment to let me know what you think. Is there a better / easier way to do this? Did I miss anything? Leave a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edwardstafford.com/2009/08/31/add-a-network-printer-to-an-ubuntu-desktop-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu Jaunty Jackalope Caters to Web Applications and the Cloud</title>
		<link>http://www.edwardstafford.com/2008/09/09/ubuntu-jaunty-jackalope-caters-to-web-applications-and-the-cloud/</link>
		<comments>http://www.edwardstafford.com/2008/09/09/ubuntu-jaunty-jackalope-caters-to-web-applications-and-the-cloud/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 23:12:02 +0000</pubDate>
		<dc:creator>Ed Stafford</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Canonical]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.edwardstafford.com/blog/?p=37</guid>
		<description><![CDATA[I&#8217;ll admit, I am a fan of Ubuntu. I run it on all my personal and home computers with the exception of one (8 in total) and have nothing to complain about. Now the new version, expected to be released in April 2009, is expected to see improvements in booting and operational speeds. That is [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll admit, I am a fan of Ubuntu. I run it on all my personal and home computers with the exception of one (8 in total) and have nothing to complain about. Now the new version, expected to be released in April 2009, is expected to see improvements in booting and operational speeds. That is always a good thing, but what I don&#8217;t understand are the claims that the new OS version, code named &#8220;Jaunty Jackalope&#8221; will cater to Web Applications and the Cloud (cloud computing). I have not heard of any other company making such claims, and I wonder exactly how they plan to &#8220;cater&#8221;. As far as I can see, no other details have been discussed. It&#8217;s unclear if Canonical will make OS or code changes somehow to improve support for web applications, or just make them more available through the UI.</p>
<p><strong>Change of Plans &#8211; As I was writing the above, Something occurred to me.<br />
</strong></p>
<p><strong>Some points of interest<br />
</strong></p>
<ul>
<li>Google uses a custom version of Ubuntu for internal operations.</li>
<li> Google has generated a lot of Buzz recently about entering the office application market opposite Microsoft.</li>
<li>Canonical/Ubuntu has made impressive progress bringing an alternative desktop operating system to market and is regarded by some as an acceptable replacement to Microsoft.</li>
<li>Following the Quote from Mark Shuttleworth himself, it does sound like Canonical and Google have been at least talking about ways to &#8220;finalize Jaunty plans&#8221;.
<pre>"We will be gathering forces in Mountain View on 8th - 12th December to
survey the upstream landscape and finalize Jaunty plans, enjoying the
excellent hospitality of Google and Silicon Valley's abundance of talent
and innovation." - Mark Shuttleworth</pre>
</li>
</ul>
<p><strong>Warning &#8211; Pure Speculation Follows:</strong></p>
<p>Is it possible that Canonical&#8217;s intention to cater to web apps means teaming up or forming some sort of partnership with Google to use or push Google&#8217;s suite of web applications (Google Apps) while providing a competitive operating system to rival Microsoft?</p>
<p><strong>References</strong>:<br />
<a href="http://bits.blogs.nytimes.com/2008/09/09/the-jaunty-jackalope-hops-aboard-ubuntus-ark/?partner=rssnyt&amp;emc=rss" target="_blank">http://bits.blogs.nytimes.com</a><br />
<a href="https://lists.ubuntu.com/archives/ubuntu-devel-announce/2008-September/000481.html" target="_blank">https://lists.ubuntu.com/archives/ubuntu-devel-announce/2008-September/000481.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.edwardstafford.com/2008/09/09/ubuntu-jaunty-jackalope-caters-to-web-applications-and-the-cloud/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How-to: Active Directory Authentication with WordPress</title>
		<link>http://www.edwardstafford.com/2008/07/15/36/</link>
		<comments>http://www.edwardstafford.com/2008/07/15/36/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 22:25:45 +0000</pubDate>
		<dc:creator>Ed Stafford</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Social Media and Networking]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.edwardstafford.com/blog/2008/07/15/36/</guid>
		<description><![CDATA[Why Use Active Directory with WordPress? I recently set up a WordPress Blog internally for our company to use over our intranet to help improve communication, collaborate, share and develop ideas, and stay informed about company announcements or current events.. etc. One of the requirements I had was to allow authentication against our Active Directory. [...]]]></description>
			<content:encoded><![CDATA[<h2>Why Use Active Directory with WordPress?</h2>
<p>I recently set up a WordPress Blog internally for our company to use over our intranet to help improve communication, collaborate, share and develop ideas, and stay informed about company announcements or current events.. etc.</p>
<p>One of the requirements I had was to allow authentication against our Active Directory. Yes, we operate a Windows network primarily, but you can also authenticate against other LDAP directories as well. This was important from an IT position as well as the participants of the blog. I felt people would be more likely to participate if they didn&#8217;t have to manage separate user accounts for each service on the intranet. I also set up a Wiki that is Active Directory enabled. I&#8217;ll post about that at a later time. The point is, it makes little sense to create different credentials for each user with each new service. It not only becomes a hassle for IT to track and manage the accounts, it&#8217;s also a drag for participants to keep track of and manage their username and password pairs for each service. The result would most likely lead to lack of use and that is not what we want.</p>
<p>Integrating the existing Active Directory accounts means that each participant can access these services using the same credentials they use to access or log into their network accounts and desktops. When time comes to change passwords, you need only to update the Active Directory account and your done. Simple! What could be better?</p>
<h2><strong>Starting Point</strong></h2>
<p>The first thing we needed to do was find out how to include AD Authentication with WordPress 2.5. There are a small number of plugins that claim to allow AD Authentication, but from what I came across, most of them were older and no longer actively maintained. But&#8230;there were two in particular that still showed signs of being actively maintained and had promise.</p>
<p>The first was was aptly called &#8220;<a href="http://wordpress.org/extend/plugins/active-directory-authentication/" target="_blank">Active Directory Authentication</a>&#8221;</p>
<p>The other plugin and the ultimately the one I managed to successfully include is <a href="http://wordpress.org/extend/plugins/wpdirauth/" target="_blank">wpDirAuth</a>.</p>
<h2>The Trials</h2>
<p>Although I was able to get wpDirAuth to work with WordPress 2.5, there was a catch. The current &#8220;Official&#8221; release of wpDirAuth as of this writing is version 1.2 which is not compatible with WordPress 2.5 so there was some work involved to make this happen. I visited the wpDirAuth plugin page to look at the install directions. They seemed easy enough. It wasn&#8217;t until I actually installed and activated the plugin that I realized it wouldn&#8217;t work. My next stop was the support channel that the author set up to help troubleshoot install and authentication issues. It was here that I learned there was a patch already available and provided by a generous wpDirAuth user &#8211; <strong>Adam Yearout.</strong> I applied the patch and then tried to login with my network credentials again, and &#8230; No luck! By now I was scratching my head. Searching and reading all the information I could find, I finally found myself on the wpDirAuth Developer Support Channel. This was another channel set up specifically for developers. It was here that I uncovered some clues as to what was happening and a small code tweak that was necessary to overcome the problem. Apparently, the author of the plugin assumed that the login name was also the name associated with the Active Directory Account Email, which in most cases is true, but not always. For example username: johndoe would by default have an email johndoe@domain.com. In my case, my email and name and login name were not the same, so the logic that the plugin author used would not work. The good news is that the fix is a fairly simple one if you know where to look and the dev channel contained all the clues needed to find the info.</p>
<h2>Setting up wpDirAuth with WordPress 2.5</h2>
<p>For this how-to, I am using wordpress 2.5 installed on an Ubuntu 8.04 LTS server With Apache2 and PHP5. There is no GUI and I am not running an ftp server on this server so all settings and changes are completed using putty over SSL.<span id="more-36"></span></p>
<p>So lets get to it. Setting up AD Authentication was not as straight forward as I had hoped and required a few extra steps along the way.</p>
<p>The first step is to <a title="download the wpDirAuth plugin" href="http://downloads.wordpress.org/plugin/wpdirauth.1.2.zip">download the wpDirAuth plugin</a> from the WordPress plugins section.</p>
<p>From a terminal or if logged into the server via Putty, change to your home directory and get the latest version of the wpDirAuth plugin.</p>
<div class="myCode"><strong>cd /home/your_account_name<br />
wget http://downloads.wordpress.org/plugin/wpdirauth.1.2.zip</strong></div>
<div class="myNotes"><strong>Note</strong>: the file is compressed as a .zip so you may need to run:</p>
<p><strong>sudo apt-get install unzip</strong></p>
<p>before you can extract the files.</p></div>
<p>Next extract the files by executing:</p>
<div class="myCode"><strong>unzip wpdirauth.1.2.zip</strong></div>
<p>Now you have a new directory called wpdirauth.1.2 in your home directory.<br />
Move into the new directory and list the contents using</p>
<div class="myCode"><strong>cd wpdirauth.1.2<br />
ls</strong></div>
<p>Now you will see the wpdirauth directory. You need to move this entire directory to your WordPress plugins directory.</p>
<div class="myNotes"><strong>Note</strong>:The following instructions and paths are specific to my server. You may need alter these instructions to meet your needs.</div>
<p>To move the extracted wpdirauth directory, make sure you are in the wpdirauth.1.2 directory and execute the command:</p>
<div class="myCode"><strong>cp -r wpdirauth /var/www/wpblog/wp-content/plugins</strong></div>
<p>Now we need to move into the actual WordPress Blog directory where our files are hosted by executing the command:</p>
<div class="myCode"><strong>cd /var/www/wpblog/wp-content/plugins</strong></div>
<p>Now if you execute</p>
<div class="myCode"><strong>ls</strong></div>
<p>you should see the wpdirauth plugin folder. Once again, we will change directories and move into the hosted wpdirauth directory using:</p>
<div class="myCode"><strong>cd wpdirauth</strong></div>
<p>This is where the editing (and the fun) begins.<br />
Remember, we need to make some changes before we activate this plugin in WordPress 2.5 or it will not work.</p>
<h2>Patching the wpdirauth plugin</h2>
<p>Before making any changes to our files, it&#8217;s alway a good idea to make some backups.</p>
<p>From the wpdirauth execute the command:</p>
<div class="myCode"><strong>cp wpdirauth.php wpdirauth.php.orig</strong></div>
<p>Next apply the patch that was just downloaded. This patch will make changes to the wpdirauth.php file, and update the Plug-in version for 1.2 to 1.3</p>
<p>Apply the patch by executing the command:</p>
<div class="myCode"><strong>patch -p1 &lt; ../wpDirAuth-1.2-to-1.3.patch</strong></div>
<div class="myNotes">Note: You need patch installed to execute the following command. If Patch is not installed, you can install it by executing:</p>
<p><strong>sudo apt-get install patch</strong></div>
<h2>Editing the plugin</h2>
<p>Once the patch is installed, your Active Directory authentication should for most people. But we are not done yet.</p>
<p>There is an issue related to Active Directory users names and their email addresses. Active Directory user accounts that are also created with an email address, are by default given an address equal to the login name.<br />
For example an Active Directory user created with a login name of johndoe would have an email address of johndoe@domain.com. The problem arises in the way that wpDirAuth authenticates against Active Directory using the email address. If at some point, the users default email address is changed, the login name does not match the email address and authentication fails. The fix is a simple one if you know where to look.</p>
<p>To prevent authentication failure due to the login name and email mismatch, you need to make a small edit to the wpdirauth.php file. Start by executing the following command:</p>
<div class="myCode"><strong>sudo nano wpdirauth.php</strong></div>
<div class="myNotes"><strong>Note</strong>: I am using nano to edit files on the system. You can use any text editor you have available on your system.</div>
<p>Next, scroll through the file till you find the  wpDirAuth_auth() function at line 246. It should be about 1/4 of the way down the page. Edit this function as follows:</p>
<p>At about line 273 find the line</p>
<div class="myCode">if ($accountSuffix) $username .= $accountSuffix;</div>
<p>and delete or comment it out.</p>
<p>Next move down to about line 284 and look for the line that reads:</p>
<div class="myCode">$filterQuery = &#8220;($filter=$username)&#8221;;</div>
<p>Add a new line after this and enter the following:</p>
<div class="myCode">if ($accountSuffix) $username .= $accountSuffix;</div>
<p>Basicly, we are just moving the line &#8220;if ($accountSuffix) $username .= $accountSuffix;&#8221; down a few lines and adding it after the line &#8221; $filterQuery = &#8220;($filter=$username)&#8221;; &#8221;</p>
<p>This is the snippet of the the  wpDirAuth_auth() function after I made the changes look like this.</p>
<div class="myCode">function wpDirAuth_auth($username, $password)<br />
{<br />
&#8230;.&lt;PHP Code Lines removed for sample&gt;&#8230;.</p>
<p><strong>/**<br />
* This section commented out to enable AD email/username mismatch.<br />
* if ($accountSuffix) $username .= $accountSuffix;<br />
*/</strong></p>
<p><strong></strong>/**<br />
* Only setup protocol value if ldaps is required to help with older AD<br />
* @see http://groups.google.com/group/wpdirauth-support/&#8230;<br />
*/</p>
<p>$protocol = ($enableSsl) ? &#8216;ldaps://&#8217; : &#8221;;</p>
<p>if (!$filter) $filter = WPDIRAUTH_DEFAULT_FILTER;</p>
<p>$filterQuery = &#8220;($filter=$username)&#8221;;</p>
<p><strong> /**<br />
* Next Line added to enable AD email/username mismatch<br />
*/</strong></p>
<p>if ($accountSuffix) $username .= $accountSuffix;</p>
<p>// Connection pool loop &#8211; Haha, PooL LooP<br />
foreach ($controllers as $dc) {</p>
<p>&#8230;.&lt;PHP Code Lines removed for sample&gt;&#8230;.</p></div>
<h2>Activating the Plugin</h2>
<p>One requirement that may still be missing is php&#8217;s LDAP support. If you do not already have support for LDAP enabled in php, you will need to enable it before you can authenticate against the Active Directory.<br />
To enable LDAP in PHP, execute the following command</p>
<div class="myCode"><strong>sudo apt-get install php5-ldap</strong></div>
<p>At this point, and assuming everything went well, it&#8217;s time to log into your WordPress Blog as the WordPress Admin and navigate to the &#8220;settings&#8221; page. From here, you will see a &#8220;Directory Auth&#8221; link at the top of your settings page. click this link to access the Directory Auth setup page and fill in the required fields as they apply to your Active Directory set up.</p>
<p><strong>Enable Directory Authentication</strong> = yes<br />
<strong> Require SSL Login</strong> = Yes if you use SSL Auth, No if you do not.<br />
<strong> Enable SSL Connectivity</strong> = yes if you are using SSL or LDAPS connections, No if you are not.<br />
<strong> Directory Servers (Domain Controllers) </strong>= DNS Name or IP Address of your Active Directory Domain Controller<br />
<strong> Account  Filter</strong> = samAccountName or field to search the username to locate the directory profile. For AD, samAccountName should work.<br />
<strong> Account Suffix</strong> = @yourdomain.com &#8211; This is the suffix for you local domain usen in email addressing in the AD for you local network.<br />
<strong> Base DN</strong> = DC=domainname,DC=com &#8211; Note this will vary depending on you local network and complexity of your AD<br id="dp9s" /><strong>Bind DN</strong> = Blank if you allow Anonymous Binding to your Directory or a username use to pre-bind if you do not.<br />
<strong>Bind Password </strong>= Blank if you allow Anonymous Binding to your Directory or the password of the user used to pre-bind if you do not.</p>
<p>The remainder of the fields are self explanatory and are not critical to successful authentication.</p>
<div class="myNotes"><strong>Note</strong>: One of the easiest ways to get the correct Base DN for Active Directory is to use the ADSI Edit utility</div>
<p>Now save the changes and log out of the WordPress Admin account.<br />
Next attempt to login to WordPress using an Active Directory User Account.</p>
<p>You should now have Active Directory Authentication enabled and working with WordPress.</p>
<p>Remember, your mileage may vary depending on your specific needs and existing network and Active Directory structure.</p>
<p>Have any other tips, or want to share your experience with AD authentication in WordPress? Leave a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edwardstafford.com/2008/07/15/36/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How To Set A Static IP In Ubuntu or Linux Using The Command Line</title>
		<link>http://www.edwardstafford.com/2008/01/06/how-to-set-a-static-ip-in-ubuntu-or-linux-using-the-command-line/</link>
		<comments>http://www.edwardstafford.com/2008/01/06/how-to-set-a-static-ip-in-ubuntu-or-linux-using-the-command-line/#comments</comments>
		<pubDate>Sun, 06 Jan 2008 20:01:28 +0000</pubDate>
		<dc:creator>Ed Stafford</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.edwardstafford.com/blog/2008/01/06/how-to-set-a-static-ip-in-ubuntu-or-linux-using-the-command-line/</guid>
		<description><![CDATA[After installing Ubuntu Linux 7.10 Server Edition, I found that the IP address was assigned by DHCP served by my home router. This is fine for getting the server installed, but under most conditions, you will want to assign a static IP for your server. This Blog post will show you how to do just [...]]]></description>
			<content:encoded><![CDATA[<p>After installing Ubuntu Linux 7.10 Server Edition, I found that the IP address was assigned by DHCP served by my home router. This is fine for getting the server installed, but under most conditions, you will want to assign a static IP for your server. This Blog post will show you how to do just that. One of the issues with the Ubuntu server editions is that everything is done from a command line. There is no pretty windowed GUI.</p>
<p>One thing to note is that these commands need to be issued from either root or using sudo. I prefer to use the sudo su method to avoid having to type sudo each time I issue a command. (<strong>WARNING</strong>) if you do use sudo su, remember to exit the root when you are done.</p>
<p>In this example, I will be assigning the a static IP address of <strong>192.168.1.2</strong> to the primary network interface on my server.<br />
My network subnet is <strong>192.168.1.0</strong><br />
My network gateway is <strong>192.168.1.3</strong><br />
And my netmask is <strong>255.255.255.0</strong><br />
<span id="more-23"></span></p>
<p><strong>1. Gain root privledges</strong></p>
<blockquote></blockquote>
<p><code><strong>sudo su</strong></code></p>
<blockquote></blockquote>
<p>Enter your password when prompted You should now have root access.</p>
<p><strong>2. Backup your  interfaces file</strong></p>
<p><code><strong>cp /etc/network/interfaces /etc/network/interfaces.backup</strong></code></p>
<p>It is important to always create a backup of important files in case you need to restore your original files/settings.</p>
<p><strong>3.  Edit the Interfaces file </strong><br />
Now using a text editor, modify the /etc/network/interfaces file. I prefer to use nano, but you can use any editor you prefer. For this example, I am going to use 192.168.1.2 as my static ip address.</p>
<p>The original the interfaces file looks like this:</p>
<p><code><strong># This file describes the network interfaces available on your system<br />
# and how to activate them. For more information, see interfaces(5).<br />
# The loopback network interface</strong>  <strong><br />
auto lo<br />
iface lo inet loopback</strong>  <strong><br />
# The primary network interface</strong>  <strong><br />
auto eth0<br />
iface eth0 inet dhcp</strong></code></p>
<p>To set a static IP, you need to change the line under &#8220;The primary network interface&#8221; to something like this.</p>
<p><code><strong># The primary network interface<br />
auto eth0<br />
iface eth0 inet static<br />
address 192.168.1.2<br />
netmask 255.255.255.0<br />
network 192.168.1.0<br />
broadcast 192.168.1.255<br />
gateway 192.168.1.3</strong></code></p>
<p><strong>5. Confirm Your Changes</strong><br />
Your edited interfaces file should now look something like this.<br />
<code><strong># This file describes the network interfaces available on your system<br />
# and how to activate them. For more information, see interfaces(5).<br />
# The loopback network interface<br />
auto lo<br />
iface lo inet loopback<br />
# The primary network interface</strong><br />
<strong>auto eth0<br />
iface eth0 inet static<br />
address 192.168.1.2<br />
netmask 255.255.255.0<br />
network 192.168.1.0<br />
broadcast 192.168.1.255<br />
gateway 192.168.1.3</strong></code></p>
<p><strong>6. Save Your Changes and Restart Networking</strong></p>
<p>If your changes are correct, you now need to save them to the interfaces file. If you used Nano, to save the new file, you press Ctrl-o to write the changes (hit enter when asked to overwrite the existing file) and the Ctrl-x to quit nano.</p>
<p>Once your changes are saved you need to restart the networking service on the server by issuing the following command.</p>
<p><code>/etc/init.d/networking restart</code></p>
<p><strong>7. Test and Confirm</strong><br />
If everything went well, you now have a static IP assigned to the eth0 network interface.<br />
To test and make sure your changes were applied successfully, issue this command:</p>
<p><code>ifconfig eth0</code></p>
<p>Your output should look something like this:<br />
<code><br />
eth0      Link encap:Ethernet  HWaddr 00:02:E3:09:C2:FB<br />
inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0<br />
inet6 addr: fe80::202:e3ff:fe09:c2fb/64 Scope:Link<br />
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br />
RX packets:512598 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:5428 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:30923166 (29.4 MB)  TX bytes:547585 (534.7 KB)<br />
Interrupt:10 Base address:0x6000</code></p>
<p>Note the second line<br />
inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0<br />
now shows the correct static ip, Bcast and Mask information that we assigned.</p>
<p><strong>If you gained root by using the sudo su option, remember to exit root by simply issuing the &#8220;exit&#8221; command.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.edwardstafford.com/2008/01/06/how-to-set-a-static-ip-in-ubuntu-or-linux-using-the-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Does Google have their eye on the &#8220;Apple&#8221;</title>
		<link>http://www.edwardstafford.com/2007/11/10/does-google-have-their-eye-on-the-apple/</link>
		<comments>http://www.edwardstafford.com/2007/11/10/does-google-have-their-eye-on-the-apple/#comments</comments>
		<pubDate>Sat, 10 Nov 2007 18:55:25 +0000</pubDate>
		<dc:creator>Ed Stafford</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.edwardstafford.com/blog/?p=16</guid>
		<description><![CDATA[By now you may have heard of Google&#8217;s new initiative known as &#8220;Android&#8221;. Android is Google&#8217;s new project set to bring an open source mobile platform based on the Linux OS to the cell phone market. So what does this mean for the cell phone and mobile markets? Google has created an alliance called the [...]]]></description>
			<content:encoded><![CDATA[<p>By now you may have heard of Google&#8217;s new initiative known as &#8220;Android&#8221;. Android is Google&#8217;s new project set to bring an open source mobile platform based on the Linux OS to the cell phone market. So what does this mean for the cell phone and mobile markets? Google has created an alliance called the &#8220;Open Handset Alliance&#8221; including a selection of 34 market leading hardware, software and telecom companies.</p>
<p>Andy Rubin, Google&#8217;s director of mobile platforms, and Android project leader said the open-source strategy would encourage rapid innovation and lower the bar to entry in the highly competitive cellphone market, where software accounts for an increasing share of the cost of making a phone.</p>
<p>I believe most of the excitement surrounds the fact that this is, in some fashion, an &#8220;open&#8221; project which means more support from more providers, manufacturers, developers, and applications with lower costs. However, it is still unclear how &#8220;open&#8221; it will be and it is still possible that handset makers and operators will &#8220;lock&#8221; their own release and limit use to their own services or applications. Either way, this is in sharp contrast to Apple&#8217;s iPhone which is completely shut down, locked out and restricted to anyone outside Apple.</p>
<p>One thing to note is that there will not be an actual Google device (&#8220;gPhone&#8221;). Instead, the platform will be freely available to developers and manufacturers who will create the mobile devices to use the Android software.</p>
<p><a href="http://www.kabatology.com/11/09/gphone-%e2%80%93-andy-rubin-talks-about-his-upcoming-android/">Andy Rubin together with other members of the crew talk about the so-called Gphone.</a></p>
<p>It will be very interesting to see how this plays out over the coming months and year(s).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edwardstafford.com/2007/11/10/does-google-have-their-eye-on-the-apple/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing LinuxMCE 1.1 Beta 2 &#8211; The Good, The Bad, and The (mostly) Ugly!</title>
		<link>http://www.edwardstafford.com/2007/06/04/installing-linuxmce-11-beta-2-the-good-the-bad-and-the-mostly-ugly/</link>
		<comments>http://www.edwardstafford.com/2007/06/04/installing-linuxmce-11-beta-2-the-good-the-bad-and-the-mostly-ugly/#comments</comments>
		<pubDate>Tue, 05 Jun 2007 01:08:58 +0000</pubDate>
		<dc:creator>Ed Stafford</dc:creator>
				<category><![CDATA[Home Automation]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.edwardstafford.com/blog/?p=12</guid>
		<description><![CDATA[I have been using PlutoHome as a home automation solution to control lighting, media (A/V), and my home phone network. LinuxMCE is a direct branch of PlutoHome originally ported to run on top of an Ubuntu Desktop. With the latest Beta of LinuxMCE, the desktop of choice is now Kubunu, the KDE version of Ubuntu. [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using <a href="http://www.plutohome.com" title="Pluto Home" target="_blank">PlutoHome</a> as a home automation solution to control lighting, media (A/V), and my home phone network. <a href="http://www.linuxmce.com" title="Linux MCE" target="_blank">LinuxMCE</a> is a direct branch of PlutoHome originally ported to run on top of an Ubuntu Desktop. With the latest Beta of LinuxMCE, the desktop of choice is now Kubunu, the KDE version of Ubuntu.  This change was made in order to overcome a limitation of Gnome&#8217;s X11 implementation that is not apparent in KDE.</p>
<p>To start things off, I downloaded 3 ISO files.</p>
<ol>
<li>Kubuntu install disk</li>
<li>LinuxMCE Packages disk</li>
<li>LinuxMCE Cache Disk</li>
</ol>
<p>The LinuxMCE Packages and Cache disk are available as a single torrent file.</p>
<p>After downloading the ISO files, they were burned to CD using Nero.</p>
<p><strong>Installing Kubuntu:</strong><br />
The first step to the actual install is make sure the target system is able to boot from a CD. This can be set by accessing the system BIOS, and setting the CDRom as the first boot device in the boot sequence. Refer to you Motherboard&#8217;s BIOS information for instructions on setting this up.<span id="more-12"></span></p>
<p>Place the Kubuntu install disk in the CD Tray, and re/start your computer. The computer will boot from the system on the CD and display a list of options. One of the options is to check the disk for errors. I always select this first to make sure the newly created CD is free of errors before starting the system install. Theres nothing worse than getting 2/3rds of the way through the install only to have it fail due to a read error of similar. Of course you could skip that part if you want. If you do run the disk integrity check, you will need to reboot the computer again assuming there were no errors found.</p>
<p>If you skip the integrity check, of you completed is successfully, you can now select the first option&#8221;Start of Install Kubuntu&#8221;. This will load the Kubuntu OS to memory and display a nice desktop with an install icon in the upper left corner. click the icon to get started.</p>
<p>Next you are asked to answer a few questions related to your location and language preferences. Answer these and continue.</p>
<p>Next you will be asked to partition your disk and given three options.</p>
<ul>
<li>Guided</li>
<li>Guided using the entire disk</li>
<li>Manual</li>
</ul>
<p>I prefer to use the manual option and I use the following partition and mount settings for the majority of my Linux installs. This one is based on a single 30 gig drive. Typically you would want a lot more drive space, but I am only setting this up for testing.</p>
<p><strong>Partition Settings</strong></p>
<p>hda</p>
<ul>
<li>hda1 = (range) 60-100 MB   Mount point &#8211; /boot   Type &#8211; ext3</li>
<li>hda2 = 1024 MB (1GB)  Mount point &#8211; swap</li>
<li>hda3 = (range) 15-20 GB   Mount point &#8211; /    Type &#8211; ext3</li>
<li>hda4 = the rest of available free space   Mount point &#8211; /home Type ext3</li>
</ul>
<p>As partition settings were modified/created, I received pop-ups asking if I wanted to mount the drives or do nothing.<br />
I selected the do nothing option. (<strong>note</strong>: this only happened on my first install attempt)</p>
<p>The partitioner will complete it&#8217;s process and present you with a new screen. Here, you will set up your main user account and password, and provide a name for the computer. Fill in all the fields and continue.</p>
<p>Now you are at the ready to install screen that shows all your selections and settings in a list. Double check the info and if everything is correct, press the &#8220;install&#8221; button. If you need to change anything, use the &#8220;back&#8221; button to return to the setup screens.</p>
<p>When you hit the &#8220;install&#8221; button, the installation process begins building and formating the partitions, copies the necessary files to the hard disks and sets up the new OS on the hard disks. This can take some time, so go make a sandwich or fresh cup of coffee (or both).</p>
<p>Once the install is complete, you will receive a message stating that everything is done. Close that message window, right click on the desktop, and select &#8220;log out&#8221;.<br />
From the next set of options, select &#8220;Restart&#8221;. After a few seconds (maybe longer) your CD tray should pop open and the screen will display a message instructing you remove the disk, close the tray, and press &#8220;Enter&#8221; to continue. At this point, remove the disk, close the tray and hit &#8220;enter&#8221; on your keyboard.</p>
<p>If everything went well, you will now boot up to you brand new Kubuntu desktop&#8230;!!!<br />
Log in using the username and password you set up during the install process.</p>
<p>Installing Kubuntu was very easy to complete and quite painless. I&#8217;d even go as far as saying it was as easy, if not easier to install as Windows.</p>
<p><strong>Part one is now complete.</strong></p>
<p>Now that I am logged into he Kubuntu KDE desktop, I see that there are 57 software/system updates available for download. Run the Adept Updater to update the available packages and make another sandwich&#8230;. This part is Highly Recommended..(the updates, not the sandwich)</p>
<p>Once the updates are complete, insert the LinuxMCE packages CD and open it for viewing. On the CD you will see a folder labled deb-cache and a file labeled mce-installer_2.0.1-1_i386.deb. Right click this installer deb file and from the menu, select &#8220;Kubuntu Package Menu&#8221; &gt; &#8220;Install package&#8221;. At this point, you will be asked to provide your password in a pop-window. A few lines will appear ending with the instruction to &#8220;Press &lt;enter&gt; to exit&#8230;&#8221; Now you will notice a new Icon on the desktop labled &#8220;Install Linux MCE&#8221;. Click this Icon to start the LinuxMCE installer. Another prompt will pop up asking for you password again. Enter your password and continue.</p>
<p>*** The next screen that appears is the linux MCE Installer screen displaying two options. At this stage, you need to specify if you want to run this computer as a dedicated core, or as a hybrid core/media director. For my purposes, I am selecting the first option &#8220;Yes, install all the media playback and remote control software and make this computer my first media player. For testing purposes, I find that it is helpful to use a hybrid installation. Next press the &#8220;forward&#8221; button.</p>
<p>The next screen asks you if you want to use the open source nv driver (still a bit buggy) or the commercial nVidia driver. This is the video driver for the system and is pretty important, especially if you want to use 3D acceleration, so I select the more stable nVidia driver. Note that selecting this requires a system reboot. Make your selection and press the &#8220;forward&#8221; button&#8230;.</p>
<p>&#8220;Installing nVidia Propetary Drivers&#8230;Please Wait&#8221; (note: I did not misspell Proprietary.. that is exactly what the message says) ;-p</p>
<p>Still Waiting&#8230;<br />
Still  Waiting &#8230;<br />
Still Waiting &#8230;<br />
WOW, This is taking more time than I would expect.. (going on about ten minutes so far). I can see activity on my CDrom and HD according to the led lights so I assume it doing something..for now&#8230;.<br />
Time to make another sandwich&#8230;<br />
&#8230;     &#8230;     &#8230;     &#8230; over an hour and still waiting&#8230; this can&#8217;tbe good!</p>
<p>My HD led is solid, my CDRom led is solid (disk access) so I decided to check the logs. DANGER DANGER!!! My logs are showing hdc I/O errors and media errors. Could it be a bad burn&#8230; even after i ran the integrity test.. I decided to try copying the contents of the CD to the desktop and run it from there.</p>
<p><strong>&#8220;Please Wait&#8230;&#8221; revisited</strong><br />
After copying the contents of the CD to the desktop I started the LMCE install again (refer back to the *** marker a couple paragraphs up. this time around, after receiving the &#8220;please wait&#8221; message box, the computer rebooted after about a minute (maybe a little less) as it should have. Now my screen resolution has been reset to 640 x 480.. Well that won&#8217;t do..</p>
<p>From the Kmenu I selected  System Settings and then Monitor &amp; Display.. Under the Hardware tab, my Graphics Card is showing up as nv with the nvidia driver, but I cannot increase my resolution beyond 640 x 480 (BTW, I am using an nVidia GForce2 400MX video card)&#8230;&#8230;. Back to the installer to change my video settings. After restarting the installer again, I do not have the option to change the video driver&#8230; Things are getting ugly.. I&#8217;ll try to reboot again and then start the installer&#8230; tick tock &#8230;</p>
<p>No go GhostRider&#8230; Apparently, I cannot easily revert my display settings back to what they were. Ehh, I figured that wouldn&#8217;t work, but it was worth a shot anyway. Seeing that this is being set up for testing, and I have no intention of using this system as a desktop OS, I will continue as is..</p>
<p>The next step in the LMCE installer is to configure/confirm the network interfaces. The installer has correctly detected my two NICs and that ETH1 is connected to the internet. I now have to option to accept the current interface config (IP, subnet, gateway and DNS) or change it manually. For now I will accept the existing settings because I will need to change them manually later to set up PPPoE for internet access thorugh this computer and the second interface as my internal network. Make your selection and hit the &#8220;forward&#8221; button.</p>
<p>Next, you need to select a Download Mirror close to your location. This allows the installer to grab any additional packages it needs right from the internet. You can select a mirror from the dropdown list, or manually add one in the provided field. I selected one from the list and hit the &#8220;forward&#8221; button.</p>
<p>The next step is to select how the installer will get the packages it needs to install. The installer asks if you have the &#8220;Kubuntu extra packages CD&#8221; (in the case of the Beta, I will assume that refers to the Cache CD). If you do not have the cache cd your other options are to use the internet and allow the installer to download the packages, or to use an ISO image from a hard disk. If you dont have install disks for LMCE, you could download the ISO from a LMCE source to your hard drive and use the ISO without having to burn it to a CD. I selected to use the CD that I burned.</p>
<p>Message: &#8220;Please Wait&#8230; Caching Ubuntu Extra CD&#8221; &#8230;. I hope this isin&#8217;t a replay from earlier.</p>
<p>Still Waiting&#8230;.<br />
Still Waiting&#8230;</p>
<p><a title="continueInstaller" name="continueInstaller"></a><br />
After about 30 minutes, I decided to cancel this and use the &#8220;I have an ISO image on my harddrive&#8221; option. Luckly, I was able to copy the downloaded LinuxMCE-1.1-cache.ISO from one of my network shares to the local system. At least I know networking works. I selected the option, and navigated to my desktop where the ISO was located, selected it and pressed the &#8220;forward&#8221; button.</p>
<p>Next I am prompted to insert the LinuxMCE CD in the drive again, or select the ISO on the hard drive. Ok, since the local ISO option seemed to work so well, I copied the downloaded Linuxmce-1.1-packages.ISO from my network share to my desktop. I make the selection and hit the &#8220;forward&#8221; button&#8230;. another &#8220;please wait&#8221; message box&#8230;</p>
<p>After about two minutes, a new screen pops up&#8230; now we&#8217;re making progress..<br />
This next screen starts the set up for the network settings that LMCE will use. It is required that core act as a DHCP Server in order to manage media directors and devices to get all the benefits and features of the system. In this screen, I select &#8220;yes&#8221; to running it as a DHCP server and give it my internal network (first three octets &#8211; ie 192.168.1). You do not provide the last octet for this part.  Press &#8220;forward&#8221;.</p>
<p>The next screen asks what interface you want to use (UI1, UI2 or UI3). Because of the video resolution issues I ran into, I will select UI1. This is the most &#8220;basic&#8221; of the three options. The screen also provides a Graphical Test Application to help you determine the best selection with a link button to online documentation explaining the Test. At least, I think thats the intention. When I tried the test, I saw a rotating cube covered with the LMCE logo in each side and a plain red background, but there was no documentation explaining what I should be seeing when I used the button link, just an empty page stating &#8220;Graphics Test (there is currently no text in this page)&#8221;. How unfortunate.. Hopefully, this will be available with the final non-beta release.  I&#8217;ll play it safe and stick with the UI1 (for testing).</p>
<p>The next screen after pressing the &#8220;forward&#8221; button was a nice addition over the plutohome installer. This screen informs you that the software to play encrypted commercial DVDs is not installed and that, if it is legal in your area, the installer can fetch it and install it. If you are legally allowed to use this bit of software i your area, and you are using setting up a Hybrid Core, you would want to add this in order to play protected DVDs. For legal reasons, this is not installed by default as part of the installer package, But I like that LMCE gives you the option to install it (if its legal in your area), something PlutoHome installer does not do. &#8230;SIGH&#8230; unfortunately, it is not legal for me to install that software here so I will need to select the &#8220;No, It&#8217;s not allowed here, Don&#8217;t install it&#8221; &#8211; &#8220;forward&#8221; button</p>
<p>The next screen asks you how you plan to use the computer. Generally, your options are as a dedicated LMCE system, or as a primary PC. The difference is:</p>
<ul>
<li> A dedicated LMCE system by default starts LMCE at boot. Kubuntu can be started manually.</li>
<li>A primary PC starts Kubuntu at boot. LMCE can be started manually.</li>
</ul>
<p>For a whole home solution, it makes more sense to select the dedicated LinuxMCE option because this computer will need to be running 24/7. I selected dedicated LinuxMCE and hit the &#8220;forward&#8221; button.</p>
<p>The next step displays a &#8220;command/terminal&#8221; type window with the header: &#8220;Installing ubuntu Packages needed by Linux MCE&#8221;. You will see a lot of text scrolling by in the command.terminal window, and this can take some time to complete&#8230;. I think we&#8217;re almost done&#8230; and then&#8230;. So much for progress..</p>
<p>Because I was locked in at a resolution 640&#215;480, the bottom half of this last installer screen window was cut off at the bottom of the monitor screen. I couldn&#8217;t see what messages or progress might be at the bottom of the window, or access any buttons that I assume had to be there, for example, maybe cancel, finish, forward.. I had no idea what the status of the installer was. I could not continue to the next step, assuming there was a next step. I thought I could maybe set the task bar to hide and be able at least see a piece of what it was hiding, but no&#8230;. again the window to set the changes for the task bar was to large for the screen and the buttons at the bottom were cur off there as well.!!! &#8230;  &#8230;  Talk about frustrating&#8230; So what are my options now? Kill the installer, and try to muck with the X11 config.  No thanks&#8230; I&#8217;ve wasted enough time..</p>
<p><strong>Back to square one&#8230; reinstall.</strong></p>
<p>Round 2:</p>
<p>this time around, immediately after installing kubuntu, I made a backup of the original xorg.conf file before proceeding with the LMCE install. just like the first attempt, after opting to use the &#8220;proprietary&#8221; driver, my screen resolution was a mess. This time, however, I renamed the xorg.conf file to xorg.broke (just in case I needed to put it back later) and copied the original xorg.conf file back then restarted X and crossed my fingers. When my screen came back up, my resolution was back to where I wanted it.. Could this be a workaround..?</p>
<p>Keep Dreaming.. as soon as I got past the first step in the installer, It should have skipped the step asking what driver I wanted to use, but no!.. there it was, mocking me again and again.. If I tried to select the Open Source driver option, I had the same issues as before. I&#8217;d get a message stating that the driver was changed and the installer would exit. The problem is it never did. It was a dead end. The only way I was able to continue up to now was to chose to install the proprietary nVidia driver. The problem this time is that if I selected it, I got an error and the driver could not be installed. I&#8217;m guessing it has something to do with changing the xorg.conf files. So i did the next logical thing. I copied the xorg.conf file (remember I renamed it to xorg.broken) back to the X11 directory and restarted X figuring at the very least, I be stuck with a screen resolution of  640&#215;480 again. This is where things went from bad to worse&#8230; now I get a black screen with a white blinking cursor in the top left corner.</p>
<p><strong>Third Times A Charm</strong></p>
<p>After packing up for the night and getting a fresh start the next day, I decided to give one last go around. Starting from the beginning, I set the process in motion&#8230;.Again&#8230;  As we know, my biggest issue has been with the screen resolution and video drivers. When I get to the screen asking about what driver I wanted to use, I did the same dance again trying to select the Open Source nv drivers&#8230;And again&#8230;I got the same result&#8230; So I have to select the proprietary nVidia driver at which point the installer reboots my computer and I am left with the (by now) familiar screen resolution of 640 x 480 which we already know is to small to complete the installation (windows get cut off). Note that before starting the install I once again created a backup of the original xorg.conf  file just in case as xorg.orig. However, this time around, I tried something different. I opened a terminal sudo&#8217;ed the su and copied both the xorg.conf (LMCE version) and the xorg.orig (backup of the original version) to my desktop as xorg.lmce.txt and xorg.orig.txt files. I then opened the two txt files and copied the &#8220;Monitor&#8221; and &#8220;Screen&#8221; sections from the xorg.orig.txt and pasted them in place of the &#8220;Monitor&#8221; and &#8220;Screen&#8221; sections in the xorg.lmce.txt file. I then went back to my sudo&#8217;d terminal, and renamed the xorg.conf file to xorg.lmce.backup. Then I copied the xorg.lmce.txt file from my desktop, back to the X11 directory. I crossed my fingers and restarted X&#8230; I watched my screen go black and waited in anticipation as X restarted&#8230; tick, tock&#8230;tick,tock. Then the moment of truth (or partial truth). My desktop came back up at my preferred resolution&#8230; Whew!!! Almost home. Now to see if the settings were going pass the installer&#8230; I started the installer again and,,,and,,,and&#8230;.YES!! After answering the first screen, the installer skipped the screen asking which driver I wanted to install for my video card. From here, I continued through the installer, same process starting <a href="#continueInstaller">here</a> (but without all the issues).</p>
<p>The good news is that in the end I was able to complete the installation at which point the installer instructed me to reboot the computer to complete the process. Reluctantly, I rebooted and waited for the system to come back up.. And it did.. With a nice little launcher window providing options on how I wanted to start LMCE. This was another nugget that PlutoHome does not offer and I thought it was a pretty nice feature. Once LMCE starts up and finishes generating it&#8217;s screens, I begins walking you through the user, rooms, devices etc set up.. This is available only if you selected to run the core with a media director installed AKA a hybrid Core. Otherwise, to set up the system details, you would need to log into the Administration site. I personally prefer to set up the user details and rooms from the Administration site.</p>
<p>The next stage for me is to set up my zwave interface and include my zwave devices to be controlled from LMCE, And to set up a MD for audio streaming. I also have an FXO card to interface my PSTN line with internal VoIP phones using the built in Asterisk server.</p>
<p>One thing to keep in mind here is that this <strong>IS</strong> a beta release and some problems are expected. This was just my experience and others may have better results, depending on their system hardware, Karma, and the alignment of the moon. The other side of the coin is that this process was just getting the software installed&#8230; who knows what demons lie within&#8230; MMWAAAhahahahah&#8230; that may be a topic for another post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edwardstafford.com/2007/06/04/installing-linuxmce-11-beta-2-the-good-the-bad-and-the-mostly-ugly/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
