Questions tagged [avahi]

Avahi is a fully LGPL framework for Multicast DNS Service Discovery. It allows programs to publish and discover services and hosts running on a local network with no specific configuration.

What is Avahi?

Avahi is a system which facilitates service discovery on a local network via the mDNS/DNS-SD protocol suite. This enables you to plug your laptop or computer into a network and instantly be able to view other people who you can chat with, find printers to print to or find files being shared. Compatible technology is found in Apple MacOS X (branded "Bonjour" and sometimes "Zeroconf").

Avahi is primarily targeted at Linux systems and ships by default in most distributions. It is not ported to Windows at this stage, but will run on many other BSD-like systems. The primary API is D-Bus and is required for usage of most of Avahi, however services can be published using an XML service definition placed in /etc/avahi/services.

See also the nss-mdns project, which allows hostname lookup of *.local hostnames via mDNS in all system programs using nsswitch

Links for learning more

114 questions
43
votes
14 answers

How to share files between Ubuntu and OSX?

Is there any links/tutorials/videos that helps me share files between Ubuntu and Mac OSX?
bragboy
  • 904
24
votes
3 answers

Access server by host name?

I have a mixed network with mostly Windows machines, a Mac, and a few Linux boxes. There is no DNS or WINS server, and adding one is outside of my control. If I put a clean install of 10.04 desktop on a computer, then all other machines on the…
Warren Pena
  • 2,085
24
votes
1 answer

How do I remove hundreds of automatically added network printers?

It is very difficult for me to perform printing, because the printer dialogue is full of hundreds of automatically added printers, so I can't find the one I want to use, see screenshot below. The printers stem from my work network, where apparently…
jonaslb
  • 342
23
votes
2 answers

How can I discover the hostnames for all the machines on my lan?

I ssh into the machines on my network using hostname.local. I've forgotten the hostname for one of the machines. Is there a command I can issue from one machine that will broadcast a request for and display all the hostnames for the machines on my…
naftalimich
  • 1,185
17
votes
2 answers

Avahi daemon uses excessive amounts of CPU?

It seems that avahi-daemon process, which is unknown to me, is using excessive amounts of CPU on my system I have tried both htop and system monitor, and only htop show the CPU use. Screenshots are included below. What can I do to make avahi-daemon…
Livy
  • 408
  • 1
  • 6
  • 16
16
votes
2 answers

What is mDNS? Is it possible to make mDNS query without mdns service running?

Recently I came across avahi-daemon and mdns.... Do I need a mDNS client in my system to connect with mDNS server? Or is there any other way to connect a computer without mDNS client to a mDNS server computer (hostname.local)? Is it possible to ping…
14
votes
1 answer

Differences between Bonjour/Avahi/People-Nearby protocols

I recently discovered, through Ubuntu's empathy IM client, that exists a protocol that enables the user to talk with anyone on his actual local network. It seems empathy calls this service "People Nearby" and Windows "People Near Me". After some…
dialex
  • 285
13
votes
3 answers

Timeout in a connection to a DHCP server

I want to configure my eth0 interface using an external DHCP server (resident in my subnet), so I edited /etc/network/configure with the lines auto eth0 iface eth0 inet dhcp but I also want to use avahi autoconfiguration when the DHCP server is…
13
votes
3 answers

Ubuntu 18.10, Samba 4.8.4 smb.conf - what are the valid values for fruit:model?

I'm accessing a fresh install of Ubuntu 18.10 and Samba 4.8.4 from macOS clients running Mojave. When connected via SMB, I want the Finder icon to look like a Mac Mini (because that's what Ubuntu 18.10 is running on). In /etc/samba/smb.conf…
12
votes
1 answer

Trouble using ssh and Avahi

Solved: make sure that libnss-mdns is installed! I'm having trouble using SSH'ing from my netbook to my desktop using a .local hostname. Every so often, I have to reset the router I use, which resets the addresses it give out to my devices, so a…
11
votes
5 answers

How to reach a host in the same network by hostname?

I have a network which connects a couple of hosts. I would like to be able to reach other hosts from one of them using the hostname. I just discovered the ".local" domain, which is available through avahi and /etc/nsswitch.conf. But it's not set up…
benzen
  • 343
11
votes
4 answers

How can I force the rediscovery of PulseAudio virtual sound devices?

I'm using the PulseAudio feature of network sound devices (not Multicast/RTP) to play sound from my netbook on the audio equipment connected to the HTPC when at home. This creates a virtual sound device that I can then use instead of the physical…
Christian
  • 278
10
votes
5 answers

Delete eth0 avahi from the ifconfig list

Hello this is the response I get from ifconfig. Now I have two eth0 things being showed up. I need to delete the second one which says eth0:avahi. I posted my ifconfig's response on a site as I has problem using wired internet, and they suggested to…
sai
  • 201
10
votes
1 answer

How can you broadcast a network share (ftp/sftp/webdav) so that it shows up in nautilus for other users

Is there a way to broadcast a network file sharing server that is using a protocol like ftp, sftp, webdav, so that it shows up in naulilus under network:// . I once connected to network where I could see a ftp share. It was a red hat machine. I ask…
9
votes
3 answers

Can 'avahi' handle IP address lookups as well as host name lookups?

Ubuntu uses 'avahi' to perform host name lookups on the local network, which allows me to find other computers just by adding '.local' to the name, e.g. laptop.local or desktop.local. However, avahi does not seem to perform reverse lookups for the…
user8979
1
2 3 4 5 6 7 8