Questions tagged [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.
88 questions
3
votes
1
answer
87
views
How to find the IP address of a service listed in the "avahi-browse" output?
I can very happily list the systems on my local net with the avahi-browser command:
$ avahi-browse --all --verbose
Server version: avahi 0.8; Host name: mylinux.local
E Ifce Prot Name ...
3
votes
0
answers
79
views
Resolving mDNS host names on a Synology NAS
I have a Synology NAS running DSM 7.2.2:
steve@NAS:/volume1/docker/backuppc-mdns$ cat /proc/sys/kernel/syno_hw_version
DS223j
steve@NAS:/volume1/docker/backuppc-mdns$ head -n 5 /etc/VERSION
...
0
votes
1
answer
52
views
How can avahi daemon backward resolution be working while forward is not?
After a reboot of my server, I noticed the hostname wasn't resolving. I checked the firewall-cmd to see if mdns/5353/udp was open, which it was.
Then, I went to check if Avahi daemon was running, ...
2
votes
1
answer
1k
views
Unable to ping mDNS hostname
I have an application which has an mDNS server running on an ESP32 device. Its hostname is esp32-mdns.local. I can ping this hostname from Windows. However, it is not possible from my Ubuntu 22.04 ...
1
vote
1
answer
717
views
How to check what is blocking my mDNS requests?
This is the situation. I have a home server that publishes multiple domains via avahi.
Avahi and resolvectl are installed on the client (ubuntu 22).
in the file /etc/nsswitch.conf - hosts: files ...
0
votes
1
answer
172
views
Advertising an HTTP/SOCKS proxy over local network
I have a proxy server running on my home server and I want to advertise it so that any client (mostly phones) can connect.
Is it possible to do so?
Transparent proxy is not an option for me.
2
votes
0
answers
273
views
avahi-daemon runs with wrong hostname
I have a problem on one device where the avahi-daemon is running with the wrong hostname and it is messing up my system.
The hostname is ABC-100001 but when I check the process list it shows that
...
1
vote
0
answers
206
views
How to specify which ipv6 address avahi service advertises
I configured a avahi service which I can see with avahi-browse. However I would like to specify which ipv6 address is used in that service advertisement.
I would like it to use "2001:db8:1234:1:...
1
vote
0
answers
2k
views
How to fix stuck CUPS printer shared by remote
I have a server with two USB printers and multiple clients with Debian Bullseye. Clients are spread across LAN with same IP subnet and WLAN with a different subnet. The server shares both printer via ...
1
vote
1
answer
2k
views
Avahi not honoring its own /etc/avahi/hosts on the same machine
scenario
I want to use a mostly relatively light-weight way of associating IP addresses with hostnames.
For this, I've installed Avahi and mdns/nss on my Fedora distro.
I've like to use the pseudo-tld ...
0
votes
1
answer
754
views
Can't ping server that resolves using avahi-resolve
I have a server I've discovered from a Manjaro client using avahi named unaha-closp. However, when I ping it I get:
ping: unaha-closp.local: Name or service not known
In /etc/nsswitch.conf my hosts ...
1
vote
2
answers
1k
views
Install avahi-tools on Centos 9
I want to use avahi-browse on Centos 9. I have installed the avahi package but i cannot find the avahi-tools package.
2
votes
2
answers
2k
views
avahi-resolve works but mdns
I have an updated Debian 11 (bullseye) setup and want to use avahi to connect to locally connected computers.
avahi works, for example:
avahi-resolve -n4 prag11mono.local
gives prag11mono.local 10.0....
0
votes
0
answers
284
views
avahi gives correct ip for local name, but ssh connects to 127.0.0.2
I have a current bullseye debian system with avahi installed and observe a puzzling problem:
avahi-resolve gais.local -n4
returns:
gais.local 10.0.0.106
which seems correct. However, ping or ssh ...
0
votes
1
answer
501
views
What is the difference of the Netatalk package and the Avahi package?
I am a beginner and following some online tutorials for using linux as a NAS and connecting to a mac. Nearly all tutorials talk about the need for using Netatalk and Avahi. Both seem to be networking ...