<?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"
	>

<channel>
	<title>patrik.cqure.net</title>
	<atom:link href="http://patrik.cqure.net/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://patrik.cqure.net/wordpress</link>
	<description>random thoughts about random things</description>
	<pubDate>Tue, 07 Oct 2008 19:52:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Bridging wlan interfaces in Virtualbox</title>
		<link>http://patrik.cqure.net/wordpress/2008/10/07/bridging-wireless-in-virtualbox/</link>
		<comments>http://patrik.cqure.net/wordpress/2008/10/07/bridging-wireless-in-virtualbox/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 19:48:53 +0000</pubDate>
		<dc:creator>Patrik</dc:creator>
		
		<category><![CDATA[Virtualization]]></category>

		<category><![CDATA[bridge]]></category>

		<category><![CDATA[bridging]]></category>

		<category><![CDATA[tap]]></category>

		<category><![CDATA[tun]]></category>

		<category><![CDATA[vbox]]></category>

		<category><![CDATA[virtualbox]]></category>

		<category><![CDATA[wifi]]></category>

		<category><![CDATA[wireless]]></category>

		<category><![CDATA[wlan]]></category>

		<guid isPermaLink="false">http://patrik.cqure.net/wordpress/?p=67</guid>
		<description><![CDATA[Thanks to SavvyAdmin.com I finally got bridging to work with my wireless device in VirtualBox. I have not yet given it as extensive testing that I would like but my first impression is that it actually works. In order to get it running you need two programs bcrelay and parprouted. I just this minute finnished [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to <a href="http://www.savvyadmin.com/virtualbox-wireless-bridging-with-dhcp/">SavvyAdmin.com</a> I finally got bridging to work with my wireless device in VirtualBox. I have not yet given it as extensive testing that I would like but my first impression is that it actually works. In order to get it running you need two programs bcrelay and parprouted. I just this minute finnished typing the last lines of my script that starts bridging between a given interface and the wlan. The script is somewhat long as it enables ip forwarding, makes apropriate changes in my firewall configuration, starts the daemons and finally tries to reset it all when it ends. I have posted the script <a href="http://www.cqure.net/files/virtualbox_bridge.sh.gz">here</a> for anyone who would like to try it out. Feel free to drop me a line with suggestions or changes.</p>
]]></content:encoded>
			<wfw:commentRss>http://patrik.cqure.net/wordpress/2008/10/07/bridging-wireless-in-virtualbox/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Virtualbox 2.0.2 released</title>
		<link>http://patrik.cqure.net/wordpress/2008/09/13/virtualbox-202-released/</link>
		<comments>http://patrik.cqure.net/wordpress/2008/09/13/virtualbox-202-released/#comments</comments>
		<pubDate>Sat, 13 Sep 2008 07:18:43 +0000</pubDate>
		<dc:creator>Patrik</dc:creator>
		
		<category><![CDATA[Virtualization]]></category>

		<category><![CDATA[changelog]]></category>

		<category><![CDATA[upgrade]]></category>

		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://patrik.cqure.net/wordpress/?p=65</guid>
		<description><![CDATA[Sun released the 2.0.2 maintenance release yesterday. Judging by the changelog it fixes a number of kernel related crashes of the guest os and a number of GUI crashes. Might be good to upgrade in other words.
]]></description>
			<content:encoded><![CDATA[<p>Sun released the 2.0.2 maintenance release yesterday. Judging by the <a href="http://virtualbox.org/wiki/Changelog">changelog</a> it fixes a number of kernel related crashes of the guest os and a number of GUI crashes. Might be good to upgrade in other words.</p>
]]></content:encoded>
			<wfw:commentRss>http://patrik.cqure.net/wordpress/2008/09/13/virtualbox-202-released/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Virtualbox 2.0.0 released</title>
		<link>http://patrik.cqure.net/wordpress/2008/09/05/virtualbox-200-released/</link>
		<comments>http://patrik.cqure.net/wordpress/2008/09/05/virtualbox-200-released/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 07:53:20 +0000</pubDate>
		<dc:creator>Patrik</dc:creator>
		
		<category><![CDATA[Virtualization]]></category>

		<category><![CDATA[changelog]]></category>

		<category><![CDATA[GUI]]></category>

		<category><![CDATA[upgrade]]></category>

		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://patrik.cqure.net/wordpress/?p=62</guid>
		<description><![CDATA[Virtualbox 2.0.0 was released yesterday. Be sure to check it out at www.virtualbox.org.
A part from the GUI improvements it contains a couple of performance improvements and bugfixes. The complete changelog is here.
If you don't want to end up loosing some work (as I did), make sure you don't have any machines with their state saved [...]]]></description>
			<content:encoded><![CDATA[<p>Virtualbox 2.0.0 was released yesterday. Be sure to check it out at <a href="http://www.virtualbox.org">www.virtualbox.org</a>.<br />
A part from the GUI improvements it contains a couple of performance improvements and bugfixes. The complete changelog is <a href="http://virtualbox.org/wiki/Changelog">here</a>.</p>
<p>If you don't want to end up loosing some work (as I did), make sure you don't have any machines with their state saved (ie. make sure you shut all machines down) before you upgrade.</p>
]]></content:encoded>
			<wfw:commentRss>http://patrik.cqure.net/wordpress/2008/09/05/virtualbox-200-released/feed/</wfw:commentRss>
		</item>
		<item>
		<title>airbase-ng, almost there &#8230;</title>
		<link>http://patrik.cqure.net/wordpress/2008/09/05/airbase-ng-almost-there/</link>
		<comments>http://patrik.cqure.net/wordpress/2008/09/05/airbase-ng-almost-there/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 07:48:19 +0000</pubDate>
		<dc:creator>Patrik</dc:creator>
		
		<category><![CDATA[Security]]></category>

		<category><![CDATA[500mw]]></category>

		<category><![CDATA[aircrack-ng]]></category>

		<category><![CDATA[awus036h]]></category>

		<category><![CDATA[fake ap]]></category>

		<category><![CDATA[gentoo]]></category>

		<category><![CDATA[karma]]></category>

		<category><![CDATA[rouge ap]]></category>

		<category><![CDATA[rtl8187]]></category>

		<category><![CDATA[wifi]]></category>

		<guid isPermaLink="false">http://patrik.cqure.net/wordpress/?p=59</guid>
		<description><![CDATA[So I finally had some great success running airbase-ng as a rouge AP. I ended up buying the Alfa AWUS036H, an excellent 500mw Realtek 8187 based card. I am running a Virtual Gentoo system with the git version of the rtl8187 driver. The SKB BUF error messages from the aircrack-ng version of the driver where [...]]]></description>
			<content:encoded><![CDATA[<p>So I finally had some great success running airbase-ng as a rouge AP. I ended up buying the Alfa AWUS036H, an excellent 500mw Realtek 8187 based card. I am running a Virtual Gentoo system with the git version of the rtl8187 driver. The SKB BUF error messages from the aircrack-ng version of the driver where too annoying.</p>
<p>All in all I am very pleased with the setup, as it behaves consistantly now (knowing the needed tweaks to get it running). I believe it performs as well as running an AP with the madwifi-ng karma kernel patches from <a title="http://www.digininja.org/" href="http://www.digininja.org/">digininja</a>. Well, except for one thing. When changing the MAC address of the wifi card it doesn't really do such a good job anymore. For some reason most clients fail to associate, some still do but theres a considerable drop in the number of connecting clients.</p>
<p>I have tried to change the MAC using both ifconfig and simply specifying the -a option to airbase-ng. Sniffing the traffic using another wifi card shows a lot of probe requests and responses being re-sent, but no requests to associate. From my initial checks I do not see any difference in the requests or responses apart from the "Frame check sequence" and the MAC of-course. But then again, I haven't put that much time into it.</p>
<p>ANY insight into why this happens, and if I am missing something REALLY obvious would be great. I will file a bugreport in the aircrack-ng TRAC system once I collect and clean the relevant packet traces.</p>
]]></content:encoded>
			<wfw:commentRss>http://patrik.cqure.net/wordpress/2008/09/05/airbase-ng-almost-there/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Virtualbox and Nokia PC Suite</title>
		<link>http://patrik.cqure.net/wordpress/2008/08/27/virtualbox-and-nokia-pc-suite/</link>
		<comments>http://patrik.cqure.net/wordpress/2008/08/27/virtualbox-and-nokia-pc-suite/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 17:50:05 +0000</pubDate>
		<dc:creator>Patrik</dc:creator>
		
		<category><![CDATA[Virtualization]]></category>

		<category><![CDATA[e71]]></category>

		<category><![CDATA[nokia]]></category>

		<category><![CDATA[PC Suite]]></category>

		<category><![CDATA[USB]]></category>

		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://patrik.cqure.net/wordpress/?p=46</guid>
		<description><![CDATA[I recently changed mobile phones from my LG KS20 to a Nokia E71. All in all I am very pleased with the change to Nokia and I must say that I am truly impressed with this model. Well, except for PC suite not working with Virtualbox ofcourse  I don't know whos to blame but [...]]]></description>
			<content:encoded><![CDATA[<p>I recently changed mobile phones from my LG KS20 to a Nokia E71. All in all I am very pleased with the change to Nokia and I must say that I am truly impressed with this model. Well, except for PC suite not working with Virtualbox ofcourse <img src='http://patrik.cqure.net/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> I don't know whos to blame but the software does not want to connect to my phone over USB. It finds the phone and installs all the right drivers but once PC Suite tries to connect I get "PC Suite does not regcognise the connected phone. The connection between the PC and phone failed, error code 0x80044403. Switch of your phone, switch it on, and try again."</p>
<p><a href="http://patrik.cqure.net/wordpress/wp-content/uploads/2008/08/nokia_error.png"><img class="alignnone size-medium wp-image-47" title="nokia_error" src="http://patrik.cqure.net/wordpress/wp-content/uploads/2008/08/nokia_error-300x56.png" alt="" width="300" height="56" /></a></p>
<p>I am running the latest PC Suite 7.0.8.2 on Windows XP in Virtualbox 1.6.4. My current workaround is to connect to the phone over bluetooth from the same Virtual XP installation using a USB Bluetooth dongle. I must say that this part is a bit of a pain in the ..... Well, I guess you can't have it all.</p>
<p>The issue has been reported at both Virtualbox and Nokia forums so hopefully there will be a fix soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://patrik.cqure.net/wordpress/2008/08/27/virtualbox-and-nokia-pc-suite/feed/</wfw:commentRss>
		</item>
		<item>
		<title>more wi-fi AP testing</title>
		<link>http://patrik.cqure.net/wordpress/2008/08/27/more-wi-fi-ap-testing/</link>
		<comments>http://patrik.cqure.net/wordpress/2008/08/27/more-wi-fi-ap-testing/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 16:08:39 +0000</pubDate>
		<dc:creator>Patrik</dc:creator>
		
		<category><![CDATA[Security]]></category>

		<category><![CDATA[airbase-ng]]></category>

		<category><![CDATA[atheros]]></category>

		<category><![CDATA[fake ap]]></category>

		<category><![CDATA[karma]]></category>

		<category><![CDATA[madwifi-ng]]></category>

		<category><![CDATA[metasploit]]></category>

		<category><![CDATA[patches]]></category>

		<category><![CDATA[rogue ap]]></category>

		<category><![CDATA[wi-fi]]></category>

		<category><![CDATA[wifi]]></category>

		<guid isPermaLink="false">http://patrik.cqure.net/wordpress/?p=43</guid>
		<description><![CDATA[OK so I've been able to get things running quite smoothly now. I cracked my Linksys WUSB54GC card open and soldered a pigtail connector to it according to the following photo http://www.josepino.com/other_projects/antenna/usb-antenna.jpg. I also added txPowerTuning=36 as option to the rt73 driver which I believe did make things somewhat better.
What remains in order to get [...]]]></description>
			<content:encoded><![CDATA[<p>OK so I've been able to get things running quite smoothly now. I cracked my Linksys WUSB54GC card open and soldered a pigtail connector to it according to the following photo <a href="http://www.josepino.com/other_projects/antenna/usb-antenna.jpg">http://www.josepino.com/other_projects/antenna/usb-antenna.jpg</a>. I also added txPowerTuning=36 as option to the rt73 driver which I believe did make things somewhat better.</p>
<p>What remains in order to get a good solid environment running is a better wifi card with a lot better transmit power, which I've ordered from the UK today. Hopefully it will be here by monday so me and my friend can do some more tests over a beer or two.</p>
]]></content:encoded>
			<wfw:commentRss>http://patrik.cqure.net/wordpress/2008/08/27/more-wi-fi-ap-testing/feed/</wfw:commentRss>
		</item>
		<item>
		<title>testing airbase-ng some more</title>
		<link>http://patrik.cqure.net/wordpress/2008/08/22/testing-airbase-ng-some-more/</link>
		<comments>http://patrik.cqure.net/wordpress/2008/08/22/testing-airbase-ng-some-more/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 12:03:22 +0000</pubDate>
		<dc:creator>Patrik</dc:creator>
		
		<category><![CDATA[Security]]></category>

		<category><![CDATA[airbase-ng]]></category>

		<category><![CDATA[atheros]]></category>

		<category><![CDATA[fake ap]]></category>

		<category><![CDATA[karma]]></category>

		<category><![CDATA[madwifi-ng]]></category>

		<category><![CDATA[metasploit]]></category>

		<category><![CDATA[patches]]></category>

		<category><![CDATA[rogue ap]]></category>

		<category><![CDATA[wi-fi]]></category>

		<category><![CDATA[wifi]]></category>

		<guid isPermaLink="false">http://patrik.cqure.net/wordpress/?p=40</guid>
		<description><![CDATA[I have had some better luck with airbase-ng the last few days, most likely due to a combination of factors.
For starters I (once more) ripped apart my USB adapter and de-soldered my external antenna cable and found a better spot for it. The new re-fitted antenna works a lot better now and actually picks up [...]]]></description>
			<content:encoded><![CDATA[<p>I have had some better luck with airbase-ng the last few days, most likely due to a combination of factors.</p>
<p>For starters I (once more) ripped apart my USB adapter and de-soldered my external antenna cable and found a better spot for it. The new re-fitted antenna works a lot better now and actually picks up quite a few new networks (and clients of course).</p>
<p>Another change I made was to switch the wireless drivers to the ones available from the git kernel sources which for the moment seem to work better than the previous ones.</p>
<p>I still believe in the airbase-ng concept of a user-mode AP which works with many different chipsets and not that dependent of driver patches. However, in order to switch away from the madwifi-patches it has to work atleast as good as they do and with a USB wifi-interface.</p>
<p>Once I get things running I'll post my setup here. If someone already has done so, please drop me a line with your setup including hardware <img src='http://patrik.cqure.net/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://patrik.cqure.net/wordpress/2008/08/22/testing-airbase-ng-some-more/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Runing karma on the eee</title>
		<link>http://patrik.cqure.net/wordpress/2008/08/20/runing-karma-on-the-eee/</link>
		<comments>http://patrik.cqure.net/wordpress/2008/08/20/runing-karma-on-the-eee/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 15:53:06 +0000</pubDate>
		<dc:creator>Patrik</dc:creator>
		
		<category><![CDATA[Security]]></category>

		<category><![CDATA[airbase-ng]]></category>

		<category><![CDATA[atheros]]></category>

		<category><![CDATA[fake ap]]></category>

		<category><![CDATA[karma]]></category>

		<category><![CDATA[metasploit]]></category>

		<category><![CDATA[patches]]></category>

		<category><![CDATA[rogue ap]]></category>

		<category><![CDATA[wi-fi]]></category>

		<category><![CDATA[wifi]]></category>

		<guid isPermaLink="false">http://patrik.cqure.net/wordpress/?p=31</guid>
		<description><![CDATA[I recently purchased a new Asus eee 900 as I dropped my previous lovely pink 700 in the floor breaking the screen  Due to its small size I thought it could be suitable for carrying around while performing wireless assesments. This led me to setting it up as both a scanning/monitoring device using the [...]]]></description>
			<content:encoded><![CDATA[<p>I recently purchased a new Asus eee 900 as I dropped my previous lovely pink 700 in the floor breaking the screen <img src='http://patrik.cqure.net/wordpress/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> Due to its small size I thought it could be suitable for carrying around while performing wireless assesments. This led me to setting it up as both a scanning/monitoring device using the built-in wireless interface and a fake access point. Kismet basically ran out of the box while the fake access point took some more work.</p>
<p>As a friend told me about the airbase-ng project I though I would give it a shot...</p>
<p><span id="more-31"></span></p>
<p>Having tried airbase-ng with both the built-in Atheros chipset and with numerous USB rt73 based wifi-interfaces I was still not satisfied with the result. Even though I got airbase-ng working (at least sometimes) it would not let clients associate to the wifi-network to the extent that the "<a href="http://blog.trailofbits.com/karma/">karma</a>" madwifi-ng driver patches do. In spots were the patched madwifi drivers were picking up and letting 10 clients associate, airbase-ng would pick up and associate one and only list direct and broadcast probes from the others. Having limited time to debug the software in order to understand the reason for this I stuck to the madwifi-ng "karma" patches.</p>
<p>A good set of "karma" madwifi-ng patches are available from www.digininja.org and can be downloaded here:<br />
<a href="http://www.digininja.org/files/karma-madwifi-0.9.4-3379.patch">http://www.digininja.org/files/karma-madwifi-0.9.4-3379.patch</a></p>
<p>These patches make it possible to activate and inactivate the "karma" behaviour by using iwpriv and therefore do not interfere as much with the driver as other patches have been doing in the past.</p>
<p>In order to install them to the eee a subversion snapshot of the madwifi-ng drivers, supporting the chipset in the eee must be downloaded. A subversion snasphot of the madwifi-ng driver can be downloaded from here:<br />
<a href="http://snapshots.madwifi.org/madwifi-hal-0.10.5.6/madwifi-hal-0.10.5.6-r3835-20080801.tar.gz">http://snapshots.madwifi.org/madwifi-hal-0.10.5.6/madwifi-hal-0.10.5.6-r3835-20080801.tar.gz</a></p>
<p>As the patches come for another subversion version than the one were downloading a couple of hunks will fail when applying the patch. In order to address these failed hunks I am supplying an additional patch which has to be applied after this first one to correct the failed hunks. This patch can be found here:<br />
<a href="http://www.cqure.net/files/001-madwifi-hal-0.10.5.6-r3835-20080801-digininja-fixup.patch">http://www.cqure.net/files/001-madwifi-hal-0.10.5.6-r3835-20080801-digininja-fixup.patch</a></p>
<p>These are the steps i took to install the patched driver to the eee PC:</p>
<pre class="bash"><span style="color: #c20cb9; font-weight: bold;">wget</span> http://snapshots.madwifi.org/madwifi-hal<span style="color: #000000;">-0.10</span><span style="color: #000000;">.5</span><span style="color: #000000;">.6</span>/madwifi-hal<span style="color: #000000;">-0.10</span><span style="color: #000000;">.5</span><span style="color: #000000;">.6</span>-r3835<span style="color: #000000;">-20080801</span>.<span style="color: #c20cb9; font-weight: bold;">tar</span>.gz
<span style="color: #c20cb9; font-weight: bold;">tar</span> xvzf madwifi-hal<span style="color: #000000;">-0.10</span><span style="color: #000000;">.5</span><span style="color: #000000;">.6</span>-r3835<span style="color: #000000;">-20080801</span>.<span style="color: #c20cb9; font-weight: bold;">tar</span>.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> madwifi-hal<span style="color: #000000;">-0.10</span><span style="color: #000000;">.5</span><span style="color: #000000;">.6</span>-r3835<span style="color: #000000;">-20080801</span>/
<span style="color: #c20cb9; font-weight: bold;">wget</span> http://www.digininja.org/files/karma-madwifi<span style="color: #000000;">-0.9</span><span style="color: #000000;">.4</span><span style="color: #000000;">-3379</span>.<span style="color: #c20cb9; font-weight: bold;">patch</span>
<span style="color: #c20cb9; font-weight: bold;">patch</span> -p1 &amp;lt; karma-madwifi<span style="color: #000000;">-0.9</span><span style="color: #000000;">.4</span><span style="color: #000000;">-3379</span>.<span style="color: #c20cb9; font-weight: bold;">patch</span>
<span style="color: #c20cb9; font-weight: bold;">wget</span> http://www.cqure.net/files/<span style="color: #000000;">001</span>-madwifi-hal<span style="color: #000000;">-0.10</span><span style="color: #000000;">.5</span><span style="color: #000000;">.6</span>-r3835<span style="color: #000000;">-20080801</span>-digininja-fixup.<span style="color: #c20cb9; font-weight: bold;">patch</span>
<span style="color: #c20cb9; font-weight: bold;">patch</span> -p1 &amp;lt; <span style="color: #000000;">001</span>-madwifi-hal<span style="color: #000000;">-0.10</span><span style="color: #000000;">.5</span><span style="color: #000000;">.6</span>-r3835<span style="color: #000000;">-20080801</span>-digininja-fixup.<span style="color: #c20cb9; font-weight: bold;">patch</span>
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://patrik.cqure.net/wordpress/2008/08/20/runing-karma-on-the-eee/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Virtualization with Virtualbox 1.6.2</title>
		<link>http://patrik.cqure.net/wordpress/2008/06/15/virtualization-with-virtualbox-162/</link>
		<comments>http://patrik.cqure.net/wordpress/2008/06/15/virtualization-with-virtualbox-162/#comments</comments>
		<pubDate>Sun, 15 Jun 2008 18:08:16 +0000</pubDate>
		<dc:creator>Patrik</dc:creator>
		
		<category><![CDATA[Virtualization]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[personal]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<category><![CDATA[virtualbox]]></category>

		<category><![CDATA[virtualisation]]></category>

		<category><![CDATA[vmware]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://patrik.cqure.net/wordpress/?p=30</guid>
		<description><![CDATA[I have been meaning to look into using Virtualbox as an alternative for VMware Workstation that I have been using for quite sometime. Now, that I have been running them in parallel for almost a month I see some  benefits and some disadvantages with both. The definition of personal use for Virtualbox is undeniably a [...]]]></description>
			<content:encoded><![CDATA[<p>I have been meaning to look into using Virtualbox as an alternative for VMware Workstation that I have been using for quite sometime. Now, that I have been running them in parallel for almost a month I see some  benefits and some disadvantages with both. The definition of personal use for Virtualbox is undeniably a big benefit. According to the licensing FAQ this is the definition of <a title="http://www.virtualbox.org/wiki/Licensing_FAQ" href="http://www.virtualbox.org/wiki/Licensing_FAQ">personal use</a>:</p>
<p><em>"Personal use is when you install the product on one or more PCs yourself and you make use of it (or even your friend, sister and grandmother). It doesn't matter whether you just use it for fun or run your multi-million euro business with it. Also, if you install it on your work PC at some large company, this is still personal use. However, if you are an administrator and want to deploy it to the 500 desktops in your company, this would not qualify as </em><em>personal use. Well, you could ask each of your 500 employees to install VirtualBox but don't you think we deserve some money in this case? We'd even assist you with any issue you might have."</em></p>
<p><span id="more-30"></span></p>
<p>Virtualbox comes in both an Open Source Edition (OSE) and a closed source edition. Apart from not supporting USB the OSE release would be sufficient for my needs and has many of the features available in VMware. For details on the differences between the OSE and closed source edition look <a title="http://www.virtualbox.org/wiki/Editions" href="http://www.virtualbox.org/wiki/Editions">here</a>.</p>
<p>My current setup is an Ubuntu host system (Hardy) on which I am virtualizing a number of different boxes used for development, testing, hacking and office stuff. The hosts I have been testing on Virtualbox all run Windows. As Hardy (at the time of the writing) had an outdated version of Virtualbox I went for a Ubuntu packaged version available from the vendor (Sun's) web site.</p>
<p>The last time I tried Virtualbox it didn't go so good as I was to lazy to reinstall my Windows boxes and migration was not as easy as now. This time this was a lot smoother as Virtualbox supports the VMWare virtual disk format. So basically I copied the disks to a new folder and created a XP configuration pointing the disks to the copied ones. Upon first boot Windows XP SP2 blue screened. This brought me to this article: <a title="http://www.virtualbox.org/wiki/Migrate_Windows" href="http://www.virtualbox.org/wiki/Migrate_Windows">http://www.virtualbox.org/wiki/Migrate_Windows</a></p>
<p>I followed the easy steps in the "How to migrate existing Windows installations to VirtualBox", involving running MergeIDE on the system when booted in VMware and disabling the agp440.sys by booting into Windows recovery console. Finally, checking the IO APIC option (as I was to lazy to change my hal) in the Virtualbox configuration I was good to go. The system booted perfectly and ones running I installed the Guest tools to get better hardware and graphic support.</p>
<p>Something that I noted directly and which I can confirm after several weeks of use is that Virtualbox at least "feels" considerably faster. I do not have any hard figures as I did not benchmark it. However, my Vista systems are quite fast and I can now actually do some real work on them. Another thing that works a LOT faster is suspending and resuming guest systems, and as I use this feature a lot. In Virtualbox this takes seconds rather than minutes, even with systems having a gig or more of memory.</p>
<p>Another nice thing with Virtualbox is its support for something called Seamless Mode. This mode allows for windows from virtual machines to better blend in with windows from the host OS. In this way you can have Windows applications from the guest side by side with your host applications.</p>
<p>Bridging network interfaces is one of the things that isn't as smooth as in VMware. In VMware it's a piece of cake and works painlessly (except for some wireless configurations). In Virtualbox it involves using the hosts OS bridging capabilities which makes it slightly more painful. My first attempt on bridging my wireless-interface failed miserably and I haven't tried since. The NAT networking however is roughly the same. Both applications support virtualizing the interface as either the AMD PCNet or the Intel Pro adapter.</p>
<p>When switching from the OSE release to the closed source 1.6.2 release that I am running now I experienced some troubles with the USB support. Each time I configured a guest machine I received the following warning <em>"Could not load the Host USB Proxy Service (VERR_FILE_NOT_FOUND). The service might be not installed on the host computer.". </em>The consequences of the error, as it suggests, was that obviously USB was not working. This was because Virtualbox looks in the old /proc/bus/usb location rather /dev/bus/usb for details regarding USB. In order to fix this in Ubuntu one needs to edit the /etc/init.d/mountdevsubfs.sh file.</p>
<pre class="bash"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit /etc/init.d/mountdevsubfs.<span style="color: #c20cb9; font-weight: bold;">sh</span></pre>
<p>Look for the following section in this file:<br />
<code><br />
#<br />
# Magic to make /proc/bus/usb work<br />
#<br />
#mkdir -p /dev/bus/usb/.usbfs<br />
#domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644<br />
#ln -s .usbfs/devices /dev/bus/usb/devices<br />
#mount --rbind /dev/bus/usb /proc/bus/usb<br />
</code></p>
<p>Then uncomment the last four lines so it looks like this:<br />
<code><br />
#<br />
# Magic to make /proc/bus/usb work<br />
#<br />
mkdir -p /dev/bus/usb/.usbfs<br />
domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644<br />
ln -s .usbfs/devices /dev/bus/usb/devices<br />
mount --rbind /dev/bus/usb /proc/bus/usb<br />
</code></p>
<p>Finally, even though Virtualbox looks very promising it has crashed 3 or four times during the last month, something that has not happened for me once running VMware for the last couple of years. This was obviously VERY annoying and unacceptable. I don't know what to blame so far my however I would gladly blame my crappy HP6910p notebook. However, that would probably not be fair as I am running VMware on this same hardware.</p>
<p>So, I still have some more parameters to compare, investigate and try on my part before making a decision on what platform to use in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://patrik.cqure.net/wordpress/2008/06/15/virtualization-with-virtualbox-162/feed/</wfw:commentRss>
		</item>
		<item>
		<title>More on GnomeDo</title>
		<link>http://patrik.cqure.net/wordpress/2008/06/14/more-on-gnomedo/</link>
		<comments>http://patrik.cqure.net/wordpress/2008/06/14/more-on-gnomedo/#comments</comments>
		<pubDate>Sat, 14 Jun 2008 19:49:25 +0000</pubDate>
		<dc:creator>Patrik</dc:creator>
		
		<category><![CDATA[Ubuntu]]></category>

		<category><![CDATA[0.5.0]]></category>

		<category><![CDATA[do]]></category>

		<category><![CDATA[gnome]]></category>

		<category><![CDATA[Hardy]]></category>

		<guid isPermaLink="false">http://patrik.cqure.net/wordpress/?p=29</guid>
		<description><![CDATA[Updating to version 0.5.0 brings even greate power and functionality to Do. At the time of the writing this version is not available in Ubuntu 8.04 Hardy. In order to install it follow the installation guide here.
I realized that I was missing a dependency (libevolution3.0-cil) needed to get the Evolution plugin running. Simply installing it [...]]]></description>
			<content:encoded><![CDATA[<p>Updating to version 0.5.0 brings even greate power and functionality to Do. At the time of the writing this version is not available in Ubuntu 8.04 Hardy. In order to install it follow the installation guide <a title="https://wiki.ubuntu.com/GnomeDo/Installation" href="https://wiki.ubuntu.com/GnomeDo/Installation">here</a>.</p>
<p>I realized that I was missing a dependency (libevolution3.0-cil) needed to get the Evolution plugin running. Simply installing it after Do was in place resolved my troubles:</p>
<pre lang=bash>
sudo aptitude install libevolution3.0-cil
</pre>
]]></content:encoded>
			<wfw:commentRss>http://patrik.cqure.net/wordpress/2008/06/14/more-on-gnomedo/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
