<?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>Who... What... Where... &#187; Linux</title>
	<atom:link href="http://www.yeltuor.com/articles/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yeltuor.com</link>
	<description>General things I find interesting</description>
	<lastBuildDate>Sun, 02 Aug 2009 09:58:13 +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>Dropbear SSH Server &amp; Client</title>
		<link>http://www.yeltuor.com/articles/how-to/dropbear-ssh-server-client/</link>
		<comments>http://www.yeltuor.com/articles/how-to/dropbear-ssh-server-client/#comments</comments>
		<pubDate>Sun, 08 Feb 2009 22:11:39 +0000</pubDate>
		<dc:creator>shane</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://www.yeltuor.com/?p=38</guid>
		<description><![CDATA[The Dropbear SSH server and client supports industry standard SSH1 and SSH2 protocols and is available for various Linux distributions. Version 0.45 compiled for Debian PPC can be found here, this is what I have used as the SSH server for my Buffalo TeraStation.
The first step is to copy the files to the TeraStation, then [...]]]></description>
			<content:encoded><![CDATA[<div class="content">
<p>The <a title="Dropbear" href="http://matt.ucc.asn.au/dropbear/dropbear.html" target="_blank">Dropbear</a> SSH server and client supports industry standard SSH1 and SSH2 protocols and is available for various Linux distributions. Version 0.45 compiled for Debian PPC can be found <a title="Dropbear v0.45" href="http://www.yeltuor.com/s/files/dropbear.tgz" target="_blank">here</a>, this is what I have used as the SSH server for my Buffalo TeraStation.</p>
<p>The first step is to copy the files to the TeraStation, then extract them using the tar command</p>
<blockquote><p>root@HD-HTGL113:/# cd /</p>
<p>root@HD-HTGL113:/# tar -xzf /mnt/array1/share/dropbear.tgz</p></blockquote>
<p>The next step is optional, however in the interest of security recommended! This is to generate a new SSL public and private key for the server to use. Before we can do this the old keys need to be deleted</p>
<blockquote><p>root@HD-HTGL113:/# rm /etc/dropbear/dropbear_rsa_host_key</p>
<p>root@HD-HTGL113:/# rm /etc/dropbear/dropbear_dss_host_key</p>
<p>root@HD-HTGL113:/# dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key</p>
<p>root@HD-HTGL113:/# dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key</p></blockquote>
<p>The final step is to reboot the TeraStation, during startup the Dropbear SSH daemon will start. A recommended free SSH client to use is <a title="PuTTy SSH Client" href="http://www.chiark.greenend.org.uk/%7Esgtatham/putty/" target="_blank">PuTTy</a></div>

	Tags: <a href="http://www.yeltuor.com/articles/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://www.yeltuor.com/articles/tag/ssh/" title="SSH" rel="tag">SSH</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.yeltuor.com/articles/how-to/dropbear-ssh-server-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dynamic DNS (DYDNS) &#8211; dme_update</title>
		<link>http://www.yeltuor.com/articles/how-to/dynamic-dns-dydns-dme_update/</link>
		<comments>http://www.yeltuor.com/articles/how-to/dynamic-dns-dydns-dme_update/#comments</comments>
		<pubDate>Sun, 08 Feb 2009 22:04:45 +0000</pubDate>
		<dc:creator>shane</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[DYDNS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://www.yeltuor.com/?p=31</guid>
		<description><![CDATA[Dynamic DNS is a system that allows for a DNS entry, commonly internet facing to be updated in real-time. This enables a connection to be established to a Dynamic IP Address (generally issued by an ISP) via a DNS name.
One implementation of this is DME Update which uses a simple Perl script to get the [...]]]></description>
			<content:encoded><![CDATA[<div class="content">
<p>Dynamic DNS is a system that allows for a DNS entry, commonly internet facing to be updated in real-time. This enables a connection to be established to a Dynamic IP Address (generally issued by an ISP) via a DNS name.</p>
<p>One implementation of this is <a title="DME Update" href="http://www.smood.com/dme_update/" target="_blank">DME Update</a> which uses a simple Perl script to get the current external IP address and forms a URL which is used to update the DNS provider <a title="DNS Made Easy" href="http://www.dnsmadeeasy.com/" target="_blank">DNS Made Easy</a></p>
<p>My use for this has been through my Buffalo TeraStation which runs a cut down version of Linux and has the DME Update script running as a cron job. This allows me to always be able reach it without remembering an IP address.</p>
<p>The implementation for this is relatively simply, the requirements are:</p>
<ul>
<li>wget &#8211; A well known command line HTTP retrieval program</li>
<li>Perl installed (exact version and pm files are unknown)</li>
<li>The dme_update script and config files which are <a title="DMS update (Dynamic DNS )" href="http://www.yeltuor.com/s/files/DynamicDNS.tgz">here</a></li>
</ul>
<p>First of all edit the <em>config.pl</em> file and set the <em>$nic </em>variable to the name of the network interface that should be doing the lookup, also set the <em>$getip_ext </em>variable to either <em>0</em> to use the IP address of the NIC, or <em>1</em> to use the external webpage quoted.</p>
<p>The next stage is to provide the DNS record details that need to be updated on DNS Made Easy, this should be placed in the <em>records</em> folder in a file with the following information</p>
<blockquote><p><span class="fixedwidth">username<br />
password<br />
DNS Made Easy record ID<br />
current record IP address</span></p></blockquote>
<p>An example is:</p>
<blockquote><p><span class="fixedwidth">myUsername<br />
myPassword<br />
1234567<br />
22.22.22.1</span></p></blockquote>
<p>To update the DNS record run the following:</p>
<blockquote><p>perl /etc/cron.d/dyDNS/dme_update -r myRecordFile</p></blockquote>
<p>I&#8217;m sure there are many more implementations avaliable and for many different DNS providers, however this appealed to me due to the simplicity. The end result from the Perl scirpt is a formatted URL which either updates the DNS entry if required, or does nothing. Example URL is:</p>
<blockquote><p>http://www.dnsmadeeasy.com/servlet/updateip?username=myUsername&amp;password=myPassword&amp;id=1234567&amp;ip=22.22.22.2</p></blockquote>
</div>

	Tags: <a href="http://www.yeltuor.com/articles/tag/dns/" title="DNS" rel="tag">DNS</a>, <a href="http://www.yeltuor.com/articles/tag/dydns/" title="DYDNS" rel="tag">DYDNS</a>, <a href="http://www.yeltuor.com/articles/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://www.yeltuor.com/articles/tag/perl/" title="Perl" rel="tag">Perl</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.yeltuor.com/articles/how-to/dynamic-dns-dydns-dme_update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
