<?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/"
		xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Blogospheric Refraction &#187; Linux Development</title>
	<atom:link href="http://stuartl.longlandclan.yi.org/blog/category/linux-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://stuartl.longlandclan.yi.org/blog</link>
	<description>The life and times of Stuart Longland (VK4MSL)</description>
	<lastBuildDate>Tue, 20 Dec 2011 07:29:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<copyright>2006-2007 </copyright>
	<managingEditor>me@vk4msl.yi.org (Blogospheric Refraction)</managingEditor>
	<webMaster>me@vk4msl.yi.org (Blogospheric Refraction)</webMaster>
	<image>
		<url>http://stuartl.longlandclan.yi.org/blog/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
		<title>Blogospheric Refraction</title>
		<link>http://stuartl.longlandclan.yi.org/blog</link>
		<width>144</width>
		<height>144</height>
	</image>
	<itunes:subtitle></itunes:subtitle>
	<itunes:summary>The life and times of Stuart Longland (VK4MSL)</itunes:summary>
	<itunes:keywords></itunes:keywords>
	<itunes:category text="Society &#38; Culture" />
	<itunes:author>Blogospheric Refraction</itunes:author>
	<itunes:owner>
		<itunes:name>Blogospheric Refraction</itunes:name>
		<itunes:email>me@vk4msl.yi.org</itunes:email>
	</itunes:owner>
	<itunes:block>no</itunes:block>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://stuartl.longlandclan.yi.org/blog/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<item>
		<title>GL4Ever Flytouch III: The internal SD card</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2011/12/20/gl4ever-flytouch-iii-the-internal-sd-card/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2011/12/20/gl4ever-flytouch-iii-the-internal-sd-card/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 07:29:40 +0000</pubDate>
		<dc:creator>Redhatter (VK4MSL)</dc:creator>
				<category><![CDATA[Linux Development]]></category>
		<category><![CDATA[Public Syndication]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=883</guid>
		<description><![CDATA[Well, further analysis today. The Flytouch III seems to boot off an embedded SD card. I don&#8217;t know if it is removable or not, for now I&#8217;ll assume no. Having gained root access earlier, I was able to use dd and nc to siphon off a copy of the internal SD card, which appears as [...]]]></description>
			<content:encoded><![CDATA[<p>Well, further analysis today.  The Flytouch III seems to boot off an embedded SD card.  I don&#8217;t know if it is removable or not, for now I&#8217;ll assume no.</p>
<p>Having gained root access earlier, I was able to use <tt>dd</tt> and <tt>nc</tt> to siphon off a copy of the internal SD card, which appears as <tt>/dev/block/mmcblk0</tt>.  To grab a copy, first plug the unit into Ethernet (it&#8217;ll be faster, trust me) and have another Linux box handy:</p>
<p>Start up netcat on a Linux system:<br />
<code>$ busybox nc -l -p 8123 > tablet.img</code></p>
<p>Then on the tablet, become root:<br />
<code>$ /system/bin/su</code></p>
<p>Then start copying to the other system (here; its IP is 12.23.34.45):<br />
<code># dd if=/dev/block/mmcblk0 | nc 12.23.34.45 8123</code></p>
<p>Sit back and wait, it should be done in about 5 minutes.  Now if you look at the partition table, you&#8217;ll see the following:</p>
<pre>
Disk tablet.img: 482 cylinders, 255 heads, 63 sectors/track
Units = sectors of 512 bytes, counting from 0

   Device Boot    Start       End   #sectors  Id  System
tablet.img1            63   5535320    5535258   b  W95 FAT32           < -- User applications, data live here
tablet.img2       5535321   7612181    2076861   5  Extended
tablet.img3       7612248   7677783      65536  bb  Boot Wizard hidden  <-- Kernel?
tablet.img4       7677784   7743319      65536  bb  Boot Wizard hidden  <-- UBoot?
tablet.img5       5535384   6059608     524225  83  Linux               <-- /system partition
tablet.img6       6059672   7595608    1535937  83  Linux               <-- Android internal?
tablet.img7       7595672   7611992      16321  83  Linux               <-- ???
</pre>
<p>Partitions 3 and 4 are a complete mystery.  They're not a standard Linux file system, but, the former appears to hold a copy of the Linux kernel, and the latter seems to hold a copy of UBoot.  You can bust the image apart using the following script:</p>
<p><code><br />
/sbin/sfdisk -uS -l tablet.img | grep ^tablet.img | while read part; do<br />
    pn=$( echo "$part" | cut -c 11-11 );<br />
    s=$( echo "$part" | cut -c 13-25 );<br />
    l=$( echo "$part" | cut -c 36-48 );<br />
    echo "[$pn][$s][$l]";<br />
    dd if=tablet.img of=tablet-$pn.img skip=$(( $s )) count=$(( $l ));<br />
done<br />
</code></p>
<p>You might have to play with column offsets.</p>
<p>The initial part of partition 3 looks like this:
</pre>
<pre>00000000  41 4e 44 52 4f 49 44 21  c0 d7 4b 00 00 80 00 10  |ANDROID!..K.....|
00000010  b5 2a 15 00 00 00 00 11  00 00 00 00 00 00 f0 10  |.*..............|
00000020  00 01 00 10 00 08 00 00  00 00 00 00 00 00 00 00  |................|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000240  b8 29 4b 8c 7c d2 1f 65  cf b3 3a 78 bc 87 c0 61  |.)K.|..e..:x...a|
00000250  2e 24 79 a5 00 00 00 00  00 00 00 00 00 00 00 00  |.$y.............|
00000260  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000800  27 05 19 56 43 d9 c4 f4  4e ab c7 11 00 4b d7 80  |'..VC...N....K..|
00000810  80 00 80 00 80 00 80 00  d5 42 0e 53 05 02 02 00  |.........B.S....|
00000820  4c 69 6e 75 78 2d 32 2e  36 2e 33 35 2e 37 00 00  |Linux-2.6.35.7..|
00000830  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000840  d3 f0 21 e3 10 9f 10 ee  56 00 00 eb 05 a0 b0 e1  |..!.....V.......|
00000850  52 00 00 0a 6c 00 00 eb  05 80 b0 e1 4f 00 00 0a  |R...l.......O...|
00000860  7b 00 00 eb 13 00 00 eb  c0 d0 9f e5 00 e0 8f e2  |{...............|
00000870  10 f0 8a e2 30 5f 11 ee  02 50 85 e3 30 5f 01 ee  |....0_...P..0_..|
00000880  02 00 80 e3 1f 50 a0 e3  10 5f 03 ee 10 4f 02 ee  |.....P..._...O..|</pre>
<p>Note the rather prominent &#8220;Linux-2.6.35.7&#8243;.  Similarly, if we pick through partition 4:</p>
<pre>00020eb0  11 12 a0 41 10 13 a0 51  30 1c 81 41 10 02 a0 e1  |...A...Q0..A....|
00020ec0  1e ff 2f e1 ff ff ff ff  ff ff ff ff ff ff ff ff  |../.............|
00020ed0  00 10 05 60 20 10 05 60  00 13 05 60 20 13 05 60  |...` ..`...` ..`|
00020ee0  40 13 05 60 00 16 05 60  20 16 05 60 00 19 05 60  |@..`...` ..`...`|
00020ef0  20 19 05 60 00 1c 05 60  20 1c 05 60 40 1c 05 60  | ..`...` ..`@..`|
00020f00  55 2d 42 6f 6f 74 20 32  30 31 30 2e 30 36 20 28  |U-Boot 2010.06 (|
00020f10  4f 63 74 20 32 39 20 32  30 31 31 20 2d 20 31 37  |Oct 29 2011 - 17|
00020f20  3a 32 37 3a 30 31 29 00  18 13 ea 80 20 13 ea 80  |:27:01)..... ...|
00020f30  27 13 ea 80 2e 13 ea 80  35 13 ea 80 3c 13 ea 80  |'.......5...< ...|
00020f40  43 13 ea 80 4a 13 ea 80  51 13 ea 80 58 13 ea 80  |C...J...Q...X...|
00020f50  5f 13 ea 80 67 13 ea 80  6f 13 ea 80 77 13 ea 80  |_...g...o...w...|
00020f60  7f 13 ea 80 87 13 ea 80  8f 13 ea 80 97 13 ea 80  |................|</pre>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2011/12/20/gl4ever-flytouch-iii-the-internal-sd-card/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gaining root access on the Android 2.3-based GL4Ever Flytouch III</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2011/12/16/root-gl4ever-flytouch-iii-gingerbread/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2011/12/16/root-gl4ever-flytouch-iii-gingerbread/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 06:44:32 +0000</pubDate>
		<dc:creator>Redhatter (VK4MSL)</dc:creator>
				<category><![CDATA[Linux Development]]></category>
		<category><![CDATA[Public Syndication]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=880</guid>
		<description><![CDATA[Yes, I&#8217;ve joined this century and bought myself a tablet. Lately, I&#8217;ve found myself needing some means of navigating in strange areas whilst on the bicycle, and while pieces of paper work &#8212; if you&#8217;re organised enough to print them out in advance and not ride too fast (otherwise they disappear with the wind), I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, I&#8217;ve joined this century and bought myself a tablet. Lately, I&#8217;ve found myself needing some means of navigating in strange areas whilst on the bicycle, and while pieces of paper work &#8212; if you&#8217;re organised enough to print them out in advance and not ride too fast (otherwise they disappear with the wind), I&#8217;ve found there are a number of shortcomings with this.</p>
<p>Since I like open source, and didn&#8217;t like the idea of spending several hundred on a hand-held GPS with proprietary firmware &amp; map data which I need to constantly purchase updates for, I opted for the cheapskate route.  I picked up a GL4Ever Flytouch III Tablet off eBay.  The unit I have came loaded with Android 2.3 (Gingerbread).</p>
<p>Ultimately I may replace the OS, or at least, the kernel, soon as I have sources for it, but in the meantime, it runs what it came with.  I have however, already managed to gain root access.</p>
<p>Those who might do a search for how to do so, may come across <a href="http://thebelv.altervista.org/Flytouch3/rooting/rooting_flytouch3.html">this guide</a>.  I tried this first, and found I had no joy.  USB Debugging was enabled out-of-the-box on the unit I have, but z4root did not successfully enable root access.  The following are my notes on how I gained a shell with root access on the device.  Ohh, and I warn you, there is no warranty given in the instructions below.  If it breaks, you get to keep the pieces.</p>
<ol>
<li>Download and install <a href="http://forum.xda-developers.com/showthread.php?t=1044765">Gingerbreak</a>.</li>
<li>Run Gingerbreak, it will run for a while, before resetting the device.  Upon starting, you should now notice you have a <em>Superuser</em> application installed.</li>
<li>Next, install <a href="https://github.com/jackpal/Android-Terminal-Emulator/wiki">Android Terminal</a>.</li>
<li>Now, run <tt>/system/bin/su</tt>.</li>
</ol>
<p><tt>/bin/su</tt> is a symbolic link to <tt>/bin/busybox</tt> which was installed without the <tt>setuid</tt> bit, and is broken anyway, you&#8217;ll find if you do add a <tt>setuid</tt> bit, it will report that it can&#8217;t find the &#8216;<tt>root</tt>&#8216; user.  This system has no <tt>/etc/passwd</tt> or equivalent user database, so it has no idea who &#8216;<tt>root</tt>&#8216; is, but it knows who UID 0 is, and that&#8217;s what matters.  The latter &#8216;<tt>su</tt>&#8216; you&#8217;ll find has the necessary permissions, and knows about UID 0.</p>
<p>Other things I&#8217;ve found… the operating system lurks on a SD card embedded in the device.  Or at least, it&#8217;s <em>presented</em> as a SD card; <tt>/dev/block/mmcblk0</tt>.  The user-accessible SD-card port is <tt>/dev/block/mmcblk1</tt>.  You can verify this by ejecting the card, doing a <tt>ls /dev/block</tt>, then inserting a card and repeating.</p>
<p>On my TODO list, is to make a DD-copy of this block device, and pick through to see how one swaps out the kernel.  I&#8217;ll post notes if I figure this out.  I am also yet to obtain the kernel sources, I&#8217;ll chase those up before long.</p>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2011/12/16/root-gl4ever-flytouch-iii-gingerbread/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Broadcom Wireless related ebuilds</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2011/09/13/broadcom-wireless-related-ebuilds/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2011/09/13/broadcom-wireless-related-ebuilds/#comments</comments>
		<pubDate>Tue, 13 Sep 2011 09:31:21 +0000</pubDate>
		<dc:creator>Redhatter (VK4MSL)</dc:creator>
				<category><![CDATA[Gentoo Development]]></category>
		<category><![CDATA[Linux Development]]></category>
		<category><![CDATA[Public Syndication]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=865</guid>
		<description><![CDATA[Hi all… I got fed up of restoring my firmware for the Broadcom wireless chip in my late-2008 model MacBook.  Anyone who has one of these might find the current in-tree versions of net-wireless/b43-firmware is missing files needed by the modern b43 driver (namely ucode16_mimo.fw), and net-wireless/b43-fwcutter doesn&#8217;t well, cut it, for extracting the newer [...]]]></description>
			<content:encoded><![CDATA[<p>Hi all…</p>
<p>I got fed up of restoring my firmware for the Broadcom wireless chip in my late-2008 model MacBook.  Anyone who has one of these might find the current in-tree versions of <tt>net-wireless/b43-firmware</tt> is missing files needed by the modern b43 driver (namely <tt>ucode16_mimo.fw</tt>), and <tt>net-wireless/b43-fwcutter</tt> doesn&#8217;t well, cut it, for extracting the newer files.</p>
<p>If you&#8217;ve got a newer 802.11n-based Broadcom chip, you might find the following ebuilds handy:</p>
<ul>
<li><tt>net-wireless/b43-firmware-5.10.56.27.3</tt></li>
<li><tt>net-wireless/b43-fwcutter-015</tt> and <tt>net-wireless/b43-fwcutter-9999</tt></li>
</ul>
<p>The first is the firmware mentioned in <a href="http://article.gmane.org/gmane.linux.drivers.bcm54xx.devel/11583">this post</a>.  It needs a newer <tt>fwcutter</tt> binary than is provided in Portage.  You&#8217;ve got the choice of the latest version, or the bleeding edge via git.  Both work at time of writing, although neither are guaranteed.</p>
<p>The ebuilds are not in-tree, I&#8217;ll leave that for the <em>actual</em> maintainer for these ebuilds to pick them up if desired, I&#8217;ve put them in an overlay accessed via the following command:</p>
<pre>git clone git://git.longlandclan.yi.org/overlays/b43.git</pre>
<p>Or you can take a squiz via <a href="http://git.longlandclan.yi.org/?p=overlays/b43.git;a=summary">gitweb</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2011/09/13/broadcom-wireless-related-ebuilds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NAT64/DNS64 in Gentoo</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2011/06/23/nat64dns64-in-gentoo/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2011/06/23/nat64dns64-in-gentoo/#comments</comments>
		<pubDate>Thu, 23 Jun 2011 04:52:20 +0000</pubDate>
		<dc:creator>Redhatter (VK4MSL)</dc:creator>
				<category><![CDATA[2011]]></category>
		<category><![CDATA[linux.conf.au]]></category>
		<category><![CDATA[Public Syndication]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=825</guid>
		<description><![CDATA[It was interesting when I posted a news article to the WIA regarding IPv6, how quickly it got shot down by &#8220;experts&#8221;. A recent addition to our network was a 2008-model Apple MacBook, which I have dual-booting Gentoo and MacOS X 10.6.7 nicely.  One quirk of this particular laptop though, is that it will, when [...]]]></description>
			<content:encoded><![CDATA[<p>It was interesting when I posted a news article to the WIA regarding IPv6, how quickly it got <a href="http://stuartl.longlandclan.yi.org/blog/2011/02/20/ipv6-will-never-take-off-ever/">shot down by &#8220;experts&#8221;</a>.</p>
<p>A recent addition to our network was a 2008-model Apple MacBook, which I have dual-booting Gentoo and MacOS X 10.6.7 nicely.  One quirk of this particular laptop though, is that it will, when running its native OS, intermittently drop off the IPv4-only network.</p>
<p>The first tip-off to this is usually things like Skype ceasing to work.  Then I&#8217;ll notice DNS isn&#8217;t resolving (DNS is IPv6-accessible, but not many systems support RDNSS).</p>
<p>As a work-around to the problem, and also for my own self-education, I decided I&#8217;d have a crack at getting NAT64 and DNS64 to work.  What are they exactly?</p>
<p>NAT64 as the name suggests, is a variant of NAT that translates IPv6 to IPv4.  In doing so, allowing my MacBook that&#8217;s just disappeared from the face of the IPv4-only world, to still access the IPv4-part of the Internet.</p>
<p>DNS64 is a service that synthesizes AAAA records for host names that do not provide one.</p>
<p>The two work together to provide Internet access to an IPv6 only host.</p>
<h2>What you will need to know</h2>
<p>Make sure you have the following information on-hand.  I&#8217;ll use the following examples:</p>
<ul>
<li>Your server&#8217;s IPv4 address on the local network: e.g. <strong>192.168.0.1/24</strong></li>
<li>IPv4 NAT address pool: This must not overlap with your existing networks.<br />
Examples use 192.168.255.0/24, I used <strong>172.16.24.0/24</strong></li>
<li>TAYGA&#8217;s tunnel IPv4 address: This will be the first address in the above subnet (i.e. <strong>172.16.24.1</strong>)</li>
<li>Your network&#8217;s IPv6 subnet: e.g. <strong>2001:dead:beef:1200::/56</strong></li>
<li>IPv6 NAT address pool: This needs to be a non-overlapping portion of your address space.  In my case, I&#8217;m borrowing a /56 from AARNet, and I used a /64 for this, setting the lower 8-bits of the prefix to 0&#215;64.  It only needs to be /96 in size.<br />
Example used: <strong>2001:dead:beef:1264::/96</strong></li>
</ul>
<h2>NAT64 setup</h2>
<p>To get NAT64 working; start by installing <a href="http://www.litech.org/tayga/">TAYGA</a>.  This is a userspace daemon uses the TUN device to route between IPv4 and IPv6.  On Gentoo, begin by running <strong>emerge tayga</strong>.  (You may need to keyword it.)</p>
<p>This installs the binary, but crucially, it comes with no init scripts.  You will need to create one yourself like this:</p>
<pre>#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-libs/gpm/files/gpm.rc6,v 1.12 2004/07/15 01:02:02 agriffis Exp $

depend() {
    need gw6c net.nat64
}

start() {
    ebegin "Starting tayga"
    start-stop-daemon --start --quiet -p /var/run/tayga.pid \
        --exec /usr/sbin/tayga -- \
        -u nobody -g nogroup \
        --pidfile /var/run/tayga.pid
    eend ${?}
}

stop() {
    ebegin "Stopping tayga"
    start-stop-daemon --stop --quiet --pidfile /var/run/tayga.pid
    eend ${?}
}</pre>
<p>Now, edit <strong>/etc/tayga.conf</strong>, using <strong>/etc/tayga.conf.example</strong> as a guide.  There are comments provided.  The following are the settings I used (with the above addresses):</p>
<pre>#
# TAYGA's IPv4 address.  This is NOT your router's IPv4 address!  TAYGA
# requires its own address because it acts as an IPv4 and IPv6 router, and
# needs to be able to send ICMP messages.  TAYGA will also respond to ICMP
# echo requests (ping) at this address.
#
# This address can safely be located inside the dynamic-pool prefix.
#
# Mandatory.
#
ipv4-addr 172.16.24.1
# ... etc ...
#
# The NAT64 prefix.  The IPv4 address space is mapped into the IPv6 address
# space by prepending this prefix to the IPv4 address.  Using a /96 prefix is
# recommended in most situations, but all lengths specified in RFC 6052 are
# supported.
#
# This must be a prefix selected from your organization's IPv6 address space
# or the Well-Known Prefix 64:ff9b::/96.  Note that using the Well-Known
# Prefix will prohibit IPv6 hosts from contacting IPv4 hosts that have private
# (RFC1918) addresses, per RFC 6052.
#
# The NAT64 prefix need not be specified if all required address mappings are
# listed in `map' directives.  (See below.)
#
# Optional.
#
prefix 2001:dead:beef:1264::/96
#
# Dynamic pool prefix.  IPv6 hosts which send traffic through TAYGA (and do
# not correspond to a static map or an IPv4-translatable address in the NAT64
# prefix) will be assigned an IPv4 address from the dynamic pool.  Dynamic
# maps are valid for 124 minutes after the last matching packet is seen.
#
# If no unassigned addresses remain in the dynamic pool (or no dynamic pool is
# configured), packets from unknown IPv6 hosts will be rejected with an ICMP
# unreachable error.
#
# Optional.
#
dynamic-pool 172.16.24.0/24
# ... etc ...</pre>
<p>Now, having done this&#8230; you just need to make sure the <strong>nat64</strong> device gets created and initialised by <strong>openrc</strong>.  In <strong>/etc/conf.d/net</strong>:</p>
<pre># NAT64 configuration for TAYGA
config_nat64=(
   "192.168.0.1/24"
   "2001:dead:beef:1264::1/64"
)
routes_nat64=(
        "172.16.24.0/24"
        "2001:dead:beef:1264::/96"
)

preup() {
        case ${IFACE} in
                nat64)
                        /usr/sbin/tayga --mktun
                        ;;
        esac
}</pre>
<p>Now, symlink <strong>/etc/init.d/net.lo</strong> to <strong>/etc/init.d/net.nat64</strong>, start the <strong>tayga</strong> service, and you should find that you can ping e.g. <strong>2001:dead:beef:1264::8.8.8.8</strong> (8.8.8.8 is <a href="http://code.google.com/speed/public-dns/">Google DNS</a>).</p>
<h2>DNS64 setup</h2>
<p>All good and well if you know the IP addresses, but most people don&#8217;t.  Now <strong>emerge totd</strong>.  Use <strong>/usr/share/doc/totd-VERSION/totd.conf.sample.bz2</strong> as an example for configuring <strong>/etc/totd.conf</strong>:</p>
<pre>; $Id: totd.conf.sample,v 1.9 2003/09/17 15:56:20 dillema Exp $
; Totd sample configuration file
; you can have multiple forwarders, totd will always prefer
; forwarders listed early and only use forwarders listed later
; if the first ones are unresponsive.
forwarder 2001:dead:beef:1234::1 port 65053
forwarder 127.0.0.1 port 65053
forwarder 8.8.8.8 port 53
forwarder 8.8.4.4 port 53

; you can have multiple prefixes or even no prefixes at all
; totd uses them in round-robin fashion
prefix 2001:dead:beef:1264::
; the port totd listens on for incoming requests
port 53
; the pidfile to use (default: /var/run/totd.pid)
pidfile /var/run/totd.pid
; interfaces totd listens on (UDP only for now and not on Linux)
; If left out totd will only open wildcard sockets.
;interfaces br0
; 6to4 reverse lookup
stf</pre>
<p>In my case, I have a local caching name-server (BIND), which I&#8217;ve moved to port 65053.  The trick-or-treat daemon now sits on port 53 where the rest of the network expects it.  You can now start the <strong>totd</strong> service, point your <strong>/etc/resolv.conf</strong> files to it, and everything should Just Work.</p>
<h2>Testing</h2>
<p>Easiest way is to shut off IPv4, and set up <strong>/etc/resolv.conf</strong> on your client with the IPv6 address of your server running <strong>totd</strong>.  You should now be able to browse IPv4-only sites as if IPv4 were running.  I achieved this test by plugging into Ethernet, turning off <strong>wicd</strong> (it kept wanting to start-up <strong>dhcpcd</strong>), then manually bringing the interface up and configuring <strong>/etc/resolv.conf</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2011/06/23/nat64dns64-in-gentoo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>To whoever came up with this feature&#8230;</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2011/06/20/portage-featur/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2011/06/20/portage-featur/#comments</comments>
		<pubDate>Mon, 20 Jun 2011 08:59:56 +0000</pubDate>
		<dc:creator>Redhatter (VK4MSL)</dc:creator>
				<category><![CDATA[Gentoo Development]]></category>
		<category><![CDATA[Linux Development]]></category>
		<category><![CDATA[Public Syndication]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=822</guid>
		<description><![CDATA[To whoever were responsible for developing this new feature in the latest Portage releases&#8230; zhouman portage # FEATURES=-test USE=-handbook\ -doc emerge -eukDN --keep-going system kde-meta vim poppler =xulrunner-2.0.1-r1 =vim-core-7.3.189 =gvim-7.3.189 gst-plugins-base vim =gst-plugins-theora-0.10.32 =firefox-4.0.1-r1 Calculating dependencies... done! !!! One or more updates have been skipped due to a dependency conflict: app-editors/vim-core:0 (app-editors/vim-core-7.3.219::gentoo, ebuild scheduled for [...]]]></description>
			<content:encoded><![CDATA[<p>To whoever were responsible for developing this new feature in the latest Portage releases&#8230;</p>
<p><code>zhouman portage # FEATURES=-test USE=-handbook\ -doc emerge -eukDN --keep-going system kde-meta vim poppler =xulrunner-2.0.1-r1 =vim-core-7.3.189 =gvim-7.3.189 gst-plugins-base vim =gst-plugins-theora-0.10.32 =firefox-4.0.1-r1<br />
Calculating dependencies... done!</code></p>
<p><code>!!! One or more updates have been skipped due to a dependency conflict:</p>
<p>app-editors/vim-core:0</p>
<p>(app-editors/vim-core-7.3.219::gentoo, ebuild scheduled for merge) conflicts with<br />
~app-editors/vim-core-7.3.189 required by (app-editors/gvim-7.3.189::gentoo, binary scheduled for merge)<br />
(app-editors/vim-core-7.3.219::gentoo, ebuild scheduled for merge) conflicts with<br />
=vim-core-7.3.189</p>
<p>!!! The following update(s) have been skipped due to unsatisfied dependencies<br />
!!! triggered by backtracking:</p>
<p>app-editors/vim:0<br />
[binary   R    ] x11-proto/xf86vidmodeproto-2.3.1<br />
[binary   R    ] sys-libs/zlib-1.2.5-r2<br />
[binary   R    ] sys-libs/ncurses-5.9<br />
[binary   R    ] x11-proto/xproto-7.0.21<br />
[binary   R    ] virtual/libintl-0<br />
[binary   R   *] sci-visualization/gnuplot-4.4.2-r1<br />
[ ... ]<br />
[ebuild  N    *] kde-base/kdebase-meta-4.6.4  USE="(-aqua)"<br />
[binary   R   *] media-libs/mediastreamer-2.7.3-r3<br />
[ebuild  N    *] kde-base/kopete-4.6.4  USE="addbookmarks autoreplace contactnotes highlight history jingle nowlistening pipes privacy sms ssl statistics texteffect translator urlpicpreview v4l2 xmpp zeroconf (-aqua) -debug -gadu -groupwise -handbook (-kdeenablefinal) -latex -meanwhile -msn -oscar -otr -qq -skype -testbed -webpresence -winpopup -yahoo"<br />
[binary   R   *] media-plugins/mediastreamer-ilbc-2.0.3<br />
[ebuild  N    *] kde-base/kdenetwork-meta-4.6.4  USE="(-aqua) -ppp"<br />
[ebuild  N    *] kde-base/kde-meta-4.6.4  USE="accessibility nls (-aqua) -sdk -semantic-desktop"</p>
<p>The following keyword changes are necessary to proceed:<br />
#required by kde-base/kdebase-runtime-meta-4.6.4, required by kde-base/kdebase-meta-4.6.4, required by kde-base/kde-meta-4.6.4, required by kde-meta (argument)<br />
&gt;=kde-base/kglobalaccel-4.6.4 **<br />
#required by kde-base/kdemultimedia-meta-4.6.4[mplayer], required by kde-base/kde-meta-4.6.4, required by kde-meta (argument)<br />
&gt;=kde-base/mplayerthumbs-4.6.4 **<br />
#required by kde-base/kdeedu-meta-4.6.4, required by kde-base/kde-meta-4.6.4, required by kde-meta (argument)<br />
&gt;=kde-base/rocs-4.6.4 **<br />
#required by kde-base/kdegames-meta-4.6.4, required by kde-base/kde-meta-4.6.4, required by kde-meta (argument)<br />
&gt;=kde-base/kigo-4.6.4 **<br />
#required by kde-base/kajongg-4.6.4, required by kde-base/kdegames-meta-4.6.4[python], required by kde-base/kde-meta-4.6.4, required by kde-meta (argument)<br />
&gt;=kde-base/oxygen-icons-4.6.4 **<br />
#required by kde-base/kdebase-runtime-meta-4.6.4, required by kde-base/kdebase-meta-4.6.4, required by kde-base/kde-meta-4.6.4, required by kde-meta (argument)<br />
&gt;=kde-base/kdebase-menu-4.6.4 **<br />
#required by kde-base/kdeutils-meta-4.6.4, required by kde-base/kde-meta-4.6.4, required by kde-meta (argument)</p>
<p>[...]</p>
<p>NOTE: This --autounmask behavior can be disabled by setting<br />
EMERGE_DEFAULT_OPTS="--autounmask=n" in make.conf.</p>
<p></code></p>
<p><code>Use --autounmask-write to write changes to config files (honoring CONFIG_PROTECT).<br />
zhouman portage #</code></p>
<h2 style="text-align: center;">THANK-YOU</h2>
<p>You&#8217;ve just made my life trying to install and test big collections of software in Gentoo/MIPS much easier. <img src='http://stuartl.longlandclan.yi.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2011/06/20/portage-featur/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>svxlink status</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2011/06/19/svxlink-status/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2011/06/19/svxlink-status/#comments</comments>
		<pubDate>Sun, 19 Jun 2011 05:45:24 +0000</pubDate>
		<dc:creator>Redhatter (VK4MSL)</dc:creator>
				<category><![CDATA[Amateur Radio]]></category>
		<category><![CDATA[Gentoo Development]]></category>
		<category><![CDATA[Linux Development]]></category>
		<category><![CDATA[Public Syndication]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=816</guid>
		<description><![CDATA[Well, I&#8217;ve been meaning to get around to fixing up svxlink in Gentoo for a long time now. For those who don&#8217;t know, svxlink is a client and server for the EchoLink amateur radio linking system. We had to stop releasing the Qtel client, as it relied on Qt3 which we no longer ship in [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I&#8217;ve been meaning to get around to fixing up svxlink in Gentoo for a long time now.  For those who don&#8217;t know, <a href="http://svxlink.sourceforge.net" target="_blank">svxlink</a> is a client and server for the <a href="http://www.echolink.org" target="_blank">EchoLink</a> amateur radio linking system.</p>
<p>We had to stop releasing the Qtel client, as it relied on Qt3 which we no longer ship in Gentoo.  On top of this, the ebuild installed non-Gentoo init scripts, fails to build with gcc-4.6 and fails due to underlinking.  (My thanks go to Diego for pointing these flaws out.)</p>
<p>At the moment I&#8217;m working on the first problem, which is that the builds that were in-tree are crusty and old.  svxlink did release version 11.05 not long back, and ohh yes, they&#8217;ve changed their versioning scheme too to match Ubuntu.  However, their trunk branch is still dependent on Qt3 if you want Qtel.  There is an experimental Qt4 branch, which is what I&#8217;ve been working with.</p>
<p>One irritation I had was trying to make it possible to install the client component or the server component.  svxlink has its own, very custom, build system based on recursive makefiles.  (Yes, I know, <a href="http://miller.emu.id.au/pmiller/books/rmch/" target="_blank">considered harmful</a> and all that.)  The build system first builds the core libraries, then it starts looking at Qtel and svxlink&#8217;s server components.  The first thing was to try and split these up.</p>
<p>The new ebuilds will introduce a svxlink-libs package.  This is relatively straightforward, and it just builds &amp; installs the libasync, libechlib and liblocationinfo libraries.  The catch is when building qtel and svxlink, the build system looks for the built binaries <em>inside the source tree</em>.</p>
<p>I have submitted a <a href="http://sourceforge.net/mailarchive/forum.php?thread_name=1308458193-13994-1-git-send-email-redhatter%40gentoo.org&amp;forum_name=svxlink-devel" target="_blank">patch</a> upstream that remedies this.  Eventually I&#8217;ll look at how we can fix some of the other flaws in the build system.  So far I&#8217;m still battling svxlink itself, but I soon will have svxlink-libs and qtel packages available for testing in the Portage tree.  svxlink itself will also need to wait until I can set up a test node on simplex somewhere&#8230; my O2 looks like a likely possibility.</p>
<p>I&#8217;ll keep you all informed as this progresses.  Qtel appears to be working (although I&#8217;m battling some funnies with the sound device on the Apple MacBook)&#8230; just a matter of fixing some issues with the build system for svxlink and I should be able to have svxlink back in the tree once again.</p>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2011/06/19/svxlink-status/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>World IPv6 Day</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2011/06/08/world-ipv6-day/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2011/06/08/world-ipv6-day/#comments</comments>
		<pubDate>Wed, 08 Jun 2011 13:19:24 +0000</pubDate>
		<dc:creator>Redhatter (VK4MSL)</dc:creator>
				<category><![CDATA[2011]]></category>
		<category><![CDATA[Amateur Radio]]></category>
		<category><![CDATA[linux.conf.au]]></category>
		<category><![CDATA[Public Syndication]]></category>
		<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=793</guid>
		<description><![CDATA[Well&#8230; has anyone noticed anything different about the &#8216;net? stuartl@atomos ~ $ host www.google.com.au www.google.com.au is an alias for www.google.com. www.google.com is an alias for www.l.google.com. www.l.google.com has address 74.125.237.52 www.l.google.com has address 74.125.237.48 www.l.google.com has address 74.125.237.49 www.l.google.com has address 74.125.237.50 www.l.google.com has address 74.125.237.51 www.l.google.com has IPv6 address 2404:6800:4006:802::1011 I knew World IPv6 [...]]]></description>
			<content:encoded><![CDATA[<p>Well&#8230; has anyone noticed anything different about the &#8216;net?</p>
<p><code>stuartl@atomos ~ $ host www.google.com.au<br />
www.google.com.au is an alias for www.google.com.<br />
www.google.com is an alias for www.l.google.com.<br />
www.l.google.com has address 74.125.237.52<br />
www.l.google.com has address 74.125.237.48<br />
www.l.google.com has address 74.125.237.49<br />
www.l.google.com has address 74.125.237.50<br />
www.l.google.com has address 74.125.237.51<br />
www.l.google.com has IPv6 address 2404:6800:4006:802::1011</code></p>
<p>I knew <a href="http://www.worldipv6day.org/">World IPv6 day</a> was coming up, but it seems it snuck up on me and I barely noticed.  Likely a testament to the fact we run a dual-stack network here, and so everything magically Just Worked™ as it should.  Indeed, a lot of websites are now dual-stack, as is much of the gentoo.org infrastructure, Google (as seen above), FaceBook, and numerous other sites.</p>
<p>Sadly, a lot of ISPs here in Australia did the demented ostrich act when it came to IPv6.  I wonder how many technical support calls they received, with users complaining about websites being slow to load up or failing to connect.</p>
<p>iTel, formerly &#8220;Global Info-Links&#8221;, now calling themselves &#8220;<a href="http://seq.communitytelco.com.au/">South East Community Telco</a>&#8220;&#8230; were one of the masses that drove their RFC791-only heads in the sand and pretended that the entire Internet can be compressed into 32-bits of address space.  We&#8217;ve been waiting to hear back from them on their plans for addressing since January as we&#8217;d like to upgrade the 512/128kbps ADSL link we use here. (Anyone noticed this site tends to load up a bit slow?  That 128kbps figure is the reason why.)</p>
<p>We&#8217;ve been with this ISP since 1996.  That&#8217;s quite a long innings&#8230; We&#8217;ve stayed put because until now we&#8217;ve been happy with the service.  512kbps was quite fast when we upgraded from 56kbps PSTN dialup (14.4kbps dialup when we first started&#8230; still have that modem too!).  These days it plods along, but the 128kbps uplink is a notable thorn in my side with my telecommuting.  So we&#8217;re looking at ADSL2+.</p>
<p>However, there&#8217;s one hitch.  iTel is only a fairly small ISP.  At the moment they do the noble thing of providing static public addresses on IPv4 for all fixed-broadband customers, but how long will that last?  The last thing I want, is to sign up a contract for 12 months, then find out that in 6 months they need to move us behind CGN (Carrier grade NAT) to squeeze in some more customers.  That won&#8217;t fly for us.  I&#8217;d ideally like to ditch the 6-in-4 tunnel I have with AARNet and go native, or at the very least, swap it with one terminated at the ISP, but that doesn&#8217;t seem to be happening anytime soon.</p>
<p>At the moment there is only one ISP I know of that offers any sort of IPv6 connectivity.  Internode.  Kudos to them for taking the pioneering step!  I&#8217;m seriously looking in their direction.  I&#8217;m also hoping the NBN that we keep hearing about, is IPv6 enabled&#8230; and I&#8217;m holding out with the hope that our little suburb might soon be getting the long strands of glass laid down our street.  If it&#8217;s only another year or so, it may be worth just hanging on with ADSL1 until then.</p>
<p>Thankfully, we do have the 6-in-4 tunnel through <a href="http://broker.aarnet.net.au">AARNet</a> (and my greatest gratitude to them for providing it).  There is a growing community on this newer protocol&#8230; I&#8217;m also happy to report absolutely 0 spam via IPv6&#8230; any spam or malware thus far has been via IPv4 &#8230; although I know this won&#8217;t last.  The good news there is that with one unique address per <i>computer</i> (instead of per customer, or worse, per 100+ customers), it should be easier to track down the guilty party causing such Internet shenanigans.  CGN by comparison is likely to be a spammer&#8217;s playground.</p>
<p>What am I doing about IPv6 deployment?  Aside from my small-time tinkering with the network here&#8230; any socket programming I do today is at the very least dual-stack.  One of my hobby projects is a digital mode stack for amateur radio&#8230; if I get my way it&#8217;ll be IPv6-only when used on a computer network.</p>
<p>One of my work projects involves interfacing some proprietary software to some power meters using RS-232 and RS-485 to Ethernet bridging devices.  Even though the devices themselves are IPv4 only (and will be for the foreseeable future), I&#8217;m designing the software to handle IPv6.  Doing this, future proofs the software.  Surprisingly, I&#8217;m finding it easier to just design for dual-stack than it is to develop a IPv4-only application.  If you&#8217;re building an application today, dual-stack IMHO must be part of the strategy if the application is going to work beyond this decade.</p>
<p>Some have asked about <a href="http://stuartl.longlandclan.yi.org/blog/2011/05/16/experiments-with-ax-25/#comment-4551">IPv6 on packet</a>&#8230; sadly AX.25 packet does not go anywhere near fast enough to make IPv6 (or indeed, IPv4) networking a viable option on packet radio using existing TNCs&#8230; however I think IPv6 will, and should, play a much bigger part in amateur radio communications than it presently does&#8230; we can&#8217;t expect to hold on to the 44.0.0.0/8 subnet for much longer.</p>
<p>To the ISPs that are lagging behind, I say get moving!  <i>IPv4 is older than I am!</i>  This is especially true of the smaller ISPs&#8230; if you don&#8217;t move, you will get squeezed out of the future Internet connection market as address space gets consumed.  To the nay-sayers who keep telling us that something else will replace IPv4, to you I say get moving&#8230; you haven&#8217;t got long to invent this magical silver bullet, in fact I say you&#8217;ve left it too late.</p>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2011/06/08/world-ipv6-day/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>{Insert Name Here} is inviting you to join FaceBook</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2011/05/31/facebook/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2011/05/31/facebook/#comments</comments>
		<pubDate>Tue, 31 May 2011 11:38:57 +0000</pubDate>
		<dc:creator>Redhatter (VK4MSL)</dc:creator>
				<category><![CDATA[2011]]></category>
		<category><![CDATA[Linux Development]]></category>
		<category><![CDATA[linux.conf.au]]></category>
		<category><![CDATA[Public Syndication]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=790</guid>
		<description><![CDATA[Without wishing to sound harsh, two words: Don&#8217;t bother. There are a few reasons why I&#8217;m not on FaceBook&#8230; Need First and foremost, is a matter of need. The primary reasons why someone would set up something on FaceBook is to enable their friends to be able to locate them on the Internet.  In my [...]]]></description>
			<content:encoded><![CDATA[<p>Without wishing to sound harsh, two words: Don&#8217;t bother. <img src='http://stuartl.longlandclan.yi.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>There are a few reasons why I&#8217;m not on FaceBook&#8230;</p>
<h2>Need</h2>
<p>First and foremost, is a matter of need.</p>
<p>The primary reasons why someone would set up something on FaceBook is to enable their friends to be able to locate them on the Internet.  In my case, just about any search engine using either my real name, nickname, or callsign, will lead you in the right direction.  Even then, it isn&#8217;t hard for people to trade email addresses by out-of-band means, then pass a URL to a blog site that way.</p>
<p>Next is the keeping track of friends.  Again, plain old email is good for this&#8230; so is the telephone.  RSS is a pretty good broadcast mechanism for this purpose too, and guess what, most modern web browsers are able to subscribe to such feeds as Live Bookmarks.  This effectively means your web browser becomes the central switchboard by which you can keep track of what your friends are doing.</p>
<p>As for sharing photos&#8230; most blog hosting sites provide a means for uploading photos&#8230; a perfect way to share photos.</p>
<p>There&#8217;s actually bugger all that I consider worthwhile that can only be done via FaceBook.</p>
<h2>Time</h2>
<p>These days I&#8217;m very busy in my daily life&#8230; too busy to sit in front of a computer checking up on online friends.  When I&#8217;m at work, I&#8217;m at work&#8230; I&#8217;m not browsing the web for personal pleasure.  Looking up things like FaceBook would be <em>wrong</em> and <em>immoral</em> usage of my employer&#8217;s Internet bandwidth.  So I don&#8217;t do it.</p>
<p>I can&#8217;t very well check FaceBook whilst in transit for two reasons: (1) I ride a bicycle, and need to watch where I am going, and (2) I don&#8217;t have any mobile Internet service.  I am usually on the amateur radio bands somewhere whilst mobile, but (ignoring <a href="http://www.irlp.net">IRLP</a>/<a href="http://www.echolink.org">EchoLink</a>/<a href="https://allstarlink.org/">Allstar Link</a>/<a href="http://www.aprs.fi">APRS</a>/etc&#8230;) you won&#8217;t find me via the Internet.  I answer my mobile phone too, but only after pulling over (I need a moment to switch headset cables over).</p>
<p>At home, yes I could be on FaceBook&#8230; but I find plenty of other things to occupy my time.  That, and sometimes it&#8217;s good to not have anything to do occasionally.</p>
<h2>Privacy</h2>
<p>FaceBook is controlled by one company, and is a closed system.  Aside from a &#8220;we promise not to look&#8221;, there is nothing to stop them doing anything they like with the information you provide to the service.  Even if they don&#8217;t, who&#8217;s to say their system is completely secure?  Lots of people entrusted their credit card details to Sony&#8230; <a href="http://www.theregister.co.uk/2011/04/26/sony_playstation_network_security_breach/">Ooopsie</a>!</p>
<p>So what kind of information does one share on FaceBook?  Aside from your name, age&#8230; okay, not deeply personal&#8230; you set yourself up with that information.  Then what?</p>
<p>You start &#8220;friend&#8221;-ing people.  You start &#8220;like&#8221;-ing people and adding them to your list of friends.  You build up a social<a href="http://en.wikipedia.org/wiki/Graph_%28mathematics%29"> graph</a>.  Graphs are a mathematical tool for representing relationships between objects.  In this case, the graph&#8217;s edges represent some connection (i.e. acquaintance, friend, lover, &#8230; etc.) between two people (represented as nodes).  And using all kinds of <a href="http://en.wikipedia.org/wiki/Graph_theory">graph theory</a>, it&#8217;s possible to deduce all kinds of personal information about you.</p>
<p>How dangerous is this?  You&#8217;re probably thinking&#8230; &#8220;So what?&#8221;  Mark Pesce gave a talk on this at <a href="http://lca2011.linux.org.au">linux.conf.au</a> this year.  If you&#8217;ve got a bit of time to spare, you can <a href="http://blip.tv/file/4851926">watch the video</a> of the presentation, or have a read of the full <a href="http://blog.futurestreetconsulting.com/2011/01/28/smoke-signals/">transcript</a>.  In short, a big part of what we do can be explained by what people are doing around us&#8230; we have a tendency to mimic those around us.  Knowing the group one participates in, is a pretty good way for someone with ulterior motives to figure out ways in which to manipulate you.</p>
<p>Your social graph is probably one of the most personal things you can reveal.</p>
<h2>Keeping in touch</h2>
<p>In order to keep in touch, you actually don&#8217;t need FaceBook.  Good ol&#8217;e email does a pretty good job.  So do blogs.  In my case, I post a lot of what I&#8217;ve been up to on this site.  This site broadcasts a stream using a format called <a href="http://en.wikipedia.org/wiki/RSS">RSS</a>.  Guess what, most web browsers today (Firefox 3.5+, Internet Explorer 7+, Chrome, recent Opera&#8230;etc) support this in the form of &#8220;Live Bookmarks&#8221;.  Or you can use an external news agregator&#8230; <a href="http://en.wikipedia.org/wiki/Comparison_of_feed_aggregators">there are plenty to choose from</a>.</p>
<p>Then in your web browser, subscribe to the feed.  In Firefox 4.0, under Bookmarks, choose &#8220;Subscribe to this page&#8221;.  Earlier releases have a button that appears in the address bar you can click.  Likewise for other web browsers&#8230; in fact, often you&#8217;re looking for an icon like this:</p>
<div class="wp-caption aligncenter" style="width: 138px"><img title="RSS feed icon" src="http://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Feed-icon.svg/128px-Feed-icon.svg.png" alt="RSS feed icon" width="128" height="128" /><p class="wp-caption-text">RSS feed icon (Source: Wikipedia)</p></div>
<p>Look for an icon like that on your web browser, click it, and follow the prompts.  Voila, you can now track that person through your web browser.  No one else needs to know about it, no need to log in to an extra site, it&#8217;s quick and easy.  Need something web-based for when you&#8217;re not at home?  There are plenty of web-based agregators.</p>
<p>Ohh, and you can track more than just friends this way.  News websites, companies&#8230; all sorts of things can be monitored this way.</p>
<h2>But I want to be your friend!!!</h2>
<p>Are you going to tell me this wasn&#8217;t possible before FaceBook?   Friends didn&#8217;t exist before Mr Zuckerberg invented this web-based forum?  Have people forgotten the art of face-to-face contact?  You don&#8217;t need FaceBook to have friends.  Give the old-school method a try some day. <img src='http://stuartl.longlandclan.yi.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2011/05/31/facebook/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Experiments with AX.25</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2011/05/16/experiments-with-ax-25/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2011/05/16/experiments-with-ax-25/#comments</comments>
		<pubDate>Mon, 16 May 2011 08:21:34 +0000</pubDate>
		<dc:creator>Redhatter (VK4MSL)</dc:creator>
				<category><![CDATA[Amateur Radio]]></category>
		<category><![CDATA[Gentoo Development]]></category>
		<category><![CDATA[Linux Development]]></category>
		<category><![CDATA[Public Syndication]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=773</guid>
		<description><![CDATA[This weekend just gone I was at Imbil helping out with the International Rally of Queensland, reporting scores for the car rally there.  This was my first look at packet radio in action.  Prior to this I had enabled the amateur radio options in the kernels I built, but never tried actually hooking radio to [...]]]></description>
			<content:encoded><![CDATA[<p>This weekend just gone I was at Imbil helping out with the International Rally of Queensland, reporting scores for the car rally there.  This was my first look at packet radio in action.  Prior to this I had enabled the amateur radio options in the kernels I built, but never tried actually hooking radio to computer.  I shall be posting some notes on how I got this working&#8230;</p>
<p><code>zhouman ~ # uname -a<br />
Linux zhouman 2.6.35.7-lm2f-nb #2 Wed Oct 13 00:42:58 EST 2010 mips64 ICT Loongson-2 V0.3 FPU V0.1 lemote-yeeloong-2f-8.9inches GNU/Linux<br />
zhouman ~ # ifconfig sm0<br />
sm0       Link encap:AMPR AX.25  HWaddr VK4MSL<br />
inet addr:172.31.32.1  Bcast:172.31.32.255  Mask:255.255.255.0<br />
UP BROADCAST RUNNING MULTICAST  MTU:256  Metric:1<br />
RX packets:365 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:36 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:10<br />
RX bytes:24236 (23.6 KiB)  TX bytes:6850 (6.6 KiB)</code></p>
<p><code>zhouman ~ # mheard<br />
Callsign  Port Packets   Last Heard<br />
VK4EA-9    sm0       6   Mon May 16 17:59:12<br />
VK4NRL-9   sm0       1   Mon May 16 17:58:40<br />
VK4VP-1    sm0       8   Mon May 16 17:58:38<br />
VK4RAI-3   sm0       9   Mon May 16 17:57:58<br />
VK4TIM-9   sm0      14   Mon May 16 17:57:56<br />
VK4TDI-1   sm0       2   Mon May 16 17:57:39<br />
VK4DC-1    sm0      15   Mon May 16 17:57:07<br />
VK4TEC-9   sm0     120   Mon May 16 17:56:08<br />
VK4FY-1    sm0      18   Mon May 16 17:54:38<br />
VK4RMO-3   sm0       1   Mon May 16 17:54:33<br />
VK4RGC-3   sm0       3   Mon May 16 17:52:48<br />
VK4RC-1    sm0       8   Mon May 16 17:51:29<br />
VK4FIL-1   sm0       4   Mon May 16 17:46:44<br />
VK4RIL-13  sm0       4   Mon May 16 17:45:43<br />
VK4RBR-3   sm0       5   Mon May 16 17:42:59<br />
VK2RDO-3   sm0       2   Mon May 16 17:41:19<br />
VK4RRC-13  sm0       3   Mon May 16 17:36:39<br />
VK2JUB-1   sm0       2   Mon May 16 17:34:44<br />
VK4BNQ-1   sm0       1   Mon May 16 17:26:58<br />
VK4LDA-9   sm0       2   Mon May 16 17:24:59<br />
VK2POO-9   sm0       9   Mon May 16 17:21:24<br />
VK2XFL-9   sm0       1   Mon May 16 17:21:09<br />
VK4RSR-3   sm0       1   Mon May 16 17:20:04<br />
VK4IE      sm0       1   Mon May 16 17:15:04<br />
VK4ALJ-3   sm0       1   Mon May 16 17:15:00<br />
VK4HPW-9   sm0       5   Mon May 16 17:13:23<br />
zhouman ~ # </code></p>
<p>Set-up consisted of:<br />
Linux kernel on Lemote Yeeloong, latest soundmodem driver, Yaesu FT-897D, homebrew interface cable plugged into Yeeloong&#8217;s onboard sound card, USB serial driving BC547 in interface cable for PTT.</p>
<p><code>zhouman ~ # cat /etc/ax25/soundmodem.conf<br />
&lt;?xml version="1.0"?&gt;<br />
&lt;modem&gt;<br />
&lt;configuration name="FT897-D"&gt;<br />
&lt;chaccess txdelay="150" slottime="100" ppersist="40" fulldup="0" txtail="10"/&gt;<br />
&lt;audio type="alsa" device="plughw:0,0" halfdup="0" capturechannelmode="Mono"/&gt;<br />
&lt;ptt file="/dev/ttyUSB0"/&gt;<br />
&lt;channel name="Channel 0"&gt;<br />
&lt;mod mode="afsk" bps="1200" f0="1200" f1="2200" diffenc="1"/&gt;<br />
&lt;demod mode="afsk" bps="1200" f0="1200" f1="2200" diffdec="1"/&gt;<br />
&lt;pkt mode="MKISS" ifname="sm0" hwaddr="VK4MSL" ip="172.31.32.1" netmask="255.255.255.0" broadcast="172.31.32.255"/&gt;<br />
&lt;/channel&gt;<br />
&lt;/configuration&gt;<br />
&lt;/modem&gt;<br />
zhouman ~ #</code></p>
<p>I&#8217;ve shut it down for now, but I&#8217;ll give it a bit more work on 145.175MHz tomorrow.  Once I get something working, I might set something up using the O2 or one of the Fulongs (probably the latter) and see about getting soundmodem back into Gentoo.</p>
<p><strong>Update:</strong> After hand-editing the ebuild to enable APRS support, I can successfully report that not only is soundmodem working, but so is Xastir on my Yeeloong, as can be seen on <a href="http://aprs.fi/info/a/VK4MSL">aprs.fi</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2011/05/16/experiments-with-ax-25/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Gentoo/MIPS Status Update</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2011/04/23/gentoomips-status-update-2/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2011/04/23/gentoomips-status-update-2/#comments</comments>
		<pubDate>Sat, 23 Apr 2011 01:45:22 +0000</pubDate>
		<dc:creator>Redhatter (VK4MSL)</dc:creator>
				<category><![CDATA[Gentoo Development]]></category>
		<category><![CDATA[Linux Development]]></category>
		<category><![CDATA[Public Syndication]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=744</guid>
		<description><![CDATA[Well, been some time now since I announced the start of some µClibc stages.  So far, not much has happened there other than the fact that I&#8217;ve successfully hard-locked the Fulong 2E system that I tried compiling on.  This is despite compiling with binutils-2.21 and using -Wa,-mfix-loongson2f-nop&#8230; which is usually enough to prevent lockups.  Clearly [...]]]></description>
			<content:encoded><![CDATA[<p>Well, been some time now since I announced the start of some µClibc stages.  So far, not much has happened there other than the fact that I&#8217;ve successfully hard-locked the Fulong 2E system that I tried compiling on.  This is despite compiling with binutils-2.21 and using -Wa,-mfix-loongson2f-nop&#8230; which is usually enough to prevent lockups.  Clearly there&#8217;s further erratum that I&#8217;m hitting, I might try later on the Qube and see where that gets us, agonisingly slow might be better than the current pace.</p>
<p>Generic N32 MIPS-III little endian continues to remain unavailable due to an issue compiling Python 2.7, and unfortunately my N32 chroot on the Yeeloong broke when I upgraded glibc (the primary reason why I began doing a generic MIPS3 build on the Qube using Matt&#8217;s MIPS4 build).  I will get back onto this eventually.</p>
<p>On other news since the purchase of the MacBook I&#8217;ve been able to leave my Yeeloong sit at home running continuously to update the entire system.  Qt 4.7.2 gave me some grief &#8212; it seems at least on mipsel, qmake segfaults during the initial build of qt-core &#8230;</p>
<pre>mipsel-unknown-linux-gnu-g++ -o "/tmp/portage/x11-libs/qt-core-4.7.2-r1
/work/qt-everywhere-opensource-src-4.7.2/bin/qmake" project.o property.
o main.o makefile.o unixmake2.o unixmake.o mingw_make.o option.o winmak
efile.o projectgenerator.o meta.o makefiledeps.o metamakefile.o xmloutp
ut.o pbuilder_pbx.o borland_bmake.o msvc_vcproj.o msvc_vcxproj.o msvc_n
make.o msvc_objectmodel.o msbuild_objectmodel.o symmake.o initprojectde
ploy_symbian.o symmake_abld.o symmake_sbsv2.o symbiancommon.o registry.
o epocroot.o qtextcodec.o qutfcodec.o qstring.o qtextstream.o qiodevice
.o qmalloc.o qglobal.o qbytearray.o qbytearraymatcher.o qdatastream.o q
buffer.o qlist.o qfile.o qfsfileengine_unix.o qfsfileengine_iterator_un
ix.o qfsfileengine.o qfsfileengine_iterator.o qregexp.o qvector.o qbita
rray.o qdir.o qdiriterator.o quuid.o qhash.o qfileinfo.o qdatetime.o qs
tringlist.o qabstractfileengine.o qtemporaryfile.o qmap.o qmetatype.o q
settings.o qlibraryinfo.o qvariant.o qvsnprintf.o qlocale.o qlinkedlist
.o qurl.o qnumeric.o qcryptographichash.o qxmlstream.o qxmlutils.o  -Wl
,-O1 -Wl,--as-needed
floatmath auto-detection... ()
/tmp/portage/x11-libs/qt-core-4.7.2-r1/work/qt-everywhere-opensource-sr
c-4.7.2/config.tests/unix/compile.test: line 71: 25542 Segmentation fau
lt      "$OUTDIR/bin/qmake" -nocache -spec "$QMKSPEC" "CONFIG+=$QMAKE_C
ONFIG" "CONFIG-=debug_and_release" "LIBS*=$LFLAGS" "LIBS+=$MAC_ARCH_LFL
AGS" "INCLUDEPATH*=$INCLUDEPATH" "QMAKE_CXXFLAGS*=$CXXFLAGS" "QMAKE_CXX
FLAGS+=$MAC_ARCH_CXXFLAGS" "QT_BUILD_TREE=$OUTDIR" "$SRCDIR/$TEST/$EXE.
pro" -o "$OUTDIR/$TEST/Makefile"
gmake: *** No targets.  Stop.
floatmath disabled.
... etc for numerous other modules.</pre>
<p>qt-4.6.3 builds without issues, but this is not sufficient for KDE 4.6.  I&#8217;m still investigating.  hyperestraier also fails to build, but only if you have USE=debug set, disable that USE flag and it builds without issues.</p>
<p>Fingers crossed, I can get Qt 4.7 and KDE 4.6 to build, and that there aren&#8217;t any issues.  Previously libkjs used to be quite unstable which is one of the main reasons I have not keyworded any release of KDE 4 for MIPS.  Yes, you could dodge around it and have a usable desktop, but I didn&#8217;t consider it working well enough for keywording.</p>
<p>Mozilla stuff will need some loving too.  I hope to upgrade to Firefox 4.0 on MIPS, see how that goes.  One of these days I&#8217;ll get onto tackling Thunderbird.  Sadly my life away from Gentoo intervenes and thus my plans frequently get put on the backburner as work demands my attention elsewhere.</p>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2011/04/23/gentoomips-status-update-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

