<?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; IT Administration</title>
	<atom:link href="http://www.edwardstafford.com/category/technology/it-administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.edwardstafford.com</link>
	<description>Technologist, Artist, and Geek</description>
	<lastBuildDate>Wed, 24 Nov 2010 00:37:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>VirtualBox and Bridged Networking on a Headless Ubuntu Server Host</title>
		<link>http://www.edwardstafford.com/2009/09/13/virtualbox-and-bridged-networking-on-a-headless-ubuntu-server-host/</link>
		<comments>http://www.edwardstafford.com/2009/09/13/virtualbox-and-bridged-networking-on-a-headless-ubuntu-server-host/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 00:06:04 +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>
		<category><![CDATA[virtualbox]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://www.edwardstafford.com/?p=195</guid>
		<description><![CDATA[In the previous VirtualBox post, I explained how (and how not) to set up bridged networking with LAN access to a Virtual Machine running on a Windows XP Host. Today I will explain how to do the same thing (without the How Not To part) using a virtual Machine running on a Headless Ubuntu Server. For this [...]]]></description>
			<content:encoded><![CDATA[<p>In the previous VirtualBox post, I explained <a href="http://www.edwardstafford.com/2009/09/13/virtualbox-3-0-4-and-bridged-networking-on-xp-host-with-gui/" target="_blank">how (and how not) to set up bridged networking with LAN access to a Virtual Machine</a> running on a Windows XP Host. Today I will explain how to do the same thing (without the How Not To part) using a virtual Machine running on a Headless Ubuntu Server.</p>
<p>For this example we can assume a few things:</p>
<ol>
<li>You have already set up a headless VirtualBox server</li>
<li>You have already created a Virtual Machine instance. For this sample, we will call the Virtual Machine &#8220;MyVM&#8221;.</li>
</ol>
<p>Believe it or not, setting up bridged networking to allow your VM to access your network is pretty simple and completed by issuing the following VBoxManage command in a terminal window.</p>
<p><strong>Command</strong>: VBoxManage modifyvm &#8220;MyVM&#8221; &#8211;nic1 bridged &#8211;nictype1 82540OEM &#8211;bridgeadapter eth0</p>
<p><strong>Break it down</strong></p>
<p>To understand a bit more about what&#8217;s happening here, let&#8217;s break down the command string from the beginning.</p>
<p><strong>VBoxManage </strong>- This is the command line utility used to access, control, configure and manage your VirtualBox Virtual Machines.</p>
<p><strong>modifyvm </strong>- This command allows you to make changes to the properties of a Virtual Machine, including the amount of memory assigned, nic interfaces, Virtual device boot sequence, number of CPUs, etc. It can be compared to the Settings dialog of the VirtualBox Graphical user Interface. The command line version, however, offers additional advanced options not found in the GUI.</p>
<p>Note: the VM must be registered within VirtualBox, but must not be running</p>
<p>&#8220;<strong>MyVM</strong>&#8221; &#8211; This is simply the name of the VM you want to modify.</p>
<p><strong>&#8211;nic1 bridged </strong>- The &#8211;nic1 parameter is used to set the type of networking your VM should use for each of the it&#8217;s virtual network cards. You can have more than one network card in use for a VM so the paramater is written as &#8211;nic<strong>X</strong> where <strong>X</strong> is the network card being targeted. Here, &#8220;&#8211;nic1&#8243; is the first network interface, &#8211;nic2 would be the second and so on. This portion of the command string is setting the type of networking on the first interface to &#8220;bridged&#8221;.</p>
<p><strong>&#8211;nictype1 82540OEM</strong> &#8211; The &#8211;nictype1 parameter allows you to specify which networking hardware VirtualBox should emulate for the VM&#8217;s virtual network cards. Here we set the networking hardware to emulate an Intel PRO/1000 MT Desktop card or 82540EM.</p>
<p>&#8211;nictype<strong>X</strong> follows the same sequence numbering and &#8211;nic<strong>X</strong> for multiple interfaces where &#8211;nictype1 is the first virtual card, &#8211;nictype2 is the second and so on.</p>
<p>Note:  The following is a list of the available nic hardware types and the associated ID recognized in VirtualBox.</p>
<ul>
<li>AMD PCNet PCI II = Am79C970A</li>
<li>AMD PCNet FAST III = Am79C973 (the default)</li>
<li>Intel PRO/1000 MT Desktop = 82540EM</li>
<li>Intel PRO/1000 T Server = 82543GC</li>
<li>Intel PRO/1000 MT Server = 82545EM</li>
<li>Paravirtualized network adapter = virtio-net</li>
</ul>
<p><strong>&#8211;bridgeadapter1 eth0</strong> &#8211; Finally we have the &#8211;bridgeadapter paramater. This is the only part of the command string that references a part of the VirtualBox host and tells your VM which physical host adapter to pass it&#8217;s traffic through.</p>
<p>Again, this uses the same sequence numbering as nicX and nictypeX for multiple interfaces. Here, we are setting the bridgeadapter for our first virtual network card to use the eth0  interface on the host. Note that is eth zero, as in the number and not the letter O.</p>
<p>And that&#8217;s it. Restart your VM and you should now have a working bridged network interface for you VM with full network and internet access.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edwardstafford.com/2009/09/13/virtualbox-and-bridged-networking-on-a-headless-ubuntu-server-host/feed/</wfw:commentRss>
		<slash:comments>2</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>16</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>3</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[Internet]]></category>
		<category><![CDATA[IT Administration]]></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>.Net Framework 2.0 installed, but ASP.NET web apps still use Version 1.1</title>
		<link>http://www.edwardstafford.com/2007/11/16/net-framework-20-installed-but-aspnet-web-apps-still-use-version-11/</link>
		<comments>http://www.edwardstafford.com/2007/11/16/net-framework-20-installed-but-aspnet-web-apps-still-use-version-11/#comments</comments>
		<pubDate>Sat, 17 Nov 2007 03:01:39 +0000</pubDate>
		<dc:creator>Ed Stafford</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.edwardstafford.com/blog/2007/11/16/net-framework-20-installed-but-aspnet-web-apps-still-use-version-11/</guid>
		<description><![CDATA[I recently tried to run some .Net 2.0 code on my testing web server (IIS 5). Now, my server has .Net Frameworks 1.1 and 2.0 installed, but when I tried to run some 2.0 code, I got a series of errors on the page with a small line at the bottom that said the page [...]]]></description>
			<content:encoded><![CDATA[<p>I recently tried to run some .Net 2.0 code on my testing web server (IIS 5). Now, my server has .Net Frameworks 1.1 and 2.0 installed, but when I tried to run some 2.0 code, I got a series of errors on the page with a small line at the bottom that said the page was executing under the .net 1.1 Framework.</p>
<p>I thought to myself, If the 2.0 Framework is installed, why won&#8217;t it just use that. So I open up the Internet Services Manager for IIS to see if there was anything there that could help me figure this little issue out. Well, as it turns out, you need to specify what framework a web uses to execute it&#8217;s code from within the IIS Manager console. These settings are found by right clicking on the target web site in the Manager console and selecting &#8220;properties&#8221;. </p>
<p>Now in the properties panel, select the ASP.Net tab. In this tab view you should see a form page containing a few fields and a couple buttons. The first field at the top of the form is labeled &#8220;ASP.Net Version&#8221; and has a drop down menu containing the available installed framework versions. Select the appropriate version you want to use to process asp.net pages for the web your working in and hit the &#8220;Apply&#8221; or &#8220;OK&#8221; button. That&#8217;s all there is to it! You can also specify different Frameworks for different webs that are hosted on the same server. One of the good things about the .Net Frameworks is that they install and run independently of each other.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edwardstafford.com/2007/11/16/net-framework-20-installed-but-aspnet-web-apps-still-use-version-11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>8 most dangerous consumer technologies</title>
		<link>http://www.edwardstafford.com/2007/11/12/8-most-dangerous-consumer-technologies/</link>
		<comments>http://www.edwardstafford.com/2007/11/12/8-most-dangerous-consumer-technologies/#comments</comments>
		<pubDate>Mon, 12 Nov 2007 16:37:18 +0000</pubDate>
		<dc:creator>Ed Stafford</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.edwardstafford.com/blog/2007/11/12/8-most-dangerous-consumer-technologies/</guid>
		<description><![CDATA[High-tech consumer products and services of all kinds are making their way into the workplace. They include everything from smart phones, voice-over-IP systems and flash memory sticks to virtual online worlds. And as people grow more accustomed to having their own personal technology at their beck and call -- and in fact can't imagine functioning without it -- the line between what they use for work and what they use for recreation is blurring.]]></description>
			<content:encoded><![CDATA[<p>ComputerWorld has <a href="http://www.computerworld.com/action/article.do?command=viewArticleBasic&#038;articleId=9034278&#038;pageNumber=1">a good article</a> of what they consider the 8 most dangerous consumer technologies.</p>
<p>This is a topic I revisit often and a lot of good points are brought up in this article.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edwardstafford.com/2007/11/12/8-most-dangerous-consumer-technologies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2007 Lessons.</title>
		<link>http://www.edwardstafford.com/2007/11/10/exchange-2007-lessons/</link>
		<comments>http://www.edwardstafford.com/2007/11/10/exchange-2007-lessons/#comments</comments>
		<pubDate>Sat, 10 Nov 2007 19:48:54 +0000</pubDate>
		<dc:creator>Ed Stafford</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.edwardstafford.com/blog/2007/11/10/exchange-2007-lessons/</guid>
		<description><![CDATA[Scott Lowe has a good article here describing some of the obsticles he ran into while installing Microsoft Exchange 2007 This will be helpful if I decide to stick with Exchange and upgrade to the 2007 release.]]></description>
			<content:encoded><![CDATA[<p>Scott Lowe has <a href="http://blog.scottlowe.org/2007/10/31/lessons-learned-about-exchange-server-2007/">a good article here</a> describing some of the obsticles he ran into while installing Microsoft Exchange 2007</p>
<p>This will be helpful if I decide to stick with Exchange and upgrade to the 2007 release.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edwardstafford.com/2007/11/10/exchange-2007-lessons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange Server Dilema</title>
		<link>http://www.edwardstafford.com/2007/11/09/exchange-server-dilema/</link>
		<comments>http://www.edwardstafford.com/2007/11/09/exchange-server-dilema/#comments</comments>
		<pubDate>Fri, 09 Nov 2007 19:15:30 +0000</pubDate>
		<dc:creator>Ed Stafford</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.edwardstafford.com/blog/?p=15</guid>
		<description><![CDATA[A Quick Rant: It is time to start planning for server upgrades at the company I work for. At the center of our network, we have an exchange 2000 server loaded with public folders. Public folders are crucial to our daily work and are used to organize all current publicity tours. Unfortunately, Microsoft has planned [...]]]></description>
			<content:encoded><![CDATA[<p><strong>A Quick Rant:</strong></p>
<p>It is time to start planning for server upgrades at the company I work for. At the center of our network, we have an exchange 2000 server loaded with public folders. Public folders are crucial to our daily work and are used to organize all current publicity tours.</p>
<p>Unfortunately, Microsoft has planned to discontinue support of public folders after the Exchange 2007 release. From what I understand, they are available in the new release (2007), but not by default and <strong>will not</strong> be available in future releases. The system requirements also up the ante for an exchange upgrade, and our current hardware will need to be upgraded as well&#8230;which brings me to my dilemma.</p>
<p>I am leaning toward a recommendation for upgrading to Exchange 2007 and migrating to new server hardware required as well, &#8230;OR&#8230; do I consider the alternatives?</p>
<p>1)  I have done some research on Exchange replacements and it seems that Scalix or Zimbra are as close as they come and they actually look pretty impressive. These run on linux based platforms and would run on existing hardware with public folder support. But this doesn&#8217;t come without it&#8217;s potential pitfalls.</p>
<p>The transition from Windows 2000 &#8211; Active Directory &#8211; Exchange combo to a Linux &#8211; LDAP &#8211; Scalix/Zimbra is not exactly an easy way out.</p>
<p>How does LDAP compare to AD for use with user/group authentication?<br />
Can user and group accounts be transfered from AD to LDAP and maintain network permissions?<br />
Can users be managed in the same way using LDAP as they are in AD?<br />
Can I use Scalix/Zimbra with AD and forget the idea of needing LDAP? (after all, AD is pretty much just a modified LDAP).</p>
<p>2)  Do I recommend the Exchange upgrade and try to find public folder replacement or develop a custom in-house replacement.</p>
<p>I like the idea of breaking the windows licensing trap and the potential savings, but at the same time, I am cautious about the support available with the alternatives, not to mention changes required make such a transition. I tend to think that the the second option is likely the easiest and more hassle-free of the two, however, I have yet to come across anything that works like public folders in a stand alone application.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edwardstafford.com/2007/11/09/exchange-server-dilema/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

