<?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>Tom Salmon</title>
	<atom:link href="http://tomsalmon.eu/feed/" rel="self" type="application/rss+xml" />
	<link>http://tomsalmon.eu</link>
	<description>Software Development and Linux Systems</description>
	<lastBuildDate>Wed, 11 Aug 2010 09:35:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>VMWare 7.1 &#8211; no /dev/vmnet0</title>
		<link>http://tomsalmon.eu/2010/08/vmware-7-1-no-devvmnet0/</link>
		<comments>http://tomsalmon.eu/2010/08/vmware-7-1-no-devvmnet0/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 09:35:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux System Administration]]></category>

		<guid isPermaLink="false">http://tomsalmon.eu/?p=133</guid>
		<description><![CDATA[A frustrating error with VMWare:
&#8220;Ethernet0: can&#8217;t open vmnet device /dev/vmnet0&#8243;
Solution is to run &#8216;vmware-netcfg&#8217; and save, then the problem is fixed until next reboot.
]]></description>
			<content:encoded><![CDATA[<p>A frustrating error with VMWare:<br />
&#8220;Ethernet0: can&#8217;t open vmnet device /dev/vmnet0&#8243;</p>
<p>Solution is to run &#8216;vmware-netcfg&#8217; and save, then the problem is fixed until next reboot.</p>
]]></content:encoded>
			<wfw:commentRss>http://tomsalmon.eu/2010/08/vmware-7-1-no-devvmnet0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WiFi (2.4Ghz) Link Calculation</title>
		<link>http://tomsalmon.eu/2010/08/wifi-2-4ghz-link-calculation/</link>
		<comments>http://tomsalmon.eu/2010/08/wifi-2-4ghz-link-calculation/#comments</comments>
		<pubDate>Sat, 07 Aug 2010 19:09:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://tomsalmon.eu/?p=126</guid>
		<description><![CDATA[While searching around on how to calculate the maximum distance of a WiFi connection, I came across this very useful link budget calculator.
So far we&#8217;re still searching for a way to calculate the area of a fresnel zone which falls below ground. Based on a 1km link the zone starts at the antenna (8m high), [...]]]></description>
			<content:encoded><![CDATA[<p>While searching around on how to calculate the maximum distance of a WiFi connection, I came across this very useful <a href="http://home.deds.nl/~pa0hoo/helix_wifi/linkbudgetcalc/wlan_budgetcalc.html">link budget calculator</a>.</p>
<p>So far we&#8217;re still searching for a way to calculate the area of a fresnel zone which falls below ground. Based on a 1km link the zone starts at the antenna (8m high), extends to the user (1m high), and the fresnel zone has a radius at its centre point of 5.6m. This zone will intersect the ground at 371.181m and 990.905m from the antenna &#8211; thanks to <a href="http://technomancy.org/">Rory McCann</a> for calculating this.</p>
<p>We&#8217;re still trying to work out the area of the Freshnel which travels underground. After doing this, we only then need to calculate the loss in dB. Any ideas?</p>
]]></content:encoded>
			<wfw:commentRss>http://tomsalmon.eu/2010/08/wifi-2-4ghz-link-calculation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>View &#8216;dd&#8217; progress</title>
		<link>http://tomsalmon.eu/2010/07/view-dd-progress/</link>
		<comments>http://tomsalmon.eu/2010/07/view-dd-progress/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 13:53:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux General]]></category>
		<category><![CDATA[Linux System Administration]]></category>
		<category><![CDATA[Useful Utilities]]></category>

		<guid isPermaLink="false">http://tomsalmon.eu/?p=115</guid>
		<description><![CDATA[When reading/writing a disk image using Linux tool &#8216;dd&#8217; launch as follows:
dd if=/dev/sdb of=filename.img &#038; pid=$!
this will run &#8216;dd&#8217; in the background.
To see the progress:
kill -USR1 $pid
Notes:

If you are doing it as a non-root user you&#8217;ll need to prefix those commands with sudo
If you do that do &#8217;sudo ls&#8217; first, otherwise the &#8217;sudo dd&#8217; will [...]]]></description>
			<content:encoded><![CDATA[<p>When reading/writing a disk image using Linux tool &#8216;dd&#8217; launch as follows:<br />
<em>dd if=/dev/sdb of=filename.img &#038; pid=$!</em><br />
this will run &#8216;dd&#8217; in the background.</p>
<p>To see the progress:<br />
<em>kill -USR1 $pid</em></p>
<p>Notes:</p>
<ol>
<li>If you are doing it as a non-root user you&#8217;ll need to prefix those commands with sudo</li>
<li>If you do that do &#8217;sudo ls&#8217; first, otherwise the &#8217;sudo dd&#8217; will fail waiting on the password which it&#8217;ll never get as its backgrounded.</li>
</ol>
<p><em>Thanks to <a href="http://www.cianer.com/linux/75-cloning-linux-machines">Cian</a>.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://tomsalmon.eu/2010/07/view-dd-progress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exporting physical Linux hard disk to a Virtual Machine</title>
		<link>http://tomsalmon.eu/2010/07/exporting-physical-linux-hard-disk-to-a-virtual-machine/</link>
		<comments>http://tomsalmon.eu/2010/07/exporting-physical-linux-hard-disk-to-a-virtual-machine/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 13:37:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux General]]></category>
		<category><![CDATA[Linux System Administration]]></category>

		<guid isPermaLink="false">http://tomsalmon.eu/?p=103</guid>
		<description><![CDATA[Shutdown and remove the hard disk, then connect to a separate PC with VirtualBox (virtualbox-ose) installed.

Take a &#8216;dd&#8217; copy of the hard disk, eg: dd if=/dev/sdb of=filename.img
(warning this may take a while and requires enough free disk space to hold a copy of the entire hard disk being cloned)
After the image has been successfully created, [...]]]></description>
			<content:encoded><![CDATA[<p>Shutdown and remove the hard disk, then connect to a separate PC with VirtualBox (virtualbox-ose) installed.</p>
<ul>
<li>Take a <em>&#8216;dd&#8217;</em> copy of the hard disk, eg: <em>dd if=/dev/sdb of=filename.img</em><br />
(warning this may take a while and requires enough free disk space to hold a copy of the entire hard disk being cloned)</li>
<li>After the image has been successfully created, convert it to an image suitable for VMWare or VirtualBox using the command:<br />
<strong>vboxmanage convertfromraw filename.img -format VMDK filename.vmdk</strong></li>
<li>This can be imported into VirtualBox by creating a new (Linux/Other Linux) Virtual Machine and &#8220;Use existing hard drive&#8221;. Click the browse button to go to the Virtual Media Manager, click &#8216;Add&#8217; and select the VMDK file created in the previous step.</li>
</ul>
<p>The virtual machine should now be ready to run in VirtualBox.<br />
To import into VMWare, create a new virtual machine and virtual hard disk. Overwrite the new Virtual Hard disk by copying the VMDK file created earlier, into its place.</p>
]]></content:encoded>
			<wfw:commentRss>http://tomsalmon.eu/2010/07/exporting-physical-linux-hard-disk-to-a-virtual-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clifford Chambers &#8211; new site containing photographs from the past</title>
		<link>http://tomsalmon.eu/2010/05/clifford-chambers-new-site-containing-photographs-from-the-past/</link>
		<comments>http://tomsalmon.eu/2010/05/clifford-chambers-new-site-containing-photographs-from-the-past/#comments</comments>
		<pubDate>Fri, 28 May 2010 17:00:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tomsalmon.eu/?p=100</guid>
		<description><![CDATA[Clifford Chambers the village where I grew up, now has a site cataloging pictures from the past century.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://clifford-chambers.co.uk/">Clifford Chambers</a> the village where I grew up, now has a site cataloging pictures from the past century.</p>
]]></content:encoded>
			<wfw:commentRss>http://tomsalmon.eu/2010/05/clifford-chambers-new-site-containing-photographs-from-the-past/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mogrify &#8211; convert the existing image with imagemagick</title>
		<link>http://tomsalmon.eu/2010/05/mogrify-convert-the-existing-image-with-imagemagick/</link>
		<comments>http://tomsalmon.eu/2010/05/mogrify-convert-the-existing-image-with-imagemagick/#comments</comments>
		<pubDate>Sat, 08 May 2010 13:13:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux General]]></category>
		<category><![CDATA[Useful Utilities]]></category>

		<guid isPermaLink="false">http://tomsalmon.eu/?p=91</guid>
		<description><![CDATA[Thanks to Rory McCann for pointing this one out.
It is possible to convert (resize, rotate etc) an image without creating a new file. mogrify takes the same options as convert but operates on the existing image. Both are tools included in imagemagick.
]]></description>
			<content:encoded><![CDATA[<p>Thanks to <a title="Rory McCann" href="http://technomancy.org">Rory McCann</a> for pointing this one out.</p>
<p>It is possible to convert (resize, rotate etc) an image without creating a new file. <em>mogrify</em> takes the same options as <em>convert</em> but operates on the existing image. Both are tools included in <a title="Imagemagick" href="http://www.imagemagick.org/script/mogrify.php">imagemagick</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://tomsalmon.eu/2010/05/mogrify-convert-the-existing-image-with-imagemagick/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Asterisk-oh323, GnuGK with VPoint-HD</title>
		<link>http://tomsalmon.eu/2010/05/asterisk-oh323-gnugk-with-vpoint-hd/</link>
		<comments>http://tomsalmon.eu/2010/05/asterisk-oh323-gnugk-with-vpoint-hd/#comments</comments>
		<pubDate>Tue, 04 May 2010 10:39:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux System Administration]]></category>

		<guid isPermaLink="false">http://tomsalmon.eu/?p=83</guid>
		<description><![CDATA[A warning to all: audio does not work full-duplex when calling from a VPoint (VCON Emblaze) H323 client -&#62; GNUGK -&#62; Asterisk-oh323 -&#62; SIP client. Tested with versions 8 and 10.
However audio works perfectly in the other direction.
The solution would appear to be to use OOH323. However the audio is again half duplex in the [...]]]></description>
			<content:encoded><![CDATA[<p>A warning to all: audio does not work full-duplex when calling from a VPoint (VCON Emblaze) H323 client -&gt; GNUGK -&gt; Asterisk-oh323 -&gt; SIP client. Tested with versions 8 and 10.</p>
<p>However audio works perfectly in the other direction.</p>
<p>The solution would appear to be to use OOH323. However the audio is again half duplex in the scenario where SIP clients are calling H323 clients.<br />
Therefore calls originating from Asterisk to H323 clients use the &#8216;OH323&#8242; module, and calls from GNUGK into Asterisk use the &#8216;OOH323&#8242; module.</p>
]]></content:encoded>
			<wfw:commentRss>http://tomsalmon.eu/2010/05/asterisk-oh323-gnugk-with-vpoint-hd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux CPU Scaling Governor &#8211; Performance and Overheating</title>
		<link>http://tomsalmon.eu/2010/05/linux-cpu-scaling-governor-performance-and-overheating/</link>
		<comments>http://tomsalmon.eu/2010/05/linux-cpu-scaling-governor-performance-and-overheating/#comments</comments>
		<pubDate>Sat, 01 May 2010 12:51:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux General]]></category>

		<guid isPermaLink="false">http://tomsalmon.eu/?p=61</guid>
		<description><![CDATA[On my previous laptop I suffered with repeated over-heating problems whenever CPU load went high for a prolonged period. After several emergency shutdowns (performed by ACPI) I discovered the problem:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
returned the result: &#8220;performance&#8221;
Inserting the following line before the &#8216;exit&#8217; line in /etc/rc.local:
echo "conservative" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
resolved the problem.
For all available scaling governors:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
]]></description>
			<content:encoded><![CDATA[<p>On my previous laptop I suffered with repeated over-heating problems whenever CPU load went high for a prolonged period. After several emergency shutdowns (performed by ACPI) I discovered the problem:</p>
<pre>cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor</pre>
<p>returned the result: <em>&#8220;performance&#8221;</em></p>
<p>Inserting the following line before the &#8216;exit&#8217; line in /etc/rc.local:</p>
<pre>echo "conservative" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor</pre>
<p>resolved the problem.</p>
<p>For all available scaling governors:</p>
<pre>cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors</pre>
]]></content:encoded>
			<wfw:commentRss>http://tomsalmon.eu/2010/05/linux-cpu-scaling-governor-performance-and-overheating/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bash Scripts &#8211; exit on immediate fail</title>
		<link>http://tomsalmon.eu/2010/04/bash-scripts-exit-on-immediate-fail/</link>
		<comments>http://tomsalmon.eu/2010/04/bash-scripts-exit-on-immediate-fail/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 21:43:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux System Administration]]></category>

		<guid isPermaLink="false">http://tomsalmon.eu/?p=67</guid>
		<description><![CDATA[With some bash scripts it can be useful to have them exit as soon as a command fails. To accomplish this have the following just after the &#8220;#!/bin/bash&#8221; line:
set -o errexit
This will cause the script to exit as soon as any command or program returns an exit status not equal to zero.
Thanks to Rory.
]]></description>
			<content:encoded><![CDATA[<p>With some bash scripts it can be useful to have them exit as soon as a command fails. To accomplish this have the following just after the &#8220;#!/bin/bash&#8221; line:</p>
<pre>set -o errexit</pre>
<p>This will cause the script to exit as soon as any command or program returns an exit status not equal to zero.<br />
Thanks to <a title="Rory McCann" href="http://technomancy.org/">Rory</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://tomsalmon.eu/2010/04/bash-scripts-exit-on-immediate-fail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Skype, Linux and NFS</title>
		<link>http://tomsalmon.eu/2010/04/skype-linux-and-nfs/</link>
		<comments>http://tomsalmon.eu/2010/04/skype-linux-and-nfs/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 19:11:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux General]]></category>

		<guid isPermaLink="false">http://tomsalmon.eu/?p=60</guid>
		<description><![CDATA[A problem I found when using the Linux client for Skype is that it will try to perform file locking, which is a problem if your home partition is an NFS drive.
To overcome this limitation, create a directory on the local hard disk:

sudo mkdir /usr/local/skype
sudo chown tom.tom /usr/local/skype

Delete the configuration that Skype attempted to install, [...]]]></description>
			<content:encoded><![CDATA[<p>A problem I found when using the Linux client for Skype is that it will try to perform file locking, which is a problem if your home partition is an NFS drive.</p>
<p>To overcome this limitation, create a directory on the local hard disk:</p>
<ol>
<li>sudo mkdir /usr/local/skype</li>
<li>sudo chown tom.tom /usr/local/skype</li>
</ol>
<p>Delete the configuration that Skype attempted to install, and symlink to the directory on the local harddisk:</p>
<ol>
<li>rm -rf /home/tom/.Skype</li>
<li>ln -s /usr/local/skype /home/tom/.Skype</li>
</ol>
<p>After this Skype worked as normal.</p>
]]></content:encoded>
			<wfw:commentRss>http://tomsalmon.eu/2010/04/skype-linux-and-nfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
