<?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; Ubuntu</title>
	<atom:link href="http://www.edwardstafford.com/tag/ubuntu/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>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>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>
	</channel>
</rss>

