<?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>Gnuton's Blog &#187; myLinux</title>
	<atom:link href="http://www.gnuton.org/blog/category/mylinux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gnuton.org/blog</link>
	<description>A little blog of a little dreamer</description>
	<lastBuildDate>Tue, 08 Nov 2011 14:05:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Gstreamer-FFmpeg for MeeGo 1.2 Harmattan</title>
		<link>http://www.gnuton.org/blog/2011/11/gstreamer-ffmpeg-for-meego-1-2-harmattan/</link>
		<comments>http://www.gnuton.org/blog/2011/11/gstreamer-ffmpeg-for-meego-1-2-harmattan/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 14:05:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[myLinux]]></category>
		<category><![CDATA[myPhone]]></category>
		<category><![CDATA[myProjects]]></category>

		<guid isPermaLink="false">http://www.gnuton.org/blog/?p=541</guid>
		<description><![CDATA[Hi, If you are browsing this page you may be interested in adding additional codecs to the Harmattan GStreamer. Below you can find gstreamer-ffmpeg packages which allow your Qt app and the platform media player  to play more audio and video formats. The packages here available are basically the Maemo ones: I&#8217;ve done only few [...]]]></description>
			<content:encoded><![CDATA[<p>Hi, If you are browsing this page you may be interested in adding additional codecs to the Harmattan GStreamer. Below you can find gstreamer-ffmpeg packages which allow your Qt app and the platform media player  to play more audio and video formats.</p>
<p>The packages here available are basically the Maemo ones: I&#8217;ve done only few changes in the debian files to let this package build on harmattan. Its source code has not been modified at all and it can be found in the Maemo extras repository: <a href="http://repository.maemo.org/extras-devel/pool/fremantle-1.3/free/source/g/gstreamer0.10-ffmpeg/" target="_blank">http://repository.maemo.org/<wbr>extras-devel/pool/fremantle-1.<wbr>3/free/source/g/gstreamer0.10-<wbr>ffmpeg/</wbr></wbr></wbr></a></p>
<p>The packages you need to install on the device are the following:</p>
<ul>
<li><a href="http://www.mediafire.com/?mokqhsckerhm4pi">gstreamer0.10-ffmpeg_0.10.9-2maemo2_armel.deb</a></li>
<li><a href="http://www.mediafire.com/?4hgsb0hbcuvux9j">liboil0.3_0.3.17-1maemo3+0m6_armel.deb</a></li>
</ul>
<p>If you are a developer and you found a bug you may want to install debug symbols on your device. If you are a normal user you don&#8217;t need this package at all!</p>
<div>
<blockquote>
<div>
<div>
<div>
<ul>
<li><a href="http://www.mediafire.com/?icaoz9w8jzz7234">gstreamer0.10-ffmpeg-dbg_0.10.</a><wbr><a href="http://www.mediafire.com/?icaoz9w8jzz7234">9-2maemo2_armel.deb</a></wbr></li>
</ul>
<p>In case you want to re-build this package on harmattan you have to:</p>
</div>
</div>
<div>1. Download the tarball from <a title="gstreamer0.10-ffmpeg-0.10.9-harmattan.tgz" href="http://www.mediafire.com/?1ybm9gq1kev1dcd" target="_blank">gstreamer0.10-ffmpeg-0.10.9-<wbr>harmattan.tgz  (I apologize if it&#8217;s not in the standard debian way &#8211; tgz + dsc)</wbr></a></div>
<div>2.uncompress the file with: tar cvf <a title="gstreamer0.10-ffmpeg-0.10.9-harmattan.tgz" href="http://www.mediafire.com/?1ybm9gq1kev1dcd" target="_blank">gstreamer0.10-ffmpeg-0.10.9-<wbr>harmattan.tgz .</wbr></a></div>
<div>3. build it in the harmattan platform SDK (scratchbox) with the command dpkg-buildpackage -rfakeroot -b</div>
<div>To build this package you don&#8217;t need external dependencies. Additional libs are required in case you want to support additional codecs.</div>
</div>
</blockquote>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.gnuton.org/blog/2011/11/gstreamer-ffmpeg-for-meego-1-2-harmattan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intel&#8217;s MeeGo components packaged for Ubuntu</title>
		<link>http://www.gnuton.org/blog/2011/04/intels-meego-components-packaged-for-ubuntu/</link>
		<comments>http://www.gnuton.org/blog/2011/04/intels-meego-components-packaged-for-ubuntu/#comments</comments>
		<pubDate>Fri, 01 Apr 2011 14:22:47 +0000</pubDate>
		<dc:creator>gnuton</dc:creator>
				<category><![CDATA[myLife]]></category>
		<category><![CDATA[myLinux]]></category>

		<guid isPermaLink="false">http://www.gnuton.org/blog/?p=499</guid>
		<description><![CDATA[Today I spent some time to debianize Intel&#8217;s MeeGo Components for Maverick. Ville wrote a post about how to install them on your machine easily. If interested on the debianization of these pacakages you may want to take a look at: ﻿﻿﻿https://meego.gitorious.org/+fn-meego/meego-ux/fn-meego-mlite https://gitorious.org/+fn-meego/meego-ux/fn-meego-meego-ux-components https://gitorious.org/+fn-meego/meego-ux/fn-meego-meego-ux-theme Here is a video of MeeGo widget gallery application running on [...]]]></description>
			<content:encoded><![CDATA[<p>Today I spent some time to debianize <a href="http://wiki.meego.com/MeeGo_UX_Components">Intel&#8217;s MeeGo Components</a> for Maverick. Ville wrote a <a href="http://confusingdevelopers.wordpress.com/2011/04/01/intels-qt-quick-components-available-for-ubuntu/&lt;/a&gt;">post</a> about how to install them on your machine easily.</p>
<p>If interested on the debianization of these pacakages you may want to take a look at:</p>
<ul>
<li>﻿﻿﻿<a href="https://meego.gitorious.org/+fn-meego/meego-ux/fn-meego-mlite">https://meego.gitorious.org/+fn-meego/meego-ux/fn-meego-mlite</a></li>
<li><a href="https://gitorious.org/+fn-meego/meego-ux/fn-meego-meego-ux-components">https://gitorious.org/+fn-meego/meego-ux/fn-meego-meego-ux-components</a></li>
<li><a href="https://gitorious.org/+fn-meego/meego-ux/fn-meego-meego-ux-theme">https://gitorious.org/+fn-meego/meego-ux/fn-meego-meego-ux-theme</a></li>
</ul>
<p>Here is a video of MeeGo widget gallery application running on my linux box: <a href="http://www.youtube.com/watch?v=tmXdgQ6T5kE">MeeGo UX components</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gnuton.org/blog/2011/04/intels-meego-components-packaged-for-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transparent QML applications</title>
		<link>http://www.gnuton.org/blog/2011/01/transparent-qml-application/</link>
		<comments>http://www.gnuton.org/blog/2011/01/transparent-qml-application/#comments</comments>
		<pubDate>Mon, 31 Jan 2011 15:13:58 +0000</pubDate>
		<dc:creator>gnuton</dc:creator>
				<category><![CDATA[myDocs]]></category>
		<category><![CDATA[myLinux]]></category>
		<category><![CDATA[myPhone]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[QML]]></category>
		<category><![CDATA[qt]]></category>

		<guid isPermaLink="false">http://www.gnuton.org/blog/?p=485</guid>
		<description><![CDATA[Here is the code to make a QDeclarativeView based application transparent. #include #include int main(int argc, char *argv[]) { QApplication a(argc, argv); QDeclarativeView view; view.setSource(QUrl::fromLocalFile(&#8220;myqmlfile.qml&#8221;)); view.setAttribute(Qt::WA_TranslucentBackground); view.viewport()-&#62;setAutoFillBackground(false); view.show(); return a.exec(); }]]></description>
			<content:encoded><![CDATA[<p>Here is the code to make a QDeclarativeView based application transparent.</p>
<p>#include<br />
#include </p>
<p>int main(int argc, char *argv[])<br />
{<br />
    QApplication a(argc, argv);</p>
<p>    QDeclarativeView view;<br />
    view.setSource(QUrl::fromLocalFile(&#8220;myqmlfile.qml&#8221;));<br />
    view.setAttribute(Qt::WA_TranslucentBackground);<br />
    view.viewport()-&gt;setAutoFillBackground(false);</p>
<p>    view.show();<br />
    return a.exec();<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gnuton.org/blog/2011/01/transparent-qml-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing flash plugin on Ubuntu Maverick 10.10</title>
		<link>http://www.gnuton.org/blog/2010/10/installing-flash-plugin-on-ubuntu-maverick-10-10/</link>
		<comments>http://www.gnuton.org/blog/2010/10/installing-flash-plugin-on-ubuntu-maverick-10-10/#comments</comments>
		<pubDate>Mon, 11 Oct 2010 09:16:48 +0000</pubDate>
		<dc:creator>gnuton</dc:creator>
				<category><![CDATA[myDocs]]></category>
		<category><![CDATA[myLinux]]></category>

		<guid isPermaLink="false">http://www.gnuton.org/blog/?p=472</guid>
		<description><![CDATA[Today I&#8217;ve updated my linux box to the latest stable KUbuntu release. Everything went smooth except that flash plugin seems missing. YouTube as well as Google streetmap claim Flash plugin 10.x is not available. Adobe website says that the plugin has been integrated into the browser.. The point is I&#8217;m not able to see any [...]]]></description>
			<content:encoded><![CDATA[<p>Today I&#8217;ve updated my linux box to the latest stable KUbuntu release. Everything went smooth except that flash plugin seems missing. YouTube as well as Google streetmap claim Flash plugin 10.x is not available. Adobe website says that the plugin has been integrated into the browser..<br />
The point is I&#8217;m not able to see any flash content! So what the heck?<br />
Looks that Chromium doesn&#8217;t have flash plugin at all (Maybe Chrome has it!), and flasher-installer package didn&#8217;t work during the upgrade.<br />
Then to make it working, I did the following steps:<br />
1) Download the flash plugin from adobe website (Linux 64bit version in my case) http://labs.adobe.com/downloads/flashplayer10.html<br />
2) Uncompress the downloaded tarball: tar xvzf flashplayer_square_p2_64bit_linux_092710.tar.gz<br />
3) Move the shared object to the right dir: mv libflashplayer.so /usr/lib/chromium-browser/plugins/<br />
4) Restart your chromium</p>
<p>Maybe there are other ways like installing the flash plugin from some ubuntu unofficial repositories.. but I preferred this way.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gnuton.org/blog/2010/10/installing-flash-plugin-on-ubuntu-maverick-10-10/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Setting up a personal remote git repository</title>
		<link>http://www.gnuton.org/blog/2010/08/setting-up-a-personal-remote-git-repository/</link>
		<comments>http://www.gnuton.org/blog/2010/08/setting-up-a-personal-remote-git-repository/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 11:31:38 +0000</pubDate>
		<dc:creator>gnuton</dc:creator>
				<category><![CDATA[myDocs]]></category>
		<category><![CDATA[myLinux]]></category>

		<guid isPermaLink="false">http://www.gnuton.org/blog/?p=458</guid>
		<description><![CDATA[Even if Forum Nokia gives public git repositories for free, in some cases coders want to keep their work in a &#8220;more secret&#8221; place. So I set up a git remote repository on my home server. Here are the steps I followed to have it in place: On the server side: 1. apt-get install apache2 [...]]]></description>
			<content:encoded><![CDATA[<p>Even if Forum Nokia gives public git repositories for free, in some cases coders want to keep their work in a &#8220;more secret&#8221; place. So I set up a git remote repository on my home server.</p>
<p>Here are the steps I followed to have it in place:</p>
<p>On the server side:</p>
<p>1. apt-get install apache2 git-core gitweb</p>
<p>2. mkdir  /var/cache/git</p>
<p>Now we can create our first remote repository:</p>
<p>1. cd /var/cache/git/repository-name.git</p>
<p>2. git &#8211;bare init</p>
<p>3. chown﻿﻿ your _ssh_username ﻿/var/cache/git/repository-name.git -R</p>
<p>4. chgrp﻿﻿ your _ssh_username ﻿/var/cache/git/repository-name.git -R</p>
<p>So we have initialized an empty git repository  and we are now ready to use it!</p>
<p>On your local machine:</p>
<p>1. ﻿ git clone ssh://your_ssh_username@remote_server/var/cache/git/repository-name.git</p>
<p>2. cd repository-name</p>
<p>Let&#8217;s now try to do a simple basic operation, like adding a file to the repository</p>
<p>1. touch HELLO</p>
<p>2. git add HELLO</p>
<p>3. git commit -a -m &#8220;Add HELLO&#8221;</p>
<p>4. git push origin master</p>
<p>Moreover, since we installed gitweb, it shows our commits. Gitweb is available at  http://remote_server/gitweb</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gnuton.org/blog/2010/08/setting-up-a-personal-remote-git-repository/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Compiling a custom Ubuntu Kernel step by step</title>
		<link>http://www.gnuton.org/blog/2009/12/compiling-a-custom-ubuntu-kernel-step-by-step/</link>
		<comments>http://www.gnuton.org/blog/2009/12/compiling-a-custom-ubuntu-kernel-step-by-step/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 11:30:59 +0000</pubDate>
		<dc:creator>gnuton</dc:creator>
				<category><![CDATA[myLinux]]></category>

		<guid isPermaLink="false">http://www.gnuton.org/blog/?p=424</guid>
		<description><![CDATA[I want to list here brefly all steps to compile a custom Ubuntu kernel sudo -s apt-get install kernel-source kernel-package libncurses5-dev fakeroot cd /usr/src tar xvjf tar xjvf linux-source-`uname -r`.tar.bz2 ln -s /usr/src/linux-source-2.6.31 linux cd /usr/src/linux cp /boot/config-`uname -r` /usr/src/linux/.config make menuconfig Now you can modify the kernel configuration&#8230; make-kpkg clean fakeroot make-kpkg –initrd –append-to-version=-custom [...]]]></description>
			<content:encoded><![CDATA[<p>I want to list here brefly all steps to compile a custom Ubuntu kernel</p>
<ul>
<li>sudo -s</li>
<li>apt-get install kernel-source kernel-package libncurses5-dev fakeroot</li>
<li>cd /usr/src</li>
<li>tar xvjf tar xjvf linux-source-`uname -r`.tar.bz2</li>
<li>ln -s /usr/src/linux-source-2.6.31 linux</li>
<li>cd /usr/src/linux</li>
<li>cp /boot/config-`uname -r` /usr/src/linux/.config</li>
<li>make menuconfig</li>
<li>Now you can modify the kernel configuration&#8230;</li>
<li>make-kpkg clean</li>
<li>fakeroot make-kpkg –initrd –append-to-version=-custom kernel_image kernel_headers</li>
</ul>
<p>After some time you will have debian packages like: linux-image-xxx.deb linux-headers-xxx.deb in /usr/src</p>
<p>Use dpkg -i *.deb to install it, reboot your machine and select them in grub/lilo.</p>
<div><a href="http://www.wordreference.com/enit/files#Otbl" target="_blank">Translate</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.gnuton.org/blog/2009/12/compiling-a-custom-ubuntu-kernel-step-by-step/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DD-WRT: Remove SSH login banner</title>
		<link>http://www.gnuton.org/blog/2009/11/dd-wrt-remove-ssh-login-banner/</link>
		<comments>http://www.gnuton.org/blog/2009/11/dd-wrt-remove-ssh-login-banner/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 22:15:49 +0000</pubDate>
		<dc:creator>gnuton</dc:creator>
				<category><![CDATA[myDocs]]></category>
		<category><![CDATA[myLinux]]></category>

		<guid isPermaLink="false">http://www.gnuton.org/blog/?p=413</guid>
		<description><![CDATA[Despite DD-WRT is a cool firmware there are some default things that looks very crap from a security point of view. One of these is the ssh login banner used by sshd. To remove it use Web interface &#62; Administration &#62; Commands &#62; paste echo "Unauthorized access is prohibited." &#62; /tmp/loginprompt killall dropbear dropbear -b [...]]]></description>
			<content:encoded><![CDATA[<p>Despite DD-WRT is a cool firmware there are some default things that looks very crap from a security point of view. One of these is the ssh login banner used by sshd.</p>
<p>To remove it use Web interface &gt; Administration &gt; Commands &gt; paste</p>
<pre><em>
<pre id="startup">echo "Unauthorized access is prohibited." &gt; /tmp/loginprompt
killall dropbear
dropbear -b /tmp/loginprompt -r /tmp/root/.ssh/ssh_host_rsa_key -d /tmp</pre>
<pre id="startup"></pre>
<p></em></pre>
<pre>and press "<em>Save Startup"</em> button<em>.
Power light will blink for 30 seconds. After that sshd will show new banner.

</em>gnuton@iron:~$ ssh root@192.168.1.1
Unauthorized access is prohibited.
root@192.168.1.1's password:</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.gnuton.org/blog/2009/11/dd-wrt-remove-ssh-login-banner/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Updating DinamicDNS and OpenDNS settings with a public IP</title>
		<link>http://www.gnuton.org/blog/2009/05/updating-dinamicdns-and-opendns-settings-with-a-public-ip/</link>
		<comments>http://www.gnuton.org/blog/2009/05/updating-dinamicdns-and-opendns-settings-with-a-public-ip/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 23:12:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[myLinux]]></category>
		<category><![CDATA[myProjects]]></category>

		<guid isPermaLink="false">http://www.gnuton.org/blog/?p=396</guid>
		<description><![CDATA[Most people run a home server behind a router. If you have a dynamic IP, this could be very annoying. The server don&#8217;t know about the public IP (of the router), the router sometime don&#8217;t update the dinamic DNS. The OpenDNS settings are not valid anymore if your IP chages. To avoid all these issues, [...]]]></description>
			<content:encoded><![CDATA[<p>Most people run a home server behind a router. If you have a dynamic IP, this could be very annoying. The server don&#8217;t know about the public IP (of the router), the router sometime don&#8217;t update the dinamic DNS. The OpenDNS settings are not valid anymore if your IP chages.</p>
<p>To avoid all these issues, this night I wrote a very cool script that updates  DynDNS and OpenDNS at the same time.</p>
<p>DynDNS allows me to have a domain like my-server.dyndns.org with a dinamic IP. OpenDNS instead after a free registration and after that I added its DNS IP to my DHCP router configuration, it offers a safe browsing to my network users protecting them from several internet threats like phishing, adult sites ecc..</p>
<p>My server runs this script every hours via cron.</p>
<p><em>#! /bin/bash</em></p>
<p><em>user=MYUSER<br />
password=MYPASSWORD<br />
hostname=MYDNS.MYDNS.ORG<br />
#wildcard allowed values are NOCHG, Y, N<br />
wildcard=NOCHG<br />
mx=NOCHG<br />
# Y=Yes, use it as my primary mail relay.  N=No, use it as backup MX record.<br />
backmx=NOCHG</em></p>
<p><em>#current IP<br />
currentIP=$( curl -s http://checkip.dyndns.org/ | grep -o &#8220;[[:digit:].]\+&#8221; )</em></p>
<p><em>#check<br />
if [ "$currentIP" != "$(cat lastIP)" ]; then<br />
echo IP changed to $currentIP<br />
echo &#8220;$currentIP&#8221; &gt; lastIP<br />
#update OpenDNS<br />
/usr/bin/curl -m 60 -u $user:$password &#8216;https://updates.opendns.com/account/ddns.php?&#8217;<br />
#update DynDNS<br />
curl -v -k -u $user:$password &#8220;https://members.dyndns.org/nic/update?hostname=$hostname&amp;myip=$currentIP&amp;wildcard=$wildcard&amp;mx=$mx&amp;backmx=$backmx&#8221;</em></p>
<p><em>else<br />
echo IP not changed. It is still $currentIP<br />
fi<br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gnuton.org/blog/2009/05/updating-dinamicdns-and-opendns-settings-with-a-public-ip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Goosh: Google Shell</title>
		<link>http://www.gnuton.org/blog/2009/03/goosh-google-shell/</link>
		<comments>http://www.gnuton.org/blog/2009/03/goosh-google-shell/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 22:55:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[myFunStuff]]></category>
		<category><![CDATA[myLinux]]></category>

		<guid isPermaLink="false">http://www.gnuton.org/blog/2009/03/goosh-google-shell/</guid>
		<description><![CDATA[Some minutes ago I discovered this cool site: http://goosh.org/ here you have a &#8220;google powered&#8221; terminal.. ahah]]></description>
			<content:encoded><![CDATA[<p>Some minutes ago I discovered this cool site: http://goosh.org/ here you have a &#8220;google powered&#8221; terminal.. ahah <img src='http://www.gnuton.org/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.gnuton.org/blog/2009/03/goosh-google-shell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Avahi</title>
		<link>http://www.gnuton.org/blog/2009/03/using-avahi/</link>
		<comments>http://www.gnuton.org/blog/2009/03/using-avahi/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 02:39:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[myDocs]]></category>
		<category><![CDATA[myLinux]]></category>

		<guid isPermaLink="false">http://www.gnuton.org/blog/?p=368</guid>
		<description><![CDATA[Few people know how much useful avahi could be. You can forget to run ifconfig on the target machines/devices to know the IP, you don&#8217;t need a static Ip anymore for those&#8230; You can give to any machine that runs an avahi-server the possibilty to have a DNS like machinename.local. Installing avahi is quite simple; [...]]]></description>
			<content:encoded><![CDATA[<p>Few people know how much useful avahi could be. You can forget to run ifconfig on the target machines/devices to know the IP, you don&#8217;t need a static Ip anymore for those&#8230;<br />
You can give to any machine that runs an avahi-server the possibilty to have a DNS like machinename.local.</p>
<p><strong>Installing avahi</strong> is quite simple; you just need to run apt-get install avahi-daemon.<br />
After that you can reach that machine over the net using its new domain name.<br />
You can discover them with:<br />
<em>gnuton@joshua:~$ avahi-browse -a<br />
+ vmnet8 IPv4 WOPR [00:50:56:c0:00:08]                      Workstation          local<br />
+ vmnet1 IPv4 WOPR [00:50:56:c0:00:01]                      Workstation          local<br />
+ eth1 IPv4 WOPR [00:1e:c2:be:4e:f6]                      Workstation          local<br />
+ eth1 IPv4 key [00:0d:60:5e:35:ab]                       Workstation          local</em></p>
<p>In my case I have some virtual nets belong to VMWare and one wireless net on eth1.<br />
These interfaces are using the same domain name: WOPR.local<br />
You can see also that there is another workstation in my net.<br />
Its domain name is key.local. That&#8217;s my home server&#8230;</p>
<p>What more? Avahi can also publish some services so that they are discoverable in the net.<br />
Use case:<br />
- I want to transfer files with Dolphin for KDE4 using ssh/scp. The target machine doesn&#8217;t have a static Ip on my net.<br />
  I can get the files that I need just opening Dolphin, clicking on the &#8220;Network&#8221; icon in the sidebar and then &#8220;Network services&#8221;.</p>
<p>To make discoverable the ssh service you have to:<br />
copy the config ssh service file in the avahi configuration directory with:<br />
<em>cp /usr/share/doc/avahi-daemon/examples/ssh.service  /etc/avahi/services/</em><br />
and then you have to restart the avahi service with<br />
/etc/init.d/avahi-daemon restart</p>
<p>Then you can check that everything goes okay with avahi-browse-domain utility:<br />
root@key:/etc/avahi# avahi-browse-domains -a<br />
+ eth0 IPv4 joshua [00:1e:c2:be:4e:f6]                    Workstation          local<br />
+ eth0 IPv4 key [00:0d:60:5e:35:ab]                       Workstation          local<br />
+ eth0 IPv4 key                                           SSH Remote Terminal  local</p>
<p>Here we are! The new service is in the last line! <img src='http://www.gnuton.org/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Avahi is also available for the Meemo devices. You can install it on your N810/N800 just<br />
running apt-get install avahi-daemon.<br />
Note: An old <a href="http://thpmaemo.blogspot.com/2008/11/get-avahi-working-on-maemo.html">post</a> says about some problem with at the startup that have been solved.</p>
<p>On your linux box now you have something like this:<br />
root@joshua:/etc/avahi# avahi-browse-domains -a<br />
+ vmnet8 IPv4 joshua [00:50:56:c0:00:08]                    Workstation          local<br />
+ vmnet1 IPv4 joshua [00:50:56:c0:00:01]                    Workstation          local<br />
+ eth1 IPv4 joshua [00:1e:c2:be:4e:f6]                        Workstation          local<br />
+ eth1 IPv4 key [00:0d:60:5e:35:ab]                            Workstation          local<br />
+ eth1 IPv4 key                                                     SSH Remote Terminal  local<br />
+ eth1 IPv4 Nokia-N810-43-7 [00:1d:6e:9c:00:e8]           Workstation          local<br />
- eth1 IPv4 Nokia-N810-43-7 [00:1d:6e:9c:00:e8]           Workstation          local<br />
+ eth1 IPv4 Nokia-N810-43-7 [00:1d:6e:9c:00:e8]           Workstation          local<br />
- eth1 IPv4 Nokia-N810-43-7 [00:1d:6e:9c:00:e8]           Workstation          local<br />
+ eth1 IPv4 freaky [00:1d:6e:9c:00:e8]                    Workstation          local</p>
<p>In this report you can see that I restarted 2 times my avahi daemon on the N810 and<br />
the last time I changed the hostname editing /etc/avahi/avahi-daemon.conf</p>
<p>Note: the avahi utils are in a separate package: avahi-utils <img src='http://www.gnuton.org/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.gnuton.org/blog/2009/03/using-avahi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

