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’t need a static Ip anymore for those…
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; you just need to run apt-get install avahi-daemon.
After that you can reach that machine over the net using its new domain name.
You can discover them with:
gnuton@joshua:~$ avahi-browse -a
+ vmnet8 IPv4 WOPR [00:50:56:c0:00:08] Workstation local
+ vmnet1 IPv4 WOPR [00:50:56:c0:00:01] Workstation local
+ eth1 IPv4 WOPR [00:1e:c2:be:4e:f6] Workstation local
+ eth1 IPv4 key [00:0d:60:5e:35:ab] Workstation local
In my case I have some virtual nets belong to VMWare and one wireless net on eth1.
These interfaces are using the same domain name: WOPR.local
You can see also that there is another workstation in my net.
Its domain name is key.local. That’s my home server…
What more? Avahi can also publish some services so that they are discoverable in the net.
Use case:
- I want to transfer files with Dolphin for KDE4 using ssh/scp. The target machine doesn’t have a static Ip on my net.
I can get the files that I need just opening Dolphin, clicking on the “Network” icon in the sidebar and then “Network services”.
To make discoverable the ssh service you have to:
copy the config ssh service file in the avahi configuration directory with:
cp /usr/share/doc/avahi-daemon/examples/ssh.service /etc/avahi/services/
and then you have to restart the avahi service with
/etc/init.d/avahi-daemon restart
Then you can check that everything goes okay with avahi-browse-domain utility:
root@key:/etc/avahi# avahi-browse-domains -a
+ eth0 IPv4 joshua [00:1e:c2:be:4e:f6] Workstation local
+ eth0 IPv4 key [00:0d:60:5e:35:ab] Workstation local
+ eth0 IPv4 key SSH Remote Terminal local
Here we are! The new service is in the last line!
Avahi is also available for the Meemo devices. You can install it on your N810/N800 just
running apt-get install avahi-daemon.
Note: An old post says about some problem with at the startup that have been solved.
On your linux box now you have something like this:
root@joshua:/etc/avahi# avahi-browse-domains -a
+ vmnet8 IPv4 joshua [00:50:56:c0:00:08] Workstation local
+ vmnet1 IPv4 joshua [00:50:56:c0:00:01] Workstation local
+ eth1 IPv4 joshua [00:1e:c2:be:4e:f6] Workstation local
+ eth1 IPv4 key [00:0d:60:5e:35:ab] Workstation local
+ eth1 IPv4 key SSH Remote Terminal local
+ eth1 IPv4 Nokia-N810-43-7 [00:1d:6e:9c:00:e8] Workstation local
- eth1 IPv4 Nokia-N810-43-7 [00:1d:6e:9c:00:e8] Workstation local
+ eth1 IPv4 Nokia-N810-43-7 [00:1d:6e:9c:00:e8] Workstation local
- eth1 IPv4 Nokia-N810-43-7 [00:1d:6e:9c:00:e8] Workstation local
+ eth1 IPv4 freaky [00:1d:6e:9c:00:e8] Workstation local
In this report you can see that I restarted 2 times my avahi daemon on the N810 and
the last time I changed the hostname editing /etc/avahi/avahi-daemon.conf
Note: the avahi utils are in a separate package: avahi-utils
Dopo tanto tempo il nostro capo e’ andato via
Non ci sono parole per descrivere il nostro stato d’animo.
Nonostante cio’, forgiati dal suo spirito riusciremo ad andare avanti fino a fine server.
Saremo pirati per sempre…
Grazie Machummer!
On this weekend I tried some interesting Symbian applications.
One of them is really interesting. It’s named Fring.
If you have a wireless broadband connection or a prepaied packet GPRS/UMTS connection, probably you may be an happy fring user.
I use it with my wireless connection in order to call some people via Skype and GTalk.
Its interface is like the standard Nokia interface, so you don’t get in trouble using it.
From my tests: The skype plug in seems to works fine, instead the quality of the call throught GTalk service seems to be still poor.
Fring can manage MSN accounts, Yahoo.. etc..
Very fun is also checking your/your friends’ facebook status with it.
You can download and learn more about Fring from fring.com.
Hi there,
today I’ve been banned from Travian. I just refreshed the page and I read “You are banned…”.
What hell is happened? I dunno yet. I just mailed the multi hunter in order to know more about this issue.
Let’s see.
I come from the south of Italy. In my town it’s very rare that it snows. Now that I’m in Helsinki I’m living the true winter!!! In these days the winter has come!
The temperature is less than 0°C and it snows.
Helsinki looks very beautiful under the snow. During these days I’ve taken a couple of pictures…
You can see those clicking the slideshow.
In my spare time I like so much looking for old 80′s TV series. When I was child I spent several hours watching these series. So this morning I found the theme of Airwolf..
Happy watching… AirWolf theme
If you want to find out more about Airwolf, you can check wikipedia
Googlando sembra quasi impossibile trovare una messa in stream! Dall estero non e’ facile vedere la RAI, dato che bloccano gli IP esteri ed al moment non conosco funzionanti e abbastanza veloci Proxy italiani che mi permettano la visione.
Una messa con A/V di qualita la potete seguire in stream su Sat2000.
La Ss. Messa e’ trasmessa la Domenica alle 10:55 (Orario italiano) a seguire l’Angelus del Santo Padre.
Buona visione.
MS Paint is a very basic tool for drawing. This evening I have found some videos that show the impressive skills of some artists..
They are able to sketch a lot of complex things without the aid of an expensive application!!
Great news for us GMail users!!!!
We can make video call with GMail now!!!!
Unfortunately it doesn’t work yet in linux. I just tried it.. it’s simply wonderful!
You need only to install this plugin; http://mail.google.com/videochat?hl=it
Thanks google!!!


