<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Owens Li&#039;ll Rant on the Web</title>
	<atom:link href="http://www.easytarget.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.easytarget.org</link>
	<description>A pencil with no point needs no sharpening</description>
	<lastBuildDate>Mon, 14 May 2012 14:18:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>BT747 MTK GPS Utility under Fedora 16</title>
		<link>http://www.easytarget.org/2012/04/bt747-mtk-gps-utility-under-fedora-16/</link>
		<comments>http://www.easytarget.org/2012/04/bt747-mtk-gps-utility-under-fedora-16/#comments</comments>
		<pubDate>Thu, 12 Apr 2012 14:48:37 +0000</pubDate>
		<dc:creator>Owen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bt747]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[open]]></category>

		<guid isPermaLink="false">http://www.easytarget.org/?p=206</guid>
		<description><![CDATA[<p>I have a QStarz BT-Q1000XT gps travel recorder/datalogger; It&#8217;s a great bit of kit but rather Windows-centric.. </p> <p>However! it should work using BT747 on Linux. BT747 is a Java tool designed to manipulate all of the poular MTKII chipset based dataloggers out there, not Just QStarz units, but Holux and others too.</p> <p>While there are many instructions for getting this working with Ubuntu I could not find any recent info for Fedora; so I thought I&#8217;d write up my experience of getting this going on my Fedora 16 system.</p> <p>(Note; the MS Windows software that came with the QStarz unit is Ok these days; the latest release of their [... <a href="http://www.easytarget.org/2012/04/bt747-mtk-gps-utility-under-fedora-16/">read more</a>]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.easytarget.org/2012/04/bt747-mtk-gps-utility-under-fedora-16/bt-q1000xt/" rel="attachment wp-att-220"><img src="http://www.easytarget.org/wp-content/uploads//2012/04/bt-q1000xt-150x150.jpg" alt="Picture of my BT-Q1000XT" title="Coffee and a GPS unit, I both are good." width="150" height="150" class="alignright size-thumbnail wp-image-220" /></a>I have a <a href="http://www.qstarz.com/" title="Qstarz homepage" target="_blank">QStarz</a> <a href="http://www.qstarz.com/Products/GPS%20Products/BT-Q1000XT-F.htm" title="Lovely little bit of kit.." target="_blank">BT-Q1000XT</a> gps travel recorder/datalogger; It&#8217;s a great bit of kit but rather Windows-centric.. </p>
<p>However! it should work using <a href="http://www.bt747.org/" title="MTK GPS Linux Utility" target="_blank">BT747</a> on Linux. BT747 is a Java tool designed to manipulate all of the poular MTKII chipset based dataloggers out there, not Just QStarz units, but Holux and others too.</p>
<p>While there are many instructions for getting this working with Ubuntu I could not find any recent info for Fedora; so I thought I&#8217;d write up my experience of getting this going on my Fedora 16 system.</p>
<p>(Note; the MS Windows software that came with the QStarz unit is Ok these days; the latest release of their travelplanner software is, in my opinion, not too bad. And much more suitable than BT747 for, say, my dad or sister.)</p>
<p>When I connect the BT-Q1000XT and watch <code>/var/log/messages</code> I see:</p>
<blockquote><pre>$ sudo tail /var/log/messages
Apr 12 15:43:12 myhost kernel: [  741.660046] usb 5-1: new full-speed USB device number 4 using uhci_hcd
Apr 12 15:43:12 myhost kernel: [  741.815122] usb 5-1: New USB device found, idVendor=0e8d, idProduct=3329
Apr 12 15:43:12 myhost kernel: [  741.815126] usb 5-1: New USB device strings: Mfr=3, Product=4, SerialNumber=0
Apr 12 15:43:12 myhost kernel: [  741.815129] usb 5-1: Product: GPS Receiver
Apr 12 15:43:12 myhost kernel: [  741.815131] usb 5-1: Manufacturer: MTK
Apr 12 15:43:12 myhost kernel: [  741.823171] cdc_acm 5-1:1.1: <strong>ttyACM0</strong>: USB ACM device
Apr 12 15:43:12 myhost mtp-probe: checking bus 5, device 4: "/sys/devices/pci0000:00/0000:00:1a.2/usb5/5-1"
Apr 12 15:43:12 myhost mtp-probe: bus: 5, device: 4 was not an MTP device</pre>
</blockquote>
<p>Look at the 6th line, this tells us the device is appearing on <code>/dev/ttyACM0</code></p>
<p>From the <a href="http://www.bt747.org/webinstall" title="Dont webinstall.. it doesnt work!" target="_blank">BT747 site</a> I ignored the non-functional Java Web Start stuff and followed the <a href="https://sourceforge.net/project/showfiles.php?group_id=196368" title="All BT747 downloads here" target="_blank">link to SourceForge</a> where I downloaded the latest <a href="http://sourceforge.net/projects/bt747/files/Development/" title="Get it HERE!" target="_blank">Development Release</a> version (v2.1.4 the last time I checked) and saved it in my downloads folder. This package contains all the various versions, Windows/Mac/Linux desktop, plus the J2ME and PDA versions all in one package.</p>
<p>You can use the standard Java for Fedora; and it works fine on both 32 and 64 bit systems (I use it on my 64-bit desktop and my 32-bit netbook, the developers have done a great job of getting all this stuff working in the latest releases and many of the old caveats about using Sun Java etc. seem to have been resolved. Here is my environment on my desktop:</p>
<blockquote><pre>$ uname -a
Linux myhost.local.net 3.3.1-3.fc16.x86_64 #1 SMP Wed Apr 4 18:08:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/fedora-release
Fedora release 16 (Verne)
$ java -version
java version "1.7.0_b147-icedtea"
OpenJDK Runtime Environment (fedora-2.1.fc16.1-x86_64)
OpenJDK 64-Bit Server VM (build 22.0-b10, mixed mode)</pre>
</blockquote>
<p>Unzip the downloaded package into a suitable folder:</p>
<blockquote><pre>$ mkdir ~/bt747 ; cd ~/bt747/ ; unzip [path.to.downloaded.folder]/[download].zip</pre>
</blockquote>
<p>You also need to install the Fedora RXTX package:</p>
<blockquote><pre>$ sudo yum install rxtx</pre>
</blockquote>
<p>As is commonly documented BT747 wont work as standard due to permissions on the lockfile folder:<br />
* You can enable access with (I do this in the script that starts BT747):</p>
<blockquote><pre>$ sudo chmod a+x /var/run/lock</pre>
</blockquote>
<p>Having done this I then tried to run:</p>
<blockquote><pre>$ ./run_j2se.sh
$ ./lib/rxtx-2.2pre2-bins/Linux/x86_64-unknown-linux-gnu
PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/ocarter/.local/bin:/home/ocarter/bin

1994 - BT747 2.1.0 Build:BT747_mdeweerd.0.20120411231431933
1995 - Initial: 1019x575  Screen: 1920x1080 Final: 1019x575
1995 - Linux
1995 - amd64
1995 - 3.3.1-3.fc16.x86_64
1995 - 1.7.0_b147-icedtea
1995 - 64
1995 - Fail com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Fail com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel
Success com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel
javax.swing.plaf.metal.MetalLookAndFeel
javax.swing.plaf.nimbus.NimbusLookAndFeel
com.sun.java.swing.plaf.motif.MotifLookAndFeel
com.sun.java.swing.plaf.gtk.GTKLookAndFeel</pre>
</blockquote>
<p>So far so good; The &#8216;<code>Fail</code>&#8216; messages are really just a warning that it cannot use it&#8217;s preferred window style. </p>
<p>I get the GUI up and can use it, but when I enter the device in the connect box (<code>/dev/ttyACM0</code>) it fails to connect and I get errors:</p>
<blockquote><pre>65604 - Classgps.connection.GPSRxTxPort
WARNING:  RXTX Version mismatch
	Jar version = RXTX-2.2pre1
	native lib Version = RXTX-2.2pre2

gnu.io.NoSuchPortException
	at gnu.io.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:269)
	at gps.connection.GPSRxTxPort.openPort(Unknown Source)
        ...
       <em>[snip many lines of tedious, pointless and distracting backtrace info]</em>
	...
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
65622 -
Listing known ports:
65623 - Port opened</pre>
</blockquote>
<p>Much searching around and I found this is due to 1) permissions on the USB device and 2) A need to explicitly add this USB device to the available devices of <code>gnu.io.rxtx</code></p>
<p>To verify I could see that the USB serial device is connecting and producing data; but permissions are wrong and my user cannot read it.</p>
<blockquote><pre>$ cat /dev/ttyACM0
cat: /dev/ttyACM0: Permission denied</pre>
</blockquote>
<p>But the same command run as the root user works:</p>
<blockquote><pre>$ sudo cat /dev/ttyACM0
$PMTK011,MTKGPS*08
$PMTK010,001*2E
00*79
$GPRMC,001255.799,V,,,,,0.00,0.00,060180,,,N*46
...
<em>[data should pour out at high speed,
<strong>hit CTRL-C to end..</strong>]</em>
</pre>
</blockquote>
<p>.. so the device is connected and sending data (yippee!), I just cannot see it yet.</p>
<p>Looking at the device file shows that it&#8217;s owner is root, but that it&#8217;s group is &#8216;<code>dialout</code>&#8216;.</p>
<blockquote><pre>$ ls -l /dev/ttyACM0
crw-rw----. 1 root </em><strong>dialout</strong> 166, 0 Apr 13 12:44 /dev/ttyACM0
</pre>
</blockquote>
<p>Therefore I need to be in the group: <code>dialout</code><br />
Look at your current extended groups list:</p>
<blockquote><pre>$ sudo id [myuser]</pre>
</blockquote>
<p>Then use the <code>usermod</code> command to add &#8216;<code>dialout</code>&#8216; as a new extended group:<br />
* due to the way <code>usermod</code> works you must specify ALL the extended groups in one go (separated by commas); which is why I get you the look at them in the step above.. you do not need to give the primary group.</p>
<blockquote><pre>$ sudo usermod -G [existing groups],dialout

