<?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>da.mned &#187; linux</title>
	<atom:link href="http://da.mned.co.uk/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://da.mned.co.uk</link>
	<description>- where I pollute the web -</description>
	<lastBuildDate>Wed, 10 Mar 2010 17:35:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Grepping Hell</title>
		<link>http://da.mned.co.uk/2010/03/grepping-hell/</link>
		<comments>http://da.mned.co.uk/2010/03/grepping-hell/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 10:37:53 +0000</pubDate>
		<dc:creator>tig</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[humour]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://da.mned.co.uk/?p=127</guid>
		<description><![CDATA[Well that was a tad embarrassing I thought I had lost the ability to grep.  All I wanted to do was find any instances of jt1.name in files in the current directory,   simple I thought :
grep jt1.name *
Nope
That returned loads of hits that didn&#8217;t match at all eg : 

modules/UpgradeWizard/commit.php:$from_dir = clean_path(remove_file_extension($install_file) [...]]]></description>
			<content:encoded><![CDATA[<p>Well that was a tad embarrassing I thought I had lost the ability to grep.  All I wanted to do was find any instances of jt1.name in files in the current directory,   simple I thought :<br />
<code>grep jt1.name *</code></p>
<p>Nope<br />
That returned loads of hits that didn&#8217;t match at all eg : </p>
<p><code><br />
modules/UpgradeWizard/commit.php:$from_dir = clean_path(remove_file_extension($install_file) . "-restore");<br />
modules/UpgradeWizard/SugarMerge/EditViewMerge.php:	 * this will store the meta data for the original file<br />
modules/UpgradeWizard/SugarMerge/EditViewMerge.php:	 * this will store the meta data for the new file<br />
modules/UpgradeWizard/SugarMerge/EditViewMerge.php:	 * this will store the meta data for the custom file<br />
modules/UpgradeWizard/SugarMerge/EditViewMerge.php:	 * this will store an associative array contianing all the fields that are used in the original meta data file<br />
modules/UpgradeWizard/SugarMerge/EditViewMerge.php:	 * this will store an associative array contianing all the fields that are used in the new meta data file<br />
modules/UpgradeWizard/SugarMerge/EditViewMerge.php:	 * this will store an associative array contianing all the fields that are used in the custom meta data file<br />
modules/UpgradeWizard/SugarMerge/EditViewMerge.php:	 * this will store an associative array contianing all the merged fields<br />
modules/UpgradeWizard/SugarMerge/EditViewMerge.php:	 * Merges the fields together and stores them in $this->mergedFields<br />
modules/UpgradeWizard/preflight.php:	//Check the current and target versions and store them in session variables<br />
modules/UpgradeWizard/silentUpgrade.php://look for session vars there and restore them<br />
modules/UpgradeWizard/uw_ajax.php:		$desc .= $persistence['uw_restore_dir']."\n\n";<br />
modules/UpgradeWizard/uw_utils.php: * Backs-up files that are targeted for patch/upgrade to a restore directory<br />
modules/UpgradeWizard/uw_utils.php:	// create restore file directory<br />
modules/UpgradeWizard/uw_utils.php:		$_SESSION['uw_restore_dir'] = clean_path($rest_dir);<br />
modules/UpgradeWizard/uw_utils.php:			// get name of current file to place in restore directory<br />
modules/UpgradeWizard/uw_utils.php:			// only copy restore files for replacements - ignore new files from patch<br />
modules/UpgradeWizard/uw_utils.php:		$desc .= $_SESSION['uw_restore_dir'] . "\n\n";<br />
modules/UpgradeWizard/uw_utils.php:	if(isset($_SESSION['uw_restore_dir']))<br />
modules/UpgradeWizard/uw_utils.php:		unset($_SESSION['uw_restore_dir']);<br />
modules/Meetings/Meeting.php:// Meeting is used to store customer information.<br />
</code></p>
<p>Pages of this came up.   When I found the culprit I nearly fell off my chair,  some fluffy-kittening person at SugarCRM decided that when doing an upgrade they would make a backup unfortunately they made an interesting choice of names&#8230; </p>
<p><code><br />
drwxrws---  3 www-data www-data     4096 Jan 12 10:42 -restore<br />
drwxr-xr-x 19 www-data www-data     4096 Mar  9 16:43 .<br />
drwxr-xr-x  3 root     root         4096 Jan 23  2009 ..<br />
-rw-r--r--  1 www-data www-data      342 Mar  9 16:43 .htaccess<br />
-rw-r--r--  1 www-data www-data     2535 Mar  9 16:43 HandleAjaxCall.php<br />
-rw-r--r--  1 www-data www-data      155 Dec 17  2008 INSTALLATION.txt<br />
-rw-r--r--  1 www-data www-data    35147 Dec 17  2008 LICENSE.txt<br />
drwxr-xr-x  3 www-data www-data     4096 Oct 22 14:52 ModuleInstall<br />
-rw-r--r--  1 www-data www-data     5075 Dec 17  2008 SugarSecurity.php<br />
-rw-r--r--  1 www-data www-data     5590 Dec 17  2008 TreeData.php<br />
-rw-r--r--  1 www-data www-data     2488 Mar  9 16:43 WebToLeadCapture.php<br />
drwxr-xr-x  2 www-data www-data     4096 Dec 17  2008 XTemplate<br />
-rw-r--r--  1 www-data www-data     2490 Dec 17  2008 acceptDecline.php<br />
drwxr-xr-x 17 www-data www-data     4096 Mar  9 16:44 cache<br />
</code></p>
<p>That explains why it recursed too&#8230;.   I didn&#8217;t think you could add flags after the search string&#8230;  </p>
]]></content:encoded>
			<wfw:commentRss>http://da.mned.co.uk/2010/03/grepping-hell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Openfire Increasing Java Memory Limits Debian/Ubuntu</title>
		<link>http://da.mned.co.uk/2010/01/openfire-increasing-java-memory-limits-debianubuntu/</link>
		<comments>http://da.mned.co.uk/2010/01/openfire-increasing-java-memory-limits-debianubuntu/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 16:48:49 +0000</pubDate>
		<dc:creator>tig</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://da.mned.co.uk/?p=122</guid>
		<description><![CDATA[Openfire ships with a 64Meg  JVM limit which is fine for testing purposes but you may find that you are using it all up.    I went round the forums a few times and found conflicting advice.
Anyhoo the instructions were close but seemed to give one massive red-herring which was they kept talking about OPENFIRE_OPTS in [...]]]></description>
			<content:encoded><![CDATA[<p>Openfire ships with a 64Meg  JVM limit which is fine for testing purposes but you may find that you are using it all up.    I went round the forums a few times and found conflicting advice.</p>
<p>Anyhoo the instructions were close but seemed to give one massive red-herring which was they kept talking about OPENFIRE_OPTS in /etc/defaults/openfire which did not exist,   add it your self and Openfire will ignore it.    Where the data needs to go is in DEAMON_OPTS.</p>
<p>To cut a long story short you need to make /etc/defaults/openfire look like :</p>
<blockquote><p># Defaults for openfire initscript<br />
# sourced by /etc/init.d/openfire<br />
# installed at /etc/default/openfire by the maintainer scripts</p>
<p>#<br />
# This is a POSIX shell fragment<br />
#</p>
<p># Additional options that are passed to the Daemon.<br />
DAEMON_OPTS=&#8221;-Xms256m -Xmx512m&#8221;</p></blockquote>
<p>This will tell the JRE to use a minimum of 256Meg RAM and limit it to 512Meg.</p>
<p>Hope this helps <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://da.mned.co.uk/2010/01/openfire-increasing-java-memory-limits-debianubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenFire XMPP Server on Debian</title>
		<link>http://da.mned.co.uk/2009/07/openfire-xmpp-server-on-debian/</link>
		<comments>http://da.mned.co.uk/2009/07/openfire-xmpp-server-on-debian/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 13:54:48 +0000</pubDate>
		<dc:creator>tig</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://da.mned.co.uk/?p=110</guid>
		<description><![CDATA[I was asked today to set up an IM server for internal use,   originally they were specifying Windows messanger but I was able to suggest we try a proper standards based system instead  
So I need a server,  a few clicks in the Proxmox interface ( a rather nice way of handling OpenVZ virtualisation) [...]]]></description>
			<content:encoded><![CDATA[<p>I was asked today to set up an IM server for internal use,   originally they were specifying Windows messanger but I was able to suggest we try a proper standards based system instead <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So I need a server,  a few clicks in the Proxmox interface ( a rather nice way of handling OpenVZ virtualisation) and I have a new blank Debian lenny box already to play with.</p>
<p>Added the non-free option to the apt repository (as we will need the Sun JRE) and off we go <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />    Apt decided to moan about :</p>
<pre>W: There is no public key available for the following key IDs:
9AA38DCD55BE302B
W: GPG error: http://security.debian.org lenny/updates Release:
The following signatures couldn't be verified because the public
key is not available: NO_PUBKEY 9AA38DCD55BE302B</pre>
<p>Which was solved by this post <a href="http://linux.com/community/blogs/Debian-Upgrading-to-Lenny-ERROR-no-public-key-available-for-the-following....html">here</a> <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>A quick :</p>
<pre>apt-get install debian-archive-keyring</pre>
<p>and off we go again <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Next stop is the Java monster,  mercifully simple to install nowadays:</p>
<pre>apt-get install sun-java6-jre</pre>
<p>Next we grab the latest openfire deb,   then install:</p>
<pre>dpkg -i openfire_3.6.4_all.deb</pre>
<p>Which seemed to be too painless&#8230;</p>
<p>Fire up the Wizard on port 9090 from a browser and you are done <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://da.mned.co.uk/2009/07/openfire-xmpp-server-on-debian/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>LRL2009 PIMP IT!</title>
		<link>http://da.mned.co.uk/2009/06/lrl2009-pimp-it/</link>
		<comments>http://da.mned.co.uk/2009/06/lrl2009-pimp-it/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 12:41:55 +0000</pubDate>
		<dc:creator>tig</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://da.mned.co.uk/?p=100</guid>
		<description><![CDATA[Yes ladies, gentlemen and chinny racoons,  LRL 2009 is scheduled for :

To put this countdown on your site is simple,  just copy and paste the following code :
&#60;a href="http://www.lugradio.org/live/2009/" target="_blank"&#62;&#60;img style="border: 0pt none ;"
src="http://da.mned.co.uk/stuff/lrl/lrl_countdown.png"
alt="Lugradio Live 2009, 24th October 2009,  Newhampton Arts Centre Wolvehampton" width="237" height="251"&#62;&#60;/a&#62;
There will be more styles and options and of course [...]]]></description>
			<content:encoded><![CDATA[<p>Yes ladies, gentlemen and chinny racoons,  LRL 2009 is scheduled for :</p>
<p><a href="http://www.lugradio.org/live/2009/" target="_blank"><img style="border: 0pt none;" src="http://da.mned.co.uk/stuff/lrl/lrl_countdown.png" alt="Lugradio Live 2009, 24th October 2009,  Newhampton Arts Centre Wolvehampton" width="237" height="251" /></a></p>
<p>To put this countdown on your site is simple,  just copy and paste the following code :</p>
<pre>&lt;a href="http://www.lugradio.org/live/2009/" target="_blank"&gt;&lt;img style="border: 0pt none ;"
src="http://da.mned.co.uk/stuff/lrl/lrl_countdown.png"
alt="Lugradio Live 2009, 24th October 2009,  Newhampton Arts Centre Wolvehampton" width="237" height="251"&gt;&lt;/a&gt;</pre>
<p>There will be more styles and options and of course the code to run the counter yourself to follow <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://da.mned.co.uk/2009/06/lrl2009-pimp-it/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ubuntu on the Eeee battery life</title>
		<link>http://da.mned.co.uk/2008/11/ubuntu-on-the-eeee-battery-life/</link>
		<comments>http://da.mned.co.uk/2008/11/ubuntu-on-the-eeee-battery-life/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 12:17:21 +0000</pubDate>
		<dc:creator>tig</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://da.mned.co.uk/?p=74</guid>
		<description><![CDATA[Well the battery monitor app either needs housetraining or something as it bounces up and down more than I do  
10 mins ago it told me I had 6 mins remaining and now it has crept back up again  
Currently :
tigger@eee:~$ uptime
12:13:00 up  2:39,  2 users,  load average: 0.66, 0.50, [...]]]></description>
			<content:encoded><![CDATA[<p>Well the battery monitor app either needs housetraining or something as it bounces up and down more than I do <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>10 mins ago it told me I had 6 mins remaining and now it has crept back up again <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Currently :</p>
<blockquote><p>tigger@eee:~$ uptime<br />
12:13:00 up  2:39,  2 users,  load average: 0.66, 0.50, 0.47</p></blockquote>
<p>This is sitting in the pub (tea and orange juice sadly) waiting for my car to be fixed.  So well over two and a half hours of wibbling and wifi on a low backlight and it has not run out yet.  Battery monitor still says 10% remaining but now thinks that will only last 5 mins!</p>
<p>Something is amiss here <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>edit : right in the end it lasted about 3 hours or so but then died with no warning just a sudden power off.   It had warned me I was low on power earlier but not right at the end.  It might be that it has not had time to profile the power use yet but although it is a bit flakey it seems to be slightly more useful than the Xandros one which I never did trust.</p>
]]></content:encoded>
			<wfw:commentRss>http://da.mned.co.uk/2008/11/ubuntu-on-the-eeee-battery-life/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Silly Ibex wont start X</title>
		<link>http://da.mned.co.uk/2008/11/silly-ibex-wont-start-x/</link>
		<comments>http://da.mned.co.uk/2008/11/silly-ibex-wont-start-x/#comments</comments>
		<pubDate>Sun, 09 Nov 2008 10:27:50 +0000</pubDate>
		<dc:creator>tig</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://da.mned.co.uk/?p=70</guid>
		<description><![CDATA[Meh my Eeee had just decided that it did not want to start X due to an internal error.   A most odd occurrence and after a bit of digging I found the culprit,  a read only file system.  
It seems my disk had a couple of errors on it and thus [...]]]></description>
			<content:encoded><![CDATA[<p>Meh my Eeee had just decided that it did not want to start X due to an internal error.   A most odd occurrence and after a bit of digging I found the culprit,  a read only file system.  </p>
<p>It seems my disk had a couple of errors on it and thus had been mounted read only.    A quick sudo up to root privs and brisk fsck later,  reboot and done <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>One of those things I suppose&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://da.mned.co.uk/2008/11/silly-ibex-wont-start-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intrepid Ibex on the Eee701</title>
		<link>http://da.mned.co.uk/2008/11/intrepid-ibex-on-the-eee701/</link>
		<comments>http://da.mned.co.uk/2008/11/intrepid-ibex-on-the-eee701/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 14:41:26 +0000</pubDate>
		<dc:creator>tig</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://da.mned.co.uk/?p=68</guid>
		<description><![CDATA[Despite being quite happy with the default install of Xandros on my Eee701 that I have been using for nearly a year now I have taken the plunge and installed Ubuntu on it, partly to standardise (all my other desktop role machines are running Ubuntu) and also because there were a few features I missed [...]]]></description>
			<content:encoded><![CDATA[<p>Despite being quite happy with the default install of Xandros on my Eee701 that I have been using for nearly a year now I have taken the plunge and installed Ubuntu on it, partly to standardise (all my other desktop role machines are running Ubuntu) and also because there were a few features I missed from Ubuntu/Gnome when using Xandros,  mainly network manager and decent battery status reporting <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Ubuntu on the Eee has been around for ages but there seemed to be a whole raft of little spin off projects dedicated to it.   After much consideration I decided to go with the stock image and the patches from http://eee.ricey.co.uk  <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>Followed the install notes and it all worked flawlessly which was a relief as earlier versions of Ubuntu needed a bit of tweaking to get running,  but I am pleased to report it is all running fine <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Boot up time is not quite as fast as the stunning boot up time of xandros but it seems ok and I might have a go at tweaking it a bit to shave a few seconds off the boot time <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://da.mned.co.uk/2008/11/intrepid-ibex-on-the-eee701/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Discovering Drivel :)</title>
		<link>http://da.mned.co.uk/2008/09/discovering-drivel/</link>
		<comments>http://da.mned.co.uk/2008/09/discovering-drivel/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 13:51:35 +0000</pubDate>
		<dc:creator>tig</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://da.mned.co.uk/?p=31</guid>
		<description><![CDATA[I am just experimenting with Drivel,  an gnome online/offline blog editor for Linux  
If all goes well this should appear online!   
edit:  this should test the updates&#8230;. 
]]></description>
			<content:encoded><![CDATA[<p>I am just experimenting with Drivel,  an gnome online/offline blog editor for Linux <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If all goes well this should appear online! <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>edit:  this should test the updates&#8230;. </p>
]]></content:encoded>
			<wfw:commentRss>http://da.mned.co.uk/2008/09/discovering-drivel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>identi.ca &#8211;  google talk / pidgin problems fixed</title>
		<link>http://da.mned.co.uk/2008/09/identica-google-talk-pidgin-problems-fixed/</link>
		<comments>http://da.mned.co.uk/2008/09/identica-google-talk-pidgin-problems-fixed/#comments</comments>
		<pubDate>Thu, 18 Sep 2008 13:48:26 +0000</pubDate>
		<dc:creator>tig</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[webby]]></category>

		<guid isPermaLink="false">http://da.mned.co.uk/?p=25</guid>
		<description><![CDATA[Just a quicky,  to get identi.ca working with pidgin:
1.  Enter your gmail address in identi.ca
2.  In pidgin add update@identi.ca as a buddy
3.  You will get an authorise request (or 4   ) just authorise the first one and give it a sane name like Identi.ca
4. Try sending it an IM,  this will probably fail [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quicky,  to get identi.ca working with pidgin:</p>
<p>1.  Enter your gmail address in identi.ca</p>
<p>2.  In pidgin add update@identi.ca as a buddy</p>
<p>3.  You will get an authorise request (or 4 <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ) just authorise the first one and give it a sane name like Identi.ca</p>
<p>4. Try sending it an IM,  this will probably fail with a message :</p>
<blockquote><p><span style="font-weight: bold; color: #cc0000;"><span style="font-size: small;">Identi.ca: </span></span><span style="font-size: small;">[Identi.ca] Unknown user; go to <a href="http://identi.ca/settings/im">http://identi.ca/settings/im</a> to add your address to your account</span></p></blockquote>
<p>5. Look at what username your message went from in my case it was foo@gmail.com/Home</p>
<p>6. Pop back into the Identi.ca web page for IM settings and change your IM name to what ever it sent it as</p>
<p>7. You will get a message from Identi.ca saying basically click on this link to confirm your jabber id.</p>
<p>8. Click on it.</p>
<p>Done <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://da.mned.co.uk/2008/09/identica-google-talk-pidgin-problems-fixed/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Openmoko Freerunner WPA Wifi howto</title>
		<link>http://da.mned.co.uk/2008/06/openmoko-freerunner-wpa-wifi-howto/</link>
		<comments>http://da.mned.co.uk/2008/06/openmoko-freerunner-wpa-wifi-howto/#comments</comments>
		<pubDate>Sun, 29 Jun 2008 18:47:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[openmoko]]></category>
		<category><![CDATA[freerunner]]></category>
		<category><![CDATA[wifi]]></category>
		<category><![CDATA[wpa]]></category>

		<guid isPermaLink="false">http://da.mned.co.uk/?p=24</guid>
		<description><![CDATA[&#8216;ello again,  after some head scratching and beer drinking and lots of trial and mainly error I have now worked out how to get my Freerunner to connect to my WPA network at home  
This is a very rough guide and there is probably a much better way to do it   [...]]]></description>
			<content:encoded><![CDATA[<p>&#8216;ello again,  after some head scratching and beer drinking and lots of trial and mainly error I have now worked out how to get my Freerunner to connect to my WPA network at home <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>This is a very rough guide and there is probably a much better way to do it <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  The better way is waiting until August for the ASU to be released with a decent tool for doing this automatically <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>All I know is that it is working here <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   Oh you will want to do this all over ssh btw <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Step 1:  vi   /etc/network/interfaces and make the wireless section look like with the obvious bits modified:<br />
<code><br />
# Wireless interfaces<br />
iface eth0 inet dhcp<br />
wireless_mode managed<br />
wireless_essid **********PUT YOUR ROUTER'S ESSID HERE**************<br />
wpa-driver wext<br />
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf<br />
</code></p>
<p>Step 2:  run wpa_passphrase followed by your essid so in my case:<br />
<code>wpa_passphrase 100acre</code><br />
It will then ask you for your WPA key<br />
It will return a block of code all we want from this is the line beginning psk= so copy that and paste it somewhere safe.</p>
<p>Step 3: edit your wpa_supplicant config file :<br />
<code> vi /etc/wpa_supplicant/wpa_supplicant.conf</code><br />
and make it look like:<br />
<code><br />
# File: /etc/wpa_supplicant/wpa_supplicant.conf<br />
network={<br />
ssid="****PUT YOUR ROUTER'S ESSID HERE INSIDE QUOTATION MARKS"<br />
key_mgmt=WPA-PSK<br />
psk=******put the output of wpa_passphrase here but no quotation marks*******<br />
}<br />
</code></p>
<p>Step 4. Edit sysconfig for wpa_supplicant :<br />
<code> vi /etc/sysconfig/wpa_supplicant</code><br />
and make it look like:<br />
<code><br />
# File: /etc/sysconfig/wpa_supplicant<br />
INTERFACES="-ieth0"<br />
DRIVERS="-Dwext"</code><br />
Step 5:  There is no step 5</p>
<p>Step 6: ifup eth0</p>
<p>The first DNS request I made took aaaaages but eventually came back then after that it has been snappy <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Have fun <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Any corrections / ideas let me know <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I know this is not perfect but it did get me online <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://da.mned.co.uk/2008/06/openmoko-freerunner-wpa-wifi-howto/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
