<?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/"
	>

<channel>
	<title>thouret.co.uk</title>
	<atom:link href="http://www.thouret.co.uk/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thouret.co.uk/blog</link>
	<description>The personal blog of Guy Thouret, self professed techno geek and mediocre music collector</description>
	<pubDate>Wed, 12 May 2010 11:44:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Install Ubuntu Lucid Server to Xen guest VM under openSuSE 11.1</title>
		<link>http://www.thouret.co.uk/blog/2010/05/install-ubuntu-lucid-server-to-xen-guest-vm-under-opensuse-111/</link>
		<comments>http://www.thouret.co.uk/blog/2010/05/install-ubuntu-lucid-server-to-xen-guest-vm-under-opensuse-111/#comments</comments>
		<pubDate>Wed, 12 May 2010 11:44:52 +0000</pubDate>
		<dc:creator>guy</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.thouret.co.uk/blog/?p=124</guid>
		<description><![CDATA[After many attempts and trying different methods I finally got an Ubuntu VM installed on an openSuSE 11.1 Xen Dom0 VM host.
The VM host has a minimal text install of openSuSE so I use the vm-install command to create my VMs quickly and easily.  This has always worked fine for openSuSE VMs but I [...]]]></description>
			<content:encoded><![CDATA[<p>After many attempts and trying different methods I finally got an Ubuntu VM installed on an openSuSE 11.1 Xen Dom0 VM host.</p>
<p>The VM host has a minimal text install of openSuSE so I use the vm-install command to create my VMs quickly and easily.  This has always worked fine for openSuSE VMs but I using the &#8216;Other Operating System&#8217; vm-install just kept throwing &#8220;Error: The installation source is unusable&#8221;.</p>
<p>After trying a few of the other operating system options, I eventually found that choosing &#8220;Windows XP, 2003 (x64)&#8221; allowed the iso image of the install CD to boot the VM. (I&#8217;m installing Lucid Server amd64, for i386 version I would suggest the option &#8220;Windows XP, 2000, 2003&#8243; although this has not been tested).</p>
<p>During installation, the VM is running in HVM Full Virtualisation mode, although once the installation has completed I modified the config file in order to boot the VM in paravirtualised mode.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thouret.co.uk/blog/2010/05/install-ubuntu-lucid-server-to-xen-guest-vm-under-opensuse-111/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Easiest way to securely log in to a remote Linux server without the need for a password</title>
		<link>http://www.thouret.co.uk/blog/2010/03/easiest-way-to-securely-log-in-to-a-remote-linux-server-without-the-need-for-a-password/</link>
		<comments>http://www.thouret.co.uk/blog/2010/03/easiest-way-to-securely-log-in-to-a-remote-linux-server-without-the-need-for-a-password/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 14:50:39 +0000</pubDate>
		<dc:creator>guy</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[ssh openssh id_rsa.pub public key authentication linux]]></category>

		<guid isPermaLink="false">http://www.thouret.co.uk/blog/2010/03/easiest-way-to-securely-log-in-to-a-remote-linux-server-without-the-need-for-a-password/</guid>
		<description><![CDATA[Never knew this tool existed:
ssh-copy-id
Set up your public key by entering ssh-keygen in a terminal.  Enter ssh-copy-id user@host (entering the appropriate user and hostnames) and you can then log in to the remote server using ssh user@host without having to enter your password.  Both quick and easy!
]]></description>
			<content:encoded><![CDATA[<p>Never knew this tool existed:<br />
ssh-copy-id</p>
<p>Set up your public key by entering ssh-keygen in a terminal.  Enter ssh-copy-id user@host (entering the appropriate user and hostnames) and you can then log in to the remote server using ssh user@host without having to enter your password.  Both quick and easy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thouret.co.uk/blog/2010/03/easiest-way-to-securely-log-in-to-a-remote-linux-server-without-the-need-for-a-password/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Huawei 3G Dongle Tools</title>
		<link>http://www.thouret.co.uk/blog/2009/12/huawei-3g-dongle-tools/</link>
		<comments>http://www.thouret.co.uk/blog/2009/12/huawei-3g-dongle-tools/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 16:58:19 +0000</pubDate>
		<dc:creator>guy</dc:creator>
		
		<category><![CDATA[Techy]]></category>

		<category><![CDATA[3g]]></category>

		<category><![CDATA[dongle]]></category>

		<category><![CDATA[E156]]></category>

		<category><![CDATA[E156G]]></category>

		<category><![CDATA[E220]]></category>

		<category><![CDATA[huawei]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[mode]]></category>

		<category><![CDATA[signal]]></category>

		<guid isPermaLink="false">http://www.thouret.co.uk/blog/?p=118</guid>
		<description><![CDATA[I am making public two utilities written to monitor and control Huawei 3G dongles.  Has been tested with the E160, E220 and Vodafone K3565 Huawei manufactured dongles.
3gstats v1.1 gives continuous mode, signal strength, uptime, speed and total data transferred.
3gmode v1.0 lets you switch between 2G and 3G only modes or set preference to one [...]]]></description>
			<content:encoded><![CDATA[<p>I am making public two utilities written to monitor and control Huawei 3G dongles.  Has been tested with the E160, E220 and Vodafone K3565 Huawei manufactured dongles.</p>
<p><a href="http://www.thouret.co.uk/files/3gstats-1.1.tar.gz">3gstats v1.1</a> gives continuous mode, signal strength, uptime, speed and total data transferred.<br />
<a href="http://www.thouret.co.uk/files/3gmode-1.0.tar.gz">3gmode v1.0</a> lets you switch between 2G and 3G only modes or set preference to one with the other as a fallback.</p>
<p>Instructions for 3gstats:<br />
Download tar.gz file<br />
tar -zxvf 3gstats-1.1.tar.gz<br />
cd 3gstats<br />
sh make.sh<br />
chmod +x 3gstats</p>
<p>To run use ./3gstats</p>
<p>Instructions for 3gmode<br />
Download tar.gz file<br />
tar -zxvf 3gmode-1.0.tar.gz<br />
cd 3gmode<br />
chmod +x 3gmode</p>
<p>To see usage use ./3gmode</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thouret.co.uk/blog/2009/12/huawei-3g-dongle-tools/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Solution I&#8217;ve Been Looking For!!!</title>
		<link>http://www.thouret.co.uk/blog/2009/10/the-solution-ive-been-looking-for/</link>
		<comments>http://www.thouret.co.uk/blog/2009/10/the-solution-ive-been-looking-for/#comments</comments>
		<pubDate>Sat, 17 Oct 2009 21:53:39 +0000</pubDate>
		<dc:creator>guy</dc:creator>
		
		<category><![CDATA[Techy]]></category>

		<category><![CDATA[DHCP]]></category>

		<category><![CDATA[SBS 2008]]></category>

		<category><![CDATA[Small Business Server]]></category>

		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://www.thouret.co.uk/blog/2009/10/the-solution-ive-been-looking-for/</guid>
		<description><![CDATA[When your DHCP server decides to stop working you&#8217;ve got a serious problem.  When it&#8217;s a Windows server be prepared to jump through hoops trying to diagnose then fix the problem. After being led down many wrong garden paths, uncovering the nasty hidden depths of Active Directory I happened across this blog post.  [...]]]></description>
			<content:encoded><![CDATA[<p>When your DHCP server decides to stop working you&#8217;ve got a serious problem.  When it&#8217;s a Windows server be prepared to jump through hoops trying to diagnose then fix the problem. After being led down many wrong garden paths, uncovering the nasty hidden depths of Active Directory I happened across <a href="http://http://blogs.technet.com/sbs/archive/2009/08/20/unable-to-manage-dhcp-when-an-invalid-name-record-exists-in-your-hosts-file.aspx">this</a> blog post.  A single entry in the hosts file was all it had taken to bring down the network and removing it was all it took to restore service. Wow, if only I had found it sooner.</p>
<p>(For the purposes of Google):<br />
Error: Attempt to configure DHCP Server failed with error code 0&#215;80070005. Access is denied</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thouret.co.uk/blog/2009/10/the-solution-ive-been-looking-for/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Installing Windows XP on an HP DL360 G5</title>
		<link>http://www.thouret.co.uk/blog/2009/05/installing-windows-xp-on-an-hp-dl360-g5/</link>
		<comments>http://www.thouret.co.uk/blog/2009/05/installing-windows-xp-on-an-hp-dl360-g5/#comments</comments>
		<pubDate>Tue, 05 May 2009 10:23:22 +0000</pubDate>
		<dc:creator>guy</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[dl 360]]></category>

		<category><![CDATA[hp]]></category>

		<category><![CDATA[install]]></category>

		<category><![CDATA[sas drivers]]></category>

		<category><![CDATA[windows xp]]></category>

		<guid isPermaLink="false">http://www.thouret.co.uk/blog/?p=95</guid>
		<description><![CDATA[Ok, this first of all begs the question why?
Why on earth would I want to do this?
Legacy, sorry, &#8216;cherished&#8217; software requires that XP be installed but the DL hardware is required for datacentre installation and high availability (1U chassis, redundant power supplies, redundant disks).
The stock XP SP3 CD couldn&#8217;t see the SmartArray P400i SAS controller [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, this first of all begs the question why?<br />
Why on earth would I want to do this?</p>
<p>Legacy, sorry, &#8216;cherished&#8217; software requires that XP be installed but the DL hardware is required for datacentre installation and high availability (1U chassis, redundant power supplies, redundant disks).</p>
<p>The stock XP SP3 CD couldn&#8217;t see the SmartArray P400i SAS controller so could not find the partition to install on.</p>
<p>After a failed manual attempt to slipstream the drivers into a remastered XP install CD I came across a utility called <a href="http://www.nliteos.com">nLite</a> that automates the whole process. </p>
<p>I sourced a driver, used nLite to slipstream it into an image of the XP install CD, burned the CD, whacked it in and installed without problems.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thouret.co.uk/blog/2009/05/installing-windows-xp-on-an-hp-dl360-g5/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Damn Roundcube Exploit</title>
		<link>http://www.thouret.co.uk/blog/2009/03/damn-roundcube-exploit/</link>
		<comments>http://www.thouret.co.uk/blog/2009/03/damn-roundcube-exploit/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 19:08:38 +0000</pubDate>
		<dc:creator>guy</dc:creator>
		
		<category><![CDATA[Techy]]></category>

		<guid isPermaLink="false">http://www.thouret.co.uk/blog/?p=92</guid>
		<description><![CDATA[Tempted by it&#8217;s snazzy interface, I installed Roundcube Webmail.  Little did I know there was a known exploit for the version I installed from the Ubuntu repos.  On Friday, Bytemark pulled the plug on my VPS after some spotty little oik used the exploit to gain shell access to my VPS and proceeded [...]]]></description>
			<content:encoded><![CDATA[<p>Tempted by it&#8217;s snazzy interface, I installed Roundcube Webmail.  Little did I know there was a known exploit for the version I installed from the Ubuntu repos.  On Friday, Bytemark pulled the plug on my VPS after some spotty little oik used the exploit to gain shell access to my VPS and proceeded to launch SSH attacks on other servers, whose admins then complained.</p>
<p>I identified the exploit, removed Roundcube, emailed the details to Bytemark and they promptly re-instated my network connectivity.  Fair play to Bytemark for responding quickly - and on a Saturday too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thouret.co.uk/blog/2009/03/damn-roundcube-exploit/feed/</wfw:commentRss>
		</item>
		<item>
		<title>I&#8217;m officially a Blogger</title>
		<link>http://www.thouret.co.uk/blog/2009/02/im-officially-a-blogger/</link>
		<comments>http://www.thouret.co.uk/blog/2009/02/im-officially-a-blogger/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 17:08:43 +0000</pubDate>
		<dc:creator>guy</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.thouret.co.uk/blog/?p=88</guid>
		<description><![CDATA[Well apart from here that is.  I&#8217;m being trialled by WorksWithU, an Ubuntu site.
Read my first post here:
http://www.workswithu.com/2009/02/17/first-look-ubuntu-904-jaunty-jackalope/
]]></description>
			<content:encoded><![CDATA[<p>Well apart from here that is.  I&#8217;m being trialled by <a href="http://www.workswithu.com">WorksWithU</a>, an <a href="http://www.ubuntu.com">Ubuntu</a> site.<br />
Read my first post here:<br />
<a href="http://www.workswithu.com/2009/02/17/first-look-ubuntu-904-jaunty-jackalope/">http://www.workswithu.com/2009/02/17/first-look-ubuntu-904-jaunty-jackalope/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thouret.co.uk/blog/2009/02/im-officially-a-blogger/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Adding more block rules to ufw</title>
		<link>http://www.thouret.co.uk/blog/2009/02/adding-more-block-rules-to-ufw/</link>
		<comments>http://www.thouret.co.uk/blog/2009/02/adding-more-block-rules-to-ufw/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 23:20:20 +0000</pubDate>
		<dc:creator>guy</dc:creator>
		
		<category><![CDATA[Coding]]></category>

		<category><![CDATA[Techy]]></category>

		<category><![CDATA[block ip]]></category>

		<category><![CDATA[firewall]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[ufw]]></category>

		<guid isPermaLink="false">http://www.thouret.co.uk/blog/?p=83</guid>
		<description><![CDATA[I added some rules to block some more IPs today, but I&#8217;m still receiving spam comments from them.  ufw is not blocking even though I told it to.
It would seem that ufw executes rules in the order they are entered.  Because the newly added block rules come after the allow rules, the allows get executed [...]]]></description>
			<content:encoded><![CDATA[<p>I added some rules to block some more IPs today, but I&#8217;m still receiving spam comments from them.  ufw is not blocking even though I told it to.</p>
<p>It would seem that ufw executes rules in the order they are entered.  Because the newly added block rules come after the allow rules, the allows get executed first.</p>
<p>The solution: a simple shell script that deletes and re-adds the allow rules</p>
<blockquote>
<pre>#!/bin/bash
ufw delete allow 80/tcp
ufw delete allow ssh
ufw delete allow smtp
ufw delete allow imap
ufw allow 80/tcp
ufw allow ssh
ufw allow smtp
ufw allow imap</pre>
</blockquote>
<p>I saved it as ufw-update and made it excutable:</p>
<blockquote>
<pre>chmod a+x ufw-update</pre>
</blockquote>
<p>Now after everytime I add more block rules I just do ./ufw-update and the allow rules are removed and re-added after the block rules. Voila!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thouret.co.uk/blog/2009/02/adding-more-block-rules-to-ufw/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ufw - Uncomplicated Firewall</title>
		<link>http://www.thouret.co.uk/blog/2009/02/ufw-uncomplicated-firewall/</link>
		<comments>http://www.thouret.co.uk/blog/2009/02/ufw-uncomplicated-firewall/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 16:11:14 +0000</pubDate>
		<dc:creator>guy</dc:creator>
		
		<category><![CDATA[Techy]]></category>

		<category><![CDATA[firewall]]></category>

		<category><![CDATA[iptables]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[ufw]]></category>

		<guid isPermaLink="false">http://www.thouret.co.uk/blog/?p=77</guid>
		<description><![CDATA[I used ufw for the frist time today to block some IP addresses that kept posting spam messages to my blog or attacking SSH with known usernames.
It&#8217;s a simple interface to the powerful iptables package and really easy to use.  I installed on Ubuntu Server using:

apt-get install ufw

Deny everything by default:

ufw default deny

Block the offending [...]]]></description>
			<content:encoded><![CDATA[<p>I used ufw for the frist time today to block some IP addresses that kept posting spam messages to my blog or attacking SSH with known usernames.</p>
<p>It&#8217;s a simple interface to the powerful iptables package and really easy to use.  I installed on Ubuntu Server using:</p>
<blockquote>
<pre>apt-get install ufw</pre>
</blockquote>
<p>Deny everything by default:</p>
<blockquote>
<pre>ufw default deny</pre>
</blockquote>
<p>Block the offending IP addresses:</p>
<blockquote>
<pre>ufw deny from 194.8.74.0/23
ufw deny from 94.229.65.173
ufw deny from 69.162.73.178
ufw deny from 218.237.55.219
ufw deny from 211.192.64.203
ufw deny from 218.249.60.87
ufw deny from 64.183.108.76</pre>
</blockquote>
<p>Let my services through:</p>
<blockquote>
<pre>ufw allow http
ufw allow ssh
ufw allow smtp
ufw allow imap</pre>
</blockquote>
<p>Enable ufw:</p>
<blockquote>
<pre>ufw enable</pre>
</blockquote>
<p>Bingo! No more spam.  No more username attacks in my auth.log.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thouret.co.uk/blog/2009/02/ufw-uncomplicated-firewall/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Shell Script for Linux NVIDIA Kernel Module Laptop Brightness Workaround</title>
		<link>http://www.thouret.co.uk/blog/2008/12/shell-script-for-linux-nvidia-kernel-module-laptop-brightness-workaround/</link>
		<comments>http://www.thouret.co.uk/blog/2008/12/shell-script-for-linux-nvidia-kernel-module-laptop-brightness-workaround/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 20:41:31 +0000</pubDate>
		<dc:creator>guy</dc:creator>
		
		<category><![CDATA[Techy]]></category>

		<category><![CDATA[brightness]]></category>

		<category><![CDATA[driver]]></category>

		<category><![CDATA[fix]]></category>

		<category><![CDATA[kernel]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[nvidia]]></category>

		<category><![CDATA[shell script]]></category>

		<guid isPermaLink="false">http://www.thouret.co.uk/blog/?p=71</guid>
		<description><![CDATA[Thanks to this post, I wrote a shell script to automate the workaround process for changing the laptop brightness:
#!/bin/bash
chvt 1
echo -n 100 &#62; /proc/acpi/video/NVID/LCD/brightness
chvt 7
Copy and paste this into something like brightness.sh, then make it executable by entering chmod a+x brightness.sh into a terminal then run the script as root by entering sudo sh brightness.sh.
]]></description>
			<content:encoded><![CDATA[<p>Thanks to <a href="http://www.nvnews.net/vbulletin/showthread.php?t=100494&amp;page=10" target="_blank">this</a> post, I wrote a shell script to automate the workaround process for changing the laptop brightness:</p>
<blockquote><p>#!/bin/bash<br />
chvt 1<br />
echo -n 100 &gt; /proc/acpi/video/NVID/LCD/brightness<br />
chvt 7</p></blockquote>
<p>Copy and paste this into something like brightness.sh, then make it executable by entering chmod a+x brightness.sh into a terminal then run the script as root by entering sudo sh brightness.sh.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thouret.co.uk/blog/2008/12/shell-script-for-linux-nvidia-kernel-module-laptop-brightness-workaround/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
