<?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>Pario TechnoBlob &#187; howto</title>
	<atom:link href="http://pario.no/tag/howto/feed/" rel="self" type="application/rss+xml" />
	<link>http://pario.no</link>
	<description>A cronological documentation test project, nothing serious, really!</description>
	<lastBuildDate>Thu, 02 Feb 2012 13:17:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Disable DLNA in Windows 7</title>
		<link>http://pario.no/2012/01/26/disable-dlna-in-windows-7/</link>
		<comments>http://pario.no/2012/01/26/disable-dlna-in-windows-7/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 21:17:38 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[DLNA]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://pario.no/?p=1691</guid>
		<description><![CDATA[If you are using your Windows 7 and have a active wireless network, then the chances are that you are sharing your media files with DLNA enabled devices like smartphones, TVs with wireless access and media centers. This HOWTO describes how you can disable DLNA in Windows 7. Type &#8220;Manage advanced sharing settings&#8221; in the [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using your Windows 7 and have a active wireless network, then the chances are that you are sharing your media files with DLNA enabled devices like smartphones, TVs with wireless access and media centers.<br />
This HOWTO describes how you can disable DLNA in Windows 7.</p>
<ol>
<li>Type &#8220;Manage advanced sharing settings&#8221; in the Start Menu</li>
<li>Go to &#8220;Home and Work&#8221;</li>
<li>Under &#8220;Media Streaming&#8221; you click the &#8220;Choose media streaming options&#8221; link</li>
<li>Click the &#8220;Block all&#8221; button followed by the &#8220;OK&#8221; button</li>
</ol>
<p>You have now disabled DLNA sharing on your computer.</p>
<script type="text/javascript">var wordpress_toolbar_urls = [];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMTIvMDEvMjYvZGlzYWJsZS1kbG5hLWluLXdpbmRvd3MtNy88d3B0Yj5EaXNhYmxlIERMTkEgaW4gV2luZG93cyA3PHdwdGI%2BaHR0cDovL3BhcmlvLm5vPHdwdGI%2BUGFyaW8gVGVjaG5vQmxvYg%3D%3D";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2012/01/26/disable-dlna-in-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Lsyncd to perform &#8220;live&#8221; syncronization of a local directory to a remote directory</title>
		<link>http://pario.no/2012/01/13/using-lsyncd-to-perform-live-syncronization-of-a-local-directory-to-a-remote-directory/</link>
		<comments>http://pario.no/2012/01/13/using-lsyncd-to-perform-live-syncronization-of-a-local-directory-to-a-remote-directory/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 18:14:20 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[lsyncd]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ssh-keygen]]></category>

		<guid isPermaLink="false">http://pario.no/?p=1672</guid>
		<description><![CDATA[This post is a short HOWTO and describes how you can install and run lsyncd to perform a rsync syncronization from local to a remote server using SSH. Lsyncd is a daemon to continuously synchronize directory trees and relies on inotify. If you need real live syncronization DRBD might be a better alternative since it [...]]]></description>
			<content:encoded><![CDATA[<p>This post is a short HOWTO and describes how you can install and run <a href="http://code.google.com/p/lsyncd/">lsyncd</a> to perform a rsync syncronization from local to a remote server using SSH.<br />
Lsyncd is a daemon to continuously synchronize directory trees and relies on inotify. If you need real live syncronization DRBD might be a better alternative since it is a block level syncronization. </p>
<p><strong>Installing Lsyncd 2.0 from source on CentOS 6</strong><br />
Lsyncd is not included as a package in CentOS 6, so you need to download the source file from <a href="http://code.google.com/p/lsyncd/downloads/list">http://code.google.com/p/lsyncd/downloads/list</a>.<br />
You should have rsync, GCC and lua-devel installed on your system before you continue installing Lsyncd.</p>
<pre>
# yum install rsync lua-devel</pre>
<p>Unpack the lsyncd source file and run the following commands from the unpacked file</p>
<pre>
# configure
# make
# make install</pre>
<p>make install copies the compiled files and install them to the right directories in your system.</p>
<p>I need to configure a non password SSH communication between the two servers with a shared SSH key.<br />
On the source server run the following command to generate a SSH key, if you have not done this already.<br />
Remember to do this as the user you are going to perform the sync with.</p>
<pre>
# ssh-keygen</pre>
<p>Secure copy the generated SSH key from the source server to your target server</p>
<pre>
# scp ~/.ssh/id_rsa.pub root@remoteserver:/tmp</pre>
<p>On the target server you need to add the copied SSH key to your existing authorized keys file.<br />
Also remember to do this with the user you are going to connect with from the source server.</p>
<pre>
# cat /tmp/id_rsa.pub >> ~/.ssh/authorized_keys</pre>
<p>If you do not have this file, just create it using the touch command described below</p>
<pre>
# touch ~/.ssh/authorized_keys</pre>
<p>Test if you can ssh without a password from your source server to the target server.</p>
<p>I have made a config file, <strong>/root/scripts/lsyncd.conf</strong> that tells Lsyncd where to put the log- and statusfile. That it should be running as a daemon in the background, and a sync should occur after 900 seconds (15 minutes) if there have not been any filesystem changes and there should not be more than 6 parallell Lsyncd processes.</p>
<pre>
settings = {
   logfile      = "/tmp/lsyncd.log",
   statusFile   = "/tmp/lsyncd.status",
   nodaemon     = false,
   maxDelays    = 900,
   maxProcesses = 6,
}

sync{default.rsyncssh, source="/path/on/source/", host="hostnam.target.server.tld", targetdir="/path/on/target/"}</pre>
<p>To start lsyncd you run the command</p>
<pre>
# lsyncd /root/scripts/lsyncd.conf</pre>
<p>You should now see a Lsyncd process running as a daemon on your system. It performs a sync when you start and then waits for any filesystem changes or sync after 900 seconds.</p>
<p>If you would like Lsyncd to start at boot, just add the following line to the bottom of file <strong>/etc/rc.local</strong></p>
<pre>
lsyncd /root/scripts/lsyncd.conf</pre>
<p>You do now have a working secure rsync syncronization between two servers.</p>
<p><strong>What directories you are syncing</strong></p>
<pre>
# tail -f /tmp/lsyncd.status</pre>
<p><strong>What is happening now</strong></p>
<pre>
# tail -f /tmp/lsyncd.log</pre>
<script type="text/javascript">var wordpress_toolbar_urls = ["http:\/\/code.google.com\/p\/lsyncd\/","http:\/\/code.google.com\/p\/lsyncd\/downloads\/list"];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMTIvMDEvMTMvdXNpbmctbHN5bmNkLXRvLXBlcmZvcm0tbGl2ZS1zeW5jcm9uaXphdGlvbi1vZi1hLWxvY2FsLWRpcmVjdG9yeS10by1hLXJlbW90ZS1kaXJlY3RvcnkvPHdwdGI%2BVXNpbmcgTHN5bmNkIHRvIHBlcmZvcm0gJiM4MjIwO2xpdmUmIzgyMjE7IHN5bmNyb25pemF0aW9uIG9mIGEgbG9jYWwgZGlyZWN0b3J5IHRvIGEgcmVtb3RlIGRpcmVjdG9yeTx3cHRiPmh0dHA6Ly9wYXJpby5ubzx3cHRiPlBhcmlvIFRlY2hub0Jsb2I%3D";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2012/01/13/using-lsyncd-to-perform-live-syncronization-of-a-local-directory-to-a-remote-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to join *.001,*.002,… files from your Linux terminal</title>
		<link>http://pario.no/2012/01/02/how-to-join-001-002-files-from-your-linux-terminal/</link>
		<comments>http://pario.no/2012/01/02/how-to-join-001-002-files-from-your-linux-terminal/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 22:23:50 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[cat]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://pario.no/?p=1668</guid>
		<description><![CDATA[This is a easy way to combine/join/merge several .001 .002 .003 etc files to one file. # cat filename.avi.* > filename.avi The .001 .002 .003 files can be deleted after you have verfied that the files have merged together successfully to one file. If you were using Windows you would normally use a software like [...]]]></description>
			<content:encoded><![CDATA[<p>This is a easy way to combine/join/merge several .001 .002 .003 etc files to one file.</p>
<pre>
# cat filename.avi.* > filename.avi</pre>
<p>The .001 .002 .003 files can be deleted after you have verfied that the files have merged together successfully to one file.</p>
<p>If you were using Windows you would normally use a software like HJSplit or similar.</p>
<script type="text/javascript">var wordpress_toolbar_urls = [];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMTIvMDEvMDIvaG93LXRvLWpvaW4tMDAxLTAwMi1maWxlcy1mcm9tLXlvdXItbGludXgtdGVybWluYWwvPHdwdGI%2BSG93IHRvIGpvaW4gKi4wMDEsKi4wMDIs4oCmIGZpbGVzIGZyb20geW91ciBMaW51eCB0ZXJtaW5hbDx3cHRiPmh0dHA6Ly9wYXJpby5ubzx3cHRiPlBhcmlvIFRlY2hub0Jsb2I%3D";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2012/01/02/how-to-join-001-002-files-from-your-linux-terminal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable IPv6 on Ubuntu 11.10</title>
		<link>http://pario.no/2011/12/09/disable-ipv6-on-ubuntu-11-10/</link>
		<comments>http://pario.no/2011/12/09/disable-ipv6-on-ubuntu-11-10/#comments</comments>
		<pubDate>Fri, 09 Dec 2011 08:39:49 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[11.10]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[sysct]]></category>
		<category><![CDATA[sysctl.conf]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[ubuntu oneiric]]></category>

		<guid isPermaLink="false">http://pario.no/?p=1662</guid>
		<description><![CDATA[This is a short HOWTO on disabling IP version 6 support on your ethernet devices like eth0 on Ubuntu 11.10. I guess you can do this on earlier version of Ubuntu as well. Add the following line to the end of the file /etc/sysctl.conf (as root or use sudo) net.ipv6.conf.all.disable_ipv6 = 1 Run the following [...]]]></description>
			<content:encoded><![CDATA[<p>This is a short HOWTO on disabling IP version 6 support on your ethernet devices like eth0 on Ubuntu 11.10.<br />
I guess you can do this on earlier version of Ubuntu as well.</p>
<p><il>
<li>Add the following line to the end of the file <strong>/etc/sysctl.conf</strong> (as root or use sudo)</p>
<li>
<pre>net.ipv6.conf.all.disable_ipv6 = 1</pre>
</li>
</li>
</ul>
<p>Run the following command to make this change effective immediately</p>
<pre># sudo sysctl -p</pre>
<p>A result from this command could be like this</p>
<pre>
net.ipv6.conf.all.disable_ipv6 = 1</pre>
<p>To check that IPv6 has been disabled or not, run the following command from your console window</p>
<pre>
# ip a | grep inet</pre>
<p>IPv6 has been disabled if this command does not return any IPv6 addresses.</p>
<script type="text/javascript">var wordpress_toolbar_urls = [];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMTEvMTIvMDkvZGlzYWJsZS1pcHY2LW9uLXVidW50dS0xMS0xMC88d3B0Yj5EaXNhYmxlIElQdjYgb24gVWJ1bnR1IDExLjEwPHdwdGI%2BaHR0cDovL3BhcmlvLm5vPHdwdGI%2BUGFyaW8gVGVjaG5vQmxvYg%3D%3D";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2011/12/09/disable-ipv6-on-ubuntu-11-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix low volume issue in Ubuntu 11.04</title>
		<link>http://pario.no/2011/09/19/fix-low-volume-issue-in-ubuntu-11-04/</link>
		<comments>http://pario.no/2011/09/19/fix-low-volume-issue-in-ubuntu-11-04/#comments</comments>
		<pubDate>Sun, 18 Sep 2011 22:06:57 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[11.04]]></category>
		<category><![CDATA[alsamixer]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://pario.no/?p=1602</guid>
		<description><![CDATA[This post is a short howto to fix/workaround the problem with low volume in some Ubuntu 11.04 installations. The fix for me was to open a console window (as the user I&#8217;m logged in with) and start the alsamixer # alsamixer You will then see the alsamixer window. Use the left/right arrow keys and choose [...]]]></description>
			<content:encoded><![CDATA[<p>This post is a short howto to fix/workaround the problem with low volume in some Ubuntu 11.04 installations.<br />
The fix for me was to open a console window (as the user I&#8217;m logged in with) and start the alsamixer</p>
<pre># alsamixer</pre>
<p>You will then see the alsamixer window. Use the left/right arrow keys and choose the device you would like to configure. In my case it was the headphone.<br />
<img class="alignleft size-full wp-image-1604" title="ubuntu-1104-alsamixer-01" src="http://pario.no/wp-content/uploads/2011/09/ubuntu-1104-alsamixer-01.png" alt="" width="625" height="320" /></p>
<p>Choose which sound card you would like to configure on the headphone by pressing the F6-key. Make your choice and press the Enter-key.<br />
<img class="alignleft size-full wp-image-1605" title="ubuntu-1104-alsamixer-02" src="http://pario.no/wp-content/uploads/2011/09/ubuntu-1104-alsamixer-02.png" alt="" width="635" height="333" /></p>
<p>Use your up/down arrow keys to choose the right volume for your configuration. You should have some audio playing while you configure to determine the right value.<br />
<img class="alignleft size-full wp-image-1606" title="ubuntu-1104-alsamixer-03" src="http://pario.no/wp-content/uploads/2011/09/ubuntu-1104-alsamixer-03.png" alt="" width="631" height="336" /></p>
<p>Press the Esc key to exit alsamixer when you have found the right volume. Your settings are persistent and will survive a reboot.<br />
<img class="alignleft size-full wp-image-1607" title="ubuntu-1104-alsamixer-04" src="http://pario.no/wp-content/uploads/2011/09/ubuntu-1104-alsamixer-04.png" alt="" width="628" height="321" /></p>
<p>You are now done with configuring your sound card.</p>
<script type="text/javascript">var wordpress_toolbar_urls = [];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMTEvMDkvMTkvZml4LWxvdy12b2x1bWUtaXNzdWUtaW4tdWJ1bnR1LTExLTA0Lzx3cHRiPkZpeCBsb3cgdm9sdW1lIGlzc3VlIGluIFVidW50dSAxMS4wNDx3cHRiPmh0dHA6Ly9wYXJpby5ubzx3cHRiPlBhcmlvIFRlY2hub0Jsb2I%3D";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2011/09/19/fix-low-volume-issue-in-ubuntu-11-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

