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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

"avahi-browse --all" shows less than a specific service?

$ avahi-browse --terminate --all $ avahi-browse --terminate _ipp._tcp + enp2s0 IPv4 Canon iR C1538i Internet Printer local + enp2s0 IPv4 Canon iR1643i II Internet Printer ...
Robert Siemer's user avatar
0 votes
1 answer
67 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 ...
Павел Резин's user avatar
0 votes
0 answers
72 views

Avahi mDNS blocked in queue

Im running avahi-daemon 0.8 on a arm64 embedded device (Ubuntu 20.04.6). If I acces the device in browser with IP directly in loads in 2ms maximum, but if use the host-name created by me with '.local' ...
Gabi5537's user avatar
0 votes
1 answer
40 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.
mFat's user avatar
  • 121
1 vote
0 answers
78 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 ...
uncletall's user avatar
  • 111
0 votes
0 answers
85 views

Additional IP being assigned to the wired interface breaks connection to the internet on my wired-to-wireless 'bridge' using parprouted

Description of the problem I've been trying to set up a wired (usb) to wireless "bridge" using the parprouted approach on a Khadas VIM3L board running a Debian based distribution called ...
Gabriel Antonio Santos Baez's user avatar
1 vote
0 answers
91 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:...
Frank Schrijver's user avatar
0 votes
0 answers
893 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 ...
Daniel Böhmer's user avatar
1 vote
0 answers
744 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 ...
polemon's user avatar
  • 11.4k
0 votes
1 answer
415 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 ...
Nate's user avatar
  • 144
1 vote
2 answers
760 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.
Karka's user avatar
  • 21
0 votes
1 answer
1k 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....
user855443's user avatar
0 votes
0 answers
210 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 ...
user855443's user avatar
0 votes
1 answer
435 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 ...
Jacob Miller's user avatar
2 votes
1 answer
1k views

How to un-publish a DNS-SD service?

Suppose I have dynamically published a DNS-SD service using avahi-publish, as in avahi-publish -s "My service" _myservic._tcp 1234 How can I un-publish it without restarting the Avahi ...
JRI's user avatar
  • 131
0 votes
0 answers
437 views

How to find out ip of local-link-ed linux? (make one discoverable by ip, broadcast, discovery, avahi)

I connected two Linux PCs with local-link directly. I now want one to know e.g. ipv6 address assigned by local-link connection. I've tried web search for discover and make discoverable, etc. and found ...
Martian2020's user avatar
  • 1,157
2 votes
0 answers
216 views

multiple DNS services

On my Fedora system : a simple PC workstation behind a provider box with an extra laptop also on Fedora, I have dnsmasq, avahi-daemon and systemd-resolved which all manage DNS connections. avahi-...
John Doe's user avatar
  • 1,011
2 votes
1 answer
6k views

Ubuntu 20.04: Permanently disable a service start at boot

I am using Ubuntu 20.04. I have tried to stop and disable the avahi-daemon as below: $ sudo systemctl stop avahi-daemon.service $ sudo systemctl disable --now avahi-daemon.socket $ sudo systemctl ...
Adnan Ali's user avatar
  • 123
2 votes
1 answer
1k views

How can I advertise a VNC service over Avahi?

I have a home network with two Macs and a PC running Debian (and possible other distros in the future). I currently have Avahi set up on the Debian PC along with Netatalk, advertising the PC as an ...
Elsie Hupp's user avatar
0 votes
1 answer
286 views

DNS resolution not working after avahi installation