eg:
$ id myuser
uid=1001(myuser) gid=1001(myuser) groups=1001(myuser),10(wheel),48(apache)
$ sudo usermod -G wheel,apache,dialout myuser
$ id myuser
uid=1001(myuser) gid=1001(myuser) groups=1001(myuser),10(wheel),48(apache),18(dialout)</pre>
</blockquote>
<p>You must log out/in to get the new group membership active in your default shells.<br />
* Yes.. I know there are other ways to do that but logging out/in is easiest and fastest for real users..</p>
<p>Now we must pass the correct <code>tty</code> device to <code>gnu.io.rxtx</code> which we do by adding the option &#8216;<code>-Dgnu.io.rxtx.SerialPorts=/dev/ttyACM0</code>&#8216; to the Java invocation.</p>
<p>I combine this with the lockfile permissions setting by putting it all into a modified copy of the startup script:</p>
<p>Copy the script and make it executable:</p>
<blockquote><pre>$ cd ~/bt747/ ; cp run_j2se.sh bt747 ; chmod a+rx bt747</pre>
</blockquote>
<p>Then edit &#8216;bt747&#8242; and replace the final line with two lines like this:</p>
<blockquote><pre>sudo chmod a+w /var/run/lock
"$JAVA" $MEM_HEAP_OPTION $DEBUG_OPTION $NOPROXY_OPTION -Djava.library.path="${RXTXLIBPATH}" -Dgnu.io.rxtx.SerialPorts=/dev/ttyACM0 -Dbt747_prefix="/dev/ttyACM" bt747.j2se_view.BT747Main $* &#038;</pre>
</blockquote>
<p>This runs the command to free up the lockdir, and passes the correct option to <code>gnu.io.rxtx</code> (plus I pass another option to help bt747 find the USB device.)</p>
<p>Having done that, and remembering to log out/in, it just works(tm).</p>
<p>I can now run BT747 with:</p>
<blockquote><pre>$ ~/bt747/bt747</pre>
</blockquote>
<p>The first time of running you might need to enter &#8216;<code>/dev/ttyACM0</code>&#8216; in the connect box at the bottom; although it works fine for me with the default &#8216;<code>USB</code>&#8216; entry.</p>
<p>The result:<br />
<a href="http://www.easytarget.org/wp-content/uploads//2012/04/bt747-connected.png"><img src="http://www.easytarget.org/wp-content/uploads//2012/04/bt747-connected-150x150.png" alt="Screenshot of BT747 connected to my gps device" title="Connected to the datalogger." width="150" height="150" class="alignnone size-thumbnail wp-image-221" /></a><a href="http://www.easytarget.org/wp-content/uploads//2012/04/bt747-tracks.png"><img src="http://www.easytarget.org/wp-content/uploads//2012/04/bt747-tracks-150x150.png" alt="Screenshot of some tracks displayed on a map by BT747" title="Maps and Tracks display" width="150" height="150" class="alignnone size-thumbnail wp-image-222" /></a></p>
<p>[ Later I Also want to add a review/notes about BT747, which seems very good so far... ]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.easytarget.org/2012/04/bt747-mtk-gps-utility-under-fedora-16/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making Horde a little bit safer by removing CLI&#8217;s</title>
		<link>http://www.easytarget.org/2012/03/making-horde-a-little-bit-safer-by-removing-clis/</link>
		<comments>http://www.easytarget.org/2012/03/making-horde-a-little-bit-safer-by-removing-clis/#comments</comments>
		<pubDate>Fri, 23 Mar 2012 15:32:42 +0000</pubDate>
		<dc:creator>Owen</dc:creator>
				<category><![CDATA[Webapps]]></category>
		<category><![CDATA[Horde]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://www.easytarget.org/?p=173</guid>
		<description><![CDATA[<p>Horde4 is great, but one thing I was not too comfortable about is that the admin interface provides three CLI interfaces (cmdshell, phpshell and sqlshell).</p> <p>In theory these functions are well protected and only accessible to admins; but I still see a risk; if an attacker manages to get Horde admin access they could then take over the entire site and replace it&#8217;s contents with their own. And if they know a privilege escalation exploit that works on the webserver or mysql accounts they could compromise the whole server. Essentially this could bypass the protections built into PHP that should stop a Horde admin from affecting anything other than the [... <a href="http://www.easytarget.org/2012/03/making-horde-a-little-bit-safer-by-removing-clis/">read more</a>]]]></description>
			<content:encoded><![CDATA[<p>Horde4 is great, but one thing I was not too comfortable about is that the admin interface provides three CLI interfaces (cmdshell, phpshell and sqlshell).</p>
<p>In theory these functions are well protected and only accessible to admins; but I still see a risk; if an attacker manages to get Horde admin access they could then take over the entire site and replace it&#8217;s contents with their own. And if they know a privilege escalation exploit that works on the webserver or mysql accounts they could compromise the whole server. Essentially this could bypass the protections built into PHP that should stop a Horde admin from affecting anything other than the horde install.</p>
<p>So, having discovered that there is no global (built-in) way to disable these shells on Horde4 Groupware I decided to find out how to do it myself, and then write it up.</p>
<p>First; disable the functions themselves by removing the <span style="color: #606060;font-family:monospace;font-size:120%;">.php</span> extension from them:</p>
<pre style="padding-left: 30px;"><span style="color: #606060;"># cd /path/to/www/horde/admin
# mv phpshell.php phpshell.php.DISABLED
# mv sqlshell.php sqlshell.php.DISABLED
# mv cmdshell.php cmdshell.php.DISABLED</span></pre>
<p>Next; find the entries for <span style="color: #606060;font-family:monospace;font-size:120%;">phpshell</span>, <span style="color: #606060;font-family:monospace;font-size:120%;">sqlshell</span> and <span style="color: #606060;font-family:monospace;font-size:120%;">cmdshell</span> in the <span style="color: #606060;font-family:monospace;font-size:120%;">Api.php</span> script &#8216;<span style="color: #606060;font-family:monospace;font-size:120%;">class Horde_Api</span>&#8216; -&gt; &#8216;<span style="color: #606060;font-family:monospace;font-size:120%;">public function admin_list</span>&#8216; definition (near the start of this file):</p>
<pre style="padding-left: 30px;"><span style="color: #606060;"># cd /path/to/www/horde/lib/
# cp -p Api.php Api.php.DIST
# vi Api.php</span></pre>
<p>.. and comment them out using <span style="color: #606060;font-family:monospace;font-size:120%;">/* &#8230; */;</span> to look like this:</p>
<pre style="padding-left: 30px;"><span style="color: #606060;">
/* 'phpshell' => array(
    'link' => '%application%/admin/phpshell.php',
    'name' => _("P_HP Shell"),
    'icon' => Horde_Themes::img('mime/php.png')
), */
/* 'sqlshell' => array(
    'link' => '%application%/admin/sqlshell.php',
    'name' => _("S_QL Shell"),
    'icon' => Horde_Themes::img('sql.png')
), */
/* 'cmdshell' => array(
    'link' => '%application%/admin/cmdshell.php',
    'name' => _("_CLI"),
    'icon' => Horde_Themes::img('shell.png')
) */
</span></pre>
<p>And that should be it.. a refresh of the Horde portal should show them gone; and they cannot be exploited by an attacker on their default paths any more due to being renamed (+you could delete them for even more paranoid scenarios).</p>
<p>Note that this is non-persistent; every upgrade of Horde will necessitate coming back to these items and reapplying the above; Hopefully this will be adresseed in a more permanent fashion in the future.</p>
<p>Before: <a href="http://www.easytarget.org/2012/03/making-horde-a-little-bit-safer-by-removing-clis/horde-with-shells-3/" rel="attachment wp-att-183"><img src="http://www.easytarget.org/wp-content/uploads//2012/03/horde-with-shells2.png" alt="" title="Hoard with a Shell" class="alignnone size-full wp-image-183" style="vertical-align: -430px; margin-right: 5em"/></a> After: <a href="http://www.easytarget.org/2012/03/making-horde-a-little-bit-safer-by-removing-clis/horde-without-shells/" rel="attachment wp-att-187"><img src="http://www.easytarget.org/wp-content/uploads//2012/03/horde-without-shells.png" alt="" title="Hoard with shell entries removed" class="alignnone size-full wp-image-187" style="vertical-align: -430px;"/></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.easytarget.org/2012/03/making-horde-a-little-bit-safer-by-removing-clis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora 16 on Acer Aspire One (A110L)</title>
		<link>http://www.easytarget.org/2011/11/fedora-16-on-acer-aspire-one-a110l/</link>
		<comments>http://www.easytarget.org/2011/11/fedora-16-on-acer-aspire-one-a110l/#comments</comments>
		<pubDate>Tue, 22 Nov 2011 11:58:48 +0000</pubDate>
		<dc:creator>Owen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[A110]]></category>

		<guid isPermaLink="false">http://www.easytarget.org/?p=77</guid>
		<description><![CDATA[<p>I should warn that F16 has been giving me a lot of wireless network disconnects under high network load; and also that Gnome3 is either good or bad, depending on your POV. I quite like it but think it has unaddressed weaknesses and weird UI defaults.</p> <p>Update: 20-4-2012 : Slow Boot??? (aka: big pause before Gnome starts) It&#8217;s this bug causing it and the fact that the iSCSI service is being started by default. Solve this by running the commands from here (I have added this to the guide).</p> <p>Fedora 17? &#8211; Is coming, and this guide should work just fine with it. I wont be very rushing to update [... <a href="http://www.easytarget.org/2011/11/fedora-16-on-acer-aspire-one-a110l/">read more</a>]]]></description>
			<content:encoded><![CDATA[<p>I should warn that F16 has been giving me a lot of wireless network disconnects under high network load; and also that Gnome3 is either good or bad, depending on your POV. I quite like it but think it has unaddressed weaknesses and weird UI defaults.</p>
<p>Update: 20-4-2012 : <strong>Slow Boot???  (aka: big pause before Gnome starts)</strong><br />
It&#8217;s <a href="https://bugzilla.redhat.com/show_bug.cgi?id=789683" title="The Culprit! note how it is fixed and then breaks again!" target="_blank">this bug</a> causing it and the fact that the iSCSI service is being started by default. Solve this by running the commands from <a href="http://forums.fedoraforum.org/showthread.php?t=276503" title="Look at the third post." target="_blank">here</a> (<a href="#weightwatchers" title="Jump to the entry">I have added this to the guide</a>).</p>
<p><strong>Fedora 17?</strong> &#8211; Is coming, and this guide <em>should</em> work just fine with it. I wont be very rushing to update this for it since the sailing season <a href="http://calvin.easytarget.me.uk/GPS/GPSDATA-20120414_1622.html" title="Messin' about on the water" target="_blank">has begun</a>, and I am trying to prefer nuts and bolts reality over all this virtual nonsense.</p>
<p>This guide is geared towards the Original Aspire One (the one with a very slow 8Gb SSD disk). Fundamentally it is all about maximizing performance from SSD equipped Intel Atom Netbooks. <span style="color:#606060;">Some of it applies to versions of the Aspire One which came with &#8216;real&#8217; HDD&#8217;s too. Although they will work well with a default F16 install you can use many of the steps here to tweak a HDD based atom Netbook  too (ignore the specialised disk partitioning, leave YUM presto enabled, and <em>do not</em> follow the instructions on how to remove disk journalling.)</span></p>
<hr />
<p><strong>I think this is complete; but <a href="http://en.wiktionary.org/wiki/your_mileage_may_vary" title="Your Mileage May Vary" target="_blank">YMMV</a>.</strong></p>
<p>Create bootable Live CD image on a USB stick.</p>
<ul>
<li>I&#8217;m not giving <a href="http://docs.fedoraproject.org/en-US/Fedora/16/html/Installation_Guide/Making_USB_Media.html" title="The official Fedora Documentation for making USB install media" target="_blank">instructions</a> for this step here; the <a href="http://fedoraproject.org/" title="Fedora Project Homepage">Fedora Site</a> does a <a href="http://docs.fedoraproject.org/en-US/Fedora/16/html/Installation_Guide/Making_USB_Media.html" title="The official Fedora Documentation for making USB install media" target="_blank">much better job of it</a> than I can, all the info and downloads you need are there.</li>
<li>Use the <a href="http://fedoraproject.org/download-splash?file=http://download.fedoraproject.org/pub/fedora/linux/releases/16/Live/i686/Fedora-16-i686-Live-Desktop.iso" title="This should be the correct installer.">32 bit Live CD image</a>.</li>
<li>If you see the boot starts but then you just get weird letters and patterns on the screen and the system becomes unresponsive.. Check you don&#8217;t have the 64 bit install media! It took me 10mins to figure what the hell was going on. <img src='http://www.easytarget.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </li>
<li>Use a good USB stick, some cheap ones refuse to boot on the Aspire one. My Kingston DataTraveller works every time, but my SD Cruzer only worked once and has failed every time since.</li>
<li>If having trouble with this a good alternative (one that I have used) is an external USB CD drive and a bootable CD/DVD.</li>
</ul>
<p>Once you have booted from the Live Image and are on the desktop; move the cursor to the top left corner of the screen to open the Gnome3 menus. Click the &#8216;<code>Install to Hard Drive</code>&#8216; icon at the bottom of the &#8216;favourites&#8217; panel to the left.</p>
<p>Follow the wizard!</p>
<ul>
<li>Keyboard (as appropriate; <code>US English</code> if unsure). Click on <code>Next</code>.</li>
<li>Choose <code>Basic Storage Devices</code>. Click on <code>Next</code>.</li>
<li>Hostname (eg: <code>myserver.mydomain.co.uk</code>). Click on <code>Next</code>.</li>
<li>Nearest City (use the dropdown or map). Click on <code>Next</code>.</li>
<li>Choose a strong root password, enter it twice, try not to forget it! Click on <code>Next</code>.</li>
</ul>
<p>Now we come to the tricky part: Disk layout.</p>
<ul>
<li>On the first screen; select &#8216;<code>Use All Space</code>&#8216; from the installation types, unselect &#8216;<code>Use LVM</code>&#8216;, select &#8216;<code>Review and Modify Partitioning Layout</code>&#8216;. Click on <code>Next</code>.</li>
<li>On the following screen select and use the arrow button to copy just the internal HD (<code>ATA</code>) device from the top of the list to the &#8216;Install Target Devices&#8217; column; don&#8217;t select the Boot stick or your SD card homedir (if you use one). Click on <code>Next</code>.</li>
<li>This next screen is the trickiest:<br />
	We will work on the &#8216;<code>sda</code>&#8216; device, this is the SSD HD in a standard A110, the &#8216;<code>sdb</code>&#8216; device is the USB stick, and &#8216;<code>mmcblk0</code>&#8216; (if present) is for SD card homedirs.<br />
	Select and delete the Swap partition (<code>sda3</code> on my device).<br />
	The list should now adjust its scheme to fill the disk without having swap; leaving the root partition (mount point=&#8217;<code>/</code>&#8216;) as <code>sda3</code> and occupying all the space previously assigned to swap (<code>7193Mb</code> on my device).<br />
	When finished you should have something rather like this:<br />
<a href="http://www.easytarget.org/wp-content/uploads/2011/11/partitions-A110-F16.png"><img src="http://www.easytarget.org/wp-content/uploads/2011/11/partitions-A110-F16.png" alt="" title="partitions-A110-F16" class="alignnone size-full wp-image-154" /></a><br />
	<em>[Note that I have a SD card at mmcblk0 which has my homedir on it, so I am not formatting it, the installer incorrectly identifies this as a ext2 filesystem. <img src='http://www.easytarget.org/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> ]</em></li>
<li>Get a pen and paper: Write down the device identifiers for the <code>/</code> and <code>/boot</code> disk partitions (by default &#8216;<code>sda3</code>&#8216; and &#8216;<code>sda2</code>&#8216; respectively). You will need to know this later when we turn journalling off.<br />
	Click on <code>Next</code>.</li>
<li>Say &#8216;Yes&#8217; to the &#8216;Are you sure you do not want a swap partition?&#8217; popup; for the SSD in the A110 swap is a bad idea, extremely slow and really just a waste of disk space. Which is why I strongly recommend deleting it in the previous screen.</li>
<li>Click &#8216;<code>Write Changes to Disk</code>&#8216; on the next popup (having first double-checked that you have any backups you need.. BlaBlaBla..) and the filesystems will be created.</li>
<li>On the final screen; leave the bootloader on <code>/dev/sda</code>.  Click on <code>Next</code>.</li>
</ul>
<p>The system should now install to the SSD (Hard Drive), this takes a few minutes.. Once it completes select <code>Reboot</code> (remember to boot from the system disk, not the USB stick!)</p>
<p>The system will reboot back into the install wizard, follow this to complete the final config steps, begin by pressing &#8216;<code>Forward</code>&#8216;, look at the open licence and then go &#8216;<code>Forward</code>&#8216;.</p>
<ul>
<li>Check the Date/Time is OK, I strongly recommend selecting the &#8216;Synchronise date and time over the network&#8217; option (accept the default pool server list if unsure what to do there).</li>
<li>Create a normal user account, and select the &#8216;add to administrators group&#8217; option to make your life easier later on.</li>
<li>Submitting a hardware profile is good; it lets the Fedora folks know that NetBooks are still being used.</li>
</ul>
<p><em>You should now have a functioning system.</em></p>
<p>I suggest logging in and setting up a network connection at this point; the system will be quite functional, but there are still a few things we can do to perk up it&#8217;s performance. </p>
<hr />
<p>Now it is time to &#8216;fix&#8217; Some stuff.</p>
<p>In this next section you need to be able to <a href="http://mixeduperic.com/linux/how-to-open-a-terminal-window-in-gnome-3.html" title="How to open a terminal" target="_blank">open a terminal</a>, <a href="http://itg.chem.indiana.edu/inc/wiki/software/165.html" title="Some sudo info" target="_blank"><code>sudo</code> to root</a> and edit files (with <a href="http://mintaka.sdsu.edu/reu/nano.html" title="Nano basics" target="_blank"><code>nano</code></a>/<a href="http://www.washington.edu/computing/unix/vi.html" title="VI basics" target="_blank"><code>vi</code></a>/<a href="http://linux.about.com/library/cmd/blcmdl1_gedit.htm" title="Gedit command line reference, run it as sudo" target="_blank"><code>gedit</code></a>/<code>whatever</code>). If you are comfortable with this then go right ahead, if not I suggest you start at some of the excellent <a href="https://www.google.com/search?q=linux+administration+tutorial" title="Google it" target="_blank">online Linux guides</a> and come back once you have a &#8216;<a href="http://www.thinkgeek.com/brain/whereisit.cgi?t=got+root" title="Got Root?" target="_blank">root prompt</a>&#8216; open. If you are new to Unix I think you will find <code>nano</code> much easier to use for editing files than <code>vi</code>.</p>
<p>Protips:</p>
<ul>
<li>Get online and enable the <code>sshd</code> service (&#8216;<code># systemctl enable sshd.service ; systemctl start sshd.service</code>&#8216;) and open up the firewall for it; eg. via &#8216;<code># system-config-firewall'</code>).<br />Logging in via <code>SSH</code> from a desktop machine made doing all the stuff below much easier (cut/paste on a big screen and mouse etc..</li>
<li>I also installed ‘<code>screen</code>‘ (<code># yum install screen</code> so that the update process could be detached without stopping when I disconnect from SSH.</li>
</ul>
<p>First: we will set disk optimisations and set up some &#8216;ramdisks&#8217; on the system for temporary and log files.</p>
<ul>
<li>Log in as root on a terminal; edit the mount map file<br /><code># vi /etc/fstab</code></li>
<li>Add &#8216;<code>,noatime,nodiratime</code>&#8216; after the &#8216;<code>defaults</code>&#8216; option for the <code>ext4</code> disks already listed.</li>
<li>Add <code>tempfs</code> (ramdisk) entries for some temporary filesystems that would otherwise live on the (very slow) SSD: <code>/var/log</code> <code>/tmp</code> and <code>/var/tmp</code>.<br />
<em>[Putting the logfiles on a ramdisk has means you loose all your logs at every reboot, but saves loads of write cycles on the disk. If you have an issue where you need to keep logs you can simply comment out this entry while debugging it.]</em></li>
<li>When complete my fstab looked like this:<br />
<blockquote style="white-space:nowrap; position: relative; left: -3em;"><p><code>#<br />
UUID=12345678-abcd-abcd-9009-123456789abc /         ext4   defaults,noatime,nodiratime  1 1<br />
UUID=87654321-dcba-dcba-8bb8-cba987654321 /boot     ext4   defaults,noatime,nodiratime  1 2<br />
tmpfs                                     /var/log  tmpfs  defaults                     0 0<br />
tmpfs                                     /tmp      tmpfs  defaults                     0 0<br />
tmpfs                                     /var/tmp  tmpfs  defaults                     0 0</code></p></blockquote>
</li>
<li>If you have a SD card in the left hand card slot to use for home directories you can also add:<br />
<blockquote style="white-space:nowrap; position: relative; left: -3em;"><p><code># Home directories on left hand SD card<br />
/dev/mmcblk0p1                            /home     xfs    defaults,noatime,nodiratime  0 0</code></p></blockquote>
<p><em>[Note: I use XFS instead of EXT for the filesystem type since EXT filesystems on SD cards can be corrupted by one of many bugs with Suspend. This might be fixed for Fedora 16 (it was definitely broken at Fedora 14) but I really cant be bothered to check.]</em></li>
</ul>
<p><span style="color:#606060;"><strong>Tip:</strong> Try a reboot of the system now. The <code>fstab</code> file is very syntax sensitive, and a mistake in it can stop the system fully booting. It can be fixed via the emergency prompt you get dumped to, or you can restart the install from scratch if doing that is failing.</span></p>
<p>Change the location of the YUM log so that it is not on a virtual filesystem, this lets you keep your updates history intact; I simply dump it on the root of the filesystem.</p>
<ul>
<li><code># vi /etc/yum.conf</code></li>
<li>edit the line for the logfile; eg: &#8216;<code>logfile=/yum.log</code>&#8216;</li>
</ul>
<p>Now we will apply some of <a href="http://jorge.fbarr.net/2010/06/09/fedora-13-on-the-acer-aspire-one/" title="Jorge was doing this long before I was!" target="_blank">Jorges</a> changes to kernel parameters.</p>
<p><code># vi /etc/sysctl.conf</code>, add the following to the end:</p>
<blockquote style="white-space:nowrap;"><p><code># Economize the SSD<br />
# Strongly discourage swapping (default 60)<br />
vm.swappiness = 1<br />
# Don't shrink the inode cache aggressively (default 100)<br />
vm.vfs_cache_pressure = 50<br />
# Make system wait longer before writing dirty data (default 500)<br />
vm.dirty_writeback_centisecs = 1500<br />
# Laptop mode setting tries to minimise disk power usage. (default 0=0ff)<br />
vm.laptop_mode = 5</code></p></blockquote>
<ul>
<li>We no longer need to set <code>vm.dirty_ratio = 20</code> and <code>vm.dirty_background_ratio = 10</code> since these now seem to be the default with Fedora 16.</li>
</ul>
<p>Run a script that changes some device settings at startup (there may be a better way to do this, but if so I have not come across it, all tips gratefully received!)</p>
<ul>
<li>Create and edit a new file:<br /><code># vi /etc/rc.d/rc.local</code></li>
<li>Copy/paste the following into it:<br />
	<em>[Remove the <code>mmcblk0</code> lines if you do not use a separate homedir in the left hand SD card slot].</em></p>
<blockquote style="white-space:nowrap; position: relative; left: -3em;"><p><code>#!/bin/sh<br />
# Owens SSD/ASpire Mods<br />
#<br />
# Use the deadline scheduler<br />
echo -n "deadline" >| /sys/block/sda/queue/scheduler<br />
echo -n "deadline" >| /sys/block/mmcblk0/queue/scheduler<br />
#<br />
# Stop disk activity being batched; not sensible on SSD.<br />
echo -n "1" >| /sys/block/sda/queue/iosched/fifo_batch<br />
echo -n "1" >| /sys/block/mmcblk0/queue/iosched/fifo_batch<br />
#<br />
# Keep the fan working properly..<br />
echo -n "enabled" >| /sys/class/thermal/thermal_zone0/mode<br />
#<br />
# Make the sound subsystem go off 10s after playback stops.<br />
echo 10 > /sys/module/snd_hda_intel/parameters/power_save<br />
#<br />
# SMT will fill first core+thread before starting others up; helps save power.<br />
echo 1 > /sys/devices/system/cpu/sched_smt_power_savings</code></p></blockquote>
</li>
<li>Make this file executable:<br /><code># chmod 755 /etc/rc.d/rc.local</code></li>
<li>Enable the service that runs this at boot time:<br /><code># systemctl enable rc-local.service</code> (ignore the warning)</li>
</ul>
<p>Disable SElinux in the kernel (This saves resources and keeps the system responsive)</p>
<ul>
<li><code># vi /etc/sysconfig/selinux</code><br />Change the &#8216;default&#8217; line to say:<br />
<code>SELINUX=disabled</code></li>
<li style="color:#606060;">SElinux will now be disabled after next reboot.</li>
<li style="color:#606060;">You are not reducing the security of your machine much; SELinux is currently configured for protecting webservers etc, not personal PC&#8217;s. The disadvantages of running it on a netbook far outweigh any positives.</li>
</ul>
<p>Disable Yum Presto with:</p>
<ul>
<li><code># yum remove yum-presto</code></li>
<li style="color:#606060;">Presto works well on systems with a nice big fast HDD; but is catastrophic to yum&#8217;s performance on a slow disk like the A110&#8242;s.</li>
</ul>
<p><a name="weightwatchers"></a>Do not start some redundant (and cpu/time sapping) services:</p>
<ul>
<li><code># systemctl disable iscsi.service<br />
                  # systemctl disable iscsid.service</code></li>
<li style="color:#606060;">No <a href="http://en.wikipedia.org/wiki/ISCSI" title="Unlikey to use this unless you are a geek! :-)" target="_blank">iSCSI</a> devices on the aspire one.</li>
<p></p>
<li><code># systemctl disable libvirtd.service<br />
                  # systemctl disable libvirt-guests.service</code></li>
<li style="color:#606060;">Running VM&#8217;s on this system would be very slow.</li>
<p></p>
<li><code># systemctl disable livesys.service<br />
                  # systemctl disable livesys-late.service</code></li>
<li style="color:#606060;">These are hangovers from the install, dont really cause any problem but have no value to us either.</li>
<p></p>
<li><code># systemctl disable nfs-idmap.service<br />
                  # systemctl disable nfs-lock.service</code></li>
<li style="color:#606060;">If you are in an environment where you use NFS, you&#8217;ll know what to do, if not these are pointless.</li>
</ul>
<p>Now we want to make two changes to the kernel boot parameters, the first forces the use of the best access mode (elevator) for the SSD disk; the second makes suspend work properly if you use a the left hand SD card slot (<a href="http://www.easytarget.org/2011/11/fedora-16-on-acer-aspire-one-a110l/comment-page-1/#comment-591" title="See his comment below.">thanks to JB for this trick</a>).</p>
<ul>
<li>Edit the grub2 config file:<br />
<code># vi /etc/default/grub</code></li>
<li>Add &#8216;<code> elevator=noop mmc_core.removable=0</code>&#8216; to the default Grub commandline so that it looks like this:<br />
<blockquote style="position: relative; left: -3em;"><p><code>GRUB_CMDLINE_LINUX="rd.md=0 rd.lvm=0 rd.dm=0  KEYTABLE=us quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 LANG=en_US.UTF-8 elevator=noop mmc_core.removable=0"</code></p></blockquote>
</li>
<li>Then rebuild the grub config with the following command:<br />
<code># grub2-mkconfig -o /boot/grub2/grub.cfg</code></ul>
</li>
<p>This final step is awkward and slightly risky.. but saves write cycles on the SSD and is worth doing.</p>
<ul>
<li>Reboot the netbook from the USB live stick like you did to begin the install</li>
<li>Open a terminal and become the root user via the &#8216;<code>su</code>&#8216; command<br />
        <code>[liveuser@localhost ~]$ su -</code></li>
<li>run <code>tune2fs</code> to remove the disk journals:<br />
        This command can only be run on inactive filesystems; which is why we had to reboot from the USB media.<br />
        <em>[This example assumes the disk devices you noted when specifying the disk layout are the defaults; adjust this if you used a different partitioning layout when originally installing.]</em><br />
        <code># tune2fs -O ^has_journal /dev/sda3</code><br />
        <code># tune2fs -O ^has_journal /dev/sda2</code></li>
</ul>
<p>Reboot the system normally (if you only see &#8216;<code>Suspend</code>&#8216; in the user menu, press the &#8216;<code>ALT</code>&#8216; key to see the correct option and marvel at the stupidity of the Gnome 3 team when they imposed that on their users); </p>
<hr />
<p>Now; your system should be running Fedora 16 about as well as it can. We are finally ready to do our first system update; it takes several hours at present (2 weeks after release there were 166+ packages to update.)</p>
<p><span style="color:#606060;"><strong>Tip:</strong> Due to the problems with Wifi under high load, and the fact that this update will hammer the network connection while it downloads, I strongly suggest using a wired ethernet connection while the update is running (you can disconnect it after the initial download phase is finished)</span></p>
<p><code># yum update</code></p>
<ul>
<li>Look at the list, groan, press &#8216;<code>Y</code>&#8216; and remember you&#8217;ll need more than a cup of coffee to wait this one out.</li>
</ul>
<hr />
<p>Have fun&#8230;</p>
<p>You should follow some of the many existing Fedora 16 guides for installing Flash, gstreamer plugins, chrome, etc..</p>
<p>What works:</p>
<ul>
<li>As far as I can tell and have tested: pretty much everything; webcam, speakers, microphone, cooling (fan on/off), wifi, ethernet, r/h card reader, function keys, touchpad, suspend.</li>
<li>I have not tried multi-monitor mode, but I expect that works properly too.</li>
</ul>
<p>What Fails:</p>
<ul>
<li>The 2 small known issues are that sony memorysticks wont work in the r/h card slot, and the wireless switch on the case is not working.</li>
<li>The <em>big</em> known issue is that the WiFi flakes out under high sustained load, it&#8217;s a pretty fundamental problem too, the network simply stops responding without generating any errors or warnings.<br />
        This is really annoying when it happens, but does not actually affect me too much in my daily use. Mostly it prevents me using the machine as a media player (but I have an Android tablet which is better for that anyway).<br />
        I have not had a chance to investigate this further, unless it becomes a bigger issue I probably wont either..</li>
<li><a href="http://www.freesoftwaremagazine.com/articles/hibernate_linux" title="Geeky technical description of Hibernate" target="_blank">Hibernate</a> (suspend to disk) is not available because we have disabled the swapfile, this is no huge loss since hibernate is very slow with the SSD disk.
</ul>
<p>Thinks I would like to write up properly here but probably never will;</p>
<ul>
<li>Install the tweak tool: <code># yum install gnome-tweak-tool</code><br />
            This will make a &#8216;Advanced Settings&#8217; application appear in the applications menu.</li>
<li>Install Fusion repos and then install vlc+gstreamer codecs in order to get a working media player. </li>
<li>Install Adobe repo and flash to get bbc radio player working <img src='http://www.easytarget.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </li>
<li>WeightWatchers; trim some fat from the install. Things that a netbook never needs.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.easytarget.org/2011/11/fedora-16-on-acer-aspire-one-a110l/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Handy Trick for Fedora 16 / Gnome 3 : Disable Suspend.</title>
		<link>http://www.easytarget.org/2011/11/handy-trick-for-fedora-16-gnome-3-disable-suspend/</link>
		<comments>http://www.easytarget.org/2011/11/handy-trick-for-fedora-16-gnome-3-disable-suspend/#comments</comments>
		<pubDate>Tue, 15 Nov 2011 13:42:45 +0000</pubDate>
		<dc:creator>Owen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[A110]]></category>
		<category><![CDATA[Fedora]]></category>

		<guid isPermaLink="false">http://www.easytarget.org/?p=131</guid>
		<description><![CDATA[<p>This is dead simple; Gnome 3 tries to impose Suspend on users as the only true way(tm) to de-power their system; hiding PowerOff behind a modifier key. If suspend fails on your Fedora 16 Machine this is a constant source of irritation.</p> <p>In short, to avoid a minor rant, suspend is quite a problem area for Linux and is broken on many common chipsets and systems. I have 2 Desktop machines and a NetBook all running Fedora 16, and suspend is broken on all of them, I suspect many others have a similar level of breakage.</p> <p>Fortunately; the system policy framework on Linux is good; allowing us to simply tell [... <a href="http://www.easytarget.org/2011/11/handy-trick-for-fedora-16-gnome-3-disable-suspend/">read more</a>]]]></description>
			<content:encoded><![CDATA[<p>This is dead simple; Gnome 3 tries to impose Suspend on users as the only true way<sup>(tm)</sup> to de-power their system; <a title="Why this is a bad idea.." href="http://mail.gnome.org/archives/gnome-shell-list/2011-February/msg00274.html" target="_blank">hiding PowerOff behind a modifier key</a>. If suspend fails on your Fedora 16 Machine this is a constant source of irritation.</p>
<p>In short, to avoid a minor rant, suspend is quite a problem area for Linux and is broken on many common chipsets and systems. I have 2 Desktop machines and a NetBook all running Fedora 16, and suspend is broken on all of them, I suspect many others have a similar level of breakage.</p>
<p>Fortunately; the system policy framework on Linux is good; allowing us to simply tell the OS that Suspend is not available. <img src='http://www.easytarget.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>UPDATED: The original solution given here worked but was substandard because it was not permanent. Updates to the polkit system would re-write the file we were modifying, leading to an &#8216;aaargh! dammit.&#8217; moment.</p>
<p>Fortunately folks older and more into the inner workings of this stuff than me have a better, permanent, solution; so <a title="Best solution (to date)" href="http://blog.anttix.org/2011/11/disabling-suspend-and-hibernate-on-fedora-16/#more-248" target="_blank">head on over to Anttix&#8217;s blog for a correct solution</a>. <img src='http://www.easytarget.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<hr />
<p><span style="text-decoration: underline;">Do not do the following, see above</span>!</p>
<div style="text-decoration:line-through;"><a title="Original Post on Fedora Forums" href="http://www.fedoraforum.org/forum/showthread.php?p=1437655" target="_blank">I owe a debt to &#8216;headkase&#8217; on the Fedora Forums for this tip</a>!</p>
<p>Edit the xml file:<br />
<code>/usr/share/polkit-1/actions/org.freedesktop.upower.policy</code><br />
.. with your favorite text editor.</p>
<p>Find the XML definition section for suspend:</p>
<blockquote><p> &lt;action id=&#8221;org.freedesktop.upower.suspend&#8221;&gt;<br />
&#8230;<br />
&lt;defaults&gt;<br />
&lt;allow_inactive&gt;no&lt;/allow_inactive&gt;<br />
&lt;allow_active&gt;yes&lt;/allow_active&gt;<br />
&lt;/defaults&gt;<br />
&lt;/action&gt;</p></blockquote>
<p>Ignore all the Description and Message fields; the bit we are interested in is the &#8216;<code>allow_active</code>&#8216; definition; change the &#8216;<code>yes</code>&#8216; to &#8216;<code>no</code>&#8216;.</p>
<blockquote><p> &lt;allow_active&gt;no&lt;/allow_active&gt;</p></blockquote>
<p>Save the file (you did edit it as root.. yes? <img src='http://www.easytarget.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  ) and reboot.</p>
<p>Once you have done that Gnome 3 does the correct thing and replaces the Suspend default menu entry with PowerOff. And one of life&#8217;s little irritations is now solved; If you have a laptop you might also want to use the Advanced Configuration editor (Part of the &#8216;<code>gnome-tweak-tool</code>&#8216; package) to modify behaviour when the lid is closed.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.easytarget.org/2011/11/handy-trick-for-fedora-16-gnome-3-disable-suspend/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Fedora 14 on Acer Aspire One (A110L)</title>
		<link>http://www.easytarget.org/2010/11/fedora-14-on-acer-aspire-a110l/</link>
		<comments>http://www.easytarget.org/2010/11/fedora-14-on-acer-aspire-a110l/#comments</comments>
		<pubDate>Thu, 11 Nov 2010 16:37:41 +0000</pubDate>
		<dc:creator>Owen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[A110]]></category>
		<category><![CDATA[Fedora]]></category>

		<guid isPermaLink="false">http://www.easytarget.org/?p=47</guid>
		<description><![CDATA[<p>Obsolete! Fedora 14 is now so old that it is no longer provided or supported by the Fedora Project:</p> <p>I did not do a Fedora 15 version of this guide; but there is now a Fedora 16 A110 guide! </p> <p>I have F14 working beautifully on my Acer Aspire A110L (that&#8217;s the original model with the really slow 8Gb SSD drive); the purpose of this article is to show how.</p> There are other guides out there, a lot of the info and inspirations for this article came from them, but all of them also suffer from being either outdated, or full of weirdness. Here is my attempt at something properly [... <a href="http://www.easytarget.org/2010/11/fedora-14-on-acer-aspire-a110l/">read more</a>]]]></description>
			<content:encoded><![CDATA[<p>Obsolete! Fedora 14 is now so old that it is no longer provided or supported by the Fedora Project:</p>
<p>I did not do a <strong>Fedora 15</strong> version of this guide; but there is now a <a href="http://www.easytarget.org/2011/11/fedora-16-on-acer-aspire-one-a110l/" title="My F16 Aspire One Guide"><strong>Fedora 16</strong> A110 guide</a>! </p>
<hr />
<p>I have F14 working <em>beautifully</em> on my Acer Aspire A110L (that&#8217;s the original model with the really slow 8Gb SSD drive); the purpose of this article is to show how.</p>
<ul>
<li>There are other guides out there, a lot of the info and inspirations for this article came from them, but all of them also suffer from being either outdated, or full of weirdness. Here is my attempt at something properly definitive.</li>
</ul>
<p>Please note; several steps are presented as &#8216;just do this&#8217;; the idea is that if you cannot do this for yourself, or find the relevant guides on line, then Fedora is not a very good match for you. At least not on a Aspire One Netbook which needs some detailed customisation to really run well.</p>
<ul>
<li>If you want to try a modern <a href="http://www.google.com/images?num=60&#038;q=linux+desktops">Linux desktop</a> on your Aspire One, but have not tried <a href="http://en.wikipedia.org/wiki/Linux">Linux</a> before; use <a href="http://www.ubuntu.com/netbook">Ubuntu for Netbooks</a>.. it is much better for beginners than Fedora; and is <a href="https://help.ubuntu.com/community/AspireOne">well supported</a>.
<li>If you really want to learn the technical side of Linux with Fedora (not a bad idea.. it&#8217;s a good learning environment) try a &#8216;commodity&#8217; PC or laptop manufactured between 2 and 8 years ago.. It&#8217;s likely to be very well supported, have fewer &#8216;quirks&#8217;, and will be a much nicer experience all round.</li>
<li>I&#8217;m sorry if this is &#8216;Brutal&#8217;; but I do not have time or energy to answer &#8216;Ow duz I prog my USB stik?loozer!&#8217; type comments.</li>
</ul>
<p style="color: red; text-align: center;">This is not a professional guide; and is still a little crappy in parts, you have been warned!<br />23/Nov/2010</p>
<ul>
<li>Download <a href="http://download.fedoraproject.org/pub/fedora/linux/releases/14/Live/i686/Fedora-14-i686-Live-Desktop.iso">Fedora 14 (x686) Live</a>.</li>
<li><a href="http://docs.fedoraproject.org/en-US/Fedora/14/html/Installation_Guide/Making_USB_Media.html">Prepare a USB boot stick</a> (or a CD/DVD+USB Drive) and boot the Fedora 14 i686 Live Install.
<ul>
<li>Not all USB sticks boot properly on the A110; I have always had success with a decent (ie: expensive..) Kingston Datatraveller</li>
</ul>
</li>
<li>Use the far more detailed instructions <a href="http://jorge.fbarr.net/2010/06/09/fedora-13-on-the-acer-aspire-one/">Jeorgs excellent site</a> to do the initial install; and disk optimisations.
<li>I wish I had the time to re-write his instructions since his they are both good and bad.. unfortunately they have not really been modified since the Fedora 12 days, but Linux and Fedora itself have moved on.
<li>Do the Fedora install via the &#8216;Install&#8217; button on the live desktop, when the installer exits back to the live desktop you can do the optimisations below before the first reboot!</li>
<ul>
<li>Do not use a swapfile unless you only have a 512Mb Ram model <em>and</em> plan on running a lot of really big applications (like Openoffice and FireFox and The Gimp simultaneously).
<ul>
<li>I ran for six months with no swap and only 512Mb ram before I upgraded with another Gb.. and never saw any problems!</li>
<li>The only other reason to have a swapfile is if you want to enable Hibernation.</li>
</ul>
</li>
<li>Remove the Journaling on the ext4 partitions.. This is really easy to write here but quite complex to do; Jeorgs site has the instructions, I&#8217;d love to write this up again here but don&#8217;t have time or energy to do it.</li>
<li>Disable Yum Presto; run <code>'sudo yum remove yum-presto'</code> in a command prompt!
<ul>
<li>Presto saves time on &#8216;proper&#8217; desktop systems but totally overloads the slow SSD disk in the A110, making updates run much slower, not faster</li>
</ul>
</li>
<li>Use Jeorgs changes for <code>/etc/sysctl.conf</code></li>
<li>Do not use the settings given there for <code>/etc/rc.d/rc.local</code>: This is better:<br />
            <code></p>
<p>            # Owens SSD/ASpire Mods<br />
            #<br />
            # Use the deadline scheduler<br />
            echo -n "deadline" &gt;| /sys/block/sda/queue/scheduler<br />
            echo -n "deadline" &gt;| /sys/block/mmcblk0/queue/scheduler<br />
            #<br />
            # Stop disk activity being batched; not sensible on SSD.<br />
            echo -n "1" &gt;| /sys/block/sda/queue/iosched/fifo_batch<br />
            echo -n "1" &gt;| /sys/block/mmcblk0/queue/iosched/fifo_batch<br />
            #<br />
            # Keep the fan working properly..<br />
            echo -n "enabled" &gt;| /sys/class/thermal/thermal_zone0/mode<br />
            #<br />
            # Make the sound subsystem go off 10s after playback stops.<br />
            echo 10 &gt; /sys/module/snd_hda_intel/parameters/power_save<br />
            #<br />
            # SMT will fill first core+thread before starting others up; helps save power.<br />
            echo 1 &gt; /sys/devices/system/cpu/sched_smt_power_savings</p>
<p>            </code><br />
            <em>You can ignore the two entries for <code>/sys/block/mmcblk0/</code> if you do not use a SD card in the left-hand slot for your user data.</em></li>
<li>Before running <code>'yum update'</code> for the first time; make sure journalling is disabled, scheduling is set to &#8216;deadline&#8217; and the yum presto plugin has been disabled!</li>
</ul>
<hr />
<p>Notes:</p>
<ul>
<li>If you use a SD card for your home directory (usually in the LH card slot); do not format it with ext3/4, use XFS instead. There is a bug which causes the ext filesystems on the card readers to get corrupted if the machine goes into suspend. [Note: This error can be fixed with the 'testdisk' utility if you get caught out.]</li>
<li>There is a bug with suspend (related to the above) that causes the machine to lock up when coming out of suspend mode, forcing a reboot. Disable suspend in the menus if you can, and set the power management to never allow the machine to sleep.</li>
<li>Disable lots of unimportant stuff; there are services running by standard on Fedora which are good for a standalone desktop PC, but are not needed on a netbook.</li>
<li>The actual parameters for the Fan can be seen (and set) at <code>/sys/module/acerhdf/parameters/*</code></li>
</ul>
<h3>What Works:</h3>
<ul>
<li>WiFi + Lights + Switch</li>
<li>Function Keys: Sound, Brightness, Screen.</li>
<li>Touchpad.</li>
<li>Webcam.</li>
<li>Wired Network.</li>
<li>Sound (speakers).</li>
<li>Microphone.</li>
<li>Audio sockets (work; and override the built-in devices).</li>
<li>Left hand SDHC card reader.</li>
<li>All USB Ports.</li>
<li>Fan (not continuously running).</li>
</ul>
<h4>..not properly tested but believed to work..</h4>
<ul>
<li>Right Hand multicard reader (Memorysticks still fail..)</li>
</ul>
<h3>..and what does not!</h3>
<ul>
<li>Playback of most (DivX+MP3) avi files in the default movie player fails; install and use VLC instead! (sudo yum install vlc).</li>
<li>Suspend &#8211; Needs more testing but still appears to have problems with failure to resume and corruption of EXT filesystems on SD cards.</li>
<li>Hibernate &#8211; Not available! it relies on swapspace to save it&#8217;s state to, but we have removed the swap on this low-end system..</li>
<li>Memorysticks &#8211; Do not appear to work in R/H multi-card reader.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.easytarget.org/2010/11/fedora-14-on-acer-aspire-a110l/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MySQL (with InnoDB) backup for simple servers.</title>
		<link>http://www.easytarget.org/2010/03/mysql-with-innodb-backup-for-simple-servers/</link>
		<comments>http://www.easytarget.org/2010/03/mysql-with-innodb-backup-for-simple-servers/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 18:20:43 +0000</pubDate>
		<dc:creator>Owen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://www.easytarget.org/?p=15</guid>
		<description><![CDATA[<p>Note: Since I implemented this in our environment and wrote this post there have been newer versions of the tools I use released. I plan on upgrading that system soon to the latest versions; and will then adjust this posting. But for now you will probably have to adjust the tool versions (when specified) yourself. Owen, 17/12/2010</p> <p>Well; the MySQL&#8217;ers seem to be as obscure as ever; making backup really, really hard, and being careful never to really explain how to do it safely. But very keen, no doubt, to maintain their salaries and/or sell you a product to do a backup. As they say &#8220;Obscurity is Job Security&#8221;.</p> <p>Took [... <a href="http://www.easytarget.org/2010/03/mysql-with-innodb-backup-for-simple-servers/">read more</a>]]]></description>
			<content:encoded><![CDATA[<p><em>Note: Since I implemented this in our environment and wrote this post there have been newer versions of the tools I use released. I plan on upgrading that system soon to the latest versions; and will then adjust this posting. But for now you will probably have to adjust the tool versions (when specified) yourself. Owen, 17/12/2010</em></p>
<p>Well; the MySQL&#8217;ers seem to be as obscure as ever; making backup really, really hard, and being careful never to really explain how to do it safely. But very keen, no doubt, to maintain their salaries and/or sell you a product to do a backup. As they say &#8220;Obscurity is Job Security&#8221;.</p>
<p>Took some reading to put this together; the &#8216;classic&#8217; mysqldump method does not hang together very well now that most MySQL installs use InnoDB by default. You basically run a real risk of failing to produce consistent up-to-date backups (as noted <a title="MySQL official documentation:" href="http://dev.mysql.com/doc/refman/5.0/en/backup-methods.html" target="_blank">here</a>). Big &#8216;pro&#8217; MySQL sites and admins normally either use a slave server, or filesystem snapshots to do the backup. But this is not very handy if you are constrained by resources from doing this; fortunately a helpful person posted a link to a specific InnoDB backup tool <a title="Very Helpful Question and Answer" href="http://serverfault.com/questions/59410/is-there-any-equivalent-of-mysqlhotcopy-for-innodb" target="_blank">here</a>).</p>
<p>Our situation is that we have an internal DB server (MySQL on Linux) which handles the databases used in our various intranet sites. This data is quite important, but there is not a lot of it (a Gigs at most), and the load on the server is pretty low. We do not have a lot of resource available; so slave servers or commercial tools are a no-go. Uptime is important too, we do not want to lock the databases while backing up. I initially contemplated converting the filesystem to ZFS or some other snapshotable filesystem, but rejected that as a long-winded and risky option.What I really needed is a tool that does a &#8216;hot&#8217; backup of all our databases with no serious downtime, and handles InnoDB properly. Backing up the whole server is preferable, it is highly unlikely we would need to restore just one part of a Db, the most likely failure scenario for us is loss of an entire database, or the whole server.</p>
<p>That leads to the <a title="Percona website:" href="http://www.percona.com/docs/wiki/percona-xtrabackup%3Astart" target="_blank">Percona XtraBackup</a> tool. Which in turn provides a utility called &#8216;<strong>innobackupex</strong>&#8216;; which turns out to be exactly what I needed in my company. It installed perfectly on our RedHat 5.4 server using the rpm on their site.</p>
<p>But, for what I want to do, I need to do two passes, running the tool once to make the actual backup, and a second time to apply outstanding logs in the backup. By applying the logs immediately after the backup  it means that the backups become &#8216;self-standing&#8217; and do not need to be processed before they can be used (the alternative is to backup the initial dump, and only apply logs when restoring, fast, but it makes the restore process more complex, and assumes this tool is already available on the restore system.</p>
<p>So; what with one thing and another, I ended up writing the following script:</p>
<ul>
<li>This is intended to be run several times daily from a cron job; with it&#8217;s output being redirected to a logfile.</li>
<li>It removes old backups according to their age.</li>
<li>It produces backup directories that can simply be dropped into a MySQL install in place of the old storage area.</li>
<li style="list-style-type: circle;">If the recovery of just one database is required (probably from a specific date/time) I will recover the whole backup to a separate machine (which is easy; just recover the whole backup folder in the new machines mysql data directory and start mysqld). And then dump the specific database/tables I want via mysqldump, and recover them into the active server.</li>
</ul>
<p>The principle requirement for it is that you have already installed the percona-xtrabackup package from their <a title="Percona Software homepage:" href="http://www.percona.com/" target="_blank">website</a>, they have binary packages for quite a few architectures available <a title="Percona xtrabackup downloads page." href="http://www.percona.com/percona-builds/xtrabackup/" target="_blank">here</a>.</p>
<p>For RedHat EL5 (5.4, 64bit in this example) I installed the Percona tool as root in the following manner:</p>
<pre>[root@db1] # wget http://www.percona.com/percona-builds/xtrabackup/XtraBackup-1.0/RPM/rhel5/xtrabackup-1.0-56.rhel5.x86_64.rpm
[root@db1] # rpm -ivh xtrabackup-1.0-56.rhel5.x86_64.rpm</pre>
<p>I then created a location for the backups at <span style="font-family: Courier New,Courier,mono;">/data/backup/mysql</span>, and for the script at <span style="font-family: Courier New,Courier,mono;">/data/backup/scripts</span> (<span style="font-family: Courier New,Courier,mono;">/data</span> is a separate data partition on our database server; and the <span style="font-family: Courier New,Courier,mono;">/data/backup</span> tree is backed-up by a remote-server-synchronisation backup solution.) I then put the following script in as <span style="font-family: Courier New,Courier,mono;">/data/backup/scripts/innobackupex-runner.sh</span>.<br />
Since the script has a fully privileged MySQL account in it I re-protected the directory and script to 700 so that it is only readable by the root account itself (<span style="font-family: Courier New,Courier,mono;">chmod -R 700 /data/backup/scripts</span>). Finally I added a cron job for the backups via a new cron configuration file at <span style="font-family: Courier New,Courier,mono;">/etc/cron.d/mysql-backup.cron</span>; with the contents:</p>
<pre>0 7,13,19 * * * root /data/backup/scripts/innobackupex-runner.sh &gt;&gt; /var/log/mysql-backup.log</pre>
<p>I created an initial logfile, and reprotected it to be only root readable.</p>
<pre>[root@db1]# touch /var/log/mysql-backup.log
[root@db1]# chmod 600 /var/log/mysql-backup.log</pre>
<p>The logfile produced is rotated by the standard logrotate system; I added a new config to this as <span style="font-family: Courier New,Courier,mono;">/etc/logrotate.d/mysql-backup</span> :</p>
<pre>/var/log/mysql-backup.log {
 weekly
 rotate 5
 compress
 notifempty
 create 0600 root root
}</pre>
<hr />
<h3>The actual Script I use is as follows:</h3>
<ul>
<li>This script was written for a RedHat5.4 system; it&#8217;s pretty portable, but some bits (like the way it checks that MySQL is running) may need converting if you are not on a RH-like OS (Fedora and CentOS users should be fine..)</li>
<li>Check the defaults at the beginning of the file; you need to specify a user account with access to all the databases.</li>
<li>I&#8217;m sure it can be improved.</li>
</ul>
<pre>#!/bin/sh
#
# Script to run innobackupex script (for all databases on server), check for success, and apply logs to backups.
#

# (C)2010 Owen Carter @ Mirabeau BV
# This script is provided as-is; no liability can be accepted for use.
# You are free to modify and reproduce so long as this attribution is preserved.
#

INNOBACKUPEX=innobackupex-1.5.1
INNOBACKUPEXFULL=/usr/bin/$INNOBACKUPEX
USEROPTIONS="--user=&lt;OURUSER&gt; --password=&lt;OURUSERSPASSWORD&gt;"
BACKUPDIR=/data/backup/mysql
TMPFILE="/tmp/innobackupex-runner.$$.tmp"

# Age of oldest retained backups in minutes.
AGE=10500

# Some info output

echo "----------------------------"
echo
echo "innobackupex-runner.sh: MySQL backup script"
echo "started: `date`"
echo

# Check options before proceeding

if [ ! -x $INNOBACKUPEXFULL ]; then
 error
 echo "$INNOBACKUPEXFULL does not exist."; echo
 exit 1
fi

if [ ! -d $BACKUPDIR ]; then
 error
 echo "Backup destination folder: $BACKUPDIR does not exist."; echo
 exit 1
fi

if [ -z "`/sbin/service mysqld status | grep 'mysqld (.*) is running'`" ] ; then
 echo "HALTED: mysqld does not appear to be running."; echo
 exit 1
fi

if ! `echo 'exit' | /usr/bin/mysql -s $USEROPTIONS` ; then
 echo "HALTED: Supplied mysql username or password appears to be incorrect (not copied here for security, see script)"; echo
 exit 1
fi

# Now run the command to produce the backup; capture it's output.

echo "Check completed OK; running $INNOBACKUPEX command."

$INNOBACKUPEXFULL $USEROPTIONS $BACKUPDIR &gt; $TMPFILE 2&gt;&amp;1

if [ -z "`tail -1 $TMPFILE | grep 'completed OK!'`" ] ; then
 echo "$INNOBACKUPEX failed:"; echo
 echo "---------- ERROR OUTPUT from $INNOBACKUPEX ----------"
 cat $TMPFILE
 rm -f $TMPFILE
 exit 1
fi

THISBACKUP=`awk -- "/Backup created in directory/ { split( \\\$0, p, \"'\" ) ; print p[2] }" $TMPFILE`
rm -f $TMPFILE

echo "Databases backed up successfully to: $THISBACKUP"
echo
echo "Now applying logs to the backuped databases"

# Run the command to apply the logfiles to the backup directory.
$INNOBACKUPEXFULL --apply-log $THISBACKUP &gt; $TMPFILE 2&gt;&amp;1

if [ -z "`tail -1 $TMPFILE | grep 'completed OK!'`" ] ; then
 echo "$INNOBACKUPEX --apply-log failed:"; echo
 echo "---------- ERROR OUTPUT from $INNOBACKUPEX --apply-log ----------"
 cat $TMPFILE
 rm -f $TMPFILE
 exit 1
fi

echo "Logs applied to backuped databases"
echo

# Cleanup

echo "Cleaning up old backups (older than $AGE minutes) and temporary files"
rm -f $TMPFILE

cd /tmp ; find $BACKUPDIR -maxdepth 1 -type d -mmin +$AGE -exec echo "removing: "{} \; -exec rm -rf {} \;

echo
echo "completed: `date`"
exit 0</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.easytarget.org/2010/03/mysql-with-innodb-backup-for-simple-servers/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>mypodder on 64bit linux.</title>
		<link>http://www.easytarget.org/2010/02/mypodder-on-64bit-linux/</link>
		<comments>http://www.easytarget.org/2010/02/mypodder-on-64bit-linux/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 13:47:05 +0000</pubDate>
		<dc:creator>Owen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[MyPodder]]></category>

		<guid isPermaLink="false">http://www.easytarget.org/?p=8</guid>
		<description><![CDATA[<p>NOTE: I still see a bit of traffic to this post; so I thought I should add a warning: This post is a couple of years old and I stopped using Mypodder when I left my trusty Sansa Clip on a train.. Nowadays I use the pretty good podcast client in my smartphone; so I have no idea whether this still works and no real enthusiasm to test it. So: feel free to follow this if you want but if it goes wrong then sorry.. it&#8217;s unmaintained..</p> Ok, so it is a 64-bit incompatibility. The eternally useful mypodder application runs well on Windows and Linux in 32bit mode, but fails [... <a href="http://www.easytarget.org/2010/02/mypodder-on-64bit-linux/">read more</a>]]]></description>
			<content:encoded><![CDATA[<p><em>NOTE: I still see a bit of traffic to this post; so I thought I should add a warning: This post is a couple of years old and I stopped using Mypodder when I left my trusty Sansa Clip on a train.. Nowadays I use the pretty good podcast client in my smartphone; so I have no idea whether this still works and no real enthusiasm to test it.<br />
So: feel free to follow this if you want but if it goes wrong then sorry.. it&#8217;s unmaintained..</em></p>
<hr />
Ok, so it is a 64-bit incompatibility. The eternally useful <a title="Mypodder download page" href="http://www.podcastready.com/download.php" target="_blank">mypodder</a> application runs well on Windows and Linux in 32bit mode, but fails badly in Linux 64 bit (I have not tested in Windows x64 yet).</p>
<p>There is a way to get it working however, thanks to the fact that Sun&#8217;s official Java runtime environment runs well as a &#8216;self contained&#8217; install. So I have installed 32bit java in a local folder, and run the linux java mypodder app from that.</p>
<p>Note; This is on Fedora 12, there is no reason at all why it will not also work on 64 bit ubuntu, arch, RH, etc&#8230; there is nothing Fedora specific in what I am doing here. You do need to know how to use the command line; if that means nothing to you I suggest getting a geeky friend/relative to help. You do not need root access for this!</p>
<p>Basically; go to <a title="Sun download page" href="http://java.sun.com/javase/downloads/" target="_blank">http://java.sun.com/javase/downloads/</a> and select the &#8216;Download JRE&#8217; button (you do not need the JDK developers kit).</p>
<p>On the next page, select &#8216;Linux&#8217; (not linux- itanium or x64), select the &#8216;I agree&#8217; button, and hit &#8216;Continue&#8217; (the email address part is optional). On the next page select the &#8216;binary&#8217; package, NOT the &#8216;rpm&#8217; package. Look at the filename.. I downloaded &#8216;jre-6u18-linux-i586.bin&#8217;.</p>
<p>I then opened a terminal (shell) and made a folder for the install:</p>
<pre>home&gt; mkdir ~/java32
home&gt; cd ~java32
home&gt; mv ~/Downloads/jre-6u18-linux-i586.bin .
home&gt; sh jre-6u18-linux-i586.bin
&lt;Answer 'Yes' to the licence agreement&gt;</pre>
<p>Now test (adjust the path if you installed a different version than 1.6.0_18</p>
<pre>home&gt;  ~/java32/jre1.6.0_18/bin/java -version
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) Server VM (build 16.0-b13, mixed mode)</pre>
<p>That looks cool, the correct Java is available a the new path, running just &#8216;&gt; java -version&#8217; still gives me the Fedora installed OpenJDK 64 bit version, so I have not broken my base system. Now to start mypodder: Change to the mypodder directory (or wherever you normally run mypodder from) and edit the start_linux script to use the standalone 32bit java  instead of the default system java. In my case I copied the existing script to a new one called &#8216;start_linux64.sh&#8217;.</p>
<pre>home&gt; cd /media/SANSA\ CLIP/mypodder/
&lt;your path will vary&gt;
home&gt; cp -p start_linux.sh start_linux64.sh
home&gt; gedit start_linux64.sh
&lt;or use nedit, vi, whatever floats your boat&gt;</pre>
<p>Modify this so the exlicit path of the 32 bit java executable is used in the command to start mypodder.<br />
- I did not need to mess around with &#8216;JAVA_HOME&#8217; environment variables etc.. just invoking the correct Java executable was sufficient.</p>
<p>The following worked well for me:</p>
<p>I replaced</p>
<pre>java -Djava.library.path=./linux -classpath .:./linux:./linux/swt.jar:./linux/piccolo.jar Core</pre>
<p>with</p>
<pre>~/java32/jre1.6.0_18/bin/java -Djava.library.path=./linux -classpath .:./linux:./linux/swt.jar:./linux/piccolo.jar Core</pre>
<p>And that was it, running on my desktop 10 seconds later <img src='http://www.easytarget.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I actually still use this on 32bit Fedora 12 and archlinux, so I left the old start script intact, I only use the alternate script on my 64bit work system.<br />
- I actually have the script on my desktop (it assumes I have mounted the player first) for convenience, so long as you add a &#8216;cd /media/&lt;devicepath&gt;/mypodder&#8217; line before the java command the script is quite portable.</p>
<p>PS: I did this after wasting hours trying to get mypodder to run under wine32; that was a world of pain and confusion..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.easytarget.org/2010/02/mypodder-on-64bit-linux/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Bio:</title>
		<link>http://www.easytarget.org/2010/01/hello-world/</link>
		<comments>http://www.easytarget.org/2010/01/hello-world/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 01:42:54 +0000</pubDate>
		<dc:creator>Owen</dc:creator>
				<category><![CDATA[Site]]></category>

		<guid isPermaLink="false">http://easytarget.org/?p=1</guid>
		<description><![CDATA[<p>Looking for Owens Personal Homepage? This is not it.. This site is for technical articles and opinion, which I keep separate from my personal stuff, and fish (I like fish).</p> <p>This is a permanent Work-in-Progress:</p> Things are never finished here and not everything works as advertised. &#8230;you have been warned! <p></p> ]]></description>
			<content:encoded><![CDATA[<p>Looking for Owens Personal Homepage? This is not it.. This site is for technical articles and opinion, which I keep separate from my <a title="Owens Personal Homepage" href="http://easytarget.me.uk/">personal stuff</a>, and <a title="My fish page." href="http://easytarget.me.uk/fish" target="_blank">fish</a> (I like fish).</p>
<p><em>This is a permanent <strong>Work-in-Progress</strong>:</p>
<ul>
<li>Things are never finished here and not everything works as advertised.</li>
<li>&#8230;you have been warned!</li>
</ul>
<p></em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.easytarget.org/2010/01/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

