<?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>The HyRax Macrocosm &#187; Intrepid</title>
	<atom:link href="http://www.serenux.com/tag/intrepid/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.serenux.com</link>
	<description>Life, the Universe and Ubuntu.</description>
	<lastBuildDate>Sun, 29 Aug 2010 21:35:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Mini-Review: Ubuntu Intrepid Ibex 8.10 on the PlayStation3</title>
		<link>http://www.serenux.com/2009/03/mini-review-ubuntu-intrepid-ibex-810-on-the-playstation3/</link>
		<comments>http://www.serenux.com/2009/03/mini-review-ubuntu-intrepid-ibex-810-on-the-playstation3/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 05:56:35 +0000</pubDate>
		<dc:creator>HyRax</dc:creator>
				<category><![CDATA[Review]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Intrepid]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PlayStation]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.serenux.com/?p=446</guid>
		<description><![CDATA[So I finally joined the masses in next-gen console gaming nirvana when I finally bought myself a 40GB PlayStation3 that I got cheap at a Big W clearance sale for AUD$398! After playing a couple of games, one of the next things I did was to partition the hard-drive and install the PPC version of [...]]]></description>
			<content:encoded><![CDATA[<table border="0">
<tbody>
<tr>
<td>So I finally joined the masses in next-gen console gaming nirvana when I finally bought myself a 40GB PlayStation3 that I got cheap at a Big W clearance sale for AUD$398!</p>
<p>After playing a couple of games, one of the next things I did was to partition the hard-drive and install the PPC version of Ubuntu 8.10 onto it. This is a quick run-down of my experience installing and playing with it.</td>
<td><img title="PlayStation logo" src="http://www.serenux.com/~hyrax/pics/PS3%20on%20Benq%20E2200HD/PlayStation%20Colour%20Logo%20Small.png" alt="The PlayStation logo" /></td>
</tr>
</tbody>
</table>
<p><span id="more-446"></span>Well first up I needed to grab the PPC version of Ubuntu. I was under the impression that Canonical had ceased PPC Ubuntu development, but it appears they haven&#8217;t. I found the Alternate Install for a dedicated PS3 Ubuntu Intrepid 8.10 ISO <a title="Ubuntu Intrepid Alternate Install disc for PlayStation3" href="http://cdimage.ubuntu.com/ports/releases/intrepid/release/ubuntu-8.10-alternate-powerpc+ps3.iso" target="_self">here</a> for download. This disc is tailor made for the PS3 to get you up and running with the minimum of fuss.</p>
<p><em>EDIT September 2009: The release of the new &#8220;slim&#8221; PlayStation3 console has unfortunately seen Sony Computer Entertainment remove the ability to install Linux onto the hard-drive. Only owners of the older, larger PS3&#8242;s will be able to install Linux to their systems from now on.</em></p>
<p>While that downloaded, I prepared the PS3 itself. Thankfully Sony had the foresight to allow alternate operating systems to be installed, thus creating a greater attraction for tinkerers like myself. Unfortunately the ability to install Linux is marred by the fact that access is provided through a Hypervisor which does not give access to the PS3&#8242;s graphics hardware, thus preventing the possibility of creating home-brew games. It also limits you to 217MB of the total 256MB system RAM, presumably with some RAM being used for the video framebuffer much like a cheap motherboard with no dedicated video RAM.</p>
<p>Preparing the PS3 for a Linux install is simple enough. First you need to partition the drive. The PS3 OS allows you to allocate 10GB to the &#8220;other OS&#8221; or 10GB to the PS3 OS. You do not have any ability to set the size manually. Since I don&#8217;t really intend to use the PS3 as a workstation for any serious work, I opted to give Linux only 10GB. The system partitioned the drive and rebooted. <span style="color: #ff0000;"><strong><em>WARNING:</em> This process will destroy any data already on the drive, including downloaded games and configuration data. Make sure you backup your PS3 data before doing this!</strong></span></p>
<p style="text-align: center;"><a title="Click for full size" href="http://www.serenux.com/~hyrax/pics/PS3%20on%20Benq%20E2200HD/Partition%20PS3%20HDD%20for%20Ubuntu.jpg" target="_blank"><img title="Partition the PS3 HDD" src="http://www.serenux.com/~hyrax/pics/PS3%20on%20Benq%20E2200HD/Partition%20PS3%20HDD%20for%20Ubuntu_thumb.jpg" alt="Click for full size" /></a><br />
Click for full size (123K)</p>
<p>After that, you need to install the bootloader for the &#8220;other OS&#8221;. The ISO image I downloaded contained the required PS3 bootloader KBoot and once the ISO finished downloading and I burned it to a CD, I stuck it into the PS3&#8242;s optical drive and told the PS3 to go looking for the boot loader there. It found it, installed it and all was good.</p>
<p style="text-align: center;"><a title="Click for full size" href="http://www.serenux.com/~hyrax/pics/PS3%20on%20Benq%20E2200HD/Install%20the%20KBoot%20bootloader%20for%20Ubuntu.jpg" target="_blank"><img title="Install the KBoot loader for Linux" src="http://www.serenux.com/~hyrax/pics/PS3%20on%20Benq%20E2200HD/Install%20the%20KBoot%20bootloader%20for%20Ubuntu_thumb.jpg" alt="Click for full size" /></a><br />
Click for full size (129K)</p>
<p>You then need to tell the PS3 to change its &#8220;default OS&#8221; when turning on the system. By default it&#8217;s &#8220;PS3&#8243;, so I changed this in the system settings to be &#8220;Other OS&#8221; and the PS3 immediately asked if I wanted to reboot into the &#8220;other OS&#8221; now. I said &#8220;yes&#8221;. The machine shutdown and rebooted.</p>
<table border="0">
<tbody>
<tr>
<td>
<p style="text-align: center;"><a title="Click for full size" href="http://www.serenux.com/~hyrax/pics/PS3%20on%20Benq%20E2200HD/Set%20the%20default%20boot%20OS.jpg" target="_blank"><img title="Set the default OS to boot" src="http://www.serenux.com/~hyrax/pics/PS3%20on%20Benq%20E2200HD/Set%20the%20default%20boot%20OS_thumb.jpg" alt="Click for full size" /></a><br />
Click for full size (119K)</td>
<td>
<p style="text-align: center;"><a title="Click for full size" href="http://www.serenux.com/~hyrax/pics/PS3%20on%20Benq%20E2200HD/Restart%20into%20KBoot.jpg" target="_blank"><img title="Reboot into KBoot now?" src="http://www.serenux.com/~hyrax/pics/PS3%20on%20Benq%20E2200HD/Restart%20into%20KBoot_thumb.jpg" alt="Click for full size" /></a><br />
Click for full size (134K)</td>
</tr>
</tbody>
</table>
<p>Almost right away I was looking at two penguins and a bit of text centred on my Benq E2200HD screen (connected via HDMI). Like most Linux distros, all I had to do was hit Enter to begin loading the installation program. To do that, however, I needed a keyboard! I grabbed my Microsoft USB keyboard and mouse, connected them to a passive USB four-port hub and then connected that to the PS3, so I could keep the other powered USB port free if I needed it for things like external HDD&#8217;s and the like. One USB port can happily power a USB keyboard and mouse together without a problem.</p>
<p style="text-align: center;"><a title="Click for full size" href="http://www.serenux.com/~hyrax/pics/PS3%20on%20Benq%20E2200HD/KBoot%20Loader.jpg" target="_blank"><img title="The KBoot loader" src="http://www.serenux.com/~hyrax/pics/PS3%20on%20Benq%20E2200HD/KBoot%20Loader_thumb.jpg" alt="Click for full size" /></a><br />
Click for full size (192K)</p>
<p>Ubuntu&#8217;s Alternate installer for PPC processors starts and looks exactly like its x86 bretheren, so I won&#8217;t go into detail about it here other than point out that when it asked which device I wanted to install on, the hard-drive presented was just the 10GB partition that the PS3 had created &#8211; you cannot see the rest of the drive at all (because this is all the Hypervisor presents to you).</p>
<p>The rest of the installation went as normal as any x86 install, however I did notice that the overall installation time was about double that of a typical desktop install. I put this down to two factors &#8211; the PS3&#8242;s HDD is only 5400rpm and the low available memory probably slowed it down too.</p>
<p>Once installed, the system rebooted. Unlike the desktop flavour of Ubuntu, you don&#8217;t get the splash screen, only Linux&#8217;s trademarked scrolling of information (most of which has been suppressed by the &#8220;quiet&#8221; kernel option in the KBoot configuration file). The console was in 1440&#215;900 mode, but the screenshot below shows the console in 1920&#215;1080 mode after I changed the config (see further below).</p>
<p style="text-align: center;"><a title="Click for full size" href="http://www.serenux.com/~hyrax/pics/PS3%20on%20Benq%20E2200HD/Booting%20up%20Ubuntu%20on%20the%20PS3.jpg" target="_blank"><img title="Booting up Ubuntu on the PS3" src="http://www.serenux.com/~hyrax/pics/PS3%20on%20Benq%20E2200HD/Booting%20up%20Ubuntu%20on%20the%20PS3_thumb.jpg" alt="Click for full size" /></a><br />
Click for full size (406K)</p>
<p>Once loaded, the ever-familiar GDM login screen appeared. I logged in and within 10 seconds I was looking at the default Ubuntu Intrepid GNOME desktop. Unfortunately it didn&#8217;t fill my screen. In fact, it was only 1440&#215;900 in size on my 1920&#215;1080 monitor, neatly centred in the middle of the screen.</p>
<p>We needed to fix this, so first up was a quick review of the <a title="The PS3 Wiki" href="http://ps3wiki.qj.net/index.php/PS3_Video_Mode" target="_blank">Linux PS3 wiki</a> that had a reference for all the available screenmodes and the required changes to the KBoot configuration file that were required. In my case, I wanted to envoke a 1080p screen mode. I edited the KBoot configuration with:</p>
<pre><span style="color: #000080;">$ sudo gedit /boot/etc/kboot.conf</span></pre>
<p>&#8230;and added the following onto the ends of the two kernel lines in that file:</p>
<pre><span style="color: #000080;">video=ps3fb:mode:165</span></pre>
<p>This will tell Ubuntu to use 1080p &#8220;full screen&#8221; on reboot. I saved the configuration, performed a full system restart (you can&#8217;t just restart X) and viola! Ubuntu&#8217;s console and X displays were now in glorious 1080p.</p>
<p>If you are using an ordinary television, you can try:</p>
<pre><span style="color: #000080;">video=ps3fb:mode:166</span></pre>
<p>&#8230;which will give you full DVD resolution at 720 x 576 (576i mode), but you may need to adjust your TV&#8217;s settings to be able to see the entire picture as this will make use of your display&#8217;s &#8220;overscan&#8221; area which is generally beyond the visible area of the screem.</p>
<p style="text-align: center;"><a title="Click for full size" href="http://www.serenux.com/~hyrax/pics/PS3%20on%20Benq%20E2200HD/Ready%20to%20login.jpg" target="_blank"><img title="Ready to login to Ubuntu on the PS3 in full 1080p mode" src="http://www.serenux.com/~hyrax/pics/PS3%20on%20Benq%20E2200HD/Ready%20to%20login_thumb.jpg" alt="Click for full size" /></a><br />
Click for full size (126K)</p>
<p>Logging in and starting a few apps, Ubuntu runs exactly as you&#8217;d expect on any desktop PC system. Unfortunately due to the low memory available, performance is a little sluggish, but it&#8217;s not bad enough that you couldn&#8217;t make serious use of it.</p>
<p style="text-align: center;"><a title="Click for full size" href="http://www.serenux.com/~hyrax/pics/PS3%20on%20Benq%20E2200HD/Logged%20into%20Ubuntu%20on%20the%20PS3.jpg" target="_blank"><img title="Logged into Ubuntu on the PS3" src="http://www.serenux.com/~hyrax/pics/PS3%20on%20Benq%20E2200HD/Logged%20into%20Ubuntu%20on%20the%20PS3_thumb.jpg" alt="Click for full size" /></a><br />
Click for full size (161K)</p>
<p>I did notice that general performance improved once you had used a few applications. For example, OpenOffice.org took a full minute to load up for the first time, but subsequent starts only took about 5-10 seconds. Mozilla took about 30 seconds to start, but once up, it surfed the &#8216;net quickly and no differently to a normal desktop installation. I was also able to use the optical drive and read the content of CD, DVD and Blu-ray media. I could also happily playback most media without issue after installing the Ubuntu Restricted Extras package as well.</p>
<p>Unfortunately desktop effects such as Compiz are not possible on the PS3 because the Hypervisor does not give you direct access to the PS3&#8242;s &#8220;RSX&#8221; GPU. This was a deliberate move by Sony to prevent homebrew games being developed. Not a great loss, however, as the PS3 is already a little hampered by the fact that it has less than 256MB of RAM to work with.</p>
<p>The PS3 is now &#8220;permanently&#8221; in Linux mode until you tell it to go back to the normal PS3 OS. If you shutdown and reboot (or indeed turn the console off and back on again), it will boot straight back to Linux every time. To get back to the PS3 OS, all you have to do is issue the following command at the kboot prompt, before Ubuntu starts to boot:</p>
<pre><span style="color: #000080;">ps3-boot-game-os</span></pre>
<p>&#8230;and hit Enter. The PS3 will shutdown, restart and next thing you know you&#8217;re looking at the PS3&#8242;s normal Xross-Media Bar (XMB) menu again. To get back into Linux again, you simply change the &#8220;default OS&#8221; back to &#8220;other OS&#8221; again and reboot when prompted.</p>
<p>Ubuntu is of course not the only Linux distribution that can be installed onto the PS3, and there are plenty of videos on YouTube of people using one or more PS3&#8242;s running Linux to great effect. Check them out!</p>
<p>Conclusion: It&#8217;s awesome that Sony allow people to play with their hardware (with certain restrictions) and makes the PS3 a far more attractive option to buy than the XBox360 or even the Wii. The latter two options really are geared towards playing games only whilst the PS3 can entertain you and help you with serious work, especially tapping into the awesome power of the PPC. For families who are a cash-strapped for a new PC, the speed of Ubuntu on the PS3 won&#8217;t blow you away, however it is perfectly viable to use as a cheap home computer that can also keep the kids happy and play high-definition Blu-ray movies, however after trying out Ubuntu on a regular TV display (an old Amiga 1084 monitor) for the hell of it, 576i takes me right back to the days of Amiga Workbench in 15KHz interlace complete with full flicker!! No, you really need to have a proper 720p or preferably a 1080p display to use Ubuntu properly, to not only keep the sanity of your vision but to give you enough desktop real estate to move around as well.</p>
<p><strong><span style="color: #0000ff;">Review score: 8 out of 10</span></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.serenux.com/2009/03/mini-review-ubuntu-intrepid-ibex-810-on-the-playstation3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>HowTo: Get SigmaTel STAC 9200 chipset audio working in Ubuntu Intrepid</title>
		<link>http://www.serenux.com/2009/02/howto-get-sigmatel-stac-9200-chipset-audio-working-in-ubuntu-intrepid/</link>
		<comments>http://www.serenux.com/2009/02/howto-get-sigmatel-stac-9200-chipset-audio-working-in-ubuntu-intrepid/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 03:04:39 +0000</pubDate>
		<dc:creator>HyRax</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Audio]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Intrepid]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.serenux.com/?p=435</guid>
		<description><![CDATA[I was asked to rebuild a friend&#8217;s old Medion laptop &#8211; you know, those ones Aldi used to sell for peanuts. It&#8217;s an AMD Turion64 based machine with NVidia GeForce Go 6100 gfx and SigmaTel STAC 9200 &#8220;High Definition&#8221; audio and a 1280&#215;800 display. I have to admit it&#8217;s not a bad little machine. Anyway, [...]]]></description>
			<content:encoded><![CDATA[<p>I was asked to rebuild a friend&#8217;s old Medion laptop &#8211; you know, those ones Aldi used to sell for peanuts. It&#8217;s an AMD Turion64 based machine with NVidia GeForce Go 6100 gfx and SigmaTel STAC 9200 &#8220;High Definition&#8221; audio and a 1280&#215;800 display. I have to admit it&#8217;s not a bad little machine.</p>
<p>Anyway, the default installation of Ubuntu Intrepid picks up everything except the Fn keys, wireless LAN adapter and the audio. The wireless LAN adapter has proven to be a bit of a challenge, so if I suss it out, I&#8217;ll write up about it later. Fn keys I&#8217;m not really fussed about (and neither is the laptop&#8217;s owner), but we needed the audio.</p>
<p><span id="more-435"></span>The SigmaTel STAC 9200 has a dotted history of frustration among Linux users in general, but thankfully it <em>was</em> fixed in Kernel 2.6.27-7 and Alsa 1.0.15. Unfortunately a vanilla installation of Ubuntu it still is unable to autodetect the hardware 100% properly (it will find it and name it, but all you get is silence), so you have to make one tiny manual adjustment before sound will work properly.</p>
<ol>
<li>Open up a terminal and type the following at the $ prompt:
<pre><span style="color: #000080;">$ sudo gedit /etc/modprobe.d/alsa-base</span></pre>
</li>
<li>This opens up the file in the GEdit text editor. Scroll to the end of the file, hit Enter to make a new line and add the following:
<pre><span style="color: #000080;">options snd-hda-intel model=gateway</span></pre>
</li>
<li>Save your changes and close the editor.<br />
.</li>
<li>Now reboot. When Ubuntu comes back, you will have working audio!</li>
</ol>
<p><em>Note: Reader Mouhcine has suggested that if &#8220;model=gateway&#8221; does not work for you in step 2, try using &#8220;model=gateway-m4&#8243; which may give you more success in Ubuntu Jaunty.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.serenux.com/2009/02/howto-get-sigmatel-stac-9200-chipset-audio-working-in-ubuntu-intrepid/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>HowTo: Install OpenOffice.org 3.0.1 in Ubuntu Intrepid 8.10 right NOW rather than wait for Ubuntu Jaunty 9.04</title>
		<link>http://www.serenux.com/2009/01/howto-install-openofficeorg-301-in-ubuntu-intrepid-810-right-now-rather-than-wait-for-ubuntu-jaunty-904/</link>
		<comments>http://www.serenux.com/2009/01/howto-install-openofficeorg-301-in-ubuntu-intrepid-810-right-now-rather-than-wait-for-ubuntu-jaunty-904/#comments</comments>
		<pubDate>Mon, 26 Jan 2009 08:45:41 +0000</pubDate>
		<dc:creator>HyRax</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Applications]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Intrepid]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenOffice.org]]></category>
		<category><![CDATA[Repository]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.serenux.com/?p=397</guid>
		<description><![CDATA[OpenOffice.org 3.0.x has been out for awhile now, but unfortunately did not get released in time to be included with Ubuntu Intrepid 8.10 back in October 2008, so Intrepid shipped with OpenOffice.org 2.4.1 instead. Bummer. OpenOffice.org 3.0.x will be included in Ubuntu Jaunty 9.04 in April 2009, but as some people have noticed, there are [...]]]></description>
			<content:encoded><![CDATA[<p>OpenOffice.org 3.0.x has been out for awhile now, but unfortunately did not get released in time to be included with Ubuntu Intrepid 8.10 back in October 2008, so Intrepid shipped with OpenOffice.org 2.4.1 instead. Bummer.</p>
<p>OpenOffice.org 3.0.x will be included in Ubuntu Jaunty 9.04 in April 2009, but as some people have noticed, there are some useful features in OpenOffice.org 3.0.x (such as much improved Word doc importing) that can make waiting another four months seem like a bloody long time to upgrade. You want 3.0 <em>now</em>, not in four months!</p>
<p>So for the impatient among you, here&#8217;s the most painless and easiest way to upgrade your OpenOffice.org to 3.0.1 without having to deal with downloading individual packages or TAR archives from the OpenOffice.org website, or manually having to satisfy the extra dependencies that OpenOffice.org 3.0.1 requires.</p>
<p><span id="more-397"></span></p>
<ol>
<li>First up, open a terminal.<br />
.</li>
<li>Now type in:
<pre><span style="color: #000080;">$ sudo gedit /etc/apt/sources.list.d/openoffice.list</span></pre>
<p>&#8230;and your text editor will appear with a blank new file to type into.</li>
<li>Copy &amp; paste or type in the following line into the editor:
<pre><span style="color: #000080;">deb http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main
</span></pre>
<p><span style="color: #000080;"><img class="aligncenter size-full wp-image-401" title="Adding the repository using GEdit" src="http://www.serenux.com/wp-content/uploads/2009/01/geditwindow.jpg" alt="Adding the repository using GEdit" width="571" height="331" /></span></li>
<li>Save your file and close the text editor.<br />
.</li>
<li>Now type in at the terminal:
<pre><span style="color: #000080;">$ sudo apt-get update</span></pre>
</li>
<li>You should observe that a warning message regarding NO_PUBKEY will appear after the update has completed as follows:
<pre><span style="color: #000080;">W: GPG error: http://ppa.launchpad.net intrepid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 60D11217247D1CFF</span></pre>
<p>This is because you don&#8217;t yet have the public key for this OpenOffice.org repository to be able to authenticate anything from it, so we need to add it with the following command at the $ prompt:</p>
<pre><span style="color: #000080;">$ <code>gpg --keyserver keyserver.ubuntu.com --recv</code></span> <span style="color: #000080;">60D11217247D1CFF</span>
<span style="color: #000080;">gpg: requesting key 247D1CFF from hkp server keyserver.ubuntu.com
gpg: key 247D1CFF: public key "Launchpad PPA for OpenOffice.org Scribblers" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
$</span></pre>
<p>Right, that downloaded the key from the Ubuntu keyserver to your PC. Now we need to tell Apt to use that downloaded key to authenticate with. Do do this, type in:</p>
<pre><span style="color: #000080;"><code>$ gpg --export --armor </code></span><span style="color: #000080;">60D11217247D1CFF</span> <span style="color: #000080;"><code>| sudo apt-key add -
</code>OK
$</span></pre>
</li>
<li>If you now run Step 5&#8242;s command again (sudo apt-get update), you will no longer have the NO_PUBKEY warning at the end of it.<br />
.</li>
<li>Anyway, once Apt has finished updating itself with a new list of packages, within a few seconds, your Update Manager will pop up the red arrow in the system tray advising that there are new updates to download.<br />
.<img class="aligncenter size-full wp-image-405" title="Software Updates are Available" src="http://www.serenux.com/wp-content/uploads/2009/01/softwareupdatesavailable.jpg" alt="Software Updates are Available" width="422" height="162" /><br />
.</li>
<li>When you open Update Manager, you will find that they are all upgrades to OpenOffice.org 3.0.x including the extra dependencies required! Sweet!<br />
.<img class="aligncenter size-full wp-image-404" title="OpenOffice.org Updates ready to install" src="http://www.serenux.com/wp-content/uploads/2009/01/openofficeorgupdates.jpg" alt="OpenOffice.org Updates ready to install" width="587" height="661" /><br />
.</li>
<li>Hit the &#8220;Install Updates&#8221; button. If you are presented with a dialog box warning you that some of the packages cannot be authenticated, then you have not got the Public Key from the Ubuntu Keyserver to authenticate the new OpenOffice.org packages. This is because this OpenOffice.org 3.0.1 repository is not official nor permanent and was only setup to satisfy the impatient ones out there (ie: you!). It is not critical that the packages be authenticated, but that is up to you to decide. If you&#8217;d rather not install unauthenticated packages, then just click the Cancel button and stop following these instructions. <strong>If you followed Step 6 properly, then you will <em>not</em> get this warning message because the public key you downloaded in Step 6 will authenticate the packages properly and the download of updates will commence immediately as per Step 11.</strong><br />
.<img class="aligncenter size-full wp-image-403" title="Warning about Not Authenticated Packages" src="http://www.serenux.com/wp-content/uploads/2009/01/notauthenticatedpackages.jpg" alt="Warning about Not Authenticated Packages" width="450" height="550" /><br />
.</li>
<li>Hit the Apply button and allow the system to download and install as normal.<br />
.</li>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-400" title="Downloading Packages" src="http://www.serenux.com/wp-content/uploads/2009/01/downloadingpackages.jpg" alt="Downloading Packages" width="283" height="209" /></p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-402" title="Installing OpenOffice.org" src="http://www.serenux.com/wp-content/uploads/2009/01/installingopenoffice.jpg" alt="Installing OpenOffice.org" width="484" height="243" /></p>
<li>When completed, start up OpenOffice.org as normal and you will see that the splash loader and the Help-&gt;About page show that you now have OpenOffice.org 3.0.1!<br />
.<img class="aligncenter size-full wp-image-399" title="About OpenOffice.org" src="http://www.serenux.com/wp-content/uploads/2009/01/aboutopenoffice.jpg" alt="About OpenOffice.org" width="425" height="349" /><br />
.</li>
<li>Pat yourself on the back. You&#8217;re done.</li>
</ol>
<p>How is this possible anyway? Well, seems that demand for OpenOffice.org 3.0.x has been so great that the nice guys at <a title="OpenOffice.org Scribblers Homepage" href="https://launchpad.net/~openoffice-pkgs" target="_blank">OpenOffice.org Scribblers</a> decided to put together a quick little dedicated repository for it on the Launchpad site, so all kudos and credit go to them. The repo only works for Ubuntu Intrepid, so for users of earlier versions of Ubuntu, you will still need to download the .debs and install them manually from the OpenOffice.org website.</p>
<p><em>Credit goes to stmok from Overclockers Australia for advising of the public key solution used in Step 6 &#8211; thanks!<br />
</em></p>
<div class='wp_likes' id='wp_likes_post-397'><a class='like' href="javascript:wp_likes.like(397);" title='' ><img src="http://www.serenux.com/wp-content/plugins/wp-likes/images/like.gif" alt='' border='0'/>Like</a><span class='text'></span>
<div class='unlike'><a href="javascript:wp_likes.unlike(397);">Unlike</a></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.serenux.com/2009/01/howto-install-openofficeorg-301-in-ubuntu-intrepid-810-right-now-rather-than-wait-for-ubuntu-jaunty-904/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>HowTo: Rip a Blu-ray movie using an LG GGC-H20L Blu-ray drive with Ubuntu</title>
		<link>http://www.serenux.com/2009/01/howto-rip-a-blu-ray-movie-using-an-lg-ggc-h20l-blu-ray-drive-with-ubuntu/</link>
		<comments>http://www.serenux.com/2009/01/howto-rip-a-blu-ray-movie-using-an-lg-ggc-h20l-blu-ray-drive-with-ubuntu/#comments</comments>
		<pubDate>Sat, 24 Jan 2009 00:50:03 +0000</pubDate>
		<dc:creator>HyRax</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Blu-ray]]></category>
		<category><![CDATA[High-Definition]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Intrepid]]></category>
		<category><![CDATA[LG]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MPlayer]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.serenux.com/?p=356</guid>
		<description><![CDATA[The Blu-ray disc format has brought with it the ability to easily provide the next generation of High-Definition 1080p movie content. There&#8217;s just one problem &#8211; Ubuntu and Linux in general has no official support for Blu-ray, and its encryption scheme is vastly different to that of DVD &#8211; it&#8217;s not just a simple case [...]]]></description>
			<content:encoded><![CDATA[<p>The Blu-ray disc format has brought with it the ability to easily provide the next generation of High-Definition 1080p movie content. There&#8217;s just one problem &#8211; Ubuntu and Linux in general has no official support for Blu-ray, and its encryption scheme is vastly different to that of DVD &#8211; it&#8217;s not just a simple case of installing a library like the libdvdcss2 library for decrypting DVD&#8217;s &#8211; the protection is done both at a software and hardware level.</p>
<p>This article discusses how I used my recently purchased LG GGC-H20L Blu-ray ROM drive to successfully read and watch movies using Ubuntu Intrepid.</p>
<p><span id="more-356"></span><em>DISCLAIMER: This article describes decrypting BD titles using an Intel or AMD based PC with Ubuntu Linux. While you can use a PlayStation3&#8242;s BD drive to read and decrypt a title using <strong>known</strong> decryption keys using the PS3 version of Ubuntu, at this time of writing you <strong>cannot</strong> use Ubuntu installed on a PlayStation3 console to identify <strong>unknown</strong> decryption keys of a given BD title because the application used to derive those keys from the disc is not available for the PPC processor used by the PS3. You must use a consumer BD-ROM drive on an Intel or AMD based PC instead.<br />
</em></p>
<p>Hang on, you say &#8211; if there is no support for playback of Blu-ray movies on Linux, then why buy a Blu-ray drive if you can&#8217;t watch the movies? Well, I might not be able to watch them directly, but I can certainly rip the little buggers and watch a file version of it instead. But wait again, you say, if there&#8217;s no official Blu-ray support, and you can&#8217;t watch the discs directly, then how on earth do you rip them?? I&#8217;m glad you asked, and even if you didn&#8217;t ask, I&#8217;m about to tell you anyway. <img src='http://www.serenux.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>First up, a little Blu-ray 101.</p>
<p>Blu-ray movies feature Digital Rights Management (DRM). Like DVD&#8217;s before it, most Blu-ray movies are encrypted. This is to stop those naughty pirate types from making illegal backups of the movie and giving or selling it to their mates. In the case of DVD&#8217;s, however, there was only one decryption key which was eventually discovered and from then on allowed all DVD&#8217;s to be easily decrypted using a simple library (called libdvdcss2). The movie industry as a whole were not impressed by this and insisted that the next format be more difficult (preferably impossible) to decrypt, so Blu-rays (and HD-DVD&#8217;s, but I&#8217;ll concentrate on Blu-ray for this article) each have a different decryption key now. But to complicate this further, this key is kept hidden from you by an authentication mechanism to ensure that there isn&#8217;t a repeat of the De-CSS scandal that brought the DVD encryption scheme undone.</p>
<p>Each and every player out there, hardware or software, has a unique player authentication key which is passed to the Blu-ray optical drive, essentially like giving your passport to Customs at the country border, to validate whether or not you are legally authorised to  playback a movie. If the drive has not got a blacklisted record of your authentication key, and the key is accepted as a generally valid key that has been paid for, THEN the drive will give up the movie&#8217;s decryption key and movie playback can commence.</p>
<p>Blacklist?? What blacklist? Well, like DVD players, it&#8217;s not difficult to pick up a Blu-ray player&#8217;s authentication key that is used to prompt the drive for the disc&#8217;s decryption key, after all, it has to be held in memory somewhere. Once an industry authority discovers that an authentication key has been compromised, it is added to a blacklist so that it will not work anymore. This is why hardware Blu-ray players need to be firmware-upgradable, and why software players need to be upgraded to the next version periodically with patches, etc, so that new, non-blacklisted authentication keys can be provided.</p>
<p>OK, that sounds all well and good, but if the Blu-ray drive itself is doing the blacklisting, how exactly does it know when a given authentication key is no longer valid? Simple &#8211; its blacklist will get updated with the next latest-release movie you buy.</p>
<p>Say what?</p>
<p>Every Blu-ray movie you buy has a little file on the disc under the &#8220;AACS&#8221; folder called &#8220;ContentRevocation.lst&#8221;. This file contains a complete list of blacklisted authentication keys for the drive to update itself with, and &#8211; get this &#8211; you can&#8217;t stop the drive loading it. Well, actually to be more accurate this file is simply a copy of the same list that is actually hidden in a non-tamperable, non-user-readable area elsewhere on the disc for the drive to read, but basically the instant you stick that movie disc in, the hidden version of this file is read and the drive automatically updates its blacklist right away with any new blacklist data, even before the disc icon appears on your desktop. Sneaky, huh?</p>
<p>So the next time your legal (or more specifically, pirated) copy of PowerDVD or whatever tries to playback a movie, all of a sudden you&#8217;ll see an error message instead saying that your player&#8217;s authentication key has been revoked &#8211; thus the movie is now unplayable. What&#8217;s worse is that you won&#8217;t be able to watch any of your older discs that worked previously either! It&#8217;s this exact reason that many people have called for the Blu-ray (and HD-DVD) formats to be <a title="Why you should boycoot Blu-ray and HD-DVD." href="http://bluraysucks.com/" target="_blank">boycotted</a>.</p>
<p>But not all is lost. Remember, this is an encryption technology created by Man, and therefore can be broken by Man with a bit of help from the Open Source Community at large. <img src='http://www.serenux.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  With a little help from a few external resources including the <a title="Ubuntu Community Documentation" href="https://help.ubuntu.com/community/RestrictedFormats/BluRayAndHDDVD" target="_blank">Ubuntu Community Documentation</a> and the <a title="Doom9 Forums" href="http://forum.doom9.org" target="_blank">Doom9 forums</a>, I discovered a plethora of projects by various people, from dumping discs to breaking the encryption and authentication.</p>
<p>On the surface are general applications to dump the movie, decrypted, to a file. One of the best projects is <a title="DumpHD on the Doom9 Forums" href="http://forum.doom9.org/showthread.php?t=123111" target="_blank">DumpHD</a> which is a Java app that provides a nice easy to use GUI that can rip a movie with a minimum of fuss (see detail about how to use it later in this article), however it requires that you already know what the decryption key for a given movie is which you can only obtain if you have authenticated with the drive. If you have the decryption key already, however, then authentication is not necessary and you can rip the movie right away without a problem, so this project is heavily supported by people posting up various decryption keys for all sorts of movie releases. The problem with this approach, however, is that different countries usually get different releases of the same movie, so for example a release of &#8220;Batman Begins&#8221; in Australia might have a completely different decryption key to the release of &#8220;Batman Begins&#8221; in America or Europe. This is not always the case of course, a good example being the Ewan McGregor movie &#8220;The Island&#8221; &#8211; the Australian release is actually the UK release, right down to the age-rating and film-office classification markings on the disc itself &#8211; only the box bears any Australian ratings markings!</p>
<p style="text-align: center;"><a title="Click for full size" href="http://www.serenux.com/~hyrax/snaps/BlurayMovieInserting.jpg" target="_blank"><img title="Inserting a Blu-ray movie into the LG GGC-H20L" src="http://www.serenux.com/~hyrax/snaps/BlurayMovieInserting_thumb.jpg" alt="Click for full size" /></a><br />
Click for full size (228K)</p>
<p>So, how do you find out the decryption key of your locally purchased movie then? You don&#8217;t want to keep buying a commercial player, especially one that doesn&#8217;t run under Ubuntu, just to get a valid authentication key. There&#8217;s got to be a better way! Well, there is! How about we just bypass the authentication procedure altogether? How? Again, through another great contribution on the Doom9 forums.</p>
<p>The LG GGC-H20L drive is but one of many Blu-ray/HD-DVD drives which have had their firmware reverse-engineered. Firmware is largely just a computer program that operates the drive. Since the firmware is upgradable to fix bugs and add new features to the drive, it means the program can be altered by a third party. A Doom9 contributor has provided <a title="Modified Blu-ray drive firmware" href="http://forum.doom9.org/showthread.php?t=139522" target="_blank">modified firmware</a> for various popular drives, including the GGC-H20L that effectively allow the drive to ignore the authentication procedure no matter what player authentication key is provided, blacklisted or not, thus making the drive give up the decryption key for the Blu-ray movie currently inserted every time!</p>
<p>In the case of the LG GGC-H20L that I use, the firmware is provided as a Windows Executable file. There are three ways to run this, either via a native Windows installation on your PC, a virtualised Windows installation on your PC, or via the Wine compatibility layer. I successfully upgraded my drive using the Wine option as follows:</p>
<p><em><span style="color: #ff0000;"><strong>WARNING: The following information can damage or even brick your LG Blu-ray drive if not followed correctly, or if you have a power failure during firmware update. You proceed at your own risk and I will not be held responsible for any damage incurred by your drive, or for loss of hair being torn out, by following these instructions.</strong></span></em></p>
<ol>
<li>You need a normal Wine installation. If you&#8217;ve never installed it before, then type in:
<pre><span style="color: #000080;">$ sudo apt-get install wine</span></pre>
<p>&#8230;and this will install the Ubuntu-repository version of Wine.</li>
<li>Since we&#8217;ll be modifying a physical device, only root can do that, so we will need to use sudo to execute the firmware upgrade, however Wine will not work as root until we change permissions of your Wine configuration in your Home directory, so type in the following to make root the owner of your Wine configuration:
<pre><span style="color: #000080;">$ sudo chown -R root:root ~/.wine</span></pre>
</li>
<li>Now execute the downloaded firmware file:
<pre><span style="color: #000080;">$ sudo wine GGC-H20L_1.03_VolumeID_Patch.exe</span></pre>
</li>
<li>The Upgrade GUI will appear. Click on the button to commence update and let it do its thing. After a minute or two, it will tell you that the drive firmware has been successfully updated. At this point, you will need to reboot your PC, but before you do, remember to change the owner of your Wine installation back to yourself. If your login was &#8220;jbloggs&#8221;, then you&#8217;d type in:
<pre><span style="color: #000080;">$ sudo chown -R jbloggs:jbloggs ~/.wine</span></pre>
</li>
</ol>
<p>Upon returning from restart, every time you query the drive for the inserted disc&#8217;s decryption key, the drive will now happily give it to you without question. Nice.</p>
<p>So how do we query the drive for that decryption key anyway? A simple tool to do this is <a title="AACSKeys - gets a movie's decryption key" href="http://forum.doom9.org/showthread.php?p=1320065#post1320065" target="_blank">aacskeys</a> (version 0.4.0c at this time of writing, but check further along the thread for newer releases) written by another Doom9 member, which queries the drive and tells you its Volume Unique Key and its Disc ID, which you can then copy and paste into DumpHD&#8217;s keys config file and happily begin dumping your movie.</p>
<pre><span style="color: #000080;">$ ./aacskeys /media/cdrom
aacskeys 0.3.6 by arnezami, KenD00

Volume Unique Key:              5D9BCD44522B6940F8705400DA612ED9
Unit Key File Hash (Disc ID):   837487B4D6F614D5B4D5F566387B41C2D284F393
$ </span></pre>
<p>If your drive&#8217;s firmware was not patched, instead of seeing the Volume Unique Key and Disc ID, you would get this error message instead: &#8220;The given Host Certficate / Private Key has been revoked by your drive.&#8221;.</p>
<p>We now need to take the output data and copy it to DumpHD&#8217;s &#8220;keydb.cfg&#8221; file. Each key is placed on its own line in the following format:</p>
<pre><span style="color: #000080;">DISC ID = Movie Title | D | YYYY-MM-DD | V | VOLUME UNIQUE KEY</span></pre>
<p>Thus in the example above, we would enter:</p>
<pre><span style="color: #000080;">837487B4D6F614D5B4D5F566387B41C2D284F393 = The Island | D | 2007-03-22 | V | </span><span style="color: #000080;">5D9BCD44522B6940F8705400DA612ED9
</span></pre>
<p>Now technically it appears that the date is largly irelevant, and most people just use 0000-00-00 instead of a real date (which is supposed to be the file date of the &#8220;Unit_Key_RO.inf&#8221; file in the &#8220;AACS&#8221; folder of the disc). I have tested this and I can&#8217;t see any difference in how DumpHD handles the disc.</p>
<p>Once you have finished editing the keydb.cfg file, save it.</p>
<p><em>NOTE: DumpHD (below) can now use AACSKeys directly, saving you having to edit to the keydb.cfg file manually, because DumpHD now does all the work for you. See <a title="A better way of using AACSKeys with DumpHD." href="http://www.serenux.com/2009/09/howto-deal-with-bd-copy-protection-when-ripping-blu-ray-titles-using-ubuntu/" target="_blank">this article</a> for more information.</em></p>
<p>Since DumpHD is a Java application, you will need Java installed to run it. If you haven&#8217;t already got it installed, you can install it with the following command:</p>
<pre><span style="color: #000080;">sudo apt-get install java-common</span></pre>
<p>&#8230;or more realistically you should install it as part of the ubuntu-restricted-extras package which also installs a number of other useful packages:</p>
<pre><span style="color: #000080;">sudo apt-get install ubuntu-restricted-extras</span></pre>
<p>Once that is done, launch DumpHD by simply running the &#8220;dumphd.sh&#8221; script by either double-clicking on it and select &#8220;Run&#8221; when prompted, or in a terminal, change to where you extracted the DumpHD program and type in:</p>
<pre><span style="color: #000080;">$ sh ./dumphd.sh</span></pre>
<p>When loaded, you will be presented with the following interface:</p>
<p style="text-align: center;"><a title="Click for full size" href="http://www.serenux.com/~hyrax/snaps/DumpHDFrontend.jpg" target="_blank"><img title="DumpHD Frontend" src="http://www.serenux.com/~hyrax/snaps/DumpHDFrontend_thumb.jpg" alt="Click for full size" /></a><br />
Click for full size (63K)</p>
<p>At the top-right of the window, there is the Source Browse button. Click on it and a new window will appear. In that window, type in or select &#8220;/media/cdrom&#8221; and then click OK. After a few seconds, the disc should be identified and you will see the window change as follows:</p>
<p style="text-align: center;"><a title="Click for full size" href="http://www.serenux.com/~hyrax/snaps/LoadedMovieReadyToRip.jpg" target="_blank"><img title="DumpHD Frontend" src="http://www.serenux.com/~hyrax/snaps/LoadedMovieReadyToRip_thumb.jpg" alt="Click for full size" /></a><br />
Click for full size (85K)</p>
<p>Now all you need to do is click on the Destination Browse button, specify a place to store the decrypted movie and then click the Dump button to start the whole process! Once finished, you will have every video title found on the disc dumped in its originally encoded (video-wise) format, but without DRM. You can then use MPlayer to play these files directly. Generally the movie itself is the largest file, so in the case of my example, it&#8217;s the &#8220;00000.m2ts&#8221; file. I can play it simply with:</p>
<pre><span style="color: #000080;">$ mplayer -fs 00000.m2ts</span></pre>
<p>The -fs parameter plays the movie full-screen. I can toggle audio tracks using the hash (#) key (as for some reason, English is generally not the first audio track on the disc).</p>
<p>Remember that Blu-ray movies are very large. In my example, &#8220;The Island&#8221; is a good 21GB! It&#8217;s now up to you to decide whether or not you want to provide storage for your rips of this size, or whether or not you want to compress them down to save space. In my case, I was able to compress the movie down to about 4GB with negligible quality loss at a bitrate of 1200 using the x264 codec. I&#8217;ll probably increase this bitrate and allow the filesize to go to 8GB so I can maintain as near-perfect image quality to the original Blu-ray as possible. I personally choose to preserve the audio tracks as-is without down-converting them &#8211; they really don&#8217;t eat up that much space &#8211; a few hundred megabytes only.</p>
<p>Happy ripping!</p>
<p><span style="color: #0000ff;"><em><span style="text-decoration: underline;"><strong>Woah! After I&#8217;ve ripped the movie, it plays but it&#8217;s all corrupted! What&#8217;s going on?</strong></span></em></span></p>
<p>The movie you have ripped is likely protected using BD+ protection. This is where some or much of the movie is deliberately corrupted to annoy you. I have written a guide on how to deal with this and correct the corruption <a title="Dealing with BD+ copy protection on Blu-ray discs." href="http://www.serenux.com/2009/09/howto-deal-with-bd-copy-protection-when-ripping-blu-ray-titles-using-ubuntu/" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.serenux.com/2009/01/howto-rip-a-blu-ray-movie-using-an-lg-ggc-h20l-blu-ray-drive-with-ubuntu/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Mini-review: LG GGC-H20L Super Multi Blue Blu-ray Disc &amp; HD DVD-ROM Drive on Ubuntu</title>
		<link>http://www.serenux.com/2009/01/mini-review-lg-ggc-h20l-super-multi-blue-blu-ray-disc-hd-dvd-rom-drive-on-ubuntu/</link>
		<comments>http://www.serenux.com/2009/01/mini-review-lg-ggc-h20l-super-multi-blue-blu-ray-disc-hd-dvd-rom-drive-on-ubuntu/#comments</comments>
		<pubDate>Sat, 24 Jan 2009 00:49:50 +0000</pubDate>
		<dc:creator>HyRax</dc:creator>
				<category><![CDATA[Review]]></category>
		<category><![CDATA[Blu-ray]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[High-Definition]]></category>
		<category><![CDATA[Intrepid]]></category>
		<category><![CDATA[LG]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.serenux.com/?p=355</guid>
		<description><![CDATA[Optical storage certainly has come a long way, and with each new advance brings new affordable hardware to help nudge it along. The HD-DVD and Blu-ray disc formats brought along with it the ability to store and distribute high-quality, full high-definition 1080p movies. Unlike when DVD first appeared, and probably thanks to the battle that [...]]]></description>
			<content:encoded><![CDATA[<p>Optical storage certainly has come a long way, and with each new advance brings new affordable hardware to help nudge it along. The HD-DVD and Blu-ray disc formats brought along with it the ability to store and distribute high-quality, full high-definition 1080p movies.</p>
<p>Unlike when DVD first appeared, and probably thanks to the battle that was waged between the HD-DVD and Blu-ray formats, the provision of high-definition media and associated players has dropped in price rather dramatically to drive acceptance. I have a fairly large original DVD collection, but I am a quality freak and in light of high-definition releases, I loathed the idea of buying a DVD version of a given movie knowing that for about the same price I can buy a high-definition version.</p>
<p>So I decided to buy a Blu-ray drive. One of the cheapest options on the market is LG&#8217;s internal drive option called the &#8220;Super Multi Blue Blu-ray Disc &amp; HD DVD-ROM Drive&#8221;, model GGC-H20L for about AUD$150. This review is my experience using the drive under Ubuntu 8.10, Intrepid Ibex.</p>
<p><span id="more-355"></span>My unit came packaged in a slightly larger-than-usual box with attractive print on it. I normally prefer to buy an OEM drive since this packaging generally always ends up in the bin, so I&#8217;d rather save some money. Unfortunately my retailer didn&#8217;t have any, so I had to buy the retail box.</p>
<p style="text-align: center;">
<p style="text-align: center;"><img class="aligncenter size-full wp-image-362" title="LG GGC-H20L Blu-ray and HD DVD-ROM Combo drive" src="http://www.serenux.com/wp-content/uploads/2009/01/ggc-h20l.png" alt="LG GGC-H20L Blu-ray and HD DVD-ROM Combo drive" width="350" height="150" /></p>
<p>In a nutshell, this unit is able to read HD-DVD and Blu-Ray media as well as DVD and CD media, but it can only write to DVD and CD media (all the usual formats you expect, so I won&#8217;t detail them here). This suits me fine as these days I rarely write any discs except for giving someone a copy of Ubuntu on disc, and I just needed the ability to read Blu-ray movies that I buy.</p>
<p>Out of the box, the package contains the drive itself, a program disc for Windows only with disc burning software, a backup application, a simple DVD authoring application and PowerDVD for movie playback (this disc was promptly thrown in the bin &#8211; I don&#8217;t need it). There is also a printed manual, four mounting screws and a serial ATA (SATA) cable and a serial ATA Molex-to-SATA power adapter cable provided.</p>
<p>This is my first optical drive with a SATA interface &#8211; everything before this used the usual IDE cable, so it was a pleasure to connect the drive and banish the last of my parallel cables to the cable bucket. General installation was a breeze &#8211; as typical as any other optical drive.</p>
<p>Powering up, the system recognised the drive straight away and Ubuntu started booting. Ubuntu saw the drive right away and mounted it as my CDROM drive. It still gets referred to as /media/cdrom which I could change, but honestly, there&#8217;s little point to that (and maybe I&#8217;m being just a bit lazy because typing &#8220;cdrom&#8221; is faster and easier than typing &#8220;blu-ray&#8221;).</p>
<p>The tray of the drive ejects very quietly which is a nice change from my old Sony DVD-RW unit and upon closing makes that satisfying deep &#8220;ker-klump&#8221; noise akin to the quiet closing of a door on an expensive luxury car. <img src='http://www.serenux.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  The activity light on the front of the unit is a lone bright-blue LED. Of course, a Blu-ray capable unit with a blue light &#8211; brilliant&#8230;</p>
<p>To do some basic testing, I stuck in a regular CD. The drive detected the disc within seconds and Ubuntu popped up the icon for it on my desktop. No faster or slower than my Sony drive. I was able to read the CD without any issue.</p>
<p>I repeated the test with a DVD disc. Again, no issues. The disc was identified and opened within seconds.</p>
<p>I don&#8217;t have any HD-DVD discs handy, so I was unable to test this feature (not that you can buy any of these discs out there anymore anyway).</p>
<p>I then inserted one of my newly purchased Blu-Ray movie discs. Again, the disc was detected within seconds and an icon appeared for it on my desktop (note that reading Blu-ray discs requires the UDF 2.5 filesystem which Ubuntu Intrepid thankfully has already).</p>
<p style="text-align: center;"><a title="Click for full size" href="http://www.serenux.com/~hyrax/snaps/BlurayMovieInserting.jpg" target="_blank"><img title="Inserting a Blu-ray movie into the LG GGC-H20L" src="http://www.serenux.com/~hyrax/snaps/BlurayMovieInserting_thumb.jpg" alt="Click for full size" /></a><br />
Click for full size (228K)</p>
<p>The Autorun had no idea what to do with the disc:</p>
<p style="text-align: center;">
<p style="text-align: center;"><img class="aligncenter size-full wp-image-358" title="Autorun Prompt for a Blu-ray disc" src="http://www.serenux.com/wp-content/uploads/2009/01/autorunprompt.jpg" alt="Autorun Prompt for a Blu-ray disc" width="384" height="281" /></p>
<p>I was half expecting the laser to spend a few extra seconds determining whether or not the disc was Blu-ray or HD-DVD, but clearly a delay is not needed, despite using a different laser. I was impressed. Again, I was able to read and navigate the Blu-ray disc and I was also able to copy files from it without any issue. The drive transferred data at approximately 8.8MB per second. I was able to read off 500MB worth of data in about 1 minute. In the case of the movie disc I inserted, the actual feature is a 21GB file which would have taken approximately 40 minutes to copy.</p>
<p><img class="aligncenter size-full wp-image-359" title="Opening up a Blu-ray movie disc in Nautilus" src="http://www.serenux.com/wp-content/uploads/2009/01/bluraymovienautilus.jpg" alt="Opening up a Blu-ray movie disc in Nautilus" width="578" height="416" /></p>
<p>Burning discs was completed with usual success. I burnt an Ubuntu ISO to a CD using Brasero without any issue. Burning a DVD was effortless also. Again, burn time seemed to be no different to my old Sony unit.</p>
<p>The drive has Lightscribe ability as well, to burn funky labels onto Lightscribe-compatible discs, but as I did not have any such discs handy, I was unable to test this feature.</p>
<p>In operation, the drive is very quiet. Any noise it does make is certainly being overshadowed by the noise of my PC&#8217;s fan and the room air-conditioning I&#8217;m using right now.</p>
<p>Predictably I was unable to PLAY any of the Blu-ray movies I purchased due to the fact that the DRM used on these movies is vastly different to that on DVD&#8217;s, and that Linux has no official support for Blu-ray &#8211; both Totem and MPlayer certainly had no idea what the media was.</p>
<p style="text-align: center;">
<p style="text-align: center;"><img class="aligncenter size-full wp-image-360" title="Totem cant play Blu-ray" src="http://www.serenux.com/wp-content/uploads/2009/01/totemcantplaybluray.jpg" alt="Totem cant play Blu-ray" width="406" height="158" /></p>
<p style="text-align: center;">
<p>Instead, my primary use of this drive will be to make file backups of decrypted Blu-ray movies I purchase and watch them that way instead (because I&#8217;m a sucker for high-definition). I have written up a separate post detailing how I did this, the results of which are playable in both Totem and MPlayer &#8211; you can read it <a title="How to rip a Blu-ray movie." href="http://www.serenux.com/?p=356" target="_blank">here</a>.</p>
<p>All up, I think this is a good value for money drive. It&#8217;s cheap, cheerful and does the job as advertised. At the moment, it appears the only widespread use of the Blu-ray medium is for movies (and PlayStation3 titles). Outside of that, my drive will ultimately still spend most of its time reading DVD and CD mediums. Who knows, maybe PC games and Linux distros will eventually be released on Blu-ray?</p>
<p>Outside of that, the drive is reasonably future-proof with the ability to be updated via firmware updates, although such updates are Windows-only executables on the LG website, which is a shame. Still, it&#8217;s better than having to deal with a DOS boot floppy of old, and it is possible to run the firmware update through a virtual Windows session or via Wine. At the time of writing, my drive was delivered with version 1.03 of the firmware.</p>
<p>Aside from its enforcement of DRM, the Windows-only firmware upgrades and its decidely Volvo-like aesthetics (it&#8217;s boxy, but it&#8217;s good), there&#8217;s nothing really to fault this drive. I give it a hearty thumbs up.</p>
<p><span style="color: #0000ff;"><strong>Review score: 8 out of 10</strong></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.serenux.com/2009/01/mini-review-lg-ggc-h20l-super-multi-blue-blu-ray-disc-hd-dvd-rom-drive-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>HowTo: Pair your Bluetooth mobile phone with Ubuntu Intrepid for file transfers etc.</title>
		<link>http://www.serenux.com/2008/12/howto-pair-your-bluetooth-mobile-phone-with-ubuntu-intrepid-for-file-transfers-etc/</link>
		<comments>http://www.serenux.com/2008/12/howto-pair-your-bluetooth-mobile-phone-with-ubuntu-intrepid-for-file-transfers-etc/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 21:59:03 +0000</pubDate>
		<dc:creator>HyRax</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Intrepid]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Nokia]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.serenux.com/?p=187</guid>
		<description><![CDATA[While connecting a Bluetooth mobile phone to Ubuntu was not terribly difficult, Ubuntu Intrepid brings with it a new Wizard for connecting all manner of Bluetooth devices without the user having to touch the command line at all. So, to that end, here is an update to my previous HowTo for connecting a Bluetooth mobile [...]]]></description>
			<content:encoded><![CDATA[<p>While connecting a Bluetooth mobile phone to Ubuntu was not terribly difficult, Ubuntu Intrepid brings with it a new Wizard for connecting all manner of Bluetooth devices without the user having to touch the command line at all.</p>
<p>So, to that end, here is an update to my previous HowTo for <a title="HowTo: Connect a Bluetooth Mobile Phone to Ubuntu Gutsy or Ubuntu Hardy." href="http://www.serenux.com/?p=10">connecting a Bluetooth mobile phone to Ubuntu Gusty or Ubuntu Hardy</a>.</p>
<p><span id="more-187"></span></p>
<p><em><strong>EDIT August 2009: If you are wanting to connect your phone using Ubuntu Jaunty or later, you should <a title="HowTo: Pair your Bluetooth mobile phone with Ubuntu Jaunty for file transfers, etc." href="http://www.serenux.com/2009/08/howto-pair-your-bluetooth-mobile-phone-with-ubuntu-jaunty-for-file-transfers-etc/" target="_blank">follow these updated instructions</a> instead of this article.</strong></em></p>
<p>Pre-requisites:</p>
<ul>
<li>Bluetooth-enabled mobile phone (I&#8217;m using a Nokia N95 in this guide).</li>
<li>USB Bluetooth adapter or PC with built-in Bluetooth such as a modern-day notebook. Your adapter must be Bluetooth 1.2 compliant or higher.</li>
<li>A PC with Ubuntu Linux 8.10 Intrepid Ibex installed.</li>
</ul>
<p>Difficulty level: Mind-bogglingly easy. Point and click, essentially!</p>
<ol style="list-style-type: decimal;">
<li>First, plug in your USB Bluetooth adapter or enable it on your notebook. Ubuntu should recognise it immediately with no need for additional drivers. You can optionally confirm that by jumping into a terminal as issuing the lsusb command to list your USB devices:
<pre><span style="color: #333399;">$ lsusb | grep tooth
Bus 001 Device 005: ID 1310:0001 Roper Class 1 Bluetooth Dongle
$</span></pre>
</li>
<li>You’ll be happy to know that Ubuntu comes pre-installed with everything you need to get Bluetooth running, and if the driver is loaded successfully, you will see a Bluetooth icon appear in your system tray, awaiting your bidding.<br />
.</li>
<p style="text-align: center;"><img class="alignnone size-full wp-image-196" title="Bluetooth System Tray" src="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothsystemtray.jpg" alt="" width="177" height="66" /></p>
<li>Do a single left-mouse click on the Bluetooth icon and a menu appears showing &#8220;Setup new device&#8230;&#8221;.<br />
.<br />
<a href="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothsetupnewdevice.jpg"></a></li>
<p style="text-align: center;"><img class="alignnone size-full wp-image-194" title="Bluetooth Setup New Device" src="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothsetupnewdevice.jpg" alt="" width="188" height="68" /></p>
<li>Once you choose the menu option, the Bluetooth Device Wizard will appear.<br />
.<br />
<a href="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothsetupwizardstart.jpg"><img class="alignnone size-full wp-image-195" title="Bluetooth Setup Wizard Start" src="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothsetupwizardstart.jpg" alt="" width="474" height="469" /><br />
</a>.<a href="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothsetupwizardstart.jpg"><br />
</a></li>
<li>Click Forward and your system will begin scanning for local Bluetooth devices. Whatever it finds will be shown in the list (note that this may take a few seconds to update). One of them should be your Bluetooth-enabled mobile phone (which will initially appears as its MAC address, but then after a few seconds will change to the name assigned to that device). If you cannot see your phone after a few seconds, make sure that Bluetooth is enabled on your handset and try again from Step 3.<br />
.<br />
<a href="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothsetupdeviceselection.jpg"><img class="alignnone size-full wp-image-193" title="Bluetooth Setup Device Selection" src="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothsetupdeviceselection.jpg" alt="" width="474" height="469" /><br />
</a>.<br />
<a href="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothsetupdeviceselection.jpg"><br />
</a></li>
<li>Select your phone and his Forward. Ubuntu will then generate a random PIN number and commence a pairing request with your phone. Your phone handset, meantime, should immediately prompt you to enter the randomly-generated PIN number.<br />
.<br />
<a href="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothdevicesetupenteringpin.jpg"><img class="alignnone size-full wp-image-190" title="Bluetooth Device Setup Entering Pin" src="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothdevicesetupenteringpin.jpg" alt="" width="474" height="469" /><br />
</a>.<a href="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothsetupwizardstart.jpg"><br />
</a><a href="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothdevicesetupenteringpin.jpg"></a></li>
<li>Once you have entered the PIN code on your phone, Ubuntu will complete the pairing request and that&#8217;s it &#8211; pairing done!<br />
.<br />
<a href="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothdevicesuccessfullyconfigured.jpg"><img class="alignnone size-full wp-image-191" title="Bluetooth Device Successfully Configured" src="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothdevicesuccessfullyconfigured.jpg" alt="" width="474" height="469" /><br />
</a>.<a href="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothdevicesuccessfullyconfigured.jpg"><br />
</a></li>
<li>Now we can start doing things, such as file transfers. Go back to the Bluetooth icon in your System Tray and this time do a single right-mouse click on it. A new menu appears. Go to &#8220;Browse files on device&#8230;&#8221;.<br />
.<br />
<a href="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothbrowsedevice.jpg"><img class="alignnone size-full wp-image-188" title="Bluetooth browse Device" src="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothbrowsedevice.jpg" alt="" width="252" height="177" /></a><br />
.</li>
<li>You will be asked which of your paired Bluetooth devices you wish to browse. Choose your phone from the list and click the &#8220;Connect&#8221; button.<br />
.<br />
<a href="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothselectdevicetobrowse.jpg"><img class="alignnone size-full wp-image-192" title="Bluetooth Select Device to Browse" src="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothselectdevicetobrowse.jpg" alt="" width="458" height="429" /><br />
</a>.<a href="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothselectdevicetobrowse.jpg"><br />
</a></li>
<li>After a brief delay, a Nautilus window should pop up showing your phone&#8217;s &#8220;drives&#8221;. In the case of my Nokia N95, the phone&#8217;s internal memory is presented a Windows-esque C: drive and the memory card is presented as E: drive. What appears here is ultimately down to how your phone manufacturer has implemented the filesystem.<br />
.<br />
<img class="alignnone size-full wp-image-189" title="Bluetooth device browsing" src="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothdevicebrowsing.jpg" alt="" width="500" height="380" /><br />
.</li>
<li>At this time, an icon for your phone will also be added to your desktop (I use a custom icon on mine):<br />
.<br />
<a href="http://www.serenux.com/wp-content/uploads/2008/12/mynokian95mountedicon.jpg"><img class="alignnone size-full wp-image-197" title="My Nokia N95 mounted icon" src="http://www.serenux.com/wp-content/uploads/2008/12/mynokian95mountedicon.jpg" alt="" width="206" height="234" /></a><br />
.</li>
<li>Browse and copy files as normal. When you are done, you should disconnect your phone by unmounting it with the Unmount or Eject right-mouse menu options (or the Eject icon next to your phone&#8217;s name in the Bookmark list).<br />
.<br />
<a href="http://www.serenux.com/wp-content/uploads/2008/12/unmountingmynokian95.jpg"><img class="alignnone size-full wp-image-198" title="Unmounting my Nokia N95" src="http://www.serenux.com/wp-content/uploads/2008/12/unmountingmynokian95.jpg" alt="" width="298" height="482" /></a><br />
.</li>
<li>And that&#8217;s it! Pat yourself on the back. Job done. <img src='http://www.serenux.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ol>
<div class='wp_likes' id='wp_likes_post-187'><a class='like' href="javascript:wp_likes.like(187);" title='' ><img src="http://www.serenux.com/wp-content/plugins/wp-likes/images/like.gif" alt='' border='0'/>Like</a><span class='text'></span>
<div class='unlike'><a href="javascript:wp_likes.unlike(187);">Unlike</a></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.serenux.com/2008/12/howto-pair-your-bluetooth-mobile-phone-with-ubuntu-intrepid-for-file-transfers-etc/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>HowTo: Setup your Nokia N95 mobile phone as a Mobile Broadband Device via USB in Ubuntu Intrepid</title>
		<link>http://www.serenux.com/2008/11/howto-setup-your-nokia-n95-mobile-phone-as-a-mobile-broadband-device-in-ubuntu-intrepid/</link>
		<comments>http://www.serenux.com/2008/11/howto-setup-your-nokia-n95-mobile-phone-as-a-mobile-broadband-device-in-ubuntu-intrepid/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 02:09:09 +0000</pubDate>
		<dc:creator>HyRax</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Broadband]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Intrepid]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Nokia]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.serenux.com/?p=164</guid>
		<description><![CDATA[As most of you are aware now, Ubuntu Intrepid sports a funky new Network Connections manager that allows you to easily and effortlessly setup new ethernet devices, VPN connections and as a boon for laptop users, Mobile Broadband. The idea behind Mobile Broadband is to take advantage of cheap 3G or HSDPA Broadband adapters so [...]]]></description>
			<content:encoded><![CDATA[<p>As most of you are aware now, Ubuntu Intrepid sports a funky new Network Connections manager that allows you to easily and effortlessly setup new ethernet devices, VPN connections and as a boon for laptop users, Mobile Broadband. The idea behind Mobile Broadband is to take advantage of cheap 3G or HSDPA Broadband adapters so you can connect to the Internet while on the move.</p>
<p>Less widely known is that you don&#8217;t actually have to use these devices to get Mobile Broadband on the go. You can use your own 3G or HSDPA mobile phone if packet data is enabled on your phone plan. I have previously covered how to do this via Bluetooth and fiddling around with RFComm configuration and PPP chat scripts, but NONE of this is needed any longer under Ubuntu Intrepid.</p>
<p><span id="more-164"></span></p>
<p><span style="color: #ff0000;"><em><strong>EDIT August 2009: If you wish to setup your Nokia N95 using <span style="text-decoration: underline;">Bluetooth</span> instead of a USB cable, then stop reading any further and <a title="HowTo: Setup a Nokia N95 as a mobile Broadband Device using Bluetooth." href="http://www.serenux.com/2009/08/howto-setup-your-nokia-n95-mobile-phone-as-a-mobile-broadband-device-via-bluetooth-in-ubuntu-jaunty/" target="_blank">refer to my updated article for Bluetooth using Ubuntu Jaunty</a>.</strong></em></span></p>
<p><strong>Purpose: </strong>To setup a Nokia N95 (or similar 3G or HSDPA capable mobile phone) as a Mobile Broadband device to an Ubuntu Intrepid based laptop and connect to the Internet via a mobile network carrier.</p>
<p><strong>Pros:</strong></p>
<ul>
<li>Internet available anywhere at anytime (as long as you are in a signal area)</li>
<li>Reasonably quick &#8211; faster than dial-up!</li>
<li>True mobile Internet &#8211; you are not physically connected to a wall socket &#8211; you can surf the Internet while you drive your car, or ride a train.</li>
<li>Convenient</li>
</ul>
<p><strong>Cons:</strong></p>
<ul>
<li>Eats up your mobile&#8217;s battery.</li>
<li>Internet access via mobile phones can be costly.</li>
<li>You cannot receive voice calls whilst using your mobile phone as a Mobile Broadband device.</li>
</ul>
<p><strong>Pre-requisites:</strong></p>
<ul>
<li>Any 3G or HSDPA capable mobile phone. In this example I will be using my Nokia N95 which is both 3G and HSDPA capable.</li>
<li>A data plan with your mobile provider. In this example, I will be using Vodafone Australia.</li>
<li>USB lead to connect your phone directly to your PC (Bluetooth cannot be used in this example, at least not yet, since Network Manager does not yet support connecting through RFComm (to allow connection to a Bluetooth device) &#8211; when this support has been added, I&#8217;ll update this article. There is a <a title="Ubuntu Launchpad bug report - Network Manager does not support Bluetooth connections yet" href="https://bugs.launchpad.net/network-manager/+bug/269329" target="_self">bug reported on Ubuntu Launchpad regarding this already</a>).</li>
<li>Laptop or desktop PC with Ubuntu 8.10 Intrepid Ibex installed. In this example, I will be using my EeePC 701 legtop.</li>
</ul>
<p><strong>Difficulty rating: </strong>You could do it in the dark. With bells on.</p>
<p><em><span style="color: #ff0000;">WARNING: Internet access via your mobile phone can be a costly exercise. Make sure you are fully aware of how much your provider charges for packet data access so you don&#8217;t get any nasty surprises on your bill.</span> In my case, Vodafone Australia charge $0.90 per 5 minutes of access or part thereof, regardless of whether data was downloaded or not in that 5 minutes. There is no upper data limit.</em></p>
<ol>
<li>Fire up Ubuntu on your laptop/desktop as normal.<br />
.</li>
<li>In your system tray, look for the Network Connection icon and do a single right-mouse click on it. You will be presented with a menu. From it, choose &#8220;Edit Connections&#8230;&#8221;:<br />
.</li>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-169" title="Network Connection -&gt; Edit Connections" src="http://www.serenux.com/wp-content/uploads/2008/11/editconnections.jpg" alt="" width="194" height="155" /></p>
<li>You will then be presented with the Network Connections window, of which you should already see at least one wired connection there (your PC&#8217;s ethernet port):<br />
.<a href="http://www.serenux.com/wp-content/uploads/2008/11/networkconnectionswindow.jpg"><img class="aligncenter size-full wp-image-171" title="Network Connections Window" src="http://www.serenux.com/wp-content/uploads/2008/11/networkconnectionswindow.jpg" alt="" width="421" height="374" /></a>.</li>
<li>We&#8217;re not actually interested in this section, however &#8211; we want the Mobile Broadband tab, so click on that and you will see the following:<br />
.<a href="http://www.serenux.com/wp-content/uploads/2008/11/mobilebroadband.jpg"><img class="aligncenter size-full wp-image-170" title="Mobile Broadband" src="http://www.serenux.com/wp-content/uploads/2008/11/mobilebroadband.jpg" alt="" width="421" height="374" /></a>.</li>
<li>Now click on the &#8220;Add&#8221; button. You will be presented with a Wizard for setting up a new Mobile Broadband connection. Click Forward until you see the following window:<br />
.<a href="http://www.serenux.com/wp-content/uploads/2008/11/chooseprovider.jpg"><img class="aligncenter size-full wp-image-166" title="Choose Provider" src="http://www.serenux.com/wp-content/uploads/2008/11/chooseprovider.jpg" alt="" width="500" height="463" /><br />
.<br />
</a></li>
<li>Choose the country and provider relevant to you (Australia &amp; Vodafone in my case) and then click Forward.<br />
.</li>
<li>You&#8217;ll be asked to confirm your selection. Confirm it by clicking on the Apply button. You should now see Vodafone listed in the Network Connections window.<br />
.<a href="http://www.serenux.com/wp-content/uploads/2008/11/vodafonesetup.jpg"><img class="aligncenter size-full wp-image-173" title="Vodafone Setup" src="http://www.serenux.com/wp-content/uploads/2008/11/vodafonesetup.jpg" alt="" width="421" height="374" /><br />
.</a></li>
<li>Now click the &#8220;Close&#8221; button. We&#8217;re done for this part.<br />
.</li>
<li>Connect your USB data lead to your mobile phone and then connect it to your PC.<br />
.</li>
<li>Nokia N95&#8242;s generally prompt for what mode you would like the phone to be in. Most people would plump for &#8220;Data transfer&#8221; mode to utilise the phone as a USB flash drive, but we&#8217;re not going to do that. Choose &#8220;PC Suite&#8221; instead.
<p style="text-align: center;"><a title="Click for full size" href="http://www.serenux.com/~hyrax/pics/nokia/N95ChoosePhoneMode.JPG" target="_blank"><img title="Choose phone mode" src="http://www.serenux.com/~hyrax/pics/nokia/N95ChoosePhoneMode_thumb.JPG" alt="Click for full size" /></a><br />
Click for full size (201K)<br />
.</li>
<li>Confirm that the phone connected to Ubuntu as a USB ACM device by checking the output of dmesg. In a terminal window, type in the following:
<pre><span style="color: #000080;">$ tail /var/log/messages</span></pre>
<p>&#8230;which will show the last 10 lines. You should see something similar to this:</p>
<pre><span style="color: #000080;">Nov 19 11:16:37 eeepc701 kernel: [ 9987.192045] usb 1-2: new full speed USB device using uhci_hcd and address 3
Nov 19 11:16:37 eeepc701 kernel: [ 9987.406518] usb 1-2: configuration #1 chosen from 1 choice
Nov 19 11:16:39 eeepc701 kernel: [ 9989.149546] cdc_acm 1-2:1.10: ttyACM0: USB ACM device
Nov 19 11:16:39 eeepc701 kernel: [ 9989.153658] usbcore: registered new interface driver cdc_acm
Nov 19 11:16:39 eeepc701 kernel: [ 9989.154256] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
Nov 19 11:16:39 eeepc701 kernel: [ 9989.241789] usbcore: registered new interface driver cdc_ether
Nov 19 11:16:39 eeepc701 kernel: [ 9989.272359] usb 1-2: bad CDC descriptors
Nov 19 11:16:39 eeepc701 kernel: [ 9989.273520] usbcore: registered new interface driver rndis_host
Nov 19 11:16:39 eeepc701 kernel: [ 9989.292404] usb 1-2: bad CDC descriptors
Nov 19 11:16:39 eeepc701 kernel: [ 9989.292965] usbcore: registered new interface driver rndis_wlan</span></pre>
<p>(I&#8217;m not entirely sure why I got the &#8220;bad CDC descriptors&#8221; error, but this didn&#8217;t stop the phone from setting itself up, so I ignored it).<br />
.</li>
<li>When Ubuntu detects the ACM device, it recognises that there is a Mobile Broadband device connected and it will enable Vodafone for selection from the Left-Click menu of the Network Connections system tray icon.
<p style="text-align: center;"><img class="aligncenter size-full wp-image-168" title="Connect To Vodafone" src="http://www.serenux.com/wp-content/uploads/2008/11/connecttovodafone.jpg" alt="" width="186" height="168" /></p>
<p>.<br />
Additionally, you will see that the phone itself will show a USB icon confirming that it is talking to the PC via USB.</p>
<p style="text-align: center;"><a title="Click for full size" href="http://www.serenux.com/~hyrax/pics/nokia/N95USBModeActive.JPG" target="_blank"><img title="USB mode active" src="http://www.serenux.com/~hyrax/pics/nokia/N95USBModeActive_thumb.JPG" alt="Click for full size" /></a><br />
Click for full size (310K)<br />
.</li>
<li>Upon choosing Vodafone from the menu, a PPP session will immediately be automatically started in the background (you can see it occur in /var/log/messages) and once handshaking with your provider is complete, Ubuntu will confirm that you are connected to the Internet via your mobile provider:<br />
.<a href="http://www.serenux.com/wp-content/uploads/2008/11/connectedtovodafone.jpg"><br />
</a></li>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-167" title="Connected to Vodafone" src="http://www.serenux.com/wp-content/uploads/2008/11/connectedtovodafone.jpg" alt="" width="319" height="89" /></p>
<li>You should now be able to open your browser and get to the Internet without a problem! <img src='http://www.serenux.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  As you surf, depending on your model of phone, it may indicate data packets transferring with an icon on the phone&#8217;s display. In my case, the 3G icon lights up.<br />
.</li>
<li>When you are done with the Internet, don&#8217;t forget to shutdown the connection by going back to the single-left-click menu of the Network Connections icon in the System Tray and select &#8220;Disconnect&#8221; from the menu.<br />
.</li>
<li>That&#8217;s it! Happy mobile Internetting!</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.serenux.com/2008/11/howto-setup-your-nokia-n95-mobile-phone-as-a-mobile-broadband-device-in-ubuntu-intrepid/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>HowTo: Get spell-check working in Evolution again after upgrading to Intrepid</title>
		<link>http://www.serenux.com/2008/11/howto-get-spell-check-working-in-evolution-again-after-upgrading-to-intrepid/</link>
		<comments>http://www.serenux.com/2008/11/howto-get-spell-check-working-in-evolution-again-after-upgrading-to-intrepid/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 08:19:15 +0000</pubDate>
		<dc:creator>HyRax</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Applications]]></category>
		<category><![CDATA[Evolution]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Intrepid]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.serenux.com/?p=114</guid>
		<description><![CDATA[I finally got around to installing the final release version of Ubuntu Intrepid on my main desktop with only minimal issues that were not show-stoppers. One in particular was that Evolution was now marking every single word I wrote as being a spelling error when there were no errors at all. Luckily, this one is [...]]]></description>
			<content:encoded><![CDATA[<p>I finally got around to installing the final release version of Ubuntu Intrepid on my main desktop with only minimal issues that were not show-stoppers. One in particular was that Evolution was now marking every single word I wrote as being a spelling error when there were no errors at all.</p>
<p>Luckily, this one is easily fixed.</p>
<ol>
<li>Go to Edit-&gt;Preferences, and the Preferences window appears.</li>
<li>Now click on the Composer Preferences icon on the left and then click on the Spell Checking tab at the top. You will now see the available languages to do spell checking with. At least one of them will already be checked.</li>
<li>The issue is that despite the option being checked, it&#8217;s not actually checked internally within Evolution. All you have to do is un-check your language and re-check it, then click Close which will re-write the preferences.</li>
</ol>
<p>You might need to restart Evolution again (I needed to after re-installing SpamAssassin), but you will now find that Evolution is now correctly doing its spell checking again.</p>
<div class='wp_likes' id='wp_likes_post-114'><a class='like' href="javascript:wp_likes.like(114);" title='' ><img src="http://www.serenux.com/wp-content/plugins/wp-likes/images/like.gif" alt='' border='0'/>Like</a><span class='text'></span>
<div class='unlike'><a href="javascript:wp_likes.unlike(114);">Unlike</a></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.serenux.com/2008/11/howto-get-spell-check-working-in-evolution-again-after-upgrading-to-intrepid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu vs Vista Resource Usage</title>
		<link>http://www.serenux.com/2008/10/ubuntu-vs-vista-resource-usage/</link>
		<comments>http://www.serenux.com/2008/10/ubuntu-vs-vista-resource-usage/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 12:24:56 +0000</pubDate>
		<dc:creator>HyRax</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Hardy]]></category>
		<category><![CDATA[Intrepid]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.serenux.com/?p=105</guid>
		<description><![CDATA[Everyone always rambles on about how much of a resource hog Windows Vista is compared to Linux, so I figured why not find out exactly how much of a hog it really is? For this comparison, I have pitted the following versions of Ubuntu and Vista against each other: Microsoft Windows Vista Ultimate with Service [...]]]></description>
			<content:encoded><![CDATA[<p>Everyone always rambles on about how much of a resource hog Windows Vista is compared to Linux, so I figured why not find out exactly how much of a hog it really is?</p>
<p>For this comparison, I have pitted the following versions of Ubuntu and Vista against each other:</p>
<ul>
<li>Microsoft Windows Vista Ultimate with Service Pack 1 and all system updates to 29th October 2008</li>
<li>Ubuntu Linux 8.04.1 Hardy Heron with all system updates to 29th October 2008</li>
<li>Ubuntu Linux 8.10 Intrepid Ibex Release Candidate with all system updates to 29th October 2008 (just for kicks)</li>
</ul>
<p>The tests would be simple. A fresh vanilla install of Ubuntu and Vista doing four of the most common things a typical user might do everyday:</p>
<ol>
<li>Nothing</li>
<li>View a web page</li>
<li>Listen to an MP3 music track</li>
<li>Play Solitaire</li>
</ol>
<p><span id="more-105"></span></p>
<p>To keep things as fair as possible, I used <a title="Sun Microsystems xVM Virtualbox homepage" href="http://www.virtualbox.org" target="_blank">Virtualbox</a> 2.0.4 and created three VM&#8217;s each sporting 1GB RAM, 32MB video RAM and an 8GB HDD file each, except for Vista which needed more HDD estate, so it got a 20GB HDD file instead (this is not boding well for Vista already!).</p>
<p>The Ubuntu installs each had a 512MB swap partition created while Vista went ahead and stormed in with an automatically-created 2GB swap file. Shouldn&#8217;t be an issue as the tests are not going to tax the OS&#8217; anyway.</p>
<p>All installed OS&#8217; are the 32-bit versions. All had the Virtualbox Guest Additions drivers added, but since these drivers do not support acceleration, OpenGL and DirectX eye-candy (such as Compiz in Ubuntu and Aero in Vista) were automatically disabled by the system.</p>
<p>The host hardware for the VM&#8217;s is an Intel Quad-core Q9450 based machine with 8GB RAM running the 64-bit version of Ubuntu 8.04.1 Hardy Heron.</p>
<h3><strong>Installed Disk Usage</strong></h3>
<p>So let&#8217;s start with the simple stuff  &#8211; how much disk space does a vanilla install of each OS chew up? The following table shows a completely stock installation of each OS, including subsequently downloaded update files:</p>
<table style="text-align: left; height: 64px;" border="0" width="364">
<tbody>
<tr>
<td>Vista Ultimate SP1</td>
<td style="text-align: left;">11.9GB (!!)</td>
</tr>
<tr>
<td>Ubuntu 8.04.1 Hardy</td>
<td style="text-align: left;">2.7GB</td>
</tr>
<tr>
<td>Ubuntu 8.10 Intrepid RC</td>
<td style="text-align: left;">2.3GB</td>
</tr>
</tbody>
</table>
<p>Ubuntu has been dubbed by some to be the &#8220;Windows&#8221; of Linux distros in terms of its overall weight, but it&#8217;s anorexic compared to Vista. Why does any OS need over 10GB of disk space just for itself? Consider also that Ubuntu&#8217;s installed space also includes a full office suite &#8211; not even Vista has that, yet it&#8217;s so much bigger.</p>
<p>It was interesting to note that Ubuntu Intrepid consumed a whole 400MB less disk space than Ubuntu Hardy, however part of this could be attributed to possibly less extra update files downloaded compared to Hardy. In any case, both are well under 5GB, let alone 10GB!</p>
<p>So far one point to Linux and a big fat zero to Vista.</p>
<h3><strong>Idle RAM Usage</strong></h3>
<p>With disk usage now established, how does the RAM stack up? Each desktop was at its standard setup with standard wallpaper, panels, widgets, etc and only the resource manager window on-screen:</p>
<table style="text-align: center; height: 399px;" border="0" width="508">
<tbody>
<tr>
<td>Vista SP1</td>
<td>411MB</td>
<td><a href="http://www.serenux.com/wp-content/uploads/2008/10/vistaidleresources.jpg"><img class="aligncenter size-thumbnail wp-image-101" title="Vista Idle Resource Usage" src="http://www.serenux.com/wp-content/uploads/2008/10/vistaidleresources.jpg" alt="" width="135" height="150" /></a></td>
</tr>
<tr>
<td>Ubuntu 8.04.1 Hardy</td>
<td>122MB</td>
<td><a href="http://www.serenux.com/wp-content/uploads/2008/10/hardyidleresources.png"><img class="aligncenter size-thumbnail wp-image-91" title="Ubuntu Hardy Idle Resource Usage" src="http://www.serenux.com/wp-content/uploads/2008/10/hardyidleresources.png" alt="" width="150" height="114" /></a></td>
</tr>
<tr>
<td>Ubuntu 8.10 Intrepid RC</td>
<td>142MB</td>
<td><a href="http://www.serenux.com/wp-content/uploads/2008/10/intrepididleresources.png"><img class="aligncenter size-thumbnail wp-image-97" title="Ubuntu Intrepid Idle Resource Usage" src="http://www.serenux.com/wp-content/uploads/2008/10/intrepididleresources.png" alt="" width="150" height="113" /></a></td>
</tr>
</tbody>
</table>
<p>Another win for Ubuntu by a good 250MB. Also, again a surprise showing by Intrepid that despite the smaller HDD footprint, its resource usage was 20MB greater than Hardy, but what was alarming was that Vista was already using 387MB of its 2GB swap file while both Ubuntu installations had not touched theirs&#8230;!</p>
<p>Two points for Ubuntu, none for Vista.</p>
<h3><strong>Browsing a Common Web Site</strong></h3>
<p>Now to up the ante &#8211; all three installations now used their default web browser (Firefox 3.0.3 for Ubuntu, Internet Exploiter, uh, Explorer 7.0.6 for Vista) to view a common website containing Flash, animated GIFs, lots of frames, blocks of formatted text and graphics &#8211; the <a title="The Sydney Morning Herald Homepage" href="http://www.smh.com.au" target="_blank">Sydney Morning Herald</a> homepage.</p>
<p>All three OS&#8217; do not have Flash installed as standard and thus did not play any of the Flash content, however the rest of the page did load and render successfully.</p>
<p>The memory usage now stands at:</p>
<table style="text-align: center; height: 399px;" border="0" width="512">
<tbody>
<tr>
<td>Vista SP1</td>
<td>490MB</td>
<td><a href="http://www.serenux.com/wp-content/uploads/2008/10/vistawebpageresources.jpg"><img class="alignnone size-thumbnail wp-image-104" title="Vista Webpage Resource Usage" src="http://www.serenux.com/wp-content/uploads/2008/10/vistawebpageresources.jpg" alt="" width="135" height="150" /></a></td>
</tr>
<tr>
<td>Ubuntu 8.04.1 Hardy</td>
<td>179MB</td>
<td><a href="http://www.serenux.com/wp-content/uploads/2008/10/hardywebpageresources.png"><img class="aligncenter size-thumbnail wp-image-94" title="Ubuntu Hardy Webpage Resource Usage" src="http://www.serenux.com/wp-content/uploads/2008/10/hardywebpageresources.png" alt="" width="150" height="114" /></a></td>
</tr>
<tr>
<td>Ubuntu 8.10 Intrepid RC</td>
<td>198MB</td>
<td><a href="http://www.serenux.com/wp-content/uploads/2008/10/intrepidwebpageresources.png"><img class="aligncenter size-thumbnail wp-image-100" title="Ubuntu Intrepid Webpage Resource Usage" src="http://www.serenux.com/wp-content/uploads/2008/10/intrepidwebpageresources.png" alt="" width="150" height="113" /></a></td>
</tr>
</tbody>
</table>
<p>A notable jump by all three candidates in this case, as one might expect, though while Ubuntu jumped up some 55MB, Vista jumped up an extra 80MB.</p>
<p>Curiously, Vista&#8217;s CPU usage jumped up and down a lot while the site sat idle and the spike of usage you see at the end of the graph is when the site automatically refreshed itself. No such major jumps from Ubuntu.</p>
<p>Another point for Ubuntu for a total of three. Vista is yet to score.</p>
<h3><strong>Listening to an MP3 Music Track</strong></h3>
<p>Browsing any website would just not be fun without some background music. Using the default music player (Totem 2.22.1 and 2.24.2 for Ubuntu Hardy and Intrepid respectively, Windows Media Player 11 for Vista), I perused the SMH website (without clicking on any new links) and listened to the same 3.3MB MP3 music track for 1 minute to allow memory usage to level out.</p>
<table style="text-align: center; height: 399px;" border="0" width="512">
<tbody>
<tr>
<td>Vista SP1</td>
<td>560MB</td>
<td><a href="http://www.serenux.com/wp-content/uploads/2008/10/vistamp3resources.jpg"><img class="alignnone size-thumbnail wp-image-102" title="Vista MP3 Resource Usage" src="http://www.serenux.com/wp-content/uploads/2008/10/vistamp3resources.jpg" alt="" width="135" height="150" /></a></td>
</tr>
<tr>
<td>Ubuntu 8.04.1 Hardy</td>
<td>211MB</td>
<td><a href="http://www.serenux.com/wp-content/uploads/2008/10/hardymp3resources.png"><img class="alignnone size-thumbnail wp-image-92" title="Ubuntu Hardy MP3 Resource Usage" src="http://www.serenux.com/wp-content/uploads/2008/10/hardymp3resources.png" alt="" width="150" height="114" /></a></td>
</tr>
<tr>
<td>Ubuntu 8.10 Intrepid RC</td>
<td>237MB</td>
<td><a href="http://www.serenux.com/wp-content/uploads/2008/10/intrepidmp3resources.png"><img class="alignnone size-thumbnail wp-image-98" title="Intrepid MP3 Resource Usage" src="http://www.serenux.com/wp-content/uploads/2008/10/intrepidmp3resources.png" alt="" width="150" height="113" /></a></td>
</tr>
</tbody>
</table>
<p>Memory usage has increased by nearly 40MB on Ubuntu but by 70MB on Vista. This is not really too surprising given the heavyweight that is Media Player versus the simpler Totem, though Totem did prompt me to download and install the GStreamer Extras MP3 codec, so there&#8217;s extra memory usage there too.</p>
<p>The observant among you might say that it would be a fairer comparison to compare Windows Media Player with Rhythmbox, however I decided to go with whatever launched as the default MP3 player and at the end of the day, all that matters is that I can hear my music and Ubuntu has delivered 30MB ahead here.</p>
<p>Four points for Ubuntu, still none for Vista.</p>
<h3><strong>Playing Solitaire</strong></h3>
<p>Surfing the &#8216;net is hard work and what better way to unwind than with a relaxing game of Solitaire. In this test, I played Solitaire for two minutes whilst listening to my MP3 track and leaving the web browser open with our self-refreshing homepage.</p>
<table style="text-align: center; height: 399px;" border="0" width="516">
<tbody>
<tr>
<td>Vista SP1</td>
<td>605MB</td>
<td><a href="http://www.serenux.com/wp-content/uploads/2008/10/vistasolitaireresources.jpg"><img class="alignnone size-thumbnail wp-image-103" title="Vista Solitaire Resource Usage" src="http://www.serenux.com/wp-content/uploads/2008/10/vistasolitaireresources.jpg" alt="" width="135" height="150" /></a></td>
</tr>
<tr>
<td>Ubuntu 8.04.1 Hardy</td>
<td>224MB</td>
<td><a href="http://www.serenux.com/wp-content/uploads/2008/10/hardysolitaireresources.png"><img class="alignnone size-thumbnail wp-image-93" title="Ubuntu Hardy Solitaire Resource Usage" src="http://www.serenux.com/wp-content/uploads/2008/10/hardysolitaireresources.png" alt="" width="150" height="114" /></a></td>
</tr>
<tr>
<td>Ubuntu 8.10 Intrepid RC</td>
<td>244MB</td>
<td><a href="http://www.serenux.com/wp-content/uploads/2008/10/intrepidsolitaireresources.png"><img class="alignnone size-thumbnail wp-image-99" title="Ubuntu Intrepid Solitaire Resource Usage" src="http://www.serenux.com/wp-content/uploads/2008/10/intrepidsolitaireresources.png" alt="" width="150" height="113" /></a></td>
</tr>
</tbody>
</table>
<p>Really, Solitaire isn&#8217;t a terribly complex application and Ubuntu&#8217;s Solitaire bears a remarkable resemblance to all the Windows versions&#8230; except Vista which was drastically revamped with extra visual effects, new card textures, etc. No wonder the memory footprint is so much bigger, but a 45MB difference??</p>
<p>Ubuntu Hardy went up 13MB and Intrepid didn&#8217;t even break double-figures with only a 7MB increase.</p>
<p>We could keep testing common applications until the cows come home, but I think it&#8217;s pretty clear that the established pattern is that Microsoft Vista uses up much more memory and disk space on average than Ubuntu Linux.</p>
<p>Probably what was the most worrying here was that Vista&#8217;s swap usage had increased to 692MB and there was an unusually high amount of CPU usage, while both Ubuntu&#8217;s had left their swap on the plate, uneaten.</p>
<p>So the final score is five points for the trim and healthy Ubuntu and still nothing, nada, zip for the obese whale that is Vista.</p>
<h3><strong>Conclusion</strong></h3>
<p>I think some people might say all I&#8217;ve done is confirm what everyone already knew, and perhaps that is the case, but it still made for an interesting comparison and certainly highlights that Microsoft need to do some serious fat trimming.</p>
<p>For those that are interested, the host machine used up a total of 4GB RAM to run all three VM&#8217;s simultaneously plus a bunch of other apps that I had running at the time of testing, and it only nibbled at 44MB of swap. <img src='http://www.serenux.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.serenux.com/wp-content/uploads/2008/10/hostsystem.jpg"><img class="alignnone size-full wp-image-96" title="Host System Thumbnail" src="http://www.serenux.com/wp-content/uploads/2008/10/hostsystem_thumb.jpg" alt="" width="510" height="143" /></a><br />
Click for the full-size version &#8211; 681K</p>
]]></content:encoded>
			<wfw:commentRss>http://www.serenux.com/2008/10/ubuntu-vs-vista-resource-usage/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>HowTo: Setup your own local Ubuntu repository mirror.</title>
		<link>http://www.serenux.com/2008/10/howto-setup-your-own-local-ubuntu-repository-mirror/</link>
		<comments>http://www.serenux.com/2008/10/howto-setup-your-own-local-ubuntu-repository-mirror/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 12:28:23 +0000</pubDate>
		<dc:creator>HyRax</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Hardy]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Intrepid]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Repository]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.serenux.com/?p=80</guid>
		<description><![CDATA[While Ubuntu&#8217;s updates are nowhere near as bad as dealing with Windows updates, it can still be annoying to do a fresh install of Ubuntu and then have to download 300MB&#8217;s worth of updates, especially if you have a slow connection, or perhaps you&#8217;re in a remote location and don&#8217;t have an Internet connection. How [...]]]></description>
			<content:encoded><![CDATA[<p>While Ubuntu&#8217;s updates are nowhere near as bad as dealing with Windows updates, it can still be annoying to do a fresh install of Ubuntu and then have to download 300MB&#8217;s worth of updates, especially if you have a slow connection, or perhaps you&#8217;re in a remote location and don&#8217;t have an Internet connection. How do you update machines then??</p>
<p>Why not setup your own personal local Ubuntu Repository? Here&#8217;s how to make one to use either on a personal web server or carry with you on a portable USB (or similar) hard-drive.</p>
<p><span id="more-80"></span></p>
<p>In this example, we&#8217;re going to make a repository using a great little tool called <strong>apt-mirror</strong> and use it to mirror the 32-bit (x86) and 64-bit (AMD64) versions of Ubuntu 8.04.1 Hardy Heron and 8.10 Intrepid Ibex ONLY from an existing source mirror (thus ignoring any other architectures we&#8217;re not interested in). Our source mirror will be the Australian Ubuntu Mirror at Internode, but you can use any mirror you like.</p>
<ol>
<li>On your Ubuntu desktop or server, get into a terminal and type in the following:<span style="color: #000080;"><br />
</span></p>
<pre><span style="color: #000080;">$ sudo apt-get install apt-mirror</span></pre>
</li>
<li>Once installed, edit the config file with:
<pre><span style="color: #000080;">$ sudo nano /etc/apt/mirror.list
</span></pre>
<p><span style="color: #000080;">.</span>..here&#8217;s my config file that I use on my own file server:</p>
<pre><span style="color: #000080;">############# config ###################
</span><span style="color: #000080;"># set base_path    /var/spool/apt-mirror</span><span style="color: #000080;">
#
# if you change the base path you must create the directories below with write privlages
#
# set mirror_path  $base_path/mirror
# set skel_path    $base_path/skel
# set var_path     $base_path/var
# set cleanscript $var_path/clean.sh
# set defaultarch  &lt;running host architecture&gt;
set nthreads     3
set _tilde 0
############## end config ##############

# Ubuntu 8.04.1 Hardy Heron 32-bit
deb-i386 http://mirror.internode.on.net/pub/ubuntu/ubuntu hardy main restricted universe multiverse
deb-i386 http://mirror.internode.on.net/pub/ubuntu/ubuntu hardy-updates main restricted universe multiverse
deb-i386 http://mirror.internode.on.net/pub/ubuntu/ubuntu hardy-backports main restricted universe multiverse
deb-i386 http://mirror.internode.on.net/pub/ubuntu/ubuntu hardy-security main restricted universe multiverse
deb-i386 http://mirror.internode.on.net/pub/ubuntu/ubuntu hardy-proposed main restricted universe multiverse

# Ubuntu 8.04.1 Hardy Heron 64-bit
deb-amd64 http://mirror.internode.on.net/pub/ubuntu/ubuntu hardy main restricted universe multiverse
deb-amd64 http://mirror.internode.on.net/pub/ubuntu/ubuntu hardy-updates main restricted universe multiverse
deb-amd64 http://mirror.internode.on.net/pub/ubuntu/ubuntu hardy-backports main restricted universe multiverse
deb-amd64 http://mirror.internode.on.net/pub/ubuntu/ubuntu hardy-security main restricted universe multiverse
deb-amd64 http://mirror.internode.on.net/pub/ubuntu/ubuntu hardy-proposed main restricted universe multiverse

# Ubuntu 8.10 Intrepid Ibex 32-bit
deb-i386 http://mirror.internode.on.net/pub/ubuntu/ubuntu intrepid main restricted universe multiverse
deb-i386 http://mirror.internode.on.net/pub/ubuntu/ubuntu intrepid-updates main restricted universe multiverse
deb-i386 http://mirror.internode.on.net/pub/ubuntu/ubuntu intrepid-backports main restricted universe multiverse
deb-i386 http://mirror.internode.on.net/pub/ubuntu/ubuntu intrepid-security main restricted universe multiverse
deb-i386 http://mirror.internode.on.net/pub/ubuntu/ubuntu intrepid-proposed main restricted universe multiverse

# Ubuntu 8.10 Intrepid Ibex 64-bit
deb-amd64 http://mirror.internode.on.net/pub/ubuntu/ubuntu intrepid main restricted universe multiverse
deb-amd64 http://mirror.internode.on.net/pub/ubuntu/ubuntu intrepid-updates main restricted universe multiverse
deb-amd64 http://mirror.internode.on.net/pub/ubuntu/ubuntu intrepid-backports main restricted universe multiverse
deb-amd64 http://mirror.internode.on.net/pub/ubuntu/ubuntu intrepid-security main restricted universe multiverse
deb-amd64 http://mirror.internode.on.net/pub/ubuntu/ubuntu intrepid-proposed main restricted universe multiverse

# Ubuntu source
#deb-src http://archive.ubuntu.com/ubuntu hardy main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu hardy-backports main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu hardy-security main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu hardy-proposed main restricted universe multiverse

clean http://mirror.internode.on.net/pub/ubuntu/ubuntu</span></pre>
</li>
<li>The above config sets you up to download both the 32-bit and 64-bit repos for both Hardy and Intrepid only &#8211; nothing else. If you like, you can also add other repos such as Medibuntu, Virtualbox, etc &#8211; anyone who has a standard Apt repository.Note the commented out deb-src lines. I don&#8217;t use source, but if you want it, just uncomment them and point them to Internode.
<p>If you wish to use a different source mirror, simply substitute the URL as appropriate.</li>
<li>Save and exit. You then kick it off with:
<pre><span style="color: #000080;">$ sudo /usr/bin/apt-mirror</span></pre>
<p>&#8230;and go and order several pizzas, because this will take a good while to finish. To update your repo with anything new since last run, just re-run the apt-mirror command. Alternatively, configure cron to execute the command for you. I have mine set to run at 2am every night.</p>
<p>Here&#8217;s my log from this morning&#8217;s run:</p>
<pre><span style="color: #000080;">Downloading 222 index files using 3 threads...
Begin time: Thu Oct 23 02:00:01 2008
[3]... [2]... [1]... [0]...
End time: Thu Oct 23 02:01:27 2008

Proceed indexes: [PPPPPPPPPPPPPPPPPPPPPPPP]

276.4 MiB will be downloaded into archive.
Downloading 111 archive files using 3 threads...
Begin time: Thu Oct 23 02:01:51 2008
[3]... [2]... [1]... [0]...
End time: Thu Oct 23 02:07:16 2008

318.5 MiB in 108 files and 0 directories can be freed.
Run /var/spool/apt-mirror/var/clean.sh for this purpose.</span></pre>
<p>&#8230;which tells me 276.4MB of new files were downloaded and 318.5MB of old files are now redundant and should be deleted. Again, I have a cron job setup to run that advised cleanup script for me.</li>
<li>To view the downloaded files. just go to /var/spool/apt-mirror/mirror and you will see a new directory there called mirror.internode.on.net and within that will be your parent mirror&#8217;s directory structure, in this case, exactly how Internode have their structure setup.<br />
.</li>
<li>Once that&#8217;s all done, just setup a virtual website with Apache to allow you to see the downloaded data via a browser and then on your desktop go:
<pre><span style="color: #000080;">$ sudo nano /etc/apt/sources.list.d/mylocalrepo.list</span></pre>
<p>&#8230;and enter the appropriate URL&#8217;s to your local website (note you can call the custom sources file whatever you want as long as it ends in &#8220;.list&#8221;). If you setup a virtual server called http://localhost and point its root to /var/spool/apt-mirror/mirror/mirror.internode.on.net/ then you would enter the following into your sources.list:</p>
<pre><span style="color: #000080;"># My personal Ubuntu mirror
deb http://localhost/pub/ubuntu/ubuntu hardy main multiverse restricted universe
deb http://localhost/pub/ubuntu/ubuntu hardy-backports main multiverse restricted universe
deb http://localhost/pub/ubuntu/ubuntu hardy-security main multiverse restricted universe
deb http://localhost/pub/ubuntu/ubuntu hardy-updates main multiverse restricted universe</span></pre>
<p>&#8230;OR if you&#8217;re not using a web server, then set it up to use local files instead, eg:</p>
<pre><span style="color: #000080;"># My personal Ubuntu mirror
deb file:/var/spool/apt-mirror/mirror/mirror.internode.on.net/pub/ubuntu/ubuntu hardy main multiverse restricted universe
deb file:/var/spool/apt-mirror/mirror/mirror.internode.on.net/pub/ubuntu/ubuntu hardy-backports main multiverse restricted universe
deb file:/var/spool/apt-mirror/mirror/mirror.internode.on.net/pub/ubuntu/ubuntu hardy-security main multiverse restricted universe
deb file:/var/spool/apt-mirror/mirror/mirror.internode.on.net/pub/ubuntu/ubuntu hardy-updates main multiverse restricted universe</span></pre>
<p>If you&#8217;re using Intrepid, then change all above references to &#8220;hardy&#8221; with &#8220;intrepid&#8221;.</li>
<li>Don&#8217;t forget to then edit /etc/apt/sources.list and comment out all the standard deb lines out. Additionally, if you don&#8217;t want to use a particular section of the repository, such as Backports or Proposed, comment out that line in your custom mylocalrepo.list too by placing a hash at the start of the line.<br />
.</li>
<li>Save and exit and then update your system with your new repo list with:
<pre><span style="color: #000080;">$ sudo apt-get update</span></pre>
<p>&#8230;and all subsequent updates to your system will now come from your local repository. If you&#8217;re using a 32-bit system, it will automatically use the 32-bit data you downloaded, ditto 64-bit.</li>
<li>Pat yourself on the back. Job well done!</li>
</ol>
<div class='wp_likes' id='wp_likes_post-80'><a class='like' href="javascript:wp_likes.like(80);" title='' ><img src="http://www.serenux.com/wp-content/plugins/wp-likes/images/like.gif" alt='' border='0'/>Like</a><span class='text'></span>
<div class='unlike'><a href="javascript:wp_likes.unlike(80);">Unlike</a></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.serenux.com/2008/10/howto-setup-your-own-local-ubuntu-repository-mirror/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
