<?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>Kirrus' Blog &#187; Ubuntu</title>
	<atom:link href="http://kirrus.co.uk/category/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://kirrus.co.uk</link>
	<description>MindDump. Photos. And random ramblings.</description>
	<lastBuildDate>Mon, 26 Jul 2010 21:44:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Help firefox wget and ssh shell script</title>
		<link>http://kirrus.co.uk/2009/11/help-firefox-wget-and-ssh-shell-script/</link>
		<comments>http://kirrus.co.uk/2009/11/help-firefox-wget-and-ssh-shell-script/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 19:19:20 +0000</pubDate>
		<dc:creator>garreth</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu-UK Planet]]></category>
		<category><![CDATA[advice]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[computers]]></category>

		<guid isPermaLink="false">http://kirrus.co.uk/?p=454</guid>
		<description><![CDATA[I&#8217;m trying to create a script to allow me to command a remote server to download a file from firefox. There are various reasons for this, mainly todo with connection speed. What I have at the moment is: #/bin/sh terminator -x ssh user@site.com wget -qc -t 3 -o ~/wget_testlog ftp://anothersite.com/file.ext \\&#038; \&#038; &#038; I want [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m trying to create a script to allow me to command a remote server to download a file from firefox.</p>
<p>There are various reasons for this, mainly todo with connection speed.</p>
<p>What I have at the moment is:<br />
<code>#/bin/sh<br />
terminator -x ssh user@site.com wget -qc -t 3 -o ~/wget_testlog ftp://anothersite.com/file.ext \\&#038; \&#038; &#038;<br />
</code></p>
<p>I want it to kick off, ask for a password to login via ssh and then go away&#8230;<br />
I would like to be able to set the location for the download to ~/www/files/</p>
<p>I was planning to place this script in /usr/bin and install it in firefox using the code/link provided on this blog: <a href="http://domnit.org/blog/2007/09/wget.html">Wget from firefox</a></p>
<p>Can anyone complete my solution with the correct syntax, or provide a better solution (preferably KISS)?<br />
I&#8217;m more of hacker than an expert IMO and I know when I&#8217;m out of my depth!</p>
<p>Cheers,<br />
Garreth</p>
]]></content:encoded>
			<wfw:commentRss>http://kirrus.co.uk/2009/11/help-firefox-wget-and-ssh-shell-script/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Network Monitoring</title>
		<link>http://kirrus.co.uk/2009/11/network-monitoring/</link>
		<comments>http://kirrus.co.uk/2009/11/network-monitoring/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 23:37:18 +0000</pubDate>
		<dc:creator>garreth</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cli]]></category>

		<guid isPermaLink="false">http://kirrus.co.uk/?p=400</guid>
		<description><![CDATA[I&#8217;ve been searching for some simple tools to monitor my internet connection for some time, and finally I&#8217;ve found a few tools that do the trick. If you&#8217;re looking for a console application to give you a quick heads up on the transfer speeds across a network interface have a look for ifstatus (not to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been searching for some simple tools to monitor my internet connection for some time, and finally I&#8217;ve found a few tools that do the trick.</p>
<p>If you&#8217;re looking for a console application to give you a quick heads up on the transfer speeds across a network interface have a look for <a href="http://ifstatus.sourceforge.net/graphic/index.html" target="_blank">ifstatus</a> (not to be confused with the ifplugd suite) .</p>
<p style="text-align: center;"><a href="http://kirrus.co.uk/wp-content/uploads/2009/11/2009-11-05-1257437423_3286x768_scrot.png"><img class="aligncenter size-medium wp-image-401" title="Ifstatus" src="http://kirrus.co.uk/wp-content/uploads/2009/11/2009-11-05-1257437423_3286x768_scrot-300x206.png" alt="Ifstatus" width="300" height="206" /></a></p>
<p style="text-align: left;">If you&#8217;re looking for something to log and display network statistics checkout <a href="http://humdi.net/vnstat/" target="_blank">vnStat</a></p>
<p style="text-align: center;"><a href="http://kirrus.co.uk/wp-content/uploads/2009/11/vnstaideth0.jpg"><img class="aligncenter size-medium wp-image-402" title="vnstat graph" src="http://kirrus.co.uk/wp-content/uploads/2009/11/vnstaideth0-300x94.jpg" alt="vnstat graph" width="300" height="94" /></a><a href="http://kirrus.co.uk/wp-content/uploads/2009/11/vnstaieth0.jpg"><img class="aligncenter size-medium wp-image-403" title="vnstat graph" src="http://kirrus.co.uk/wp-content/uploads/2009/11/vnstaieth0-300x222.jpg" alt="vnstat graph" width="300" height="222" /></a></p>
<p style="text-align: left;">Minor niggle: both these programs needed compiling and required additional dependencies which I recall were GD, for the graph creator of vnStat (vnstati) and curl for the console interface of ifstatus.</p>
<p style="text-align: left;">If you have any other suggestions, queries or points, please leave a comment!</p>
]]></content:encoded>
			<wfw:commentRss>http://kirrus.co.uk/2009/11/network-monitoring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fail.</title>
		<link>http://kirrus.co.uk/2009/11/fail/</link>
		<comments>http://kirrus.co.uk/2009/11/fail/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 08:30:04 +0000</pubDate>
		<dc:creator>Kirrus</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu-UK Planet]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://kirrus.co.uk/?p=375</guid>
		<description><![CDATA[Example one &#8211; forgetful screenshots A couple of screenshots. Firstly, every now and then, people send us screenshots. They do this by sending them in word documents, which is bad enough. (Please, just send us an image file!) This example though, is quite fun. Make sure you actually copy the screenshot in, instead of just [...]]]></description>
			<content:encoded><![CDATA[<h2>Example one &#8211; forgetful screenshots</h2>
<p><a href="http://kirrus.co.uk/wp-content/uploads/2009/11/screenshot-fail1.png"><img class="size-full wp-image-377 alignright" title="screenshot-fail" src="http://kirrus.co.uk/wp-content/uploads/2009/11/screenshot-fail1.png" alt="screenshot-fail" width="530" height="279" /></a></p>
<p>A couple of screenshots. Firstly, every now and then, people send us screenshots. They do this by sending them in word documents, which is bad enough. (Please, just send us an image file!) This example though, is quite fun.</p>
<p>Make sure you actually copy the screenshot in, instead of just linking it <img src='http://kirrus.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h2 style="text-align: left; clear:both;">Example 2 &#8211; Infect yourself, and pay money for the privilege</h2>
<p style="text-align: left;"><a href="http://kirrus.co.uk/wp-content/uploads/2009/11/please-dont-be-so-dumb.png"><img class="size-full wp-image-378 alignleft" style="margin: 10px;" title="Stupid-Script-Kiddies" src="http://kirrus.co.uk/wp-content/uploads/2009/11/please-dont-be-so-dumb.png" alt="Stupid-Script-Kiddies" width="460" height="320" /></a></p>
<p style="text-align: left; ">My second example, is of a website trying to extort money, by making you think your computer has been infected with a virus. These are nasty sites, and I hate them with a passion. They feed off of people&#8217;s fear of computers. The interesting thing here is, this computer can&#8217;t be infected in this way&#8230; it&#8217;s running ubuntu, their silly antivirus software looks very, very out-of-place!</p>
<p style="text-align: left;">(See my first post this month if you&#8217;re afraid of computers.)</p>
<p style="text-align: left;">Click on the image for the full screenshot. It is quite large. As you can see from the timestamp, I&#8217;ve been meaning to post this one for a while <img src='http://kirrus.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p style="text-align: left;">p.s. Does anyone know how to force formatting in wordpress? This post took about 10 minutes of fiddling to get the images to go some-where near where I wanted them :/ If you do, please comment! If you don&#8217;t please comment. In fact, please comment, comments make my day!</p>
]]></content:encoded>
			<wfw:commentRss>http://kirrus.co.uk/2009/11/fail/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Karmic notebook Theme</title>
		<link>http://kirrus.co.uk/2009/11/karmic-notebook-theme/</link>
		<comments>http://kirrus.co.uk/2009/11/karmic-notebook-theme/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 17:18:46 +0000</pubDate>
		<dc:creator>Kirrus</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu-UK Planet]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[karmic]]></category>

		<guid isPermaLink="false">http://kirrus.co.uk/?p=359</guid>
		<description><![CDATA[Finally got around to upgrading to Karmic Ubuntu, and so far Its looking good. There is a few oddities in the theme, which makes using it a bit annoying, but I guess I&#8217;ll get used to it. See the screen-shot below for what I mean, the strangeness of the interface The bar at the top, [...]]]></description>
			<content:encoded><![CDATA[<p>Finally got around to upgrading to Karmic Ubuntu, and so far Its looking good. There is a few oddities in the theme, which makes using it a bit annoying, but I guess I&#8217;ll get used to it. See the screen-shot below for what I mean, the strangeness of the interface The bar at the top, the new greying out an in of active icons all help to make the best use of this screen size. You can tell the design team are doing good work <img src='http://kirrus.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>One small problem, is the lack of a clock, or logout button. For some strange reason, both didn&#8217;t make it, and hitting the power button no longer brings up the shutdown interface. I&#8217;ve been using the command &#8216;shutdown -h now&#8217; in a terminal for the moment, will have to dig around, see why it isn&#8217;t there/coming up later.</p>
<p><a href="http://kirrus.co.uk/wp-content/uploads/2009/10/theme-problem.png"><img class="aligncenter size-medium wp-image-360" title="Theme Problem" src="http://kirrus.co.uk/wp-content/uploads/2009/10/theme-problem-300x175.png" alt="Theme Problem" width="300" height="175" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://kirrus.co.uk/2009/11/karmic-notebook-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It looks like someone likes Ubuntu..</title>
		<link>http://kirrus.co.uk/2009/09/it-looks-like-someone-likes-ubuntu/</link>
		<comments>http://kirrus.co.uk/2009/09/it-looks-like-someone-likes-ubuntu/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 11:14:19 +0000</pubDate>
		<dc:creator>Kirrus</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu-UK Planet]]></category>
		<category><![CDATA[mad world]]></category>

		<guid isPermaLink="false">http://kirrus.co.uk/?p=334</guid>
		<description><![CDATA[An ubuntu symbol, from satellite view?! http://maps.google.com/maps?f=q&#38;source=s_q&#38;hl=en&#38;geocode=&#38;ie=UTF8&#38;t=h&#38;ll=52.583156,-0.055768&#38;spn=0.00442,0.009656&#38;z=17 (http://tinyurl.com/ybuxvxn)]]></description>
			<content:encoded><![CDATA[<p>An ubuntu symbol, from satellite view?!</p>
<p>http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;ie=UTF8&amp;t=h&amp;ll=52.583156,-0.055768&amp;spn=0.00442,0.009656&amp;z=17</p>
<p>(http://tinyurl.com/ybuxvxn)</p>
]]></content:encoded>
			<wfw:commentRss>http://kirrus.co.uk/2009/09/it-looks-like-someone-likes-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick useful sysadmin stuff</title>
		<link>http://kirrus.co.uk/2009/09/quick-useful-sysadmin-stuff/</link>
		<comments>http://kirrus.co.uk/2009/09/quick-useful-sysadmin-stuff/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 13:10:01 +0000</pubDate>
		<dc:creator>Kirrus</dc:creator>
				<category><![CDATA[Remember This]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu-UK Planet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://kirrus.co.uk/?p=320</guid>
		<description><![CDATA[Two useful things I have found or use Firefox Awesomebar search trick A wonderful tip, that someone sent into the ubuntu-uk podcast. (I can&#8217;t remember who, or the episode. Comment if you know and I&#8217;ll credit them here! ) You can search, in any website&#8217;s search function, using firefox&#8217;s address bar. Now, at first glance [...]]]></description>
			<content:encoded><![CDATA[<p>Two useful things I have found or use <img src='http://kirrus.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h2>Firefox Awesomebar search trick</h2>
<p>A wonderful tip, that someone sent into the ubuntu-uk podcast. (I can&#8217;t remember who, or the episode. Comment if you know and I&#8217;ll credit them here! <img src='http://kirrus.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</p>
<p>You can search, in any website&#8217;s search function, using firefox&#8217;s address bar. Now, at first glance this sounds really boring and useless, but it really isn&#8217;t, at all.</p>
<p>First, we need to find a website to search. Let&#8217;s use launchpad&#8217;s bugs search, for Ubuntu. So, we go here:</p>
<p>https://bugs.launchpad.net/ubuntu/</p>
<p><a href="http://kirrus.co.uk/wp-content/uploads/2009/09/screenshot-firefox-add-keyword-bookmark.png"><img class="alignright size-medium wp-image-321" title="Screenshot Firefox add search bookmark" src="http://kirrus.co.uk/wp-content/uploads/2009/09/screenshot-firefox-add-keyword-bookmark-300x124.png" alt="Screenshot Firefox add search bookmark" width="300" height="124" /></a>Then, right click on the search box, and click &#8220;Add a keyword for this search&#8221;. This brings up the standard bookmark &#8211; your search keywords are stored as a bookmark. Give it a useful name, something to help you next time you go sorting through your book marks. Now, the keyword is how we use this trick. I&#8217;m going to use &#8220;bugs&#8221;, but you can use anything you want, just remember, this is the word you put before your search string in the address bar. Click Add.</p>
<p><img class="alignright size-full wp-image-322" title="Screenshot Firefox address bar search for bugs" src="http://kirrus.co.uk/wp-content/uploads/2009/09/screenshot-firefox-search-for-lp-bugs.png" alt="Screenshot Firefox address bar search for bugs" width="368" height="29" />Now, all we have to do, is to search for a bug. Let&#8217;s use the classic bug 1.</p>
<p>Open a new tab (CTRL + T), then in the address bar type [your keyword] microsoft market share, and hit enter.</p>
<p>Lo and behold:</p>
<p><a href="http://kirrus.co.uk/wp-content/uploads/2009/09/screenshot-firefox-bugs-in-ubuntu-ms-marketshare.png"><img class="aligncenter size-full wp-image-324" title="Screenshot Firefox launchpad bug 1" src="http://kirrus.co.uk/wp-content/uploads/2009/09/screenshot-firefox-bugs-in-ubuntu-ms-marketshare.png" alt="Screenshot Firefox launchpad bug 1" width="663" height="382" /></a></p>
<h2>Testing SMTP-AUTH the fast way</h2>
<p>Found a really handy little command line program called &#8220;swaks&#8221;. Great if you&#8217;ve ever needed to test SMTP-AUTH, and didn&#8217;t want to have to base64 the username and password yourself. Here&#8217;s a quick rundown on the command and flags I use with them. (Should be fairly obvious, comment if not!)</p>
<blockquote><p>swaks -s [smtp-server-name-or-ip] -au [smtp-auth-user] -ap [smtp-auth-password] -f [from-address-of-testing-email]</p></blockquote>
<p>Hit enter, and it&#8217;ll ask you the &#8220;to&#8221; email address. Type it in, and it gives you the full connection readout, just as if you were doing it with telnet (or netcat) on the command line:</p>
<blockquote><p>&lt;-  220 smtp.our-domain.com ESMTP<br />
-&gt; EHLO gemini<br />
&lt;-  250-smtp.our-domain.com<br />
&lt;-  250-AUTH LOGIN<br />
&lt;-  250-AUTH=LOGIN<br />
&lt;-  250-PIPELINING<br />
&lt;-  250 8BITMIME<br />
-&gt; AUTH LOGIN<br />
&lt;-  334 Z29vZCB0cnkgOikK</p></blockquote>
<p>And so on. <img src='http://kirrus.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://kirrus.co.uk/2009/09/quick-useful-sysadmin-stuff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpmyadmin in ubuntu now being exploited en-masse</title>
		<link>http://kirrus.co.uk/2009/07/phpmyadmin-in-ubuntu-now-being-exploited-en-masse/</link>
		<comments>http://kirrus.co.uk/2009/07/phpmyadmin-in-ubuntu-now-being-exploited-en-masse/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 13:00:15 +0000</pubDate>
		<dc:creator>Kirrus</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu-UK Planet]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://kirrus.co.uk/?p=279</guid>
		<description><![CDATA[Update: ubuntu patched this issue a couple of days after this post. If you&#8217;re reading, thanks guys! You just made my job a lot easier At some point, I might try to look at helping maintain this, and other packages like it in the ubuntu archive. No idea how, though a colleague may be able [...]]]></description>
			<content:encoded><![CDATA[<p>Update: ubuntu patched this issue a couple of days after this post. If you&#8217;re reading, thanks guys! You just made my job a lot easier <img src='http://kirrus.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>At some point, I might try to look at helping maintain this, and other packages like it in the ubuntu archive. No idea how, though a colleague may be able to help&#8230;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>The versions of phpmyadmin in ubuntu (at least Dapper &#8211; Intrepid) are susceptible to arbitrary code execution, as the web-server&#8217;s user. A bug<sup class='footnote'><a href='#fn-279-1' id='fnref-279-1'>1</a></sup> was reported on the 15th of June about this issue, and marked as high priority on the 21st.</p>
<p>The phpmyadmin team patched this problem in their software on<strong> May the 24th</strong>. <sup class='footnote'><a href='#fn-279-2' id='fnref-279-2'>2</a></sup></p>
<p>Debian patched this in their system on the 25th of June.</p>
<p>I tried talking to people on #ubuntu-security about this problem. They said &#8220;motu&#8221; and &#8220;we&#8217;re not interested, its in universe&#8221;. I tried talking to people in #motu, and they talked about work-arounds.</p>
<p>The main questions now are:</p>
<ul>
<li> Please can someone work on the bug?</li>
<li>Why did it take so long between upstream report and launchpad report?</li>
<li>Why has the bug been left to the point where it is getting automatically exploited, en-masse? <sup class='footnote'><a href='#fn-279-3' id='fnref-279-3'>3</a></sup></li>
</ul>
<div class='footnotes'>
<div class='footnotedivider'></div>
<ol>
<li id='fn-279-1'>https://bugs.launchpad.net/ubuntu/+source/phpmyadmin/+bug/387215 <span class='footnotereverse'><a href='#fnref-279-1'>&#8617;</a></span></li>
<li id='fn-279-2'>http://www.phpmyadmin.net/home_page/security/PMASA-2009-3.php <span class='footnotereverse'><a href='#fnref-279-2'>&#8617;</a></span></li>
<li id='fn-279-3'>http://seclists.org/fulldisclosure/2009/Jul/0021.html <span class='footnotereverse'><a href='#fnref-279-3'>&#8617;</a></span></li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://kirrus.co.uk/2009/07/phpmyadmin-in-ubuntu-now-being-exploited-en-masse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Current Cost &#8211; watt hours and pachube</title>
		<link>http://kirrus.co.uk/2009/07/current-cost-watt-hours-and-pachube/</link>
		<comments>http://kirrus.co.uk/2009/07/current-cost-watt-hours-and-pachube/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 16:13:12 +0000</pubDate>
		<dc:creator>garreth</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu-UK Planet]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[current cost]]></category>
		<category><![CDATA[green stuff]]></category>

		<guid isPermaLink="false">http://kirrus.co.uk/?p=271</guid>
		<description><![CDATA[Current cost meter hacking - recording and displaying your electricity watts and temperature. A bit about data analysis too. Also collected usefull links for current cost info.]]></description>
			<content:encoded><![CDATA[<p>This is an email i sent to JT  so I apologise if it doesn&#8217;t make sense to y&#8217;all. Please ask questions if you don&#8217;t get me!</p>
<p>So we have this &#8216;Current Cost&#8217; meter thing (free from Southern Electric) at the house. It&#8217;s a small wireless electricity meter. Well it&#8217;s more of a monitor or display actually but you get me&#8230;.[insert pic].</p>
<p>Long story short, I&#8217;d noticed the RJ45 on the bottom and it&#8217;d got me wondering. A few google searches later and whammo i&#8217;d found what I needed. A bit of hardware, a bit of software (links on manyfacturers website!) and whammo&#8230;.</p>
<p>I wired up the current cost (enegry meter) at the house to my laptop and it&#8217;s uploading to this Pachube (bless you) website:<br />
<a href="http://www.pachube.com/feeds/2196" target="_blank">http://www.pachube.com/feeds/2196</a></p>
<p>The graph is a bit useless atm (no history or dates on it <img src='http://kirrus.co.uk/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  ) but the program here:<br />
<a href="http://apps.pachube.com/google_viz/" target="_blank">http://apps.pachube.com/google_viz/</a><br />
Could probs snazz it up a bit.<br />
There seems to be a binary pattern from some device that is turning on and off at regular intervals and using ~100w&#8230; i wonder if it&#8217;s the compressor on the fridge/freezer as it goes on thru the night lol.</p>
<p style="text-align: center;">
<div id="attachment_286" class="wp-caption aligncenter" style="width: 394px"></p>
<div class="mceTemp mceIEcenter">
<dl id="attachment_286" class="wp-caption aligncenter" style="width: 394px;">
<dt class="wp-caption-dt"><a href="http://kirrus.co.uk/wp-content/uploads/2009/07/watt-graph.png"><img class="size-medium wp-image-286" title="watt-graph" src="http://kirrus.co.uk/wp-content/uploads/2009/07/watt-graph-300x178.png" alt="Graph of peak watts and temperature from current cost and excel" width="384" height="227" /></a><p class="wp-caption-text">Graph of peak watts and temperature from current cost and excel</p></div>
</dt>
</dl>
</div>
<p>The long jittery spikes are the washing machine/dishwasher/tumble dryer (the last being the biggest draw lol).</p>
<p>One guy is even trying to record signatures for each appliance and then work out from the data which appliance is causing the spikes.<br />
<a href="http://chrishodgins.tumblr.com/post/33810511/via-chart-apis-google-com-so-its-the-bank" target="_blank">http://chrishodgins.tumblr.com/post/33810511/via-chart-apis-google-com-so-its-the-bank</a><br />
The idea behind this is if you can work that out, you can make a pie chart of the biggest consumers&#8230;</p>
<p>I have more results than are uploaded; i created a funky excel file which <em>Should</em> update from the mdb created from one of the apps i&#8217;m using but atm i think the file is locked or summat <img src='http://kirrus.co.uk/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> . Made a pretty graph to! Also predicting the future temperature based on a polynominal curve or something lol.</p>
<p>All gd fun. Now i jus want one of these tiny minuture computers:<br />
<a href="http://www.fit-pc.co.uk/fit-pc-slim.html" target="_blank">http://www.fit-pc.co.uk/fit-pc-slim.html</a><br />
or this awesome plug pc:<br />
<a href="http://www.pcpro.co.uk/news/258238/plug-sized-pcs-arrive-in-uk.html" target="_blank">http://www.pcpro.co.uk/news/258238/plug-sized-pcs-arrive-in-uk.html</a> (<strong>sweet)</strong> (<a href="http://www.youtube.com/watch?v=xClCWZ9Nv0A" target="_blank">Ubuntu on a plug</a> [ via Youtube])<br />
to record/upload the results, although it would make more sense to use the ipcop or home server since they are always on and the current cost device is wireless. (unfortunately our model does not have internal data logging <img src='http://kirrus.co.uk/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  ). Don&#8217;t know how to work out kwh from current usage of watts every 3 seconds&#8230; i might be able to put something from averages tho. Any suggestions  anyone? I might just be being dumb lol.</p>
<p>Now all we need is the x10 plug thru devices to monitor electricty usage (by appliance) and bobs your uncle &#8211; we know exactly where the electricity is going.</p>
<p>IMO  (as a soon to be Building services engineer in training) this technology should be wired into all new houses in the actuall plug sockets. Want to know which of your kids (or indeed partner) is using the most electricity? <img src='http://kirrus.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>The trickle usage these measuring devices could be designed to run on could easily be offset by a small(ish) solar pv installation too! (i&#8217;m talking around 10-30wh/day here <img src='http://kirrus.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ).</p>
<p>Oh and here&#8217;s how to connect the current cost to pachube:</p>
<p>http://community.pachube.com/?q=node/100</p>
<p>On the upside i&#8217;ve also unplugged the fancy pants MPPT  solar charge controller and hooked the install back up to the basic on/off controller, and now it&#8217;s definetly shifting amps! I was a bit worried that in full sun 53watts of panels was ONLY putting through 0.3-0.1a @11.7 (i know, discharged). Hmm gonna have to find out whats wrong with fancy pants, he wasn&#8217;t cheap! :&#8217;(</p>
]]></content:encoded>
			<wfw:commentRss>http://kirrus.co.uk/2009/07/current-cost-watt-hours-and-pachube/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Clever ways to destroy your (Linux) server or desktop</title>
		<link>http://kirrus.co.uk/2009/04/clever-ways-to-destroy-your-linux-server-or-desktop/</link>
		<comments>http://kirrus.co.uk/2009/04/clever-ways-to-destroy-your-linux-server-or-desktop/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 18:00:03 +0000</pubDate>
		<dc:creator>Kirrus</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu-UK Planet]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[oops]]></category>

		<guid isPermaLink="false">http://kirrus.co.uk/?p=237</guid>
		<description><![CDATA[Running these commands in a terminal, or via SSH: dpkg -L mysql-common &#124; xargs -0 rm -rf find / -mtime +60 -exec rm -rfv {} \; DON&#8217;T run these at home. Unless you want to find out what they do&#8230; What are your best ways of cleverly destroying your system?]]></description>
			<content:encoded><![CDATA[<p>Running these commands in a terminal, or via SSH:</p>
<pre>dpkg -L mysql-common | xargs -0 rm -rf
find / -mtime +60 -exec rm -rfv {} \;</pre>
<p>DON&#8217;T run these at home. Unless you want to find out what they do&#8230;</p>
<p>What are your best ways of cleverly destroying your system?</p>
]]></content:encoded>
			<wfw:commentRss>http://kirrus.co.uk/2009/04/clever-ways-to-destroy-your-linux-server-or-desktop/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Firefox won&#8217;t upgrade!</title>
		<link>http://kirrus.co.uk/2008/09/firefox-wont-upgrade/</link>
		<comments>http://kirrus.co.uk/2008/09/firefox-wont-upgrade/#comments</comments>
		<pubDate>Fri, 19 Sep 2008 17:15:39 +0000</pubDate>
		<dc:creator>Kirrus</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Remember This]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[ubuntuzilla]]></category>

		<guid isPermaLink="false">http://kirrus.co.uk/?p=44</guid>
		<description><![CDATA[Firstly, apologies about the lateness of writing a new post. I&#8217;ve been struggling with my server, trying to work out why apache2 is eating RAM. I&#8217;ve made a really nasty hack to sort it out for the moment though, which will give me more time to find out what is going wrong. One of my [...]]]></description>
			<content:encoded><![CDATA[<p>Firstly, apologies about the lateness of writing a new post. I&#8217;ve been struggling with my server, trying to work out why apache2 is eating RAM. I&#8217;ve made a really nasty hack to sort it out for the moment though, which will give me more time to find out what is going wrong.</p>
<p>One of my old friends from Church sent me an email, asking me what was wrong with his firefox. Every time he launched it, what appeared was firefox 2. Very strange, since the version of firefox he has installed is:</p>
<pre>3.0.1+build1+nobinonly-0ubuntu0.8.04.3 - meta package for the popular mozilla web browser</pre>
<p>Well,  that looks like the normal browser to me. At one point, he has had the &#8220;ubuntuzilla&#8221; browser installed for a little while. (But not anymore).</p>
<p>A couple of questions on the Ubuntu-uk mailing list didn&#8217;t turn up anything. So, I asked &#8220;how do you find what binary a command runs&#8221;? The answer came back from Matthew Wild (thanks!):</p>
<pre>ls -l $(which firefox)</pre>
<p>I cheated a little. I&#8217;ve not come across $(command), but I have come across `command`. So, I asked my friend to run &#8220;ls -l `which firefox`&#8221;. He replied with:</p>
<pre>lrwxrwxrwx 1 root root 20 2008-02-09 17:16 /usr/bin/firefox -&gt; /opt/firefox/firefox</pre>
<p>Er.. that looks wrong to me. The packaged firefox binary for version 3 is in /usr/bin/firefox-3.0. Looks like the uninstall of ubuntuzilla didn&#8217;t go so well. I asked him to run:</p>
<pre>"rm /usr/bin/firefox &amp;&amp; ln -s /usr/bin/firefox-3.0 /usr/bin/firefox"</pre>
<p>Which removed the old link, and added the correct one. (I should have asked him to run those commands through sudo thinking about it..)</p>
<p>That solved his issue and he&#8217;s now happily running firefox 3. Anyone have a better way to implement this fix, if we ever need it again?</p>
<p>Matthew kindly explained the difference between &#8220;$(command)&#8221; and &#8220;`command`&#8221; in earlier today. No difference <img src='http://kirrus.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>$(command) is easier to send to people so they don&#8217;t have to find the backtick key. (UK keyboards, above the tab key)</p>
]]></content:encoded>
			<wfw:commentRss>http://kirrus.co.uk/2008/09/firefox-wont-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
