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
2
votes
1 answer
Android NsdManager periodically lost+found avahi daemon service
I have linux PC with installed avahi-daemon (default config) and registered service test.local.
From iOS discovering test.local service thru Bonjour works like a charm but from Android not.
Nsd Manager periodically (every second) call…

Dmitry
- 906
- 1
- 13
- 32
2
votes
2 answers
Can Avahi publish twice the same service name over the network?
I'm trying to write a C program that allows me to publish a service over the local network. I'm using Avahi to publish this service named download and of type _lzo._tcp.
Basically, I deployed this C program in 2 raspberry-pi boards which both have…

Lazao
- 225
- 6
- 16
2
votes
0 answers
How to discover network services on domain other than .local domain in Android?
I want to use Android Network Service Discovery (NSD) function to discover some local network services advertised on local domain. I read the official documentation on Android website about Android NSD. I can find the network services advertised on…

tonga
- 11,749
- 25
- 75
- 96
2
votes
1 answer
Using Avahi ServiceBrowser with (PyQt5) QtDbus and connected slots are not called
I'm having a problem using the QtDbus in PyQt5. What I would like to do is discover a certain Avahi-/Zeroconf service type "_mumble._tcp". When I start my script I can see the signals being emitted in dbus-monitor --system when I start/stop the…

Fladi
- 177
- 1
- 11
2
votes
1 answer
How could I create an AVAHI client & server using C++?
I'm coding a C++ library that, among other things, needs to:
Search for a specific service in a network using AVAHI
Publish itself as a service using AVAHI
I've been searching for existent options. I've found that the creators of POCO C++ offer a…

Jorge Arévalo
- 2,858
- 5
- 36
- 44
2
votes
1 answer
Accessing Avahi through dbus-send
In the process of hacking around with dbus-monitor, I tried connecting to the Avahi daemon:
$ dbus-monitor --system \
"type='signal',interface='org.freedesktop.Avahi.Server',member='StateChanged'"
This will respond to changes in the state of the…

Kietz
- 1,186
- 11
- 19
2
votes
1 answer
How to set up autoip with local-link (RNDIS) on linux and embedded linux
I'm trying to figure out how to automatically setup an zeroconfig network address on a RNDIS Usb Gadget.
currently when i plug in the device, on the device i have to
$ modprobe g_ether
$ ifconfig usb0 up
$ avahi-autoipd usb0 &
and on the host i…

Kevin
- 320
- 5
- 17
2
votes
1 answer
Browsing avahi services with python misses services
I need a class which gives me a list of avahi services of a certain type which a currently available. Therefor I run a gobject.MainLoop() (line 23-25) in a separate thread an add a browser for each service I am interested in (line 27,28). This works…

merula
- 384
- 2
- 8
2
votes
1 answer
multi-threaded avahi resolving causes segfault
I'm attempting to port my zeronconf-enabled C/C++ app to Linux, however I'm getting D-BUS related segfaults. I'm not sure if this is a bug in Avahi, my misuse of Avahi, or a bug in my code.
I am using a ZeroconfResolver object that encapsulates an…

BigMacAttack
- 4,479
- 3
- 30
- 39
2
votes
2 answers
Problems compiling avahi into Android NDK project
Over the last few days I've been having a difficult time trying to build avahi into a static or shared library for use with an existing Android NDK project.
We have a few games in the App and Play stores and my task is to get multiplayer working in…

slushduck
- 193
- 2
- 7
1
vote
0 answers
How to 'avahi-browse' from a docker container on MacOS?
My application needs avahi-browse support from within a docker container. Is there any solution to support avahi-browse within a docker container on MacOS?
How to 'avahi-browse' from a docker container?
The steps in the answer from the link above…

Brett Mather
- 11
- 1
1
vote
1 answer
mDNS (Avahi) working TO RPis but not between them
Avahi/mDNS is running by default on recent versions of Raspian. Great. Very convenient to just ssh pi@mypi.local.
I am doing development on a Mac and operating a local network of headless Raspberry Pis. Up until now, I was able to use mDNS to access…

Wes Modes
- 2,024
- 2
- 22
- 40
1
vote
0 answers
Can avahi-daemon send mDNS service "down" on OS shutdown?
I have set up a avahi daemon to publish my service on a RPi, and have successfully found the service on a different PC using an mDNS client library. The mDNS library (javascript) has event callbacks for the service being "up" or "down". The…

user9277612
- 497
- 4
- 14
1
vote
1 answer
How do I pass a struct into the browse_callback and then further down to resolve_callback in avahi?
I want to populate a widget whenever a service is successfully resolved in avahi. Since most of the information required to populate is available inside resolve_callback(), I need this widget to be present inside it. But resolve_callback() being a…

Divyasheel
- 15
- 4
1
vote
1 answer
Can Linux mDNS client be "pure" client?
I found some famous mDNS clients, such as nss-mdns, Avahi-browse, are dependent on avahi-daemon. However, if we start avahi-daemon, the client machine also publish its mDNS domain name and become a mDNS server. Is there a mDNS client in Linux that…

Evian
- 1,035
- 1
- 9
- 22