<?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>Peter&#039;s Blog &#124; PeterMStewart.Net &#187; ubuntu</title>
	<atom:link href="http://www.petermstewart.net/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.petermstewart.net</link>
	<description>Mostly Harmless...</description>
	<lastBuildDate>Wed, 01 Sep 2010 15:07:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Introducing getwiinandkey</title>
		<link>http://www.petermstewart.net/2010/07/18/introducing-getwiinandkey/</link>
		<comments>http://www.petermstewart.net/2010/07/18/introducing-getwiinandkey/#comments</comments>
		<pubDate>Sun, 18 Jul 2010 17:15:32 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[getwiinandkey]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wii]]></category>
		<category><![CDATA[windowsxp]]></category>

		<guid isPermaLink="false">http://www.petermstewart.net/?p=474</guid>
		<description><![CDATA[Okay. For some unknown reason you want to explore the internals of the Nintendo Wii. The plan goes something like this: Collect an image of your Wii NAND chip and the console-specific keys. ??? Profit Hopefully this post will shed &#8230; <a href="http://www.petermstewart.net/2010/07/18/introducing-getwiinandkey/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Okay. For some unknown reason you want to explore the internals of the Nintendo Wii. The plan goes something like this:</p>
<ol>
<li>Collect <a href="/2010/06/25/wii-nand-imaging-with-bootmii/">an image of your Wii NAND chip and the console-specific keys</a>.</li>
<li>???</li>
<li>Profit</li>
</ol>
<p>Hopefully this post will shed some light on step 2.</p>
<p>When imaging the NAND <a href="http://bootmii.org/">BootMii</a> creates two files, <code>nand.bin</code> and <code>keys.bin</code>. The <code>keys.bin</code> file, obviously enough, comprises of a hex dump of all of the console encryption keys. The other file (<code>nand.bin</code>) contains a block-for-block copy of the data stored on the console NAND with, just to be helpful, <code>keys.bin</code> tacked onto the end.</p>
<p>Before you can do anything useful with your NAND image you need to extract the NAND key from dump and put it in a new file. That&#8217;s where this post comes in!</p>
<p><a href="/content/getwiinandkey-0.1.zip">getwiinandkey</a> is a simple command-line program, written in C, which reads a BootMii NAND or key dump, extracts the NAND key, and writes it to a new file ready for use.</p>
<p><code>Usage: getwiinandkey &lt;dump&gt; &lt;output&gt;</code></p>
<p>The archive contains the source code for compilation on linux/OS X boxes, as well as a pre-compiled binary for Windows XP. I tend to do all my Wii-hacking work on a linux machine so I&#8217;m unsure just how useful a Windows binary will be, but for the sake of completeness it&#8217;s there!</p>
<p><strong>This is the initial release (read: a bit of a hack which has undergone minimal testing) so please be gentle with it!</strong></p>
<p><span style="color: #000000;">That having been said, it has been a while since I wrote anything in C and if you happen to spot something obviously wrong with the code I&#8217;d appreciate it if you let me know.</span></p>
<p><strong>Download:</strong></p>
<p><a href="/content/getwiinandkey-0.1.zip">getwiinandkey-0.1.zip</a> (SHA256: <code>f5fd02faa801508ed0d9a7144036ee790301628d3cd6a35e37b284c10f7b8b57</code>)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.petermstewart.net/2010/07/18/introducing-getwiinandkey/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Happy Birthday, Elite!</title>
		<link>http://www.petermstewart.net/2009/09/21/happy-birthday-elite/</link>
		<comments>http://www.petermstewart.net/2009/09/21/happy-birthday-elite/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 15:56:57 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[elite]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[oolite]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.petermstewart.net/?p=353</guid>
		<description><![CDATA[The BBC website assures me that Elite was released 25 years ago today (more or less). There have been loads of ports/re-imaginings since then and one of my favourites is Oolite. It was originally developed for Mac OS X, but &#8230; <a href="http://www.petermstewart.net/2009/09/21/happy-birthday-elite/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The BBC website assures me that <a href="http://news.bbc.co.uk/1/hi/technology/8261272.stm">Elite was released 25 years ago today</a> (more or less).</p>
<p>There have been loads of ports/re-imaginings since then and one of my favourites is <a href="http://www.oolite.org/">Oolite</a>. It was originally developed for Mac OS X, but I&#8217;m led to believe that it has been added to the Ubuntu repositories too.</p>
<p>The learning curve is a bit steep, but it&#8217;s well worth a look if you want to play at being Han Solo!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.petermstewart.net/2009/09/21/happy-birthday-elite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Year, New Public Key</title>
		<link>http://www.petermstewart.net/2009/01/01/new-year-new-public-key/</link>
		<comments>http://www.petermstewart.net/2009/01/01/new-year-new-public-key/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 07:20:24 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[eee701]]></category>
		<category><![CDATA[ext2]]></category>
		<category><![CDATA[gpg]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.petermstewart.net/?p=177</guid>
		<description><![CDATA[A couple of days ago the Ubuntu 8.04 installation on my EEE 701 suffered a nasty file system crash. I&#8217;ve reinstalled from a USB stick and everything seems to work as it did before. The only loss appears to be &#8230; <a href="http://www.petermstewart.net/2009/01/01/new-year-new-public-key/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A couple of days ago the Ubuntu 8.04 installation on my EEE 701 suffered a nasty file system crash.</p>
<p>I&#8217;ve <a href="https://help.ubuntu.com/community/Installation/FromUSBStick#Manual%20Approach">reinstalled from a USB stick</a> and everything seems to work as it did before. The only loss appears to be my GPG private key.</p>
<p>I have a copy of it on a machine at home, but it&#8217;s not accessible over the &#8216;net, so I&#8217;ve decided to create a new keypair.</p>
<p><a href="http://pgp.mit.edu:11371/pks/lookup?op=vindex&amp;search=0x84247B1B">My new public key</a> is on the MIT keyserver (and probably others by now).</p>
<p>Fingerprint: <code>6F0B A2DC 2CF8 12A1 4695 5A00 A4D0 7E58 8424 7B1B</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.petermstewart.net/2009/01/01/new-year-new-public-key/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Online Poker for Linux</title>
		<link>http://www.petermstewart.net/2008/11/27/free-online-poker-for-linux/</link>
		<comments>http://www.petermstewart.net/2008/11/27/free-online-poker-for-linux/#comments</comments>
		<pubDate>Thu, 27 Nov 2008 12:11:50 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[artificialintelligence]]></category>
		<category><![CDATA[eee701]]></category>
		<category><![CDATA[poker]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.petermstewart.net/?p=121</guid>
		<description><![CDATA[I really like poker. Partly as an interesting artificial intelligence problem, but mostly as a fun way to spend time with a group of friends. Now that I&#8217;ve finished travelling the problem is finding people to play with! There are &#8230; <a href="http://www.petermstewart.net/2008/11/27/free-online-poker-for-linux/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I <em>really</em> like poker. Partly as an interesting <a href="http://poker.cs.ualberta.ca/">artificial</a> <a href="http://www.pcauthority.com.au/News/115852,poker-program-battles-humans-in-vegas.aspx">intelligence</a> <a href="http://pokerai.org/pj2/index.php">problem</a>, but mostly as a fun way to spend time with a group of friends. Now that I&#8217;ve finished travelling the problem is finding people to play with!</p>
<p>There are a couple of reasons why I don&#8217;t like online poker. The first is an issue of trust. Between bots, collusion, and <a href="http://it.slashdot.org/article.pl?sid=08/09/30/1932217">poor security</a>, I just don&#8217;t believe that all the players in a game are on an equal footing. The second reason is that I think of poker as a social game. I like to be able to see the people I&#8217;m playing against!</p>
<p><a href="http://www.pokerth.net/">PokerTH</a> is a cross-platform (Windows, Mac OS X &amp; Linux) Texas Hold &#8216;em poker application, released under the GPL. It includes the option of a local game against AI opponents, as well as a free online setting, allowing the player to join a public table or create a private one to play with friends. I still can&#8217;t see the other people at the table, but it&#8217;s a great way to learn the game or just play for fun!</p>
<p>My only complaint so far is that the minimum window size is too big for the Eee 701. It&#8217;s easy to get around by moving the window every so often, but it would be nice to have the ability to scale the window down for smaller screens.</p>
<p><a href="http://www.pokerth.net/content/view/16/60/">Download PokerTH</a> (Currently version 0.62)</p>
<p>PokerTH version 0.60 is currently available in the Ubuntu 8.04 repositories.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.petermstewart.net/2008/11/27/free-online-poker-for-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling Eee 701 WiFi hotkeys in Ubuntu 8.04</title>
		<link>http://www.petermstewart.net/2008/08/06/enabling-eee-701-wifi-hotkeys-in-ubuntu-804/</link>
		<comments>http://www.petermstewart.net/2008/08/06/enabling-eee-701-wifi-hotkeys-in-ubuntu-804/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 12:44:08 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[eee701]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://www.petermstewart.net/?p=21</guid>
		<description><![CDATA[I picked up an Asus Eee 701 a couple of weeks ago to take with me when I&#8217;m travelling. After a few days I started to get a bit frustrated with the some of the more simplistic aspects of the &#8230; <a href="http://www.petermstewart.net/2008/08/06/enabling-eee-701-wifi-hotkeys-in-ubuntu-804/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I picked up an Asus Eee 701 a couple of weeks ago to take with me when I&#8217;m travelling. After a few days I started to get a bit frustrated with the some of the more simplistic aspects of the default Xandros &#8220;desktop&#8221;. I found the wireless configuration tool particularly unintuitive so after a bit of research I decided to install <a href="http://releases.ubuntu.com/8.04.1/">Ubuntu 8.04</a>.</p>
<p>The hardware support is pretty good &#8220;out of the box&#8221;, but there are still a number of issues with the initial installation. Thankfully <a href="http://eee.ricey.co.uk/">eee.ricey.co.uk</a> have made a <a href="http://eee.ricey.co.uk/files/eee/RiceeeyTweak.sh">shell script</a> available to take care of almost everything automatically. After running the script most of the hotkeys (Volume, screen brightness, sleep) work correctly, but the WiFi one does not.</p>
<p>To enable the WiFi hotkey functionality (Fn + F2)  add the following line to <tt>/etc/modules</tt></p>
<blockquote>
<pre>pciehp pciehp_debug=1 pciehp_force=1</pre>
</blockquote>
<p>Then create the file <tt>/etc/acpi/actions/wireless-toggle.sh</tt> containing the following</p>
<blockquote>
<pre>#!/bin/sh</pre>
<pre><tt>wlan_control=/proc/acpi/asus/wlan
WLANSTATE=$(cat $wlan_control)</tt></pre>
<pre><tt>case $WLANSTATE in
  1)
    ifconfig ath0 down
    modprobe -r ath_pci
    echo 0 &gt; $wlan_control
    modprobe -r pciehp
  ;;</tt></pre>
<pre><tt>  0)
    modprobe pciehp pciehp_force=1 pciehp_debug=1
    echo 1 &gt; $wlan_control
    modprobe ath_pci
    echo 0 &gt; $wlan_control
    echo 1 &gt; $wlan_control
  ;;
esac
 </tt></pre>
</blockquote>
<p>Make the file executable <tt>chmod a+x /etc/acpi/actions/wireless-toggle.sh</tt></p>
<p>After a reboot you should be able to toggle the internal wireless card by using the hotkey.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.petermstewart.net/2008/08/06/enabling-eee-701-wifi-hotkeys-in-ubuntu-804/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
