Avahi is a free zeroconf implementation - A service discovery protocol. It can be used to find services on a network and also to publish services to be found by other Zeroconf clients.
Questions tagged [avahi]
126 questions
0
votes
0 answers
When run avahi-daemon on arm linux board, it report below log and quited
After cross complied avahi-0.8 and pull it into my arm-linux board, then run avahi-daemon, it report below log info:
root@NVTEVM:/mnt/data$ avahi-daemon
Found user 'root' (UID 0) and group 'root' (GID 0).
Failed to change group list: Function not…

yananJun
- 1
0
votes
0 answers
Is it possible to use Avahi that is running on Host and run a service that is in a container?
I have multi-app containers, one is responsible for creating the xml service file while the Avahi-daemon itself is in thee Host. I need the container (which is in C# but it is possible to use python too) to be the one to create the xml since there…

s_s123
- 1
0
votes
0 answers
Gateway with an avahi-reflector can't resolve hostnames in a subnet, even though clients in both subnets can
I've got a router (runs OpenWrt), on which I've installed avahi and configured it to be a reflector.
I've got two subnets (e.g. subnet1: 192.168.1.X; subnet2: 192.168.2.X).
Subnet1 is the LAN network of that router, subnet2 is plugged into the WAN…

Kacprpi
- 1
- 1
0
votes
0 answers
Protocole Bonjour over TLS
I would like to have some informations about the Bonjour / Zeroconf / Avahi protocols.
I have already done some researcheon the mDNS protocole but I cannot find any technical solution (maybe what I want to build is not possible).
Is it possible to…

JEKES
- 311
- 1
- 3
- 11
0
votes
0 answers
mDNS (avahi) services not found anymore after connecting to a different network
I'm running a avahi deamon on my linux server to publish a service at my local network.
For testing purpuse I use dns-sd.exe from bonjour for discovering. After connecting to the LAN service discovery is working well. But if I close the connection,…

nitrous
- 1
0
votes
1 answer
Can I disable IPv6 when compiling avahi for arm device?
So I want to build avahi for linux arm device, but currently my kernel doesn't support ipv6.
Is it possible if I want disable ipv6 feature on avahi? What ./configure command argument do I need?
Also I will provide more information if you need.
Thank…

tirzasrwn
- 21
- 5
0
votes
0 answers
Removing duplicates from the services resolved by avahi-client
I want to use the C avahi library to create a dialog box in gtk that can list all the services in DNS-SD network. I am able to list all the services in a dialog box but I want to clean this list of duplicate entries. As you can see in the image…

Divyasheel
- 15
- 4
0
votes
1 answer
Cannot add avahi dependency in meson build
I wanted to use the header files for avahi in gnome-control-center. However, when I add the dependency in meson.build file, it gives me this error.
But pkg-config seems to work on the system.
This is how I added the dependency is meson.build
Do I…

Divyasheel
- 15
- 4
0
votes
1 answer
Avahi fails in buildroot running intltool-update
I'm using an older buildroot 2016.11 and want to add DNS-SD by selecting the avahi package. Resulting in this error:
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/^(.*)\${ <-- HERE ?([A-Z_]+)}?(.*)$/ at…

varta
- 3,296
- 1
- 17
- 18
0
votes
1 answer
Unable to resolve .local domains with getent even though avahi-resolve-host-name succeeds
Trying to set up a network printer with CUPS.
Followed online documentation that stated:
To discover or share printers using DNS-SD/mDNS, setup .local hostname
resolution with Avahi and restart cups.service.
Followed directions for setting up…

Eric Ihli
- 1,722
- 18
- 30
0
votes
1 answer
Challenged accessing containerized DNS-SD
I'm a ZeroConf (and Rust) noob and I'm struggling to understand why I'm unable to access a service based upon the astro-dnssd example when the code is containerized and run in a subshell.
The following work:
Running the binary and avahi-browse on…

DazWilkin
- 32,823
- 5
- 47
- 88
0
votes
1 answer
dbus.Array() not working for a list of Strings for Python 3.7
I have written a server to publish on avahi via dbus. The same code working perfectly with Python 2.7, but throws error with Python 3.7
ERROR:dbus.connection:Unable to set arguments (dbus.Int32(-1), dbus.Int32(-1), dbus.UInt32(0), 'SETup',…

SGP
- 83
- 10
0
votes
0 answers
avahi works only few minutes
I use avahi v0.7 compiled with buildroot 2019.02 to armv7 target.
The compilation works fine.
After service start or system start, I can ping (from other computer) my device with ping wpb-the.local. But after few minutes 1 or 2 (on the same…

jmr
- 27
- 1
- 9
0
votes
1 answer
I need mma coomand to build avahi module want to include it into make command AOSP
I am using AOSP Nougat source code.
I want to build avahi module for my custom hardware to support mdns. I can build it using mma command.
I want to include this module in build when I use make command.
Can anyone suggest the way to do it.

Hiren Bhuva
- 11
- 3
0
votes
0 answers
No Service Workers with Avahi/Zeroconf (machineName.local)
When testing for service worker capability in the browser:
(in index.html)
if ('serviceWorker' in navigator) {
console.log('serviceWorker OK');
} else {
console.log('serviceWorker NOT OK');
}
Now if I call localhost/index.html I get a…

yPhil
- 8,049
- 4
- 57
- 83