<?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>chrisspeck.com</title>
	<atom:link href="http://chrisspeck.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://chrisspeck.com</link>
	<description>Chris&#039; random ramblings</description>
	<lastBuildDate>Sat, 31 Dec 2011 23:39:39 +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>Completely removing a mdadm raid array in Ubuntu</title>
		<link>http://chrisspeck.com/2012/01/completely-removing-a-mdadm-raid-array-in-ubuntu/</link>
		<comments>http://chrisspeck.com/2012/01/completely-removing-a-mdadm-raid-array-in-ubuntu/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 23:39:01 +0000</pubDate>
		<dc:creator>specky</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[raid]]></category>

		<guid isPermaLink="false">http://chrisspeck.com/?p=449</guid>
		<description><![CDATA[To completely remove an mdadm raid array you must &#8220;zero the superblock&#8221; on the component drives, so that mdadm will not detect them on its next scan/reboot of your system: sudo bash mdadm --stop /dev/md1 mdadm --remove /dev/md1 mdadm --zero-superblock /dev/sdb3 mdadm --zero-superblock /dev/sdc3 Oh&#8230;and happy new year! With thanks to MDLog:/sysadmin.]]></description>
			<content:encoded><![CDATA[<div class='wp_fbs_top'></div><p>To completely remove an mdadm raid array you must &#8220;zero the superblock&#8221; on the component drives, so that mdadm will not detect them on its next scan/reboot of your system:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">bash</span><br />
mdadm <span style="color: #660033;">--stop</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>md1<br />
mdadm <span style="color: #660033;">--remove</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>md1<br />
mdadm <span style="color: #660033;">--zero-superblock</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sdb3<br />
mdadm <span style="color: #660033;">--zero-superblock</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sdc3</div></div>
<p>Oh&#8230;and happy new year!</p>
<p>With thanks to <a href="http://www.ducea.com/2009/03/08/mdadm-cheat-sheet/">MDLog:/sysadmin</a>. </p>
]]></content:encoded>
			<wfw:commentRss>http://chrisspeck.com/2012/01/completely-removing-a-mdadm-raid-array-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Calling Bullshit on Electronic Arts Pricing</title>
		<link>http://chrisspeck.com/2011/11/calling-bullshit-on-electronic-arts-pricing/</link>
		<comments>http://chrisspeck.com/2011/11/calling-bullshit-on-electronic-arts-pricing/#comments</comments>
		<pubDate>Thu, 17 Nov 2011 06:53:07 +0000</pubDate>
		<dc:creator>specky</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[commerce]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[law]]></category>
		<category><![CDATA[scam]]></category>

		<guid isPermaLink="false">http://chrisspeck.com/?p=433</guid>
		<description><![CDATA[The following screen shots clearly demonstrate that Electronic Arts intends to fleece Australian consumers by charging them more for the same digital downloads as they do to US consumers. The first image is of the AU EA Origin store, and the price is clearly $23.95. The second image is of the US EA Origin store, [...]]]></description>
			<content:encoded><![CDATA[<div class='wp_fbs_top'></div><p>The following screen shots clearly demonstrate that Electronic Arts intends to fleece Australian consumers by charging them more for the same digital downloads as they do to US consumers.</p>
<p>The first image is of the AU EA Origin store, and the price is clearly $23.95.</p>
<p>The second image is of the US EA Origin store, accessed via a VPN, and the price is clearly $14.95.</p>
<p>The third image is of the AU/US exchange rate. $1 AUD is currently buying $1.01 USD. </p>
<p>Electronic Arts, why do you think you can treat Aussie consumers like crap?</p>
<p>I rest my case.</p>

<a href='http://chrisspeck.com/2011/11/calling-bullshit-on-electronic-arts-pricing/b2k_au_price/' title='B2K_AU_Price'><img width="150" height="150" src="http://chrisspeck.com/wp-content/uploads/2011/11/B2K_AU_Price-150x150.png" class="attachment-thumbnail" alt="B2K_AU_Price" title="B2K_AU_Price" /></a>
<a href='http://chrisspeck.com/2011/11/calling-bullshit-on-electronic-arts-pricing/b2k_us_price/' title='B2K_US_Price'><img width="150" height="150" src="http://chrisspeck.com/wp-content/uploads/2011/11/B2K_US_Price-150x150.png" class="attachment-thumbnail" alt="B2K_US_Price" title="B2K_US_Price" /></a>
<a href='http://chrisspeck.com/2011/11/calling-bullshit-on-electronic-arts-pricing/b2k_au_to_us_rate/' title='B2K_AU_to_US_rate'><img width="150" height="150" src="http://chrisspeck.com/wp-content/uploads/2011/11/B2K_AU_to_US_rate-150x150.png" class="attachment-thumbnail" alt="B2K_AU_to_US_rate" title="B2K_AU_to_US_rate" /></a>

]]></content:encoded>
			<wfw:commentRss>http://chrisspeck.com/2011/11/calling-bullshit-on-electronic-arts-pricing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connecting to a remote host through a Ubuntu VM and sharing that back to your Windows Host</title>
		<link>http://chrisspeck.com/2011/11/connecting-to-a-remote-host-through-a-ubuntu-vm-and-sharing-that-back-to-your-windows-host/</link>
		<comments>http://chrisspeck.com/2011/11/connecting-to-a-remote-host-through-a-ubuntu-vm-and-sharing-that-back-to-your-windows-host/#comments</comments>
		<pubDate>Sun, 13 Nov 2011 04:59:16 +0000</pubDate>
		<dc:creator>specky</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking (computers)]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://chrisspeck.com/?p=412</guid>
		<description><![CDATA[The VM in this walkthrough is Ubuntu 11.10 32bit (&#8220;VM&#8221;). It is running on my desktop, the physical machine (&#8220;PM&#8221;) running which runs Windows 7 32 bit as the Host Operting System (&#8220;Host OS&#8221;). Things will be a lot easier for you if your username on your VM (&#8220;vmuser&#8221;), Host OS (&#8220;huser&#8221;) and remote host [...]]]></description>
			<content:encoded><![CDATA[<div class='wp_fbs_top'></div><p>The VM in this walkthrough is Ubuntu 11.10 32bit (&#8220;VM&#8221;). It is running on my desktop, the physical machine (&#8220;PM&#8221;) running which runs Windows 7 32 bit as the Host Operting System (&#8220;Host OS&#8221;).</p>
<p>Things will be a lot easier for you if your username on your VM (&#8220;vmuser&#8221;), Host OS (&#8220;huser&#8221;) and remote host (&#8220;rmuser&#8221;) are the same.</p>
<p><strong>Part 1: Generate RSA keys on your VM, and install them on the remote host</strong></p>
<p>Follow steps 3 and 4 from the Ubuntu community help page, on your VM:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> ~<span style="color: #000000; font-weight: bold;">/</span>.ssh<br />
<span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">700</span> ~<span style="color: #000000; font-weight: bold;">/</span>.ssh<br />
<span style="color: #c20cb9; font-weight: bold;">ssh-keygen</span> <span style="color: #660033;">-t</span> rsa<br />
ssh-copy-id rmuser<span style="color: #000000; font-weight: bold;">@</span>remotemachine</div></div>
<p>Try sshing from the VM to the remote host. If it does not ask you for a password, then key-generation and installation worked. If not, then you must fix this before continuing.</p>
<p><strong>Part 2: Preparing your VM and setting up an entry in /etc/fstab</strong></p>
<p>Install:</p>
<ul>
<li>*samba file server</li>
<li>*sshfs</li>
<li>*[optionally] Install webmin (will make checking user group, and creating/checking home share a lot easier).</li>
<li>*[optionally] Install the ssh meta-package so that you can ssh between your PM and VM.</li>
</ul>
<p>Create a folder in home called remotehome.</p>
<p>Create a /etc/fuse.conf and add &#8216;user_allow_other&#8217; to it:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vim</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>fuse.conf<br />
user_allow_other<br />
:wq</div></div>
<p>Check that your VM user is a member of the fuse group.</p>
<p>Add the following line to /etc/fstab:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666;">sshfs#</span>rmuser<span style="color: #000000; font-weight: bold;">@</span>remotemachine:<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>rmuser <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>vmuser<span style="color: #000000; font-weight: bold;">/</span>remotehome fuse _netdev,noauto,user,<span style="color: #007800;">idmap</span>=user,suid,<span style="color: #007800;">workaround</span>=rename,allow_other <span style="color: #000000;">0</span> <span style="color: #000000;">0</span></div></div>
<p>In a terminal on the VM, type in <code class="codecolorer bash default"><span class="bash"><span style="color: #c20cb9; font-weight: bold;">mount</span> ~<span style="color: #000000; font-weight: bold;">/</span>remotehome</span></code> to test.</p>
<p><strong>Part 3: Editing your VM&#8217;s crontab.</strong></p>
<p>We could have used the &#8216;auto&#8217; directive in fstab to mount the remote path, however I never got this to run properly within a VirtualBox VM.</p>
<p>An easy work-around is to edit your crontab like this:-</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">crontab <span style="color: #660033;">-e</span></div></div>
<p>Then add the following line to the bottom of the file:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">@</span>reboot <span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>vmuser<span style="color: #000000; font-weight: bold;">/</span>remotehome</div></div>
<p>Save your crontab and reboot your VM to check that this is all working. Check that you can open and create files, and make folders etc.</p>
<p><strong>Part 4: (a) Creating a Samba user and (b) sharing your vmuser home folder</strong></p>
<p>4(a) Creating a Samba User.</p>
<p>Open a terminal on the VM and type the following:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> smbpasswd <span style="color: #660033;">-a</span> huser</div></div>
<p>If your huser != vmuser, then you are in for a World of Pain (TM) and need to carry out these additional steps:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vim</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>samba<span style="color: #000000; font-weight: bold;">/</span>smbusers</div></div>
<p>Add the following line:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #007800;">vmuser</span>=<span style="color: #ff0000;">&quot;huser&quot;</span></div></div>
<p>If your huser is part of an Active Directory domain, you need to add that too, i.e.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #007800;">vmuser</span>=<span style="color: #ff0000;">&quot;huser&quot;</span> <span style="color: #ff0000;">&quot;ADDOMAIN\huser&quot;</span></div></div>
<p>4(b) Sharing your vmuser home folder.</p>
<p>You need to either use Webmin to create/turn on home shares (make sure it is writable to authenticated users) or do the following in a terminal on your VM:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">bash</span><br />
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>samba<br />
<span style="color: #c20cb9; font-weight: bold;">cp</span> smb.conf smb.conf.bak<br />
<span style="color: #c20cb9; font-weight: bold;">mv</span> smb.conf smb.conf.master<br />
<span style="color: #c20cb9; font-weight: bold;">vim</span> smb.conf.master</div></div>
<p>If you had to edit the file smbusers, then add the following line to the <code class="codecolorer bash default"><span class="bash"><span style="color: #7a0874; font-weight: bold;">&#91;</span>Global<span style="color: #7a0874; font-weight: bold;">&#93;</span></span></code> section:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">username map = <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>samba<span style="color: #000000; font-weight: bold;">/</span>smbusers</div></div>
<p>Find, and uncomment the following lines:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">;<span style="color: #7a0874; font-weight: bold;">&#91;</span>homes<span style="color: #7a0874; font-weight: bold;">&#93;</span><br />
; &nbsp; comment = Home Directories<br />
; &nbsp; browseable = no<br />
; &nbsp; <span style="color: #c20cb9; font-weight: bold;">read</span> only = <span style="color: #c20cb9; font-weight: bold;">yes</span></div></div>
<p>Change browseable to yes and read only to no.</p>
<p>Add the line <code class="codecolorer bash default"><span class="bash">writeable = <span style="color: #c20cb9; font-weight: bold;">yes</span></span></code> for good measure.</p>
<p>Save your file, quit vim and then do the following:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">testparm <span style="color: #660033;">-s</span> smb.conf.master <span style="color: #000000; font-weight: bold;">&gt;</span> smb.conf<br />
service smbd restart<br />
<span style="color: #7a0874; font-weight: bold;">exit</span></div></div>
<p><strong>Part 5: Setting your VM to launch on start-up</strong></p>
<p>In your Host OS, click on the Start button, click on All Programs, find and right click on Startup and choose &#8220;Open&#8221;.</p>
<p>Right click anywhere within the new Explorer window, and choose New &#8211;> Shortcut.</p>
<p>Enter the following for location of item:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #ff0000;">&quot;C:\Program Files\Oracle<span style="color: #000099; font-weight: bold;">\V</span>irtualBox<span style="color: #000099; font-weight: bold;">\V</span>BoxManage.exe&quot;</span> startvm NAMEOFYOURVM</div></div>
<p>e.g.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #ff0000;">&quot;C:\Program Files\Oracle<span style="color: #000099; font-weight: bold;">\V</span>irtualBox<span style="color: #000099; font-weight: bold;">\V</span>BoxManage.exe&quot;</span> startvm Ubuntu32</div></div>
<p>Click Next, call the name something sensible, other then VBoxManage.exe, and click Finish.</p>
<p><strong>Part 6: Give your VM a second NIC, a static IP and expose it to your Host OS</strong></p>
<p>Shut down your VM, open Oracle VM VirtualBox Manager, click on your VM, and click &#8220;Settings&#8221;.</p>
<p>Click on the Network group, then on the Adapter 2 tab, and enable the Network Adapter. Change &#8220;Attached to:&#8221; to Host-only Adapter, note the adapter name and then click ok.</p>
<p>Still in VirtualBox Manager, click on File and then Preferences, click on the Network group, click on the adapter named in the previous step and click on edit. Give the adapter a fixed ip of 192.168.56.1 and network mask of 255.255.255.0. The IP address 192.168.56.1 is the IP on which your VM will communicate to your Host OS.</p>
<p>Fire up your VM. Open a terminal and open up your interfaces file with:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vim</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>network<span style="color: #000000; font-weight: bold;">/</span>interfaces</div></div>
<p>Make sure your interfaces file looks exactly like this:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">auto lo eth1<br />
iface lo inet loopback<br />
<br />
iface eth1 inet static<br />
address 192.168.56.10<br />
netmask 255.255.255.0</div></div>
<p>Save and close the file and restart the VM&#8217;s networking service with:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>networking restart</div></div>
<p>On your Host OS, edit the file <code class="codecolorer bash default"><span class="bash">C:\Windows\System32\drivers\etc\hosts</span></code> and add the following line:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">192.168.56.10 &nbsp; &nbsp; &nbsp; ubuntusvr</div></div>
<p>At this point you should be able to:</p>
<ul>
<li>ping your VM from your Host OS with <code class="codecolorer text default"><span class="text">ping 192.168.56.10</span></code> or <code class="codecolorer text default"><span class="text">ping ubuntusvr</span></code> from the command prompt</li>
<li>ssh into your VM from your Host OS to 192.168.56.10 or ubuntusvr</li>
<li>browse shares on your VM by opening Explorer and going to \\192.168.56.10\huser or \\ubuntusvr\huser</li>
<li>if apache, webmin, psql, mysql or any other sort of server is installed on your VM, access it through 192.168.56.10 or ubuntusvr</li>
</ul>
<p><strong>Part 7: Connecting network drive</strong></p>
<p>In the Host OS, open Windows Explorer, click Tools &#8211;> Map Network Drive. Choose any drive and set the folder to \\192.168.56.10\huser OR \\ubuntusvr\huser, make sure &#8216;Reconnect at logon&#8217; is checked and click on Finished.</p>
<p><em>References:</em><br />
<a href="https://help.ubuntu.com/community/SSH/OpenSSH/Keys" title="Ubuntu: SSHOpenSSHKeys" target="_blank">Ubuntu: SSHOpenSSHKeys</a><br />
<a href="http://www.howtogeek.com/howto/ubuntu/create-a-samba-user-on-ubuntu/" title="How-To Geek: Create a Samba User on Ubuntu" target="_blank">How-To Geek: Create a Samba User on Ubuntu</a></p>
]]></content:encoded>
			<wfw:commentRss>http://chrisspeck.com/2011/11/connecting-to-a-remote-host-through-a-ubuntu-vm-and-sharing-that-back-to-your-windows-host/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Resolving Could not get lock /var/lib/dpkg/lock &#8211; open (11 Resource temporarily unavailable)</title>
		<link>http://chrisspeck.com/2011/09/resolving-could-not-get-lock-varlibdpkglock-open-11-resource-temporarily-unavailable/</link>
		<comments>http://chrisspeck.com/2011/09/resolving-could-not-get-lock-varlibdpkglock-open-11-resource-temporarily-unavailable/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 01:03:54 +0000</pubDate>
		<dc:creator>specky</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://chrisspeck.com/?p=407</guid>
		<description><![CDATA[The quick and easy solution is to kill any/all processes which may have a lock, so&#8230; sudo bash killall aptitude; killall apt-get killall dpkg; killall frontend sudo dpkg --configure -a]]></description>
			<content:encoded><![CDATA[<div class='wp_fbs_top'></div><p>The quick and easy solution is to kill any/all processes which may have a lock, so&#8230;</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">bash</span><br />
<span style="color: #c20cb9; font-weight: bold;">killall</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span>; <span style="color: #c20cb9; font-weight: bold;">killall</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span><br />
<span style="color: #c20cb9; font-weight: bold;">killall</span> <span style="color: #c20cb9; font-weight: bold;">dpkg</span>; <span style="color: #c20cb9; font-weight: bold;">killall</span> frontend<br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">--configure</span> <span style="color: #660033;">-a</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://chrisspeck.com/2011/09/resolving-could-not-get-lock-varlibdpkglock-open-11-resource-temporarily-unavailable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up a Brother HL-2140 printer on Ubuntu 11.04 64bit</title>
		<link>http://chrisspeck.com/2011/09/setting-up-a-brother-hl-2140-printer-on-ubuntu-11-04-64bit/</link>
		<comments>http://chrisspeck.com/2011/09/setting-up-a-brother-hl-2140-printer-on-ubuntu-11-04-64bit/#comments</comments>
		<pubDate>Mon, 05 Sep 2011 11:42:15 +0000</pubDate>
		<dc:creator>specky</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[printers]]></category>

		<guid isPermaLink="false">http://chrisspeck.com/?p=396</guid>
		<description><![CDATA[This took a bit of detective work and piecing of various posts together, but basically: sudo apt-get install ia32-libs sudo mkdir /usr/share/cups/model/ mkdir ~/scratch mkdir ~/scratch/brother cd ~/scratch/brother wget http://www.brother.com/pub/bsc/linux/dlf/brhl2140lpr-2.0.2-1.i386.deb wget http://www.brother.com/pub/bsc/linux/dlf/cupswrapperHL2140-2.0.2-1.i386.deb dpkg -x brhl2140lpr-2.0.2-1.i386.deb common dpkg --control brhl2140lpr-2.0.2-1.i386.deb vim DEBIAN/control #(remove the &#34;Dependency: libc ...&#34; line) cp -a DEBIAN/ common/ dpkg -b common brhl2140lpr-2.0.2-1.i386.deb [...]]]></description>
			<content:encoded><![CDATA[<div class='wp_fbs_top'></div><p>This took a bit of detective work and piecing of <a href="http://www.openprinting.org/printer/Brother/Brother-HL-2140" target="_blank">various</a> <a href="http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html" target="_blank">posts</a> <a href="http://askubuntu.com/questions/41077/install-i386-printer-driver-on-an-amd64-system" target="_blank">together</a>, but basically:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get install</span> ia32-libs<br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>cups<span style="color: #000000; font-weight: bold;">/</span>model<span style="color: #000000; font-weight: bold;">/</span><br />
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> ~<span style="color: #000000; font-weight: bold;">/</span>scratch<br />
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> ~<span style="color: #000000; font-weight: bold;">/</span>scratch<span style="color: #000000; font-weight: bold;">/</span>brother<br />
<span style="color: #7a0874; font-weight: bold;">cd</span> ~<span style="color: #000000; font-weight: bold;">/</span>scratch<span style="color: #000000; font-weight: bold;">/</span>brother<br />
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.brother.com<span style="color: #000000; font-weight: bold;">/</span>pub<span style="color: #000000; font-weight: bold;">/</span>bsc<span style="color: #000000; font-weight: bold;">/</span>linux<span style="color: #000000; font-weight: bold;">/</span>dlf<span style="color: #000000; font-weight: bold;">/</span>brhl2140lpr-2.0.2-<span style="color: #000000;">1</span>.i386.deb<br />
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.brother.com<span style="color: #000000; font-weight: bold;">/</span>pub<span style="color: #000000; font-weight: bold;">/</span>bsc<span style="color: #000000; font-weight: bold;">/</span>linux<span style="color: #000000; font-weight: bold;">/</span>dlf<span style="color: #000000; font-weight: bold;">/</span>cupswrapperHL2140-2.0.2-<span style="color: #000000;">1</span>.i386.deb<br />
<span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-x</span> brhl2140lpr-2.0.2-<span style="color: #000000;">1</span>.i386.deb common<br />
<span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">--control</span> brhl2140lpr-2.0.2-<span style="color: #000000;">1</span>.i386.deb<br />
<span style="color: #c20cb9; font-weight: bold;">vim</span> DEBIAN<span style="color: #000000; font-weight: bold;">/</span>control <span style="color: #666666; font-style: italic;">#(remove the &quot;Dependency: libc ...&quot; line)</span><br />
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-a</span> DEBIAN<span style="color: #000000; font-weight: bold;">/</span> common<span style="color: #000000; font-weight: bold;">/</span><br />
<span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-b</span> common brhl2140lpr-2.0.2-<span style="color: #000000;">1</span>.i386.deb<br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">--force-all</span> <span style="color: #660033;">-i</span> brhl2140lpr-2.0.2-<span style="color: #000000;">1</span>.i386.deb<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span> common<span style="color: #000000; font-weight: bold;">/</span> DEBIAN<span style="color: #000000; font-weight: bold;">/</span><br />
<span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-x</span> cupswrapperHL2140-2.0.2-<span style="color: #000000;">1</span>.i386.deb common<br />
<span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">--control</span> cupswrapperHL2140-2.0.2-<span style="color: #000000;">1</span>.i386.deb<br />
<span style="color: #c20cb9; font-weight: bold;">vim</span> DEBIAN<span style="color: #000000; font-weight: bold;">/</span>control <span style="color: #666666; font-style: italic;">#(remove the &quot;Dependency: libc ...&quot; line)</span><br />
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-a</span> DEBIAN<span style="color: #000000; font-weight: bold;">/</span> common<span style="color: #000000; font-weight: bold;">/</span><br />
<span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-b</span> common<span style="color: #000000; font-weight: bold;">/</span> cupswrapperHL2140-2.0.2-<span style="color: #000000;">1</span>.i386.deb<br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">--force-all</span> <span style="color: #660033;">-i</span> cupswrapperHL2140-2.0.2-<span style="color: #000000;">1</span>.i386.deb</div></div>
]]></content:encoded>
			<wfw:commentRss>http://chrisspeck.com/2011/09/setting-up-a-brother-hl-2140-printer-on-ubuntu-11-04-64bit/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

