<?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>Deaconsworld &#187; Linux</title>
	<atom:link href="http://www.deaconsworld.org.uk/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.deaconsworld.org.uk</link>
	<description>Welcome to my world</description>
	<lastBuildDate>Thu, 05 Feb 2009 09:41:48 +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>Building RPMs as a normal user</title>
		<link>http://www.deaconsworld.org.uk/2009/02/05/building-rpms-as-a-normal-user/</link>
		<comments>http://www.deaconsworld.org.uk/2009/02/05/building-rpms-as-a-normal-user/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 09:41:48 +0000</pubDate>
		<dc:creator>Adam Deacon</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.deaconsworld.org.uk/?p=112</guid>
		<description><![CDATA[We often told that building an RPM as root is a bad thing. While this is very true, how do you build it as a normal user?
The trick is to use rpmdev-setuptree. This will create a empty build tree in ~/rpmbuild as well as sort out you .rpmmacro file so rpmbuild knows to use it.
It&#8217;s ]]></description>
			<content:encoded><![CDATA[<p>We often told that building an RPM as root is a bad thing. While this is very true, how do you build it as a normal user?</p>
<p>The trick is to use rpmdev-setuptree. This will create a empty build tree in ~/rpmbuild as well as sort out you .rpmmacro file so rpmbuild knows to use it.</p>
<p>It&#8217;s really simple actually, so here goes.</p>
<ol>
<li>As root, install rpm-build, rpmdevtools and yum-utils.<br />
<code>yum -y install rpm-build rpmdevtools yum-utils</code></li>
<li>Now as a user, create a rpmbuild tree:<br />
<code>rpmdev-setuptree</code></li>
<li>Now as a user, download your RPM source:<br />
<code>yumdownloader -source sox</code></li>
<li>Again as a normal user, install the source rpm<br />
<code>rpm -ivh &lt;rpm&gt;.src.rpm</code></li>
<li>Go in to ~/rpmbuild and make whatever changes you need to. The Spec file will be in ~/rpmbuild/SPECS and the source will be gzipped in ~/rpmbuild/SOURCES</li>
<li>Now build it!<br />
<code>rpmbuild -ba ~/rpmbuild/SPECS/&lt;spec file&gt;</code></li>
<li>Assuming everything went OK, the RPMs will be in ~/rpmbuild/RPMS/, but you&#8217;ll need to install them as root.</li>
<li>If you find your rpmbuild is getting full of crap, you can either delete it and rebuild it, or a slightly more elegant way would be to use<br />
<code>rpmdev-wipetree</code></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.deaconsworld.org.uk/2009/02/05/building-rpms-as-a-normal-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yet another Fedora 10 cock-up</title>
		<link>http://www.deaconsworld.org.uk/2008/12/18/yet-another-fedora-10-cock-up/</link>
		<comments>http://www.deaconsworld.org.uk/2008/12/18/yet-another-fedora-10-cock-up/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 16:47:20 +0000</pubDate>
		<dc:creator>Adam Deacon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://www.deaconsworld.org.uk/?p=110</guid>
		<description><![CDATA[Oh poor Fedora, don&#8217;t worry we still love you, even if you do keep cocking up. It&#8217;s been a hard few months for my favourite distro. First we had the security problem with the gpg key for the updates, then we had the evil dbus update which broken F10, and now we&#8217;ve got the odd ]]></description>
			<content:encoded><![CDATA[<p>Oh poor Fedora, don&#8217;t worry we still love you, even if you do keep cocking up. It&#8217;s been a hard few months for my favourite distro. First we had the security problem with the gpg key for the updates, then we had the evil dbus update which broken F10, and now we&#8217;ve got the odd day-of-the-week bug for the UK.</p>
<p>The bug is simple, according to the gnome clock applet our week starts on a Tuesday. Opps, but that shouldn&#8217;t be too much of a problem to change. Digging around the net, I found some references to locale files in /usr/share/i18n/locales. Although they looked correct, I tried changing them anyway. To absolutly no effect. The answer? To recompile glibc-common! Oh for fucks sake, the bug for this has been opened since Novemeber, should I really have to recompile what is a massive RPM, just for this? Why aren&#8217;t these files read at login, or better still, why can&#8217;t I used system-config-date to change my preferences.</p>
<p>Anyway for those of you who are interested, you can track the bug on <a href="https://bugzilla.redhat.com/show_bug.cgi?id=473445" target="_blank">bugzilla</a> or <a href="http://www.sourceware.org/bugzilla/show_bug.cgi?id=7068" target="_blank">Sourceware</a>.</p>
<p>I&#8217;m also rebuilding the glibc-common RPM now, if it works, then I&#8217;ll post an updated version when it&#8217;s finished</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deaconsworld.org.uk/2008/12/18/yet-another-fedora-10-cock-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testing mail servers</title>
		<link>http://www.deaconsworld.org.uk/2008/11/07/testing-mail-servers/</link>
		<comments>http://www.deaconsworld.org.uk/2008/11/07/testing-mail-servers/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 11:27:15 +0000</pubDate>
		<dc:creator>Adam Deacon</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.deaconsworld.org.uk/?p=108</guid>
		<description><![CDATA[Back in the good ol&#8217; days of POP3 it was really easy to test a mail server manually you just simply telnet to port 110 issue some 3 command and done! Now that all ISPs support IMAP things are a little more complicated. Here&#8217;s my little guide to manually testing POP3, IMAP and SMTP

Testing POP3
POP3 ]]></description>
			<content:encoded><![CDATA[<p>Back in the good ol&#8217; days of POP3 it was really easy to test a mail server manually you just simply telnet to port 110 issue some 3 command and done! Now that all ISPs support IMAP things are a little more complicated. Here&#8217;s my little guide to manually testing POP3, IMAP and SMTP</p>
<p><span id="more-108"></span></p>
<h2><strong>Testing POP3</strong></h2>
<p>POP3 testing is really really simple, here&#8217;s an example (The command I entered are in bold):</p>
<pre><strong>[adam@desktop ~]$ telnet zippy.deaconsworld.org.uk 110</strong>
Trying 10.0.0.1...
Connected to zippy.deaconsworld.org.uk.
Escape character is '^]'.
+OK Dovecot ready.
<strong>user &lt;username&gt;</strong>
+OK
<strong>pass &lt;password&gt;</strong>
+OK Logged in.
<strong>list</strong>
+OK 185 messages:
1 34718
<em>&lt;snip&gt;</em>
185 20419
.
<strong>top 1 0</strong>
+OK
Return-path: &lt;someone@example.com&gt;
Envelope-to: &lt;someonelse@example.com&gt;
Delivery-date: Mon, 20 Oct 2008 15:02:43 +0100
Received: from outbound.mse17.exchange.ms ([64.71.238.253])
    by zippy.deaconsworld.org.uk with esmtps (TLSv1:RC4-MD5:128)
    (Exim 4.69)
    (envelope-from &lt;someone@example.com&gt;;)
    id 1KrvLE-0001Fq-PT
    for &lt;someonelse@example.com&gt;; Mon, 20 Oct 2008 15:02:43 +0100
<em>&lt;snip&gt;</em>
.
<strong>quit</strong>
+OK Logging out.
Connection closed by foreign host.</pre>
<hr />Here&#8217;s a list of some useful commands and their explanations:</p>
<ul>
<li><strong>user [username] </strong>- Sends the username for the connection</li>
<li><strong>pass [password]</strong> &#8211; Sends the password for the connection</li>
<li><strong>list</strong> &#8211; Displays a list of email ID and their sizes.</li>
<li><strong>top [id] [length]</strong> &#8211; Gets the &#8220;top&#8221; of an e-mail. The ID is from the list command (the first e-mail is always 1). top always gets the headers and then [length] lines e.g. top 1 0 will get just the headers of the first e-mail or top 2 10 will get the headers and the first 10 lines of e-mail 2.</li>
<li><strong>retr [id]</strong> &#8211; Gets the whole of e-mail.</li>
<li><strong>dele [id]</strong> &#8211; Deletes an e-mail</li>
<li><strong>quit</strong> &#8211; closes the connection</li>
</ul>
<h2>Testing IMAP</h2>
<p>IMAP is a little more complicated because of folders and because it&#8217;s asynchronous. After telnetting to port 143, here&#8217;s an example:</p>
<pre>[adam@desktop ~]$ <strong>telnet zippy.deaconsworld.org.uk 143</strong>
Trying 10.0.0.1...
Connected to zippy.deaconsworld.org.uk.
Escape character is '^]'.
* OK Dovecot ready.
<strong>1 login &lt;username&gt; &lt;password</strong>&gt;
1 OK Logged in.
<strong>2 select "INBOX"</strong>
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft unknown-1 unknown-0 Junk receipt-handled NonJunk $MDNSent)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft unknown-1 unknown-0 Junk receipt-handled NonJunk $MDNSent \*)] Flags permitted.
* 185 EXISTS
* 0 RECENT
* OK [UNSEEN 183] First unseen.
* OK [UIDVALIDITY 1220688986] UIDs valid
* OK [UIDNEXT 3859] Predicted next UID
2 OK [READ-WRITE] Select completed.
<strong>3 FETCH * ALL</strong>
* 185 FETCH (FLAGS () INTERNALDATE "07-Nov-2008 09:51:29 +0000"...
3 OK Fetch completed.
<strong>4 logout</strong>
* BYE Logging out
4 OK Logout completed.
Connection closed by foreign host.</pre>
<hr />Here you&#8217;ll notice the numbers at the start of each line. This technically should be a unique string for each command, the server will reply with the same number. In reality, you can use the same number for each line. As before here&#8217;s a list of useful commands you might need:</p>
<ul>
<li><strong>LOGIN &#8220;[username]&#8221; &#8220;[password]&#8220;</strong> &#8211; sends the username/password</li>
<li><strong>SELECT &#8220;[folder]&#8220;</strong> &#8211; Selects the folder to use. I always use INBOX as this should always exist</li>
<li><strong>FETCH * ALL</strong> &#8211; Gets all the heads for the first message</li>
<li><strong>LOGOUT</strong> &#8211; Closes the connection</li>
</ul>
<h2>Testing SMTP</h2>
<p>Just for completness here&#8217;s a test for SMTP. After telnetting to port 25, try the following:</p>
<pre>[adam@desktop ~]$ <strong>telnet zippy.deaconsworld.org.uk 25</strong>
Trying 10.0.0.1...
Connected to zippy.deaconsworld.org.uk.
Escape character is '^]'.
220 zippy.deaconsworld.org.uk ESMTP Exim 4.69 Fri, 07 Nov 2008 11:18:45 +0000
<strong>ehlo adam</strong>
250-zippy.deaconsworld.org.uk Hello adam [10.0.0.28]
250-SIZE 52428800
250-PIPELINING
250-AUTH LOGIN
250-STARTTLS
250 HELP
<strong>mail from: adam@deaconsworld.org.uk</strong>
250 OK
<strong>rcpt to: adam@deaconsworld.org.uk</strong>
250 Accepted
<strong>data</strong>
354 Enter message, ending with "." on a line by itself
<strong>Subject: test

test
.
</strong>250 OK id=1KyPMm-00078C-9u
<strong>quit</strong>
221 zippy.deaconsworld.org.uk closing connection
Connection closed by foreign host.</pre>
<hr />The above should send a test message, however it&#8217;s not exactly RFC2822 complient so don&#8217;t be surprised if spam filters drop it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deaconsworld.org.uk/2008/11/07/testing-mail-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting BIOS information</title>
		<link>http://www.deaconsworld.org.uk/2008/07/01/getting-bios-information/</link>
		<comments>http://www.deaconsworld.org.uk/2008/07/01/getting-bios-information/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 07:57:41 +0000</pubDate>
		<dc:creator>Adam Deacon</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.deaconsworld.org.uk/2008/07/01/getting-bios-information/</guid>
		<description><![CDATA[I recently needed to get a load of Dell service tags from some remote servers. Dell very nicely provide a ActiveX component for Windows but nothing for Linux. Fortunately we can use dmidecode. Run it as root and it will output loads of hardware info. If you looking for something specific, then you can run ]]></description>
			<content:encoded><![CDATA[<p>I recently needed to get a load of Dell service tags from some remote servers. Dell very nicely provide a ActiveX component for Windows but nothing for Linux. Fortunately we can use dmidecode. Run it as root and it will output loads of hardware info. If you looking for something specific, then you can run it with -s option and provide a keyword such as:</p>
<ul>
<li>bios-vendor</li>
<li>bios-version</li>
<li>bios-release-date</li>
<li>system-manufacturer</li>
<li>system-product-name</li>
<li>system-version</li>
<li>system-serial-number</li>
<li>system-uuid</li>
<li>baseboard-manufacturer</li>
<li>baseboard-product-name</li>
<li>baseboard-version</li>
<li>baseboard-serial-number</li>
<li>baseboard-asset-tag</li>
<li>chassis-manufacturer</li>
<li>chassis-type</li>
<li>chassis-version</li>
<li>chassis-serial-number</li>
<li>chassis-asset-tag</li>
<li>processor-family</li>
<li>processor-manufacturer</li>
<li>processor-version</li>
<li>processor-frequency</li>
</ul>
<p>Here&#8217;s the output of it:</p>
<p><code>[root@ajd-laptop ~]# dmidecode -s bios-vendor<br />
Dell Inc.<br />
[root@ajd-laptop ~]# dmidecode -s processor-manufacturer<br />
Intel<br />
[root@ajd-laptop ~]# dmidecode -s processor-frequency<br />
1600 MHz<br />
[root@ajd-laptop ~]# dmidecode -s chassis-type<br />
Portable</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.deaconsworld.org.uk/2008/07/01/getting-bios-information/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Brotherly Love</title>
		<link>http://www.deaconsworld.org.uk/2007/09/12/brotherly-love/</link>
		<comments>http://www.deaconsworld.org.uk/2007/09/12/brotherly-love/#comments</comments>
		<pubDate>Wed, 12 Sep 2007 07:31:15 +0000</pubDate>
		<dc:creator>Adam Deacon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://www.deaconsworld.org.uk/2007/09/12/brotherly-love/</guid>
		<description><![CDATA[As you probably guessed, I love Linux in all it&#8217;s distros. OK, maybe I have a small hatred for Ubuntu but that because of the fan boy users thinking they invented everything. Anyway, I also know that all Linux users harbour a dark secret. A secret we&#8217;ve tried to keep quite for many years. A ]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.deaconsworld.org.uk/wp-content/uploads/2007/09/mfc7820.png" alt="mfc7820.png" align="right" />As you probably guessed, I love Linux in all it&#8217;s distros. OK, maybe I have a small hatred for Ubuntu but that because of the fan boy users thinking they invented everything. Anyway, I also know that all Linux users harbour a dark secret. A secret we&#8217;ve tried to keep quite for many years. A secret that if we actually admitted all <a href="http://farm1.static.flickr.com/22/24415341_bd393a2c6c.jpg">Windows users</a> would laugh and kick sand in our faces. Well I&#8217;m not scared! The secret is&#8230;. Linux driver support isn&#8217;t as good as Windows. You know that new feedback steering wheel &#8211; probably won&#8217;t work. That sexy new Laptop card reader &#8211; Wouldn&#8217;t hold your breath.</p>
<p>We&#8217;ve just got a shiny new <a href="http://www.brother.co.uk/g3.cfm/s_page/50670/s_level/31190/s_product/MFC7820NU1" target="_blank">Brother MFC-7820N</a> printer/copier/fax/coffee maker in the office. Great, I thought, the printing will be fine as it&#8217;s postscript but I probably won&#8217;t be able to use the scanner or the fax  part over the network. I&#8217;m OK with that and I don&#8217;t want to make a fuss else the M$ boys might get wind of our dirty little secret.</p>
<p>So when it arrived, it was with some trepidation I poking around the Brother website and found a <a href="http://solutions.brother.com/linux/en_us/index.html">Linux</a> section. CUPS drivers, SANE drivers, LPR fax drivers. Wahoo! Even better when I went to install the printer in cups avahi had already spotted it and installed it. The SANE drivers are supplied as a couple of RPMs and a single line to activate then it works just like any other SANE driver. The fax part isn&#8217;t quite as polished, but still works. Absolutely amazing. I really am impressed with Brother. The whole &#8216;install&#8217; took around 30 seconds.</p>
<p>The best thing about all of this was that when we tried to install everything on Windows, it too about 30 minutes to install and then uses a nasty GUI and tray service.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deaconsworld.org.uk/2007/09/12/brotherly-love/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>nic.im change their whois search</title>
		<link>http://www.deaconsworld.org.uk/2007/06/01/nicim-change-their-whois-search/</link>
		<comments>http://www.deaconsworld.org.uk/2007/06/01/nicim-change-their-whois-search/#comments</comments>
		<pubDate>Fri, 01 Jun 2007 08:07:20 +0000</pubDate>
		<dc:creator>Adam Deacon</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.deaconsworld.org.uk/2007/06/01/nicim-change-their-whois-search/</guid>
		<description><![CDATA[Probably not the most exciting thing in the world, but I noticed today that nic.im (the Isle of Man registery) has changed the address of their whois looking. If you want to update your jwhois.conf file to use the new URL, replace the current nic.im section with the following:
"www\\.nic\\.im" {
http = "true";
http-method = "GET";
http-action = ]]></description>
			<content:encoded><![CDATA[<p>Probably not the most exciting thing in the world, but I noticed today that nic.im (the Isle of Man registery) has changed the address of their whois looking. If you want to update your jwhois.conf file to use the new URL, replace the current nic.im section with the following:<br />
<code>"www\\.nic\\.im" {<br />
http = "true";<br />
http-method = "GET";<br />
http-action = "/public/whois.mth";<br />
form-element = "domainname";<br />
}<br />
</code></p>
<p>As it&#8217;s a web lookup rather than a proper whois server, you will need either elinks or lynx installed. Also you&#8217;ll get some extra shit back (like headers and links), but hey you can&#8217;t have everything!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deaconsworld.org.uk/2007/06/01/nicim-change-their-whois-search/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lovely test data</title>
		<link>http://www.deaconsworld.org.uk/2007/04/17/lovely-test-data/</link>
		<comments>http://www.deaconsworld.org.uk/2007/04/17/lovely-test-data/#comments</comments>
		<pubDate>Tue, 17 Apr 2007 15:19:07 +0000</pubDate>
		<dc:creator>Adam Deacon</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.deaconsworld.org.uk/2007/04/17/lovley-test-data/</guid>
		<description><![CDATA[I&#8217;ve spent most of my weekend thinking up names. Am I having a baby? NO! Do I need a killa handle for my next l33t project? No. Am I thinking of running away and setting up a new life for my self living in a tree? Yes, but that not why.
The reason I&#8217;ve been thinking ]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.deaconsworld.org.uk/datagenerator/" target="_blank"><img src="http://www.deaconsworld.org.uk/datagenerator/images/title.jpg" align="left" height="36" width="283" /></a>I&#8217;ve spent most of my weekend thinking up names. Am I having a baby? NO! Do I need a killa handle for my next l33t project? No. Am I thinking of running away and setting up a new life for my self living in a tree? Yes, but that not why.</p>
<p>The reason I&#8217;ve been thinking up new names is I&#8217;ve been testing my latest, greatest app and needed to fill it with test data. I hate thinking of test names. Normally I end up with bob, bob1, bob2 or my favourite piece of test data &#8220;rich is gay&#8221;. That&#8217;s fine if you just want a few test name, but what if you want say 1000 or 2000 or 10,000. That were   <a href="http://www.benjaminkeen.com">Benjamin Keen</a>&#8216;s Data Generator comes in. It&#8217;s a little script that create random data perfect for shoehorning in to any app you want. It will even output CSV, MySQL, XML, Excel or HTML and best of all it&#8217;s GNU</p>
<p>I&#8217;ve put a copy at <a href="http://www.deaconsworld.org.uk/datagenerator/" target="_blank">http://www.deaconsworld.org.uk/datagenerator/</a> to try and save him some bandwidth.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deaconsworld.org.uk/2007/04/17/lovely-test-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extreme ASCII Art</title>
		<link>http://www.deaconsworld.org.uk/2007/04/13/extreme-ascii-art/</link>
		<comments>http://www.deaconsworld.org.uk/2007/04/13/extreme-ascii-art/#comments</comments>
		<pubDate>Fri, 13 Apr 2007 19:32:14 +0000</pubDate>
		<dc:creator>Adam Deacon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[mplayer]]></category>

		<guid isPermaLink="false">http://www.deaconsworld.org.uk/2007/04/13/extreme-ascii-art/</guid>
		<description><![CDATA[Whilst procrastinating over yet another dead line, I thought I&#8217;d have a play with libcaca, the completely useless yet completely brilliant Colour AsCii Art library. libcaca is a graphics library that output text rather than images. The genius part of it is that you can use it as a video output in mplayer and display ]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.deaconsworld.org.uk/wp-content/uploads/2007/04/libcaca.png" title="Libcaca"><img src="http://www.deaconsworld.org.uk/wp-content/uploads/2007/04/libcaca.thumbnail.png" title="Libcaca" alt="Libcaca" align="right" /></a>Whilst procrastinating over yet another dead line, I thought I&#8217;d have a play with <a href="http://libcaca.zoy.org/" target="_blank">libcaca</a>, the completely useless yet completely brilliant Colour AsCii Art library. libcaca is a graphics library that output text rather than images. The genius part of it is that you can use it as a video output in mplayer and display all your wonderful HD videos as text!</p>
<p>I always love stuff like this. You can see how much work as gone even though it&#8217;s a complete waste of time. It&#8217;s a similar idea to <a href="http://www.netqos.com/network%2Dmonitoring/network-monitoring-labs.html">NetQoS</a>&#8216; Network management display which again is great but completely useless. Check that out here <a href="http://www.techcrunch.com/2007/04/10/watch-your-network-play-space-invaders/" target="_blank">http://www.techcrunch.com/2007/04/10/watch-your-network-play-space-invaders/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.deaconsworld.org.uk/2007/04/13/extreme-ascii-art/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>whois who?</title>
		<link>http://www.deaconsworld.org.uk/2007/03/08/whois-who/</link>
		<comments>http://www.deaconsworld.org.uk/2007/03/08/whois-who/#comments</comments>
		<pubDate>Thu, 08 Mar 2007 13:05:27 +0000</pubDate>
		<dc:creator>Adam Deacon</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.deaconsworld.org.uk/2007/03/08/whois-who/</guid>
		<description><![CDATA[Anyone noticed that Verisign have changed their whois server recently (or not so recently)? It&#8217;s been bugging me for a while cos when I&#8217;m doing whois lookup, all I get is the abbreviated info form like this:
[adam@dyn89 ~]$ whois -n microsoft.com
[Querying whois.verisign-grs.com]
[whois.verisign-grs.com]
Whois Server Version 2.0
Domain names in the .com and .net domains can now be ]]></description>
			<content:encoded><![CDATA[<p>Anyone noticed that Verisign have changed their whois server recently (or not so recently)? It&#8217;s been bugging me for a while cos when I&#8217;m doing whois lookup, all I get is the abbreviated info form like this:</p>
<p><code>[adam@dyn89 ~]$ whois -n microsoft.com<br />
[Querying whois.verisign-grs.com]<br />
[whois.verisign-grs.com]</code></p>
<p><code>Whois Server Version 2.0</code></p>
<p><code>Domain names in the .com and .net domains can now be registered<br />
with many different competing registrars. Go to http://www.internic.net<br />
for detailed information.</code></p>
<p><code>Domain Name: MICROSOFT.COM<br />
Registrar: TUCOWS INC.<br />
Whois Server: whois.opensrs.net<br />
Referral URL: http://domainhelp.tucows.com<br />
Name Server: NS1.MSFT.NET<br />
Name Server: NS2.MSFT.NET<br />
Name Server: NS3.MSFT.NET<br />
Name Server: NS4.MSFT.NET<br />
Name Server: NS5.MSFT.NET<br />
Status: clientDeleteProhibited<br />
Status: clientTransferProhibited<br />
Status: clientUpdateProhibited<br />
Updated Date: 10-oct-2006<br />
Creation Date: 02-may-1991<br />
Expiration Date: 03-may-2014<br />
</code></p>
<p>Well I finally updated my jwhois.conf to include the following lines in the server-options section</p>
<p><code> "whois\\.verisign-grs\\.com" {<br />
whois-redirect = ".*Whois Server: \\(.*\\)";<br />
}<br />
</code>Wahoo! now I get useful whois data:</p>
<p><code>[adam@dyn89 ~]$ whois microsoft.com<br />
[Querying whois.verisign-grs.com]<br />
[Redirected to whois.opensrs.net]<br />
[Querying whois.opensrs.net]<br />
[whois.opensrs.net]</code></p>
<p><code>Registrant:<br />
Microsoft Corporation<br />
One Microsoft Way<br />
Redmond, WA 98052<br />
US</code></p>
<p><code>Domain name: MICROSOFT.COM</code></p>
<p><code>Administrative Contact:<br />
Administrator, Domain  domains@microsoft.com<br />
One Microsoft Way<br />
Redmond, WA 98052<br />
US<br />
+1.4258828080<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.deaconsworld.org.uk/2007/03/08/whois-who/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recording RealAudio streams and converting them to MP3</title>
		<link>http://www.deaconsworld.org.uk/2007/02/01/recording-realaudio-streams-and-converting-them-to-mp3/</link>
		<comments>http://www.deaconsworld.org.uk/2007/02/01/recording-realaudio-streams-and-converting-them-to-mp3/#comments</comments>
		<pubDate>Thu, 01 Feb 2007 14:09:21 +0000</pubDate>
		<dc:creator>Adam Deacon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[mplayer]]></category>

		<guid isPermaLink="false">http://www.deaconsworld.org.uk/2007/02/01/recording-realaudio-streams-and-converting-them-to-mp3/</guid>
		<description><![CDATA[A friend of mine recently had his 5 minutes of fame of Five Live and asked me to if I could covert the &#8220;Listen again&#8221; to an mp3 so it could be saved for the good of Humanity. Here how I did it:

Finding the name of the stream can sometime be a bit tricky. If ]]></description>
			<content:encoded><![CDATA[<p>A friend of mine recently had his 5 minutes of fame of <a target="_blank" href="http://www.bbc.co.uk/fivelive">Five Live</a> and asked me to if I could covert the &#8220;Listen again&#8221; to an mp3 so it could be saved for the good of Humanity. Here how I did it:</p>
<ol>
<li>Finding the name of the stream can sometime be a bit tricky. If you can get it to play in the stand alone RealPlayer then you can just click on File->Clip properties->Clip source. This will then bizzarely open a webpage. You looking for an address like <a href="http://www.deaconsworld.org.uk/#">rtsp://rmv8.bbc.net.uk/radio5/anita_mon.ra</a>. If you can&#8217;t open it then it&#8217;s a case of looking though the source of the page.</li>
<li>Now you&#8217;ve got the address, run the following command:<code>mplayer -noframedrop -dumpfile file.rm -dumpstream rtsp://rmv8.bbc.net.uk/radio5/anita_mon.ra</code><br />
This will save the clip as file.rm. Watch out though, this is recorded in real time. So a 3 hour radio show will take&#8230; 3 Hours!</li>
<li>Next you need to covert the realmedia file to wav, again mplayer is your friend <code>mplayer file.rm -ao pcm:file=file.wav -vc dummy -vo null</code></li>
<li>Last stage is to convert from wav to mp3 using lame. I like to hedge my bets and encode it as VBR<code>lame -V file.mp3 file.wav --tt "Title" --ta "author"</code></li>
</ol>
<p>You should have have a shiny MP3 file for your troubles.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deaconsworld.org.uk/2007/02/01/recording-realaudio-streams-and-converting-them-to-mp3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>More VMWare problems in Fedora</title>
		<link>http://www.deaconsworld.org.uk/2007/01/22/more-vmware-problems-in-fedora/</link>
		<comments>http://www.deaconsworld.org.uk/2007/01/22/more-vmware-problems-in-fedora/#comments</comments>
		<pubDate>Mon, 22 Jan 2007 13:13:51 +0000</pubDate>
		<dc:creator>Adam Deacon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.deaconsworld.org.uk/2007/01/22/more-vmware-problems-in-fedora/</guid>
		<description><![CDATA[Oh another Kernel update another VMWare problem, great. When you upgrade to 2.6.19, you get the following error
/tmp/vmware-config2/vmnet-only/userif.c: In function ‘VNetCopyDatagramToUser’:
/tmp/vmware-config2/vmnet-only/userif.c:629: error: ‘CHECKSUM_HW’ undeclared (first use in this function)
/tmp/vmware-config2/vmnet-only/userif.c:629: error: (Each undeclared identifier is reported only once
/tmp/vmware-config2/vmnet-only/userif.c:629: error: for each function it appears in.)
make[2]: *** [/tmp/vmware-config2/vmnet-only/userif.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmnet-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.19-1.2895.fc6-i686'
make: ]]></description>
			<content:encoded><![CDATA[<p>Oh another Kernel update another VMWare problem, great. When you upgrade to 2.6.19, you get the following error<br />
<code>/tmp/vmware-config2/vmnet-only/userif.c: In function ‘VNetCopyDatagramToUser’:<br />
/tmp/vmware-config2/vmnet-only/userif.c:629: error: ‘CHECKSUM_HW’ undeclared (first use in this function)<br />
/tmp/vmware-config2/vmnet-only/userif.c:629: error: (Each undeclared identifier is reported only once<br />
/tmp/vmware-config2/vmnet-only/userif.c:629: error: for each function it appears in.)<br />
make[2]: *** [/tmp/vmware-config2/vmnet-only/userif.o] Error 1<br />
make[1]: *** [_module_/tmp/vmware-config2/vmnet-only] Error 2<br />
make[1]: Leaving directory `/usr/src/kernels/2.6.19-1.2895.fc6-i686'<br />
make: *** [vmnet.ko] Error 2<br />
make: Leaving directory `/tmp/vmware-config2/vmnet-only'<br />
Unable to build the vmnet module.<br />
</code>After a bit of hunting on <a href="http://lwn.net/Articles/200304/">LWN</a>, I found that CHECKSUM_HW has been remove from 2.6.19 and replaced with CHECKSUM_PARTIAL. Fortunately, Robin Kearney at <a target="_blank" href="http://usefulthings.org.uk">usefulthings.org.uk</a> has provided a patch.</p>
<p>It&#8217;s a little more complicated than the usual fixes, at the patched files are within a tarball, but you should be able to cut and paste from below.</p>
<p>As root:</p>
<p><code> cd /tmp<br />
wget http://usefulthings.org.uk/wp-content/uploads/vmnet-only-2.6.19.patch<br />
cd /usr/lib/vmware/modules/source/<br />
cp vmnet.tar vmnet.tar.orig<br />
tar xf vmnet.tar<br />
patch -p0 < /tmp/vmnet-only-2.6.19.patch<br />
tar cf vmnet.tar vmnet-only<br />
vmware-config.pl -d<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.deaconsworld.org.uk/2007/01/22/more-vmware-problems-in-fedora/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash player finally out of beta!</title>
		<link>http://www.deaconsworld.org.uk/2007/01/17/flash-player-finally-out-of-beta/</link>
		<comments>http://www.deaconsworld.org.uk/2007/01/17/flash-player-finally-out-of-beta/#comments</comments>
		<pubDate>Wed, 17 Jan 2007 12:40:54 +0000</pubDate>
		<dc:creator>Adam Deacon</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.deaconsworld.org.uk/2007/01/17/flash-player-finally-out-of-beta/</guid>
		<description><![CDATA[Wahoo! Flash player 9 for Linux is finally out of beta.
There&#8217;s even a nice RPM version. So ignore my previous instructions and go install now!
]]></description>
			<content:encoded><![CDATA[<p><img align="left" title="Flash player" id="image73" alt="Flash player" src="http://www.deaconsworld.org.uk/wp-content/uploads/2007/01/rune_flash.gif" />Wahoo! <a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Flash player 9</a> for Linux is finally out of beta.</p>
<p>There&#8217;s even a nice RPM version. So ignore my previous <a href="http://www.deaconsworld.org.uk/2006/11/24/flash-player-9-for-linux/">instructions</a> and go install now!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deaconsworld.org.uk/2007/01/17/flash-player-finally-out-of-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Switching off the internal speaker in FC6</title>
		<link>http://www.deaconsworld.org.uk/2007/01/05/switching-off-the-internal-speaker-in-fc6/</link>
		<comments>http://www.deaconsworld.org.uk/2007/01/05/switching-off-the-internal-speaker-in-fc6/#comments</comments>
		<pubDate>Fri, 05 Jan 2007 07:44:29 +0000</pubDate>
		<dc:creator>Adam Deacon</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.deaconsworld.org.uk/2007/01/05/switching-off-the-internal-speaker-in-fc6/</guid>
		<description><![CDATA[Fedora Core 6 enables the internal crappy speaker by default. I don&#8217;t like this, it makes my sexy machine sound old and cheap. To disable it run the following as root:
modprobe -r pcspkr ; echo "install pcspkr :" >>/etc/modprobe.conf
]]></description>
			<content:encoded><![CDATA[<p>Fedora Core 6 enables the internal crappy speaker by default. I don&#8217;t like this, it makes my sexy machine sound old and cheap. To disable it run the following as root:</p>
<p><code>modprobe -r pcspkr ; echo "install pcspkr :" >>/etc/modprobe.conf</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.deaconsworld.org.uk/2007/01/05/switching-off-the-internal-speaker-in-fc6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FC6 choses i585 rather than i686</title>
		<link>http://www.deaconsworld.org.uk/2007/01/05/fc6-choses-i585-rather-than-i686/</link>
		<comments>http://www.deaconsworld.org.uk/2007/01/05/fc6-choses-i585-rather-than-i686/#comments</comments>
		<pubDate>Fri, 05 Jan 2007 07:42:06 +0000</pubDate>
		<dc:creator>Adam Deacon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.deaconsworld.org.uk/2007/01/05/fc6-choses-i585-rather-than-i686/</guid>
		<description><![CDATA[You might remember I had a bit of a nightmare getting vmware to work on a dual core Intel. In the end it turned out that Fedora had chosen the wrong kernel arch (i586 rather than i686). This morning I was having a poke around the FC6 Common bug list (http://fedoraproject.org/wiki/Bugs/FC6Common) and found the problem. ]]></description>
			<content:encoded><![CDATA[<p>You might remember I had a bit of a nightmare getting <a href="/2006/11/13/vmware-on-fedora-6/">vmware</a> to work on a dual core Intel. In the end it turned out that Fedora had chosen the wrong kernel arch (i586 rather than i686). This morning I was having a poke around the FC6 Common bug list (<a target="_blank" href="http://fedoraproject.org/wiki/Bugs/FC6Common">http://fedoraproject.org/wiki/Bugs/FC6Common</a>) and found the problem. Apparently it&#8217;s bug in Anaconda, the Fedora installer. Here&#8217;s what they say:</p>
<p>Anaconda installing the wrong architecture kernel in some systems. cpuspeed is not working for the same reason.  This does not affect out of box functionality much but if you are compiling third party kernel drivers you might run into this on x86 architecture. x86_64 and PPC systems are not affected.  <a href="https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=211941">https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=211941</a>. You can bypass this bug in a new installation by specifying &#8220;linux i686&#8243; in the installation boot prompt.</p>
<p>An updates.img is available for this issue <a href="http://people.redhat.com/pnasrat/211941-updates.img">http://people.redhat.com/pnasrat/211941-updates.img</a>.  Please follow the instructions here: <a href="http://fedoraproject.org/wiki/Anaconda/Updates">Anaconda/Updates</a>.</p>
<p>To check which kernel package architectures are currently installed:</p>
<p><code>    rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n"|grep kernel|sort</code>If the installed kernel architecture is i586, but your machine is i686 capable (Pentium II or K6II or higher), use the following simple workaround:</p>
<ol>
<li>Install <strong>yumdownloader</strong>. <strong>yumdownloader</strong> is part of <strong>yum-utils</strong> in Fedora Extras. You can also manually download the kernel.<code>su -c "yum install yum-utils"</code></li>
<li>Get the current i686 kernel:<code>yumdownloader kernel.i686</code></li>
<li>If the version of the kernel downloaded is <strong>larger</strong> than currently installed:<code>su -c "rpm -ivh kernel-2*.i686.rpm"</code></li>
<ul>
<li>Alternatively, if the version of the kernel downloaded is the <strong>same</strong> as  that currently installed:<code>su -c "rpm -ivh --replacefiles --replacepkgs kernel-2*.i686.rpm"</code></li>
</ul>
<li>Restart the machine.<code>reboot</code></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.deaconsworld.org.uk/2007/01/05/fc6-choses-i585-rather-than-i686/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating shadows with Imagemagick</title>
		<link>http://www.deaconsworld.org.uk/2006/12/21/creating-shadows-with-imagemagick/</link>
		<comments>http://www.deaconsworld.org.uk/2006/12/21/creating-shadows-with-imagemagick/#comments</comments>
		<pubDate>Thu, 21 Dec 2006 22:09:57 +0000</pubDate>
		<dc:creator>Adam Deacon</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.deaconsworld.org.uk/2006/12/21/creating-shadows-with-imagemagick/</guid>
		<description><![CDATA[I needed to create drop shadows on around 200 images. I didn&#8217;t really like the idea of doing it with Gimp as that would have taken hours! It is really simple to do it using Imagemagick
convert
 \( +clone  -background black -shadow 80x3+5+5 \) +swap -background white   -mosaic 
I needed to convert a ]]></description>
			<content:encoded><![CDATA[<p>I needed to create drop shadows on around 200 images. I didn&#8217;t really like the idea of doing it with Gimp as that would have taken hours! It is really simple to do it using Imagemagick</p>
<p><code>convert<br />
<input.jpg> \( +clone  -background black -shadow 80x3+5+5 \) +swap -background white   -mosaic <output.jpg></code></p>
<p>I needed to convert a whole directory, so it&#8217;s just a simple case of wrapping it around a loop</p>
<p><code> for a in *.jpg<br />
do<br />
echo $a<br />
convert "$a" \( +clone  -background black -shadow 80x3+5+5 \) +swap -background white   -mosaic   "shadows/$a"<br />
done<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.deaconsworld.org.uk/2006/12/21/creating-shadows-with-imagemagick/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash player 9 for linux</title>
		<link>http://www.deaconsworld.org.uk/2006/11/24/flash-player-9-for-linux/</link>
		<comments>http://www.deaconsworld.org.uk/2006/11/24/flash-player-9-for-linux/#comments</comments>
		<pubDate>Fri, 24 Nov 2006 18:52:34 +0000</pubDate>
		<dc:creator>Adam Deacon</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.deaconsworld.org.uk/2006/11/24/flash-player-9-for-linux/</guid>
		<description><![CDATA[UPDATE &#8211; Adobe have finally released Flash player 9 for Linux. Read more
If you&#8217;re still struggling on with Flash player 7 for Linux, you might like to know that Adobe have released Player 9 for Linux. It&#8217;s still in beta, but I&#8217;ve been using it for a while and haven&#8217;t had any problem. The installer&#8217;s ]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE</strong> &#8211; Adobe have finally released Flash player 9 for Linux. <a href="http://www.deaconsworld.org.uk/2007/01/17/flash-player-finally-out-of-beta/">Read more</a></p>
<p>If you&#8217;re still struggling on with Flash player 7 for Linux, you might like to know that Adobe have released Player 9 for Linux. It&#8217;s still in beta, but I&#8217;ve been using it for a while and haven&#8217;t had any problem. The installer&#8217;s isn&#8217;t as clean as an rpm, but give it a try!</p>
<p>Installation:</p>
<p><code>cd ~<br />
wget http://www.adobe.com/go/fp9_update_b2_installer_linuxplugin<br />
tar xvfz  FP9_plugin_beta*.tar.gz<br />
cd flash-player-plugin*<br />
su - (or sudo -s)<br />
cp libflashplayer.so /usr/lib/mozilla/plugins/</code></p>
<p>Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deaconsworld.org.uk/2006/11/24/flash-player-9-for-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet Explorer on Linux</title>
		<link>http://www.deaconsworld.org.uk/2006/11/19/internet-explorer-on-linux/</link>
		<comments>http://www.deaconsworld.org.uk/2006/11/19/internet-explorer-on-linux/#comments</comments>
		<pubDate>Sun, 19 Nov 2006 20:17:07 +0000</pubDate>
		<dc:creator>Adam Deacon</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.deaconsworld.org.uk/2006/11/19/internet-explorer-on-linux/</guid>
		<description><![CDATA[
If you want to run IE on linux, take a look at IEs4Linux. It&#8217;s very easy to install, just type the following as a normal user:
wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz
tar zxvf ies4linux-latest.tar.gz
cd ies4linux-*
./ies4linux

]]></description>
			<content:encoded><![CDATA[<p><a title="ieonlinux.png" class="imagelink" href="http://www.deaconsworld.org.uk/wp-content/uploads/2006/11/ieonlinux.png"><img alt="ieonlinux.png" id="image36" src="http://www.deaconsworld.org.uk/wp-content/uploads/2006/11/ieonlinuxthumbnail-shadow.thumbnail.jpg" /></a></p>
<p>If you want to run IE on linux, take a look at <a target="_blank" href="http://www.tatanka.com.br/ies4linux/page/Main_Page">IEs4Linux</a>. It&#8217;s very easy to install, just type the following as a <strong>normal user</strong>:</p>
<p><code>wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz<br />
tar zxvf ies4linux-latest.tar.gz<br />
cd ies4linux-*<br />
./ies4linux<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.deaconsworld.org.uk/2006/11/19/internet-explorer-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora looking damn healthy</title>
		<link>http://www.deaconsworld.org.uk/2006/11/17/fedora-looking-damn-healthy/</link>
		<comments>http://www.deaconsworld.org.uk/2006/11/17/fedora-looking-damn-healthy/#comments</comments>
		<pubDate>Fri, 17 Nov 2006 08:51:29 +0000</pubDate>
		<dc:creator>Adam Deacon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://www.deaconsworld.org.uk/2006/11/17/fedora-looking-damn-healthy/</guid>
		<description><![CDATA[Max Spevack (Fedora Project Leader) yesterday announced some interesting stats about FC6.  According to Max, since its release about 3 weeks ago, 300,000 unique IP addresses have checked for any updates to FC6. Wow! That&#8217;s at least 12,500 new installs per day!! Kinda pisses on DistroWatch&#8217;s stats! Oh and on a personal note&#8230; Take ]]></description>
			<content:encoded><![CDATA[<p><img align="left" id="image29" alt="Fedora" src="http://www.deaconsworld.org.uk/wp-content/uploads/2006/11/fedoralogo-224x80.thumbnail.jpg" /><a target="_blank" href="http://fedoraproject.org/wiki/MaxSpevack">Max Spevack</a> (Fedora Project Leader) yesterday announced some interesting stats about FC6.  According to Max, since its release about 3 weeks ago, 300,000 unique IP addresses have checked for any updates to FC6. Wow! That&#8217;s at least 12,500 new installs per day!! Kinda pisses on <a href="http://www.distrowatch.com">DistroWatch&#8217;s</a> stats! Oh and on a personal note&#8230; Take that Ubuntu boys!</p>
<p>Detailed stats are at: <a href="http://fedoraproject.org/wiki/ZodStats">http://fedoraproject.org/wiki/ZodStats</a> and you can read the whole release on <a href="https://www.redhat.com/archives/fedora-announce-list/2006-November/msg00002.html">fedora-announce-list</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deaconsworld.org.uk/2006/11/17/fedora-looking-damn-healthy/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Yum&#8217;s eating my diskspace!</title>
		<link>http://www.deaconsworld.org.uk/2006/11/16/yums-eating-my-diskspace/</link>
		<comments>http://www.deaconsworld.org.uk/2006/11/16/yums-eating-my-diskspace/#comments</comments>
		<pubDate>Thu, 16 Nov 2006 17:28:52 +0000</pubDate>
		<dc:creator>Adam Deacon</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.deaconsworld.org.uk/2006/11/16/yums-eating-my-diskspace/</guid>
		<description><![CDATA[Take a look at this!
[root@dyn89 yum]# pwd
/var/cache/yum
[root@dyn89 yum]# du -sh *
1.8M    atrpms
6.1M    core
5.3M    development
11M     extras
36K     flash
84K     jpackage-fedora
2.2M    jpackage-generic
192K    jpackage-generic-nonfree
848K    livna
2.8M    updates
176K  ]]></description>
			<content:encoded><![CDATA[<p>Take a look at this!</p>
<p><code>[root@dyn89 yum]# pwd<br />
/var/cache/yum<br />
[root@dyn89 yum]# du -sh *<br />
1.8M    atrpms<br />
6.1M    core<br />
5.3M    development<br />
11M     extras<br />
36K     flash<br />
84K     jpackage-fedora<br />
2.2M    jpackage-generic<br />
192K    jpackage-generic-nonfree<br />
848K    livna<br />
2.8M    updates<br />
176K    updates-source</code>That&#8217;s 30Mb of crappy yum cache</p>
<p>Now take a look at this:</p>
<p><code>[root@dyn89 cache]# yum clean all<br />
Loading "installonlyn" plugin<br />
Cleaning up Everything<br />
[root@dyn89 cache]# du -sh * 1.8M    atrpms<br />
12K     core<br />
5.3M    development<br />
12K     extras<br />
12K     flash<br />
84K     jpackage-fedora<br />
2.2M    jpackage-generic<br />
192K    jpackage-generic-nonfree<br />
12K     livna<br />
12K     updates<br />
176K    updates-source</code>9.6M much healthier</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deaconsworld.org.uk/2006/11/16/yums-eating-my-diskspace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rebuilding your RPM database</title>
		<link>http://www.deaconsworld.org.uk/2006/11/16/rebuilding-your-rpm-database/</link>
		<comments>http://www.deaconsworld.org.uk/2006/11/16/rebuilding-your-rpm-database/#comments</comments>
		<pubDate>Thu, 16 Nov 2006 17:23:26 +0000</pubDate>
		<dc:creator>Adam Deacon</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.deaconsworld.org.uk/2006/11/16/rebuilding-your-rpm-database/</guid>
		<description><![CDATA[It nice to see something are just buried and not forgotten, Like corrupt RPM databases. A few years ago this was a common problem (common to me anyway!). The problem occurs either when two rpm process try and write to the rpm database in /var/lib/rpm or an impatient  operator (like me) hits ctrl-c too ]]></description>
			<content:encoded><![CDATA[<p>It nice to see something are just buried and not forgotten, Like corrupt RPM databases. A few years ago this was a common problem (common to me anyway!). The problem occurs either when two rpm process try and write to the rpm database in /var/lib/rpm or an impatient  operator (like me) hits ctrl-c too many times.</p>
<p>When this happens, you rpm process (e.g. the rpm command or yum) would just hang. So why am I talking about this if the problem was fixed ages ago? Well it seem with the new funky yum-updatesd that&#8217;s included with FC6 is causing some problems.<br />
You can see if your effected but running this command:</p>
<p><code>rpm -qa</code></p>
<p>If you get no output then you&#8217;ve screwed your databases. Here&#8217;s how to fix it.</p>
<ol>
<li>Firstly su or sudo in to root<br />
<code>su -</code></li>
<li>Clear your rpm caches<br />
<code>rm -v /var/lib/rpm/__*</code></li>
<li>Now run the rebuild command<br />
<code>rpm -vv --rebuilddb</code></li>
</ol>
<p>You now gets some lovely healthy output showing you everything ok. It should look something like this:</p>
<p><code> D: adding 11 entries to Filemd5s index.<br />
D:  read h#     770 Header V3 DSA signature: OK, key ID 4f2a6fd2<br />
D:   +++ h#    1084 Header V3 DSA signature: OK, key ID 4f2a6fd2<br />
D: adding "gimp-print-utils" to Name index.<br />
D: adding 2 entries to Basenames index.<br />
D: adding "Applications/Publishing" to Group index.<br />
D: adding 12 entries to Requirename index.<br />
D: adding "gimp-print-utils" to Providename index.<br />
D: adding 2 entries to Dirnames index.<br />
D: adding 12 entries to Requireversion index.<br />
D: adding "4.2.7-22" to Provideversion index.<br />
D: adding 1 entries to Installtid index.<br />
D: adding 1 entries to Sigmd5 index.<br />
D: adding "0beb1e4759ef5a92206941d9f0c9a52e0d546a2c" to Sha1header index.</code></p>
<p>You should now be able to install or upgrade using yum.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deaconsworld.org.uk/2006/11/16/rebuilding-your-rpm-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware on Fedora 6</title>
		<link>http://www.deaconsworld.org.uk/2006/11/13/vmware-on-fedora-6/</link>
		<comments>http://www.deaconsworld.org.uk/2006/11/13/vmware-on-fedora-6/#comments</comments>
		<pubDate>Mon, 13 Nov 2006 12:38:56 +0000</pubDate>
		<dc:creator>Adam Deacon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.deaconsworld.org.uk/2006/11/13/vmware-on-fedora-6/</guid>
		<description><![CDATA[I&#8217;ve used VMware on Fedora since it because free. It&#8217;s great, No more rebooting to switch between Windows and Linux to use one application that just won&#8217;t work with WINE. Since upgrading to FC6, I have a problem running vmware-config.pl. Each time I ran it, I&#8217;d get error about config.h not being found. The simple ]]></description>
			<content:encoded><![CDATA[<p><img align="left" id="image25" alt="vmware.gif" title="vmware.gif" src="http://www.deaconsworld.org.uk/wp-content/uploads/2006/11/vmware.thumbnail.gif" />I&#8217;ve used <a target="_blank" title="VMware" href="http://www.vmware.com">VMware</a> on Fedora since it because free. It&#8217;s great, No more rebooting to switch between Windows and Linux to use one application that just won&#8217;t work with <a target="_blank" href="http://www.winehq.com/">WINE</a>. Since upgrading to FC6, I have a problem running <code>vmware-config.pl</code>. Each time I ran it, I&#8217;d get error about config.h not being found. The simple (dirty) way to fix this is to do this:</p>
<p><code>touch  /usr/src/kernels/`uname -r`-`uname -m`/include/linux/config.h</code></p>
<p>You should now be able to re-run <code>vmware-config.pl</code> without a problem.</p>
<p>Remember that you&#8217;ll need to do this each time you update the kernel.</p>
<p><em><strong>Update</strong></em> I had a nightmare of a time getting this to work on a dual core Intel. It seems the Duos use i586 rather than i686. To fix you need to install the correct kernel devel version <code>wget ftp://ftp.mirror.ac.uk/sites/fedora.redhat.com/updates/6/i386/kernel-devel-`uname -r`.i586.rpm<br />
rpm -Uvh kernel-devel*.rpm</code> then link to the correct linux.h<code>touch /usr/src/kernels/`uname -r`-i586/include/linux/config.h</code></p>
<p><em><strong>Update 2</strong></em> I think I&#8217;ve found the cause of the above weirdness. <a href="http://www.deaconsworld.org.uk/2007/01/05/fc6-choses-i585-rather-than-i686/trackback/">Read More</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.deaconsworld.org.uk/2006/11/13/vmware-on-fedora-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox 2 on Fedora Core 6</title>
		<link>http://www.deaconsworld.org.uk/2006/11/13/firefox-2-on-fedora-core-6/</link>
		<comments>http://www.deaconsworld.org.uk/2006/11/13/firefox-2-on-fedora-core-6/#comments</comments>
		<pubDate>Mon, 13 Nov 2006 11:41:49 +0000</pubDate>
		<dc:creator>Adam Deacon</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.deaconsworld.org.uk/2006/11/13/firefox-2-on-fedora-core-6/</guid>
		<description><![CDATA[Just a quicky for anyone that was a bit pissed that FC6 didn&#8217;t include Firefox 2:
yum --enablerepo=development install firefox
Have fun!
]]></description>
			<content:encoded><![CDATA[<p>Just a quicky for anyone that was a bit pissed that FC6 didn&#8217;t include Firefox 2:</p>
<p><code>yum --enablerepo=development install firefox</code></p>
<p>Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deaconsworld.org.uk/2006/11/13/firefox-2-on-fedora-core-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
