<?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</title>
	<atom:link href="http://www.edwardstafford.com/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>Microsoft Security Intelligence Report Volume 8</title>
		<link>http://www.edwardstafford.com/2010/04/29/microsoft-security-intelligence-report-volume-8/</link>
		<comments>http://www.edwardstafford.com/2010/04/29/microsoft-security-intelligence-report-volume-8/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 15:20:49 +0000</pubDate>
		<dc:creator>Ed Stafford</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.edwardstafford.com/2010/04/29/microsoft-security-intelligence-report-volume-8/</guid>
		<description><![CDATA[The Microsoft Security Intelligence Report (SIR) is a comprehensive and wide-ranging study of the evolving threat landscape, and addresses such topics as software vulnerability disclosures and exploits, malicious software (malware), and potentially unwanted software. Volume 8 of the Security Intelligence Report (SIR v8) covers July 2009 through December 2009. It includes data derived from more [...]]]></description>
			<content:encoded><![CDATA[<div class='posterous_autopost'>
<div class="posterous_bookmarklet_entry">
<p>The Microsoft Security Intelligence Report (SIR) is a comprehensive and wide-ranging study of the evolving threat landscape, and addresses such topics as software vulnerability disclosures and exploits, malicious software (malware), and potentially unwanted software.</p>
<p>Volume 8 of the Security Intelligence Report (SIR v8) covers July 2009 through December 2009. It includes data derived from more than 500 million computers worldwide, each running Windows. It also draws data from some of the busiest services on the Internet, such as Windows Live Hotmail and Bing.</p>
<p>In this volume, the analysis is from the perspective of the three Microsoft Trustworthy Computing Security Centers in addition to several Microsoft product groups.</p>
<p><img src="http://posterous.com/getfile/files.posterous.com/edstafford/bClIeGpzgowfpiEFxvgtqyetqkAdBGjsdEgjdbJmyJdfzdlvkfnABHngipAp/media_httpwwwmicrosof_amfky.png.scaled500.png" width="472" height="259"/> </p>
<div class="posterous_quote_citation">via <a href="http://www.microsoft.com/security/about/sir.aspx">microsoft.com</a></div>
<p>Microsoft has released volume 8 of their Security Intelligence Report. 248 pages of in-depth information about malware, spam, malicious Web sites, vulnerabilities, and exploits with Mitigation Strategy, advice and best practices from Microsoft&#8217;s own IT organization. Should make for some good weekend reading.</p>
</div>
<p style="font-size: 10px;">  <a href="http://posterous.com">Posted via web</a>   from <a href="http://edstafford.posterous.com/microsoft-security-intelligence-report-volume-0">Ed&#8217;s Posterous</a>  </p>
</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.edwardstafford.com/2010/04/29/microsoft-security-intelligence-report-volume-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Technology and IT Training on a Budget.</title>
		<link>http://www.edwardstafford.com/2010/04/20/technology-and-it-training-on-a-budget/</link>
		<comments>http://www.edwardstafford.com/2010/04/20/technology-and-it-training-on-a-budget/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 14:00:26 +0000</pubDate>
		<dc:creator>Ed Stafford</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[training]]></category>

		<guid isPermaLink="false">http://www.edwardstafford.com/?p=310</guid>
		<description><![CDATA[Keeping your skills sharp with free online training and educational resources. In my opinion, one of the biggest challenges faced by IT and Technology Professionals is keeping up with technology. It&#8217;s also one of the most important for any Technology Pro that plans to stay relevant and remain competitive in the field. This is something I can [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Keeping your skills sharp with free online training and educational resources.</strong></p>
<div id="attachment_314" class="wp-caption alignleft" style="width: 250px"><a href="http://www.edwardstafford.com/wp-content/uploads/90859387_c040977a96_m.jpg"><img class="size-full wp-image-314 " title="School Bus" src="http://www.edwardstafford.com/wp-content/uploads/90859387_c040977a96_m.jpg" alt="School Bus" width="240" height="180" /></a><p class="wp-caption-text">Photo Credit: iboy_daniel</p></div>
<p>In my opinion, one of the biggest challenges faced by IT and Technology Professionals is keeping up with technology. It&#8217;s also one of the most important for any Technology Pro that plans to stay relevant and remain competitive in the field. This is something I can speak on from experience. Technology is in a constant state of change, and everything you&#8217;ve mastered today might be less relevant in 6 months or a year. It is important for Tech Pros not only to keep up on the latest technology, but also to revisit and brush up on some of the standard technologies as well.</p>
<p>Add this constant rate of change to the state of the economy, reduced or even no training budgets, or worse, an unemployed IT worker that needs to pick up a new skill set to compete in a scarce job market and you may start to feel a little overwhelmed.</p>
<p>Working for a company that has so far provided no formal training assistance, I have relied on other methods and resources to educate myself and stay focused on tech. The web is full of training, course materials, ebooks and other self-study and educational resources, all available for free. I thought I&#8217;d share a few of my favorite ones with you here.</p>
<h2>HP Learning Center</h2>
<p><a href="http://h30187.www3.hp.com/index.jsp" target="_blank">The HP Learning Center</a> is full of resources and instruction for a range of IT levels and functions from <a href="http://h30187.www3.hp.com/campus/p/campusId/11260/Business_basics.htm" target="_blank">Business and Business Process</a>, to <a href="http://h30187.www3.hp.com/campus/p/campusId/11240/PC_security_and_maintenance_.htm" target="_blank">PC Maintenance and Security</a>, to courses specifically targeting the <a href="http://h30187.www3.hp.com/campus/p/campusId/10163/IT_professionals.htm" target="_blank">IT Professional</a>.</p>
<h2>MIT Open Courseware</h2>
<p><a href="http://ocw.mit.edu/OcwWeb/web/courses/courses/index.htm" target="_blank">MITOpenCourseware</a> is provided by Massachusetts Institute of Technology and is loaded with free courses and materials. In addition to <a href="http://ocw.mit.edu/OcwWeb/web/courses/courses/index.htm#ScienceTechnologyandSociety" target="_blank">Technology and computer Sciences</a>, you can find courses and materials  covering other subjects including Architecture, Biology, Engineering, Economics, Physics, and much more.</p>
<p>Some of the courses date back a few years, but over all the information and materials are still relevant.</p>
<h2>Linux Online</h2>
<p><a href="http://www.linux.org/lessons/">http://www.linux.org/lessons/</a></p>
<p>Linux Online provides free online Linux training courses broken down into Beginner, Intermediate and Advanced courses.</p>
<ul>
<li><a href="http://www.linux.org/lessons/beginner/index.html">Getting Started with Linux &#8211; Beginner&#8217;s Course</a></li>
<li><a href="http://www.linux.org/lessons/interm/index.html">Intermediate Level Linux Course</a></li>
<li><a href="http://www.linux.org/lessons/advanced/index.html">Advanced Linux Course</a></li>
</ul>
<p>You will also find a couple additional areas with more focused <a href="http://www.linux.org/lessons/tips/index.html" target="_blank">Tips </a>and <a href="http://www.linux.org/lessons/short/index.html" target="_blank">How-To&#8217;s</a> to satisfy your quick fix.</p>
<h2>Academic Earth</h2>
<p><a href="http://academicearth.org/" target="_blank">Academic Earth</a> is a lot like MIT Open Courseware in terms of providing access to a range of educational topics. In addition to <a href="http://academicearth.org/subjects/computer-science" target="_blank">Computer Science</a>, you can catch up on subjects including <a href="http://academicearth.org/subjects/mathematics" target="_blank">Mathmatics</a>, <a href="http://academicearth.org/subjects/physics" target="_blank">Physics</a>, <a href="http://academicearth.org/subjects/philosophy" target="_blank">Philosophy</a>, <a href="http://academicearth.org/subjects/chemistry" target="_blank">Chemistry</a> and <a href="http://academicearth.org/subjects/" target="_blank"><strong>more</strong></a>. One main difference is that Acacemic Earth has connected with select instructors at several Universities including MIT, Stanford, Harvard, and Berkely to provide free access to online learning materials and video &#8220;class lectures&#8221;.</p>
<h2>Microsoft Learning</h2>
<p><a href="http://learning.microsoft.com/Manager/BrowseCatalog.aspx" target="_blank">Microsoft Learning</a> provides both Free and paid training courses and materials. I included it here because it does have a lot of free training available if you want to browse through the learning catalog. Courses and resources here cover Office, Server Technologies, Dynamics, Windows OS (servers and desktops) and a few other areas.</p>
<h2>Runner-up</h2>
<p>Open University has a number of general computer and <a href="http://openlearn.open.ac.uk/course/category.php?id=7" target="_blank">IT related learning courses</a></p>
<p>This is a shortlist of some of the more &#8220;formal&#8221; resources. Let&#8217;s not forget all the incredible smart people who share with us what they have learned in countless blogs, online communities and personal web sites. If you know of any other great free online learning resources for technology professionals, share them in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edwardstafford.com/2010/04/20/technology-and-it-training-on-a-budget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tech Humor: Password Policy</title>
		<link>http://www.edwardstafford.com/2010/03/09/tech-humor-password-policy/</link>
		<comments>http://www.edwardstafford.com/2010/03/09/tech-humor-password-policy/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 15:18:57 +0000</pubDate>
		<dc:creator>Ed Stafford</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[humor]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://www.edwardstafford.com/2010/03/09/tech-humor-password-policy/</guid>
		<description><![CDATA[Found this in an IT blog comment about Network Password Policies. During a company&#8217;s recent password audit, it was found that a blonde employee was using the following password: &#8220;MickeyMinniePlutoHueyLouieDeweyDonaldGoofySacramento&#8220; When asked why she had such a long password, she said she was told that it had to be at least 8 characters long and [...]]]></description>
			<content:encoded><![CDATA[<div class='posterous_autopost'>
<p>Found this in an IT blog comment about Network Password Policies.</p>
<p style="margin-top: 8px; margin-right: 0px; margin-bottom: 8px; margin-left: 20px; padding: 0px;">During a company&rsquo;s recent password audit, it was found that a blonde employee was using the following password:</p>
<p style="margin-top: 8px; margin-right: 0px; margin-bottom: 8px; margin-left: 20px; padding: 0px;">&#8220;<strong>MickeyMinniePlutoHueyLouieDeweyDonaldGoofySacramento</strong>&#8220;</p>
<p style="margin-top: 8px; margin-right: 0px; margin-bottom: 8px; margin-left: 20px; padding: 0px;">When asked why she had such a long password, she said she was told that it had to be at least 8 characters long and include at least one capital.</p>
<p>&nbsp;</p>
<p style="font-size: 10px;">  <a href="http://posterous.com">Posted via web</a>   from <a href="http://edstafford.posterous.com/tech-humor-password-policy">Ed&#8217;s Posterous</a>  </p>
</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.edwardstafford.com/2010/03/09/tech-humor-password-policy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FTW &#8211; Netflix takes a proactive approach, steps up and owns it.</title>
		<link>http://www.edwardstafford.com/2010/02/11/ftw-netflix-takes-a-proactive-approach-steps-up-and-owns-it/</link>
		<comments>http://www.edwardstafford.com/2010/02/11/ftw-netflix-takes-a-proactive-approach-steps-up-and-owns-it/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 22:19:25 +0000</pubDate>
		<dc:creator>Ed Stafford</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.edwardstafford.com/2010/02/11/ftw-netflix-takes-a-proactive-approach-steps-up-and-owns-it/</guid>
		<description><![CDATA[I signed up for a Netflix account recently after purchasing a new Blu-ray player that supports Netflix movie streaming. I figured &#34;Wow, this is great. I can watch movies when I want from my netflix queue.&#34; My only worry was, would my current internet connection be able to sustain a quality viewing experience. I still [...]]]></description>
			<content:encoded><![CDATA[<div class='posterous_autopost'>I signed up for a Netflix account recently after purchasing a new Blu-ray player that supports Netflix movie streaming. I figured &quot;Wow, this is great. I can watch movies when I want from my netflix queue.&quot; My only worry was, would my current internet connection be able to sustain a quality viewing experience. I still have Verizion DSL. My town does not have FiOS available (and no plans to), and my location has an effect on overall DSL speeds. I&#39;ve learned to live with it.
<p />
<div>So when I had some intermittent problems accessing and watching movies via netflix, I assumed it was due to my connection. That is, until I received an email from Netflix that stated:</div>
<p />
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div><b>&quot;<span style="font-family: arial, helvetica;">Recently, you may have had trouble instantly watching movies or TV episodes via your Netflix Ready Device due to technical issues.</span></b></div>
<p />
<div><b></b><span style="font-family: arial, helvetica;"><b>We are sorry for the inconvenience this may have caused. This is not a great way to begin your Netflix membership. So that you can properly experience Netflix, we would like to extend your free trial..&quot;</b></span></div>
</blockquote>
<p />
<div><span style="font-family: arial, helvetica;">I did not complain about the service, and in fact attributed it to my sometimes questionable DSL connection. But Netflix was right there to voluntarily step up, take the initiative and say <i><b>oops, we goofed</b></i>. It&#39;s refreshing to see a company take responsibility for their service without being prompted.</span></div>
<p />
<div><span style="font-family: arial, helvetica;">There is the argument that I am still on a trial membership basis, and they are just trying to initiate some damage control to keep me on as a paying user when the trial expires. Maybe, but it&#39;s good to know they are keeping tabs on the service and own it when something goes wrong.</span></div>
<p style="font-size: 10px;">  <a href="http://posterous.com">Posted via email</a>   from <a href="http://edstafford.posterous.com/ftw-netflix-takes-a-proactive-approach-steps">Ed&#8217;s Posterous</a>  </p>
</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.edwardstafford.com/2010/02/11/ftw-netflix-takes-a-proactive-approach-steps-up-and-owns-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress: Use Custom Fields To Add Keyword Metadata to Your Posts</title>
		<link>http://www.edwardstafford.com/2010/02/04/wordpress-use-custom-fields-to-add-keyword-meta-data-to-your-posts/</link>
		<comments>http://www.edwardstafford.com/2010/02/04/wordpress-use-custom-fields-to-add-keyword-meta-data-to-your-posts/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 11:00:10 +0000</pubDate>
		<dc:creator>Ed Stafford</dc:creator>
				<category><![CDATA[Code Mode]]></category>
		<category><![CDATA[blogs]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[keywords]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[thematic]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.edwardstafford.com/?p=258</guid>
		<description><![CDATA[One of the short-comings with using WordPress is that it does not provide an easy, built-in way to include metadata for your web page descriptions and keywords (and rightfully so). Why Not? The reason is simply that WordPress cannot read your mind. I know it&#8217;s hard to believe when you consider what you can do [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_276" class="wp-caption alignleft" style="width: 262px"><img class="size-medium wp-image-276   " title="Keywords for edwardstafford.com" src="http://www.edwardstafford.com/wp-content/uploads/keywords-black-300x120.png" alt="Keywords at edwardstafford.com" width="252" height="101" /><p class="wp-caption-text">Keywords for edwardstafford.com</p></div>
<p>One of the short-comings with using WordPress is that it does not provide an easy, built-in way to include metadata for your web page descriptions and keywords (and rightfully so). Why Not? The reason is simply that WordPress cannot read your mind. I know it&#8217;s hard to believe when you consider what you can do with wordpress, but it&#8217;s true. The issue with Description and Keyword page metadata is that, to be truely effective, it should be created to  describe the content found on each individual page. It&#8217;s how search engines like google determine how to categorize and index each page. Now, there are some SEO &#8220;experts&#8221; who will argue that this information is not very relevant anymore, and I do agree with that for the most part, but there are still SEO benefits to including this metadata vs. not including it at all.</p>
<p>I&#8217;ve been giving this some thought lately and developed a couple ideas of how to add these features into a wordpress site without too much difficulty. A bulb went off in a moment clarity when I started to think about using the Custom Fields to store page specific metadata. I was even naive enough to think I was on to something new (should have known better) but as I started researching some ideas, I realized there were others already doing similar things. Oh well, a minor detail. I took my own approach to the idea anyway, if for no other reason than a learning exercise. Ultimately, this could be added as a premium feature to any custom theme using a couple hooks and some custom theme options magic.</p>
<p><span id="more-258"></span></p>
<h2>Okay smarty-pants! So how do we include description and keyword metadata?</h2>
<p>The solution isn&#8217;t difficult to implement and can be used to add page specific metadata inside the &lt;head&gt; tag of any wordpress page. In this example, I&#8217;m going to show you a simple solution, but with some creativity and a little thought, you can expand this to provide a more robust solution for your own needs.</p>
<h2>Part I: Defining a Custom &#8220;Keywords&#8221; Field</h2>
<p>Custom Fields are a little used gem found in the Posts and Pages page of the WordPress dashboard / admin back end and available when you add a new post or page, or edit an existing post or page.</p>
<div id="attachment_263" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-263 " title="New Custom Field" src="http://www.edwardstafford.com/wp-content/uploads/custom-fields1-300x152.png" alt="Create a new custom field" width="300" height="152" /><p class="wp-caption-text">Create a new custom field</p></div>
<p>To create a new custom field to use for your page or post keywords, scroll down to the <strong>Custom Fields</strong> section below the main editor and click the &#8220;<strong>Enter new</strong>&#8221; link.</p>
<p>That action will activate the input fields for &#8220;Name&#8221; and &#8220;Value&#8221;.</p>
<p>In the Name field type the name identifier you&#8217;d like to use. This identifier/name will be used to reference the custom field name/value pair later so make it something relevant to avoid confusion. For this example, I am using &#8220;<strong>keywords</strong>&#8220;.</p>
<p>In the Value field, type the string of keywords or phrases that you want to use as the keyword metadata string for the page/post. For this example, I am using <strong>wordpress, seo, metadata, custom fields</strong></p>
<div id="attachment_265" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-265" title="Add New Custom Field Inputs" src="http://www.edwardstafford.com/wp-content/uploads/custom-fields3-300x89.png" alt="" width="300" height="89" /><p class="wp-caption-text">Add New Custom Field Inputs</p></div>
<p>When you&#8217;re done, hit the &#8220;<strong>Add Custom Field</strong>&#8221; button.</p>
<p>If you have already created a <strong>&#8220;keywords&#8221; Custom Field</strong> for a previous page or post, you will have the option of selecting it in future pages and posts from the Name drop down menu.</p>
<div id="attachment_266" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-266" title="Custom Fields Menu" src="http://www.edwardstafford.com/wp-content/uploads/custom-fields-menu-300x114.png" alt="Custom Fields Menu" width="300" height="114" /><p class="wp-caption-text">Select from Custom Fields Menu</p></div>
<p>Select the Keywords item from the menu and then add the keywords or phrases for your new page to the Value field. When your done, make sure you hit the &#8220;<strong>Add Custom Field</strong>&#8221; button to confirm it.</p>
<p>That completes Part I. You now have a functional Custom Field assigned to your post/page.</p>
<p>Next up! Adding and understanding the code that generates the keyword metadata tag.</p>
<h2>Part II: The Magic Code.</h2>
<blockquote><p>function set_keywords(){<br />
global $post;<br />
$keywords = get_post_meta($post-&gt;ID, &#8216;keywords&#8217;, true);<br />
$default_keywords = &#8220;Your, selection, of, default, keywords&#8221;;<br />
$metatag= &#8220;&#8221;;</p>
<p>if (empty($keywords)){<br />
$keywords = $default_keywords;<br />
}<br />
if (is_home() || is_front_page()){<br />
$keywords = $default_keywords;<br />
}</p>
<p>$metatag=&#8221;\t&#8221;;<br />
$metatag.= &#8220;&lt;meta name=\&#8221;keywords\&#8221; content=\&#8221;";<br />
$metatag.= $keywords;<br />
$metatag.= &#8220;\&#8221; /&gt;&#8221;;<br />
$metatag.= &#8220;\n\n&#8221;;</p>
<p>echo $metatag;<br />
}<br />
add_action(&#8216;wp_head&#8217;, &#8216;set_keywords&#8217;);</p></blockquote>
<p>Adding this block of code to your Theme&#8217;s <strong>functions.php</strong> file will create and insert page specific Keyword Metadata into inside the &lt;head&gt; tag of your pages and posts assuming you have completed Part I.</p>
<h3>How the code works</h3>
<blockquote><p>function set_keywords(){</p></blockquote>
<p>The first line declares our function and sets the name &#8220;set_keywords&#8221;.</p>
<blockquote><p>global $post;<br />
$keywords = get_post_meta($post-&gt;ID, &#8216;keywords&#8217;, true);<br />
$default_keywords = &#8220;Your, selection, of, default, keywords&#8221;;<br />
$metatag= &#8220;&#8221;;</p></blockquote>
<p>These four lines set up the variables that will be used later in the function.</p>
<p><strong>global $post</strong> allows the function to reference values stored in an array containing post information that was previously set by WordPress outside of the current function.</p>
<p><strong>$keywords = get_post_meta($post-&gt;ID, &#8216;keywords&#8217;, true)</strong> is up next and sets our variable, <strong>$keywords</strong> to a string value equal to the &#8220;<strong>keywords</strong>&#8221; <strong>Custom Variable</strong> if it was set for the current page in Part I by calling the wordpress function <strong>get_post_meta()</strong>.</p>
<p>get_post_meta() is passed three arguments.</p>
<ol>
<li>The post ID (<strong>$post-&gt;ID</strong>)</li>
<li>a Custom Field Name reference (<strong>keywords</strong>)</li>
<li>a boolean value (<strong>true</strong>)</li>
</ol>
<p>These three arguments tell get_post_meta() to grab the &#8220;<strong>keywords</strong>&#8221; Custom Field value for a specific page (<strong>$post_ID</strong> = a reference to the current page) and return a string result (<strong>true</strong>).</p>
<p><strong><span style="color: #999999;">Note</span></strong><span style="color: #999999;">: If the Boolean argument were set to &#8220;false&#8221;, get_post_meta() would return an array object instead of a single string.</span></p>
<p><strong>$default_keywords = &#8220;Your, selection, of, default, keywords&#8221;</strong> sets a set of default keywords to use when the $keywords variable is empty or not set, or when you just want to include a general set of keywords.</p>
<p><strong>$metatag = &#8220;&#8221;</strong> rounds up the variables for the function and is used to build the metadata tag string that will be inserted into the page &lt;head&gt; tag.</p>
<blockquote><p>if (empty($keywords)){<br />
$keywords = $default_keywords;<br />
}</p></blockquote>
<p>The next step in the code is a conditional statement. Here I use the common PHP empty() function passing the <strong>$keywords</strong> variable as an argument to check whether the <strong>$keywords</strong> variable contains a value. If the empty() function returns true it means that <strong>$keywords</strong> does not contain a usable value, or that is has not been set. If this condition is true, it will set the value of $keywords to that of $default_keywords.</p>
<p>If the Keywords Custom Field was set for the current page, then the get_post_meta() function should have set the $keywords variable to a usable value equal to the Keyword Custom Field value. The condition will return false and the variable retains it&#8217;s Custom Field value.</p>
<blockquote><p>if (is_home() || is_front_page()){<br />
$keywords = $default_keywords;<br />
}</p></blockquote>
<p>Next I have another conditional statement that uses WordPress functions  to see if the current page is either the home page &#8211; <strong>is_home()</strong>,  or the &#8220;blog&#8221; page &#8211; <strong>is_front_page()</strong> If the current page matches either of these pages, I want to assign the value of <strong>$default_keywords</strong> to the <strong>$keywords</strong> variable.</p>
<p>The reason I do this is because the content on these pages is more dynamic and has a tendency to change often, effecting keyword relevancy. So I want to provide a generic set of default keywords instead of page content specific keywords.</p>
<p><strong><span style="color: #999999;">Note</span></strong><span style="color: #999999;">: It is possible, using more in-depth techniques not covered here, to also include the Keywords Custom Field for these pages and enable a set of more targeted keywords for them.</span></p>
<blockquote><p>$metatag=&#8221;\t&#8221;;<br />
$metatag.= &#8220;&lt;meta name=\&#8221;keywords\&#8221; content=\&#8221;";<br />
$metatag.= $keywords;<br />
$metatag.= &#8220;\&#8221; /&gt;&#8221;;<br />
$metatag.= &#8220;\n\n&#8221;;</p></blockquote>
<p>These lines are used to build the actual text string creating the metadata tag for our page&#8217;s &lt;head&gt; tag.  for example, if our page contained a keyword Custom Field with a value of  &#8221;keyword1, keyword2, keyword3&#8243;, the output for a blog post or single page would be:</p>
<p><strong>&lt;meta name=&#8221;keywords&#8221; content=&#8221;keyword1, keyword2, keyword3&#8243; /&gt;</strong></p>
<blockquote><p>echo $metatag;<br />
}</p></blockquote>
<p>Wrapping up the function we have <strong>echo $metatag </strong>followed by the closing bracket bringing our function to a close.  <strong>echo $metatag</strong> simply writes the output of the <strong>$metatag</strong> variable to the source of your web page inserting the keyword meta tag in the page&#8217;s &lt;head&gt; tag.</p>
<blockquote><p>add_action(&#8216;wp_head&#8217;, &#8216;set_keywords&#8217;);</p></blockquote>
<p>And finally bringing this code bit to an end is <strong>add_action(&#8216;wp_head&#8217;, &#8216;set_keywords&#8217;)</strong>. The add_action() function is a wordpress function used to hook your custom function to a WordPress action. In this case we are hooking our function <strong>set_keywords</strong> to the wordpress action <strong>wp_head</strong>. This is the piece that actually inserts your meta tag into the page &lt;head&gt; tag.</p>
<p><strong><span style="color: #999999;">Note</span></strong><span style="color: #999999;">: It is up to the individual theme developers to include the wp_head action in their themes, so there is a chance that your theme will not have it. In that case, check the documentation for your theme to see what action hooks are available to you.</span></p>
<p>That pretty much wraps it up!</p>
<div id="_mcePaste"><strong>Umm, Aren&#8217;t you forgetting something?</strong></div>
<p>By now you may be thinking, &#8220;Great, but what about the Description meta tag you mentioned?&#8221;.</p>
<p>You can use this same technique demonstrated here to create unique page descriptions with just a few minor code changes. Just replace keyword references with description references.</p>
<p>Do you have any suggestions to imporve on this? Find it helpful? Have some else to share? Leave a comment!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edwardstafford.com/2010/02/04/wordpress-use-custom-fields-to-add-keyword-meta-data-to-your-posts/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>What are your credentials worth?</title>
		<link>http://www.edwardstafford.com/2010/02/03/what-are-your-credentials-worth/</link>
		<comments>http://www.edwardstafford.com/2010/02/03/what-are-your-credentials-worth/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 17:16:29 +0000</pubDate>
		<dc:creator>Ed Stafford</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[cybercrime]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.edwardstafford.com/2010/02/03/what-are-your-credentials-worth/</guid>
		<description><![CDATA[Security Watch posted an interesting article today discussing the value of personal login credentials, or username and password combinations used to access online services. I often get asked question about why people hack into computers, or write and spread viruses and malware. My answer has always been that it&#8217;s less about damaging computers or systems [...]]]></description>
			<content:encoded><![CDATA[<div class="posterous_autopost">
<p><a title="The value of login Credentials" href="http://bit.ly/cLFx29" target="_blank">Security Watch posted an interesting article</a> today discussing the value of personal login credentials, or username and password combinations used to access online services. I often get asked question about why people hack into computers, or write and spread viruses and malware. My answer has always been that it&#8217;s less about damaging computers or systems anymore, and more about being stealthy and collecting valuable information that can be used for monetary gain. This article paints a general picture and help to explain of how much our information is worth, answering the question &#8211; Why do they do it?.</p>
<p><span style="font-family: Arial, Tahoma, Verdana; font-size: 12px; color: #222222; line-height: 20px;"> </span></p>
<div>Twitter credentials worth $1,000 to cybercriminals</div>
<div>Gmail account worth $80.00 +</div>
<p>According to the article, the actual value of account credentials is based mainly on <span style="font-family: Arial, Tahoma, Verdana; font-size: 12px; color: #222222; line-height: 20px;"><em>popularity of the application, and the `popularity’ of the account, but I&#8217;d </em><span style="color: #000000; font-family: Arial, Helvetica, sans-serif; line-height: normal; font-size: 13px;">also include type of application, authority of the account holder, and the probability of an account granting access to additional valuable data as determining overall value of the credentials.</span></span></p>
<p><a title="The Value of Your Login Credentials" href="http://bit.ly/cLFx29" target="_blank">Read the full Article here.</a></p>
<p style="font-size: 10px;"><a href="http://posterous.com">Posted via web</a> from <a href="http://edstafford.posterous.com/what-are-your-credentials-worth">Ed&#8217;s Posterous</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.edwardstafford.com/2010/02/03/what-are-your-credentials-worth/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beer O&#8217;Clock Friday Selections! Now On Posterous</title>
		<link>http://www.edwardstafford.com/2010/01/20/beer-oclock-friday-selections-now-on-posterous/</link>
		<comments>http://www.edwardstafford.com/2010/01/20/beer-oclock-friday-selections-now-on-posterous/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 22:17:18 +0000</pubDate>
		<dc:creator>Ed Stafford</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.edwardstafford.com/2010/01/20/beer-oclock-friday-selections-now-on-posterous/</guid>
		<description><![CDATA[As some of you may already know, I like Beer!! And if you didn&#8217;t, well, you do now! Not just any beer, but good quality microbrews, craft beers, and foreign treats. You&#8217;ll never find Budweiser mentioned here &#8211; well&#8230; except for that, but it won&#8217;t happen again. A little more than a year ago, I [...]]]></description>
			<content:encoded><![CDATA[<p>As some of you may already know, I like Beer!! And if you didn&#8217;t, well, you do now! Not just any beer, but good quality microbrews, craft beers, and foreign treats. You&#8217;ll never find Budweiser mentioned here &#8211; well&#8230; except for that, but it won&#8217;t happen again.</p>
<p>A little more than a year ago, I decided to start a weekly Beer O&#8217;Clock ritual by selecting a different brew each Friday to feature and share thoughts about it with friends online. Let me state from the start that I am in no way a beer snob, expert, aficionado or anything else along those lines. I just like beer and want to experience as many different kinds as I can and try to learn a little more about the different types of brew along the way. I&#8217;ve even tried adding my incredibly amateur opinions / reviews with selections when I can.</p>
<p>Up till now, I used flickr, twitter and facebook to post weekly selections. But now it&#8217;s time to graduate to something a little more permanent, so I have set up a posterous page to post weekly selections to. The good thing about posterous is that the Flickr, Twitter, and Facebook updates will still continue.</p>
<p>So, if you like beer and want to check out what&#8217;s being featured each week and share your own thought and opinions about them, head over to <a href="http://beeroclock.posterous.com" target="_blank">http://beeroclock.posterous.com</a></p>
<p style="font-size: 10px;"><a href="http://posterous.com">Posted via web</a> from <a href="http://beeroclock.posterous.com/beer-oclock-friday-selections-now-on-posterou">Friday Beer O&#8217;clock Selections</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.edwardstafford.com/2010/01/20/beer-oclock-friday-selections-now-on-posterous/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cheap &amp; Easy Social Media Management? Really?</title>
		<link>http://www.edwardstafford.com/2009/12/15/cheap-easy-social-media-management-really/</link>
		<comments>http://www.edwardstafford.com/2009/12/15/cheap-easy-social-media-management-really/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 17:05:42 +0000</pubDate>
		<dc:creator>Ed Stafford</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.edwardstafford.com/2009/12/15/cheap-easy-social-media-management-really/</guid>
		<description><![CDATA[Saw an email today soliciting &#8220;Cheap &#38; Easy Social Media Management&#8221; For the most part I don&#8217;t pay too much attention to these claims, but this one hit a nerve. Below is a the excerpt that sums it up. &#8230; Most of you are too busy to do it all yourself and don¹t want the [...]]]></description>
			<content:encoded><![CDATA[<p>Saw an email today soliciting &#8220;<span style="font-family: arial, sans-serif; border-collapse: collapse;">Cheap &amp; Easy Social Media Management&#8221;</span></p>
<p><span style="font-family: arial, sans-serif;"><span style="border-collapse: collapse;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="border-collapse: separate;">For the most part I don&#8217;t pay too much attention to these claims, but this one hit a nerve. Below is a the excerpt that sums it up.</span></span></span></span></p>
<blockquote><p><span style="font-family: arial, sans-serif; border-collapse: collapse;">&#8230; Most of you are too busy to do it all yourself and don¹t want the hassle of fussing with the technology. Some of you have thrown up your hands in despair. </span></p>
<p>So here&#8217;s the good news: We&#8217;re going to do it for you, and it&#8217;s not expensive. For a limited time, you can start for as little as $XXX.xx [edit] a month. Our new business, [removed] , will review and setup all the components of your social media infrastructure. <strong>We&#8217;ll even extract and write your blogs</strong>, or edit your original blog posts. <strong>We&#8217;ll twitter for you and maintain your connections</strong>. <strong><span style="color: #ff0000;">Without breaking a sweat, you&#8217;ll be a master of the new social media.</span></strong></p></blockquote>
<p><span style="border-collapse: collapse;">The Bold parts are what I have a problem with. The Red Bold part is what put it over the edge for me. Really? I can be a Social Media Master by letting someone else pretend to be me and do all the work? Who knew it was that easy?</span></p>
<p><span style="border-collapse: collapse;">I was always under the impression that this Social Media thing was about being a real person, with a real voice, with real ideas and opinions. Conversing, interacting, engaging with and getting to know other real people. Is it possible that I had this all wrong the whole time?</span></p>
<p><span style="border-collapse: collapse;">Is this sort of thing now common practice? I would think there are a great number of risks involved if your exposed, or when the service agreement ends. What happens then? The more I think on this, the more questions I have about it. </span></p>
<p><span style="border-collapse: collapse;">I don&#8217;t claim to be a Social Media expert or even a &#8220;Master&#8221; and I know there are legitimate business out there that help other businesses and brands build and create Social Media profiles and identities, but their claims just seem wrong regarding Social Media.</span></p>
<p style="font-size: 10px;"><a href="http://posterous.com">Posted via web</a> from <a href="http://edstafford.posterous.com/cheap-and-easy-social-media-management-really">Ed Stafford &#8211; Mobile Mutterings</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.edwardstafford.com/2009/12/15/cheap-easy-social-media-management-really/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>8</slash:comments>
		</item>
		<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>
	</channel>
</rss>

