<?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; Open Source</title>
	<atom:link href="http://www.edwardstafford.com/category/technology/open-source/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>How-To: Using VBoxManage to Delete a Virtual Machine from VirtualBox</title>
		<link>http://www.edwardstafford.com/2009/11/08/how-to-using-vboxmanage-to-delete-a-virtual-machine-from-virtualbox/</link>
		<comments>http://www.edwardstafford.com/2009/11/08/how-to-using-vboxmanage-to-delete-a-virtual-machine-from-virtualbox/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 19:48:43 +0000</pubDate>
		<dc:creator>Ed Stafford</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[VBoxManage]]></category>
		<category><![CDATA[Virtual Machine]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://www.edwardstafford.com/?p=206</guid>
		<description><![CDATA[One common problem I see from people learning to manage Virtual Machines within VirtualBox using the VBoxManager command line is the error: Cannot unregister the machine &#60;Virtual-Machine-Name&#62;  because it has 1 hard disks attached Before a VM can be unregistered or deleted, all disks that have been &#8220;attached&#8221; need to first be disassociated from the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-thumbnail wp-image-224" title="delete" src="http://www.edwardstafford.com/wp-content/uploads/delete-150x150.jpg" alt="delete" width="150" height="150" />One common problem I see from people learning to manage Virtual Machines within VirtualBox using the VBoxManager command line is the error:</p>
<blockquote style="margin-left:160px"><p>Cannot unregister the machine &lt;Virtual-Machine-Name&gt;  because it has 1 hard disks attached</p></blockquote>
<p>Before a VM can be unregistered or deleted, all disks that have been &#8220;attached&#8221; need to first be disassociated from the VM. For this example, I&#8217;m using a virtual machine that I have set up and named &#8220;<strong>VNAS</strong>&#8221; that was used to test an OpenFiler NAS installation (which, by the way, worked great). Now that testing is complete, I am ready to remove it.</p>
<p>The removal for a standard VM install can be completed in a short list of steps.</p>
<p><strong>Step one</strong>: Get the name or UUID and details of your VM</p>
<blockquote><p><strong>VBoxManage list vms</strong></p>
<p>VirtualBox Command Line Management Interface Version 3.0.8<br />
(C) 2005-2009 Sun Microsystems, Inc.<br />
All rights reserved.</p>
<p>&#8220;VNAS&#8221; {8a48759d-4e6d-473f-ab0f-8ff59aa727eb}</p></blockquote>
<p>That command will return the names of all registered VMs and their UUID. Make sure you get the correct name or UUID for the VM you will be modifying.</p>
<p><strong>Step two</strong>: Get the disc information for your VM</p>
<p>There are two methods you can use to the get the information for each virtual disk registered to a virtual machine. The first is to list the VM info for a specified VM which includes the Virtual Disks that are in use by it.</p>
<p>VBoxManage showvminfo &lt;Virtual Machine Name or UUID&gt;</p>
<blockquote><p><strong>VBoxManage showvminfo VNAS</strong><br />
VirtualBox Command Line Management Interface Version 3.0.8<br />
(C) 2005-2009 Sun Microsystems, Inc.<br />
All rights reserved.</p>
<p>Name:            VNAS<br />
Guest OS:        Other/Unknown<br />
UUID:            8a48759d-4e6d-473f-ab0f-8ff59aa727eb<br />
Config file:     /secondary/.Virtual/machines/VNAS/VNAS.xml<br />
Memory size:     512MB<br />
VRAM size:       8MB<br />
Number of CPUs:  1<br />
Boot menu mode:  message and menu<br />
Boot Device (1): Floppy<br />
Boot Device (2): DVD<br />
Boot Device (3): HardDisk<br />
Boot Device (4): Not Assigned<br />
ACPI:            on<br />
IOAPIC:          off<br />
PAE:             on<br />
&#8230;<br />
<strong> Primary master:  /secondary/.Virtual/vdisks/OFInstallDisk (UUID: xxxxxxx)<br />
Primary slave:   /secondary/.Virtual/vdisks/VNASStore1 (UUID: xxxxxxx)<br />
Secondary slave: /secondary/.Virtual/vdisks/VNASStore2 (UUID: xxxxxxx)</strong><br />
&#8230;</p></blockquote>
<p>In this example you can see I have 3 disks registered with the vm.</p>
<ul>
<li>Primary Master (<strong>hda</strong>)</li>
<li>Primary Slave (<strong>hdb</strong>)</li>
<li>Secondary Slave (<strong>hdd</strong>)</li>
</ul>
<blockquote><p>NOTE: You might be asking, Why does the sequence jump from hdb to hdd? What happened to hdc? The answer is, hdc is reserved for CD/DVD mounting, so you can&#8217;t add a virtual disk there.</p></blockquote>
<p>The second, alternative method is to use the the VBoxManage command &#8220;list&#8221; with the &#8220;hdds&#8221; option to list all the Virtual Disks in the system. This will display a list of All the disks you have created and registered for ALL VMs. Information for each Virtual Disk and the VM it is registered to is displayed. Here you can see the three disks registered with my VNAS VM indicated by the &#8220;Usage&#8221; lines.</p>
<blockquote><p><strong>VBoxManage list hdds</strong></p>
<p>UUID:         eebbb4c7-c539-4da4-b8ab-e5777b32520b<br />
Format:       VDI<br />
Location:     /secondary/.Virtual/vdisks/VNASStore1<br />
Accessible:   yes<br />
Usage:        <strong>VNAS </strong>(UUID: 8a48759d-4e6d-473f-ab0f-8ff59aa727eb)</p>
<p>UUID:         9f238d31-f794-420f-83a7-ccf811d52244<br />
Format:       VDI<br />
Location:     /secondary/.Virtual/vdisks/VNASStore2<br />
Accessible:   yes<br />
Usage:        <strong>VNAS </strong>(UUID: 8a48759d-4e6d-473f-ab0f-8ff59aa727eb)</p>
<p>UUID:         2ce976c9-0a37-49c1-8d34-3962c563a256<br />
Format:       VDI<br />
Location:     /secondary/.Virtual/vdisks/OFInstallDisk<br />
Accessible:   yes<br />
Usage:        <strong>VNAS </strong>(UUID: 8a48759d-4e6d-473f-ab0f-8ff59aa727eb)</p></blockquote>
<p>In my opinion, method one the easiest quickest way to see what Virtual disks are assigned to a specific VM.</p>
<p><strong>Step Three</strong>: Disassociate the Virtual Disk[s]</p>
<p>VBoxManage modifyvm &lt;Virtual Machine Name or UUID&gt; &#8211;<strong>hda</strong> none</p>
<blockquote><p><strong>VBoxManage modifyvm VNAS &#8211;hda none </strong></p></blockquote>
<p>If you have more than one disk registered with a vm as I do here, you&#8217;ll also need to disassociate those as well.</p>
<blockquote><p>VBoxManage modifyvm VNAS &#8211;<strong>hdb </strong>none</p>
<p>VBoxManage modifyvm VNAS &#8211;<strong>hdd </strong>none</p></blockquote>
<p><strong>Step Four</strong>: Unregister and delete the VM</p>
<p>VBoxManage unregistervm &lt;Virtual Machine Name or UUID&gt; &#8211;delete</p>
<blockquote><p><strong>VBoxManage unregistervm VNAS &#8211;delete</strong></p></blockquote>
<p><strong>Step Five</strong>: Confirm</p>
<blockquote><p><strong>VBoxManage list vms</strong></p>
<p>VirtualBox Command Line Management Interface Version 3.0.8<br />
(C) 2005-2009 Sun Microsystems, Inc.<br />
All rights reserved.</p>
<p>[NOTE: there are no VMs listed]</p></blockquote>
<p>This is the same command that was executed in step one. After running this command again you should no longer see your Virtual Machine listed.</p>
<p>Note: This process will only remove your VM from VirtualBox. It will not remove/delete the actual virtual disk file (.vdi). You can delete that manually, or save it to use with another virtual machine instance.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edwardstafford.com/2009/11/08/how-to-using-vboxmanage-to-delete-a-virtual-machine-from-virtualbox/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>VirtualBox 3.0.4 and Bridged Networking on XP Host with GUI</title>
		<link>http://www.edwardstafford.com/2009/09/13/virtualbox-3-0-4-and-bridged-networking-on-xp-host-with-gui/</link>
		<comments>http://www.edwardstafford.com/2009/09/13/virtualbox-3-0-4-and-bridged-networking-on-xp-host-with-gui/#comments</comments>
		<pubDate>Sun, 13 Sep 2009 23:09:11 +0000</pubDate>
		<dc:creator>Ed Stafford</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[virtualbox]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://www.edwardstafford.com/?p=130</guid>
		<description><![CDATA[Editors Note: While I was writing this, the solution to my problem struck me unexpectedly. Click here to skip the drama and jump right ot the solution. Originally, this article started out as a complete rant and cry for help. I started to write about the failure and frustration of the installation and network configuration [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_182" class="wp-caption alignleft" style="width: 250px"><img class="size-full wp-image-182" title="Queensboro Bridge" src="http://www.edwardstafford.com/wp-content/uploads/152454397_2adf0b67f5_m.jpg" alt="Photo: Wally Gobetz" width="240" height="160" /><p class="wp-caption-text">Photo: Wally Gobetz</p></div>
<h2>Editors Note:</h2>
<p>While I was writing this, the solution to my problem struck me unexpectedly. <a href="http://www.edwardstafford.com/2009/09/13/virtualbox-3-0-4-and-bridged-networking-on-xp-host-with-gui/#solution">Click here to skip the drama and jump right ot the solution.</a></p>
<p>Originally, this article started out as a complete rant and cry for help. I started to write about the failure and frustration of the installation and network configuration of a virtual machine in VirtualBox 3.0.4.  It just would not work. The problem, as it turned out, was that I was over thinking the process. BUT, that is not completely my own fault.</p>
<p><span id="more-130"></span></p>
<p>See, here&#8217;s the problem. Before starting anything new, I read, research, and read some more to get as much of an understanding as I can on the subject. In this case, the official documentation of VirtualBox 3.0.4 in my opinion is incomplete and did not include some of the specific details that would have made this setup much less painful. Combine that with the piles of information regarding networking configuration in previous versions, and it&#8217;s easy to get some wires crossed. Networking in version 3.0.4 was largely improved and simplified, meaning a lot of the information available online, in forums, on blogs, etc, is irrelevant to the new version and the current documentation does not do a great job of explaining the changes and how to set up networking, specifically bridging, in the new version.</p>
<p>In my research and troubleshooting I&#8217;ve seen many others who describe the same problems I had while trying to set this up under version 3.0.4, so in the spirit of passing on my experience and what I learned from it, I am going to keep my original writing here so you can see what I was doing and why it was wrong. If you want to skip to the solution, please <a href="#solution">click here.</a></p>
<div style="padding: 15px; border: 1px solid black; background-color: #dcdcdc; margin-bottom: 20px;">
<h2>The Original Post (the wrong way)</h2>
<p>Ok, here it is. Frustration has finally gotten the best of me and I have no  idea where to go from here. What am I talking about, you ask? I&#8217;m talking about setting up a Virtual Machine (VM) using VirtualBox 3.0.4 on a Windows XP Host.</p>
<p>Let&#8217;s take a look at what has brought me to this state of utter frustration.</p>
<p>A while back, I downloaded and installed VirtualBox to set up VMs to test and play around with some different Operating Systems and Software. To be honest, it works Great for that purpose. But now, I want to take my virtualization experience to the next level and have been thinking about installing FreeNAS in a VM to serve as a NAS solution and making it available to all PCs  across a production LAN.</p>
<h2>The Parts:</h2>
<p>I have a Windows XP sp2 machine sitting at home that is not getting much use that would be perfect for trying this out.</p>
<h3>Specs:</h3>
<ul>
<li>Windows XP sp2</li>
<li>4 Gigs of RAM</li>
<li>500 Gig HD</li>
<li>Intel Quad Core Processor</li>
<li>Single on-board G-bit network adapter.</li>
</ul>
<p>I know there is a bit to cover and become familiar with when setting out to connect a Local LAN to a VM in the same address space, so I did my research first.</p>
<p>I downloaded and printed the VirtualBox user manual. Reading through it I highlighting the parts that I thought were important or significant. The documentation seems a little incomplete and is NOT all that well written for someone just getting started.  There are no guides or instruction that specifically marks the steps for setting up the different types of network options. So I figure, fine! After reading the manual, I should have some idea of the basic requirements. I can just do a search on the net and piece together the rest of the information.</p>
<p>That sounded like a good idea a first, but in practice..not so much. The web served up a LOT of information related to VirtualBox network bridging and configuration. The problem is that a lot of it was contradictory and there is almost no information specific to version 3.0.4. I read through forums, blogs, papers and anything else that looks like it might help. In the end, nothing was extraordinarily helpful.</p>
<h2>Host OS (Windows XP)</h2>
<p><strong>Physical Network Adapter</strong>: Local Area Connection (2)  NVidia NForce Network Controller (Bridged /Connected)</p>
<p><strong>Virtual Host Adapter</strong>: VirtualBox Host-Only Network</p>
<p><strong>Bridged Adapter (Local Area Connection (2) + VirtualBox Host-Only Network)</strong>:  Network Bridge (Network Bridge)</p>
<p>Note that the Host adapters were set to <em>Compatible Mode</em> as recommended by several forum posts and blogs.</p>
<div id="attachment_131" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-131" title="virtualboxinstallseries-11" src="http://www.edwardstafford.com/wp-content/uploads/virtualboxinstallseries-11-300x45.png" alt="Screen netsh bridge compatmode" width="300" height="45" /><p class="wp-caption-text">Screen netsh bridge compatmode</p></div>
<h2>Guest OS (FreeNAS/ Linux Based)</h2>
<p>Network settings for the guest were set up using</p>
<p><strong>Adapter Type</strong>: IntelPRO/1000 MT Desktop. This was selected based on recommendations that appeared repeatedly in forums and blogs.</p>
<p><strong>Attached to</strong>: Bridged Adapter</p>
<p><strong>Name</strong>: MAC Bridge Miniport &#8211; This was the only selection available in the menu.</p>
<div id="attachment_133" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-133" title="virtualboxinstallseries-8" src="http://www.edwardstafford.com/wp-content/uploads/virtualboxinstallseries-8-300x266.png" alt="VM Network Configuration" width="300" height="266" /><p class="wp-caption-text">VM Network Configuration</p></div>
<p>Installing the Guest</p>
<p>During the installation of  FreeNAS, I used static IP information</p>
<ul>
<li>IP Address: 192.168.15.115</li>
<li>Netmask: 255.255.255.0</li>
<li>Gateway: 192.168.15.3 (LAN Router private IP)</li>
<li>DNS Server: ISP DNS IP</li>
</ul>
</div>
<h1>Errrrrrttttttt&#8230;.</h1>
<p>(that&#8217;s my best screatching to a stop text effect).</p>
<p>It&#8217;s amazing how when you step away from a problem and look at it from another angle, how easy the solution comes to you. By writing out my thoughts here and stepping through all the little details, something hit me and it is THE key piece of information that is missing between setting up older versions of VirtualBox and Version 3.0.4.</p>
<p>There were a number of references that said networking and bridging in the new version was completely refigured and the process was very simple. Basically, just create a bridge &#8211; But no details were ever provided on what that meant exactly. Based on all the &#8220;old&#8221; information and lack of new detailed explainations, I figured it meant to create bridged connections on the host and use that as the Guest bridged adapter. What if the solution is even simpler  than that. It&#8217;s worth a try&#8230;Soooo</p>
<p>I went back to my Host settings (Windows XP Network settings) and tore down the bridge and restored my original adapters and IP information. Now I only have<strong> Local Area Connection (2)</strong> and <strong>VirtualBox Host-Only Network </strong>shown. From here I went back to the VirtualMachine Network settings and listed in the &#8220;<strong>Name</strong>&#8221; menu instead of  &#8220;<strong>MAC Bridge Miniport</strong>&#8221; I now had the two Host adapters listed. (Local Area Connection (2)  and VirtualBox Host-Only Network).</p>
<p>I selected the physical Host Adapter (Local Area Connection (2)), restarted the VM and to my amazement.. It all worked.</p>
<h1><a name="solution"></a> (the right way)</h1>
<p>In the end, this is how you set up bridged networking between Virtual Machines and the LAN with VirtualBox 3.0.4</p>
<h3>Windows XP Hosted VirtualBox &#8211; using the GUI:</h3>
<h4>Host Network Settings:</h4>
<p>This part is easy. <strong>Do nothing</strong>. That&#8217;s right, <span style="text-decoration: underline;">nothing!</span> No changes are necessary for the host&#8217;s interfaces or network settings (as long as you already have a working interface). <span style="text-decoration: underline;"><strong> </strong></span></p>
<p><span style="text-decoration: underline;"><strong>DO NOT</strong></span> create or bridge any interfaces on the host system. Leave the network interfaces on your host OS (physical) alone.</p>
<h4>Guest Network Settings:</h4>
<p>Start VirtualBox and highlight the Virtual Machine you want to modify from the list on the left. Once highlighted, select &#8220;network&#8221; under the &#8220;details&#8221; tab on the right.</p>
<p style="text-align: center;">
<div id="attachment_175" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-175" title="VirtualBox_VM_select" src="http://www.edwardstafford.com/wp-content/uploads/VirtualBox_VM_select-300x275.png" alt="Select VM" width="300" height="275" /><p class="wp-caption-text">Select VM</p></div>
<p>You should now see a window displaying the Network settings for your VM.  From here, the Adapter 1 tab and make sure the &#8220;Enable Network adapter&#8221; checkbox is selected.</p>
<p><img class="aligncenter size-medium wp-image-174" title="Virtual_FreeNAS_Network_settings_1" src="http://www.edwardstafford.com/wp-content/uploads/Virtual_FreeNAS_Network_settings_1-300x265.png" alt="Virtual_FreeNAS_Network_settings_1" width="300" height="265" /></p>
<p>Next to &#8220;Adapter Type&#8221; select &#8220;Intel Pro/1000 MT Desktop&#8221; or &#8220;Intel Pro/1000 MT Server&#8221; from the menu. These have a higher rate of success when used in this way. I had some trouble with the PCnet II and PCnet III adapter Types.</p>
<div id="attachment_177" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-177" title="0055_2009" src="http://www.edwardstafford.com/wp-content/uploads/0055_2009-300x193.png" alt="Select Adapter Type" width="300" height="193" /><p class="wp-caption-text">Select Adapter Type</p></div>
<p>Next to &#8220;Attached to&#8221; select &#8220;Bridged Adapter&#8221; from the menu.</p>
<div id="attachment_178" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-178" title="0056_2009" src="http://www.edwardstafford.com/wp-content/uploads/0056_2009-300x196.png" alt="Select Bridged Adapter" width="300" height="196" /><p class="wp-caption-text">Select Bridged Adapter</p></div>
<p>Finally, next to &#8220;Name&#8221; select your Host system&#8217;s network interface from the menu. In this case, my host system interface is the on-board &#8220;NVIDIA nForce Networking Controller&#8221;. Your options will likely be different based on the interface installed of in use.</p>
<div id="attachment_176" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-176" title="Host Interface Selection" src="http://www.edwardstafford.com/wp-content/uploads/0057_2009-300x196.png" alt="Select Host System interface to be bridged." width="300" height="196" /><p class="wp-caption-text">Select Host System interface to be bridged.</p></div>
<p>That is all there is to it. Just hit the &#8220;OK&#8221; button in the main settings window and start your VM. As long as the Guest OS on your VM hs been configured with the correct IP/network information for your LAN, you should now be able to ping and access it from any PC on your network.</p>
<h2>Conclusion: So simple, even a Caveman can do it!</h2>
<p>Initial frustration aside, in the end, I really have to give props to Sun/VirtualBox for actually making this incredibly simple to set up. On the other hand, they lose points for failing to make this clear in the documentation.</p>
<h2>Final Note:</h2>
<p>Since posting this, VirtualBox 3.0.6 has been released. Considering how easy this is to set up in 3.0.4, I can only guess that it is just as simple in 3.0.6. After all, it would not make much sense to make any changes that would make the process more difficult.</p>
<p>I hope you find this information helpful or useful and hopefully can use it to avoid the mistakes I made. Have a question, suggestion, better way of doing this or just want to leave some feedback? Please leave a comment.</p>
<h2>Updates:</h2>
<p><strong>VirtualBox 3.0.6</strong> &#8211; Confirmed / Working<br />
<strong>VirtualBox 3.1.8</strong> &#8211; Confirmed / Working</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edwardstafford.com/2009/09/13/virtualbox-3-0-4-and-bridged-networking-on-xp-host-with-gui/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<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>Another example why Open Source is a good thing! (MySql + SharpDevelop)</title>
		<link>http://www.edwardstafford.com/2007/11/16/another-example-why-open-source-is-a-good-thing-mysql-sharpdevelop/</link>
		<comments>http://www.edwardstafford.com/2007/11/16/another-example-why-open-source-is-a-good-thing-mysql-sharpdevelop/#comments</comments>
		<pubDate>Sat, 17 Nov 2007 03:48:16 +0000</pubDate>
		<dc:creator>Ed Stafford</dc:creator>
				<category><![CDATA[Code Mode]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.edwardstafford.com/blog/2007/11/16/another-example-why-open-source-is-a-good-thing-mysql-sharpdevelop/</guid>
		<description><![CDATA[I have some new additions and apps that I wanted to integrate into our company web (the company I work for) but this required upgrading from ASP.Net 1.1 to ASP.Net 2.0. Seems simple enough, right? I wish..!! The site uses the MySql .NET Connector (a native ADO connector for .Net) available from MySQL AB. This [...]]]></description>
			<content:encoded><![CDATA[<p>I have some new additions and apps that I wanted to integrate into our company web (the company I work for) but this required upgrading from ASP.Net 1.1 to ASP.Net 2.0. Seems simple enough, right? I wish..!!</p>
<p>The site uses the MySql .NET Connector (a native ADO connector for .Net) available from MySQL AB. This worked flawlessly under the .Net 1.1 framework. I set up the 2.0 framework on our dev server and started testing the site localy to make sure all existing features and functions would still work after the switch. I am happy to announce that everything was working as expected (on the dev server). Now it was time to request the upgrade through the host. After receiving the confirmation that the request was completed, I open a browser and hit the company web. Warning Warning Error Error Error. Oh no!! What happened?</p>
<p>With the release of .NET 2.0, Microsoft included a new security model using a greater level of restriction. The host that is hosting our web makes use of these restriction levels and as it turns out, the .Net connector that we were using violated some .Net security and triggered a Security Exception.</p>
<p><code>Exception Details: System.Security.SecurityException: That assembly does not allow partially trusted callers.</code></p>
<p>I have to give Props to Microsoft for making the problem easy to identify. Looks like all I need to do is allow partially trusted calls from the MySql connector.</p>
<p>Here is where the Beauty of Open Source Software comes in.<br />
<span id="more-20"></span><br />
<a href="http://www.mysql.com/">MySql</a> creates open source database software and tools and freely makes their source code available to anyone who wants it. That means I can take the source, make the changes I need and recompile the binaries again. </p>
<p>But wait! How do I access the source written in C# and recompile the binaries. Don&#8217;t I need something like Visual Studio from Microsoft. Thats like $1,024.99 (quoted from Amazon). </p>
<p>Sure you could drop a grand for VS Pro, or you could download <a href="http://www.icsharpcode.net/OpenSource/SD/">SharpDevelop</a>. <a href="http://www.icsharpcode.net/OpenSource/SD/">SharpDevelop</a> is the IDE equivelant to Visual Studio for C# development -and- did I mention it is FREE!! Yup that&#8217;s right Free Open Source Software (FOSS). I&#8217;ve been using SharpDevelop for a while now, and wouldn&#8217;t think of giving it up.</p>
<p>I fired up SharpDevelop, made the changes to the MySql .Net connector source necessary to allow it to operate within the restricted security settings of the host&#8217;s servers, and recompiled the binaries. As soon as I uploaded my newly compiled MySql Connector to the web server, I opened up my browser of choice and hit the company web site. </p>
<p>SUCCESS!!! All is good in the world again.</p>
<p>So how did using open source provide the advantage here?<br />
1. if the MySql connector were closed, meaning I was not able to alter the code, I would have had to contact the company behind the software and try to get them to work with me towards a solution. The truth is, that is a long process and would probably require that I wait for them to release a new version of their closed proprietary product. With an inoperable web site, that was not an option.</p>
<p>2. Having access to FOSS (Free Open source Software) like SharpDevelop allowed me to do the same thing that other high priced software does, but for a lot less.</p>
<p>In the End, I was able to resolve a high priority issue quickly and at a low cost.</p>
<p>In all fairness, Microsoft does provide a -freely available- (for the beginner) version of Visual Studio IDEs know as Visual Studio Express. However, these are not Open Source and are very limited not only in features, but also in licensing which states what you are allowed to do with the projects you create.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edwardstafford.com/2007/11/16/another-example-why-open-source-is-a-good-thing-mysql-sharpdevelop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plutohome, Asterisk and a X100P FXO Card</title>
		<link>http://www.edwardstafford.com/2007/10/23/plutohome-asterisk-and-a-x100p-fxo-card/</link>
		<comments>http://www.edwardstafford.com/2007/10/23/plutohome-asterisk-and-a-x100p-fxo-card/#comments</comments>
		<pubDate>Tue, 23 Oct 2007 16:04:18 +0000</pubDate>
		<dc:creator>Ed Stafford</dc:creator>
				<category><![CDATA[Home Automation]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.edwardstafford.com/blog/?p=14</guid>
		<description><![CDATA[So I have been working on setting up a fully integrated home automation system available from PlutoHome.com. If you are not aware, PlutoHome is home automation system available to the open source community with features to satisfy everyone from simple home controls, to advanced voip and media integration. My latest venture into setting up a [...]]]></description>
			<content:encoded><![CDATA[<p>So I have been working on setting up a fully integrated home automation system available from PlutoHome.com. If you are not aware, PlutoHome is home automation system available to the open source community with features to satisfy everyone from simple home controls, to advanced voip and media integration.</p>
<p>My latest venture into setting up a complete automation system is to integrate my voice network with the built-in Asterisk server installed with PlutoHome. The first step was to set up and configure two GrandStream Budget Tone 200 sip phones. Pluto&#8217;s plug and play detection picked up the phones as soon as I connected them to the network and installed the necessary software needed to work within the system. Some quick additional settings within each phone and I was able to make calls over my internal network from one phone to another.</p>
<p>The next step was to set up in and outbound calling from the PSTN.<br />
I installed a X100P FXO card from x100p.com and this is where the trouble started.</p>
<p>After installing the card into an available PCI slot, my PlutoHome system did not seem to detect it even after rebooting. I tried some of the common commands from a terminal window, but had no success.</p>
<p>The solution it turns out was to compile and install the Zaptel drivers available from Digium. For what ever reason, PlutoHome does not include (at least as far as I could see) full zaptel support.</p>
<p>After installing and configuring zaptel, I was able set up inbound and outbound calling over the PSTN from my PlutoHome system.</p>
<p>In a later post, I will describe the process I used to install the zaptel drivers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edwardstafford.com/2007/10/23/plutohome-asterisk-and-a-x100p-fxo-card/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>