I installed and set up avahi and nss-mdns according to Arch wiki (I'm on Arch) and disabled systemd-resolved's multicast dns, but now dns resolution fails on my machine entirely. I then tried ...
Californian's user avatar
-1 votes
3 answers
82 views

rhel 7.x machines unexpected failure and message file

we have today strange behavior with our Linux server rhel 7.6 from some reason server goes down and from the messages file we can see that server stop be available on Oct 16 18:17:22 after some ...
yael's user avatar
  • 13.1k
1 vote
0 answers
266 views

How to avoid IP collisions of RNDIS devices?

Scenario is like this: I have a couple of devices using autoip and mdns over rndis (ethernet over USB) to connect to a host: You connect them with usb, the PC detects an rndis device, both ends choose ...
Philippos's user avatar
  • 13.4k
0 votes
0 answers
2k views

WARNING: No NSS support for mDNS detected, consider installing nss-mdns!

I have cross-compiled avahi-0.8 library for the MIPS platform. I am able to run the avahi daemon from the console, but I'm getting the following warning: WARNING: No NSS support for mDNS detected, ...
Nirav Patel's user avatar
6 votes
0 answers
2k views

systemd-resolved browse for mdns services

Can systemd-resolved be used to browse for mdns services the same way like avahi-browse? For example: $ avahi-browse _smb._tcp + eno1 IPv6 PC1 Microsoft Windows ...
sila_user's user avatar
19 votes
1 answer
16k views

What is the difference between resolvconf, systemd-resolve, and avahi?

I'm currently working on a project that has required some DNS troubleshooting. However I am fairly new to the wonderful world of networking and I'm at a bit of a loss as to where to begin. My specific ...
Toshi Taperek's user avatar
1 vote
0 answers
565 views

How to configure avahi/nss_mdns to append .domain when using short names

I have environment with 2 or more servers (Ubuntu 18.04) each running avahi-daemon. Avahi configuration file looks like: [server] host-name=n11 domain-name=alocal browse-domains=alocal use-ipv4=yes ...
welibekov's user avatar
1 vote
1 answer
804 views

IPv6 direct connection

A project (Linux based) I am working on requires an IPv6 only network interface which can be accessable via mDNS when connected to a network or when directly connected to another machine. The ...
benji's user avatar
  • 11
5 votes
3 answers
20k views

Can't resolve hostname.local on LAN

I used to be able to ssh [email protected] between machines on my LAN but it is no longer working. I can ssh using the IP of course, but it's DHCP so it may change from time to time. Both machines ...
Manumie's user avatar
  • 91
2 votes
1 answer
355 views

Are Avahi and Bonjour compatible?

I would like to set up a network printer on my Linux desktop (Parabola GNU/Linux, derivative of Arch) so that my wife can connect to it with her Macbook. I understand that Linux uses Avahi to share ...
Time4Tea's user avatar
  • 2,328
14 votes
3 answers
31k views

What is the avahi daemon?

I just learning about daemon, by that time I came know avahi daemon can you please explain detaily about avahi daemon and why linux has a avahi user ?
MP Creations's user avatar
0 votes
1 answer
637 views

Routing zeroconf interfaces

Please excuse the long description here, but I think it's worth explaining the setup before asking the question: I have 2 usb Ethernet devices connected to my machine (debian) which configure ...
CoderChris's user avatar
0 votes
1 answer
501 views

forwarding avahi-daemon socket to chroot

I have a raspberry pi 3b+ installed with raspbian stretch and I have installed an i386 chroot. The problem is the CUPS server require avahi-daemon for printer discovery and I haven't been able to ...
Binary's user avatar
  • 101
2 votes
0 answers
463 views

Bonjour/Zeroconf not working properly on Ubuntu 18.04

I have a raspberry pi (Raspian) running a nodejs http page. The pi has a hostname and uses Avahi to advertise it. I have the Bonjour service running on my Windows PC and I can access the page just ...
Rohan Jhunjhunwala's user avatar
2 votes
1 answer
2k views

SSH is unable to resolve local domain names

I'm trying to connect to several computers via their hostnames since they get their IP via DHCP. I can successfully ping the machines via ping host-01.local. ping, wget, avahi-resolve and even ...
Anni Lua's user avatar
5 votes
1 answer
7k views

Is it advisable to remove Avahi and CUPS-browse?

From time to time, Avahi takes 100% CPU and CUPS-browse delays the system shutdown with the message "a stop job is running for make remote cups printers available locally". I know Avahi finds ...
giusti's user avatar
  • 1,817
1 vote
0 answers
552 views

How does avahi enable mDNS and expose it via LAN with ipv6 compared to Apple's mDNSResponder?

I'm using a device with Linux 4.9 and systemd-networkd. With ipv4 everything is ok, so I want to talk only of ipv6. In fact, I completely disabled ipv4 to use ipv6 with DHCP. So this is my initial ...
Stefano Cappa's user avatar
2 votes
1 answer
560 views

systemd.networkd: how to set default link-local address?

systemd-networkd: Is it possible to configure default link-local address, which will be tried as the first one? Something like '--start=' parameter for avahi-autoipd.
coulomb's user avatar
  • 33
3 votes
0 answers
903 views

How to configure ipv4 Link-Local on Linux with systemd-networkd without violating RFC3927 specifications?

I'm using an embedded device with Linux 4.9 and systemd. I configured systemd-networkd in this way: [Match] Name=eth0 [Network] DHCP=v4 [DHCPv4] UseHostname=false How can I setup Link-Local only ...
Stefano Cappa's user avatar
7 votes
1 answer
338 views

How can I limit engagement with a large office LAN?

I work in a large office building with hundreds of other computers on the same LAN. I don't have any reason to communicate with most of these computers, and when I do, it's always on an "opt-in" basis ...
cxrodgers's user avatar
  • 223
3 votes
1 answer
3k views

Debugging mDNS with Avahi across Linux and macOS

I have a network of elementary Loki (Ubuntu 16.04) computers at home which work great and can be accessed over mDNS/Avahi. ping juggernaut.local works as expected, and I can reach hosts both ways over ...
Naftuli Kay's user avatar
  • 39.5k
3 votes
0 answers
10k views

can't boot Linux due to Login service failing to start

I am having a bit of trouble with my linux mint 18.3 (based on Ubuntu 16.04) since I can't manage to properly boot it on my computer. I have a dual-boot and windows launch properly, so there is that. ...
laH_0009's user avatar
2 votes
1 answer
564 views

Converting 'ifconfig wlan0:avahi ...' command to use ip instead of ifconfig

I am currently working on setting up a wireless mesh network using babeld as the routing algorithm. The documentation is very sparse, and most of the configuration guides I've seen online are using ...
J. Taylor's user avatar
  • 2,685
4 votes
2 answers
6k views

Why does Avahi see my network printer but CUPS doesn't?

I've set up .local hostname resolution, started cups-browsed and restarted org.cups.cupsd.service. avahi-browse shows the WiFi printer: $ avahi-browse --all --ignore-local | head --lines=1 | tr --...
l0b0's user avatar
  • 51.1k
2 votes
1 answer
3k views

Why is the status message for avahi-daemon.service permanently "starting up"?

$ systemctl status avahi-daemon ● avahi-daemon.service - Avahi mDNS/DNS-SD Stack Loaded: loaded (/usr/lib/systemd/system/avahi-daemon.service; enabled; vendor preset: enabled) Active: active (...
sourcejedi's user avatar
  • 49.9k
2 votes
0 answers
3k views

Cannot receive DHCP OFFER

Recently my ethernet connection can't work. Seems that I can't receive DHCP OFFER sending by the DHCP server. My computer : OS : Ubuntu 17.10 Kernel : Linux version 4.13.0-38-generic (buildd@lgw01-...
Tomy137's user avatar
  • 21
0 votes
1 answer
384 views

Where can I find the drivers of a Unix printer? (Arch)

Earlier today I went to the AUR repository and downloaded this driver https://aur.archlinux.org/packages/brother-hll2340dw/ for my printer. It turns out, I didn't even need a driver at all and Avahi/...
Ryan David Ward's user avatar
5 votes
0 answers
637 views

How to publish multiple IP addresses belonging to different interfaces of the same device through Avahi Daemon?

I have a Raspberry Pi 3 Model B. I'm using it as a local Web Server. I want to publish the IP address of the Server on the local network for which I've used Avahi Daemon. My Pi has two interfaces, ...
radiantshaw's user avatar
7 votes
4 answers
13k views

avahi-browse -a does not show any results

I have avahi-daemon running on a Debian 9.1 server; however, avahi-browse -a does not display any services in my home network, consisting of a single 192.168.178.0/24 network. I can access all clients ...
Mike52's user avatar
  • 77
1 vote
1 answer
624 views

Reliable network client discovery (not mDNS?)

I have (Linux-based) devices on a DHCP/ IPv4 network whose UI is via browser/ mobile app (over the LAN.) The tricky part is discovery of the device's IP address. We've been trying to use mDNS/ DNS-...
thom_nic's user avatar
  • 547
14 votes
3 answers
40k views

avahi-daemon and ".local" domain issues

I have a Ubuntu 16.04 based HTPC/Media Server that's running 24/7. As far as I can remember using an official Ubuntu distro, I've always had issues with the avahi-daemon. The issue is pretty often ...
halfer's user avatar
  • 161