Skip to main content

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.

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

is this libnss-mdns misconfiguration or something else?

I have Focal system running on my laptop When I try to execute any NSS-enabled tool which implies query to mDNS/Avahi about rabbit.local host (also Ubuntu laptop), all tools using libnss-mdns fail to ...
silpol's user avatar
  • 346
2 votes
1 answer
206 views

Cannot resolve own local (avahi) hostname

After swapping a faulty router, trying to ssh from PC "A" (Ubuntu 20.04.6) to PC "A", produces the error message: ssh: Could not resolve hostname pca.local: Name or service not ...
eridani's user avatar
  • 1,434
1 vote
0 answers
147 views

mDNS only on IPv6

Ubuntu Version: Ubuntu 22.04.4 LTS I'm having a weird issue with mDNS running on this host. Using a discover tool on Macos I see the mDNS announcement from this host only on IPv6 and nothing on IPv4. ...
f0rd42's user avatar
  • 111
0 votes
1 answer
180 views

Avahi-Daemon can't discover RaspberryPi

Ubuntu 22.04 is unable to find raspberrypi.local on my network. However, my iPhone can find it. PI is running over ethernet. I've restarted the avahi-daemon.service on the pi, and also avahi-daemon on ...
James Woodall's user avatar
0 votes
1 answer
1k views

avahi-browse cannot find all local computers although mDNS is working

I am reading the following procedure: How can I discover the hostnames for all the machines on my lan? . However, when I tried the command avahi-browse -av -d local, it showed the followings, although ...
H.Hiro's user avatar
  • 1
0 votes
1 answer
489 views

mdns hostname not fixed

I have a host that I named "betelgeuze". As such it is listed in /etc/hostname. Avahi is mangling this: boss@betelgeuze:/etc$ ps -ef |grep avahi avahi 639 1 0 13:03 ? 00:...
Unbeliever's user avatar
1 vote
1 answer
2k views

apt install fails because of avahi-daemon.service (20.04)

I am trying to install a program with apt install (or apt-get install) but it always fails due to an error with the avahi-daemon. See below (ignore the program wine is already installed. This happens ...
Brian C's user avatar
  • 167
1 vote
1 answer
5k views

How do I find out whether I have a .local (mDNS) address, and what it is?

My impression is that Ubuntu 22.04 comes with avahi preinstalled. How do I most easily check whether the machine I'm using has a .local address, and if so, what that address is? I'm asking under the ...
Andreas's user avatar
  • 949
0 votes
1 answer
320 views

Ubuntu Server 20.04 - MDNS queries respond to a unique device

I'm trying to set up a MDNS reflector in Ubuntu Server 20.04 between 2 vlans but I need that a device connected to the first vlan get the address of a device connected to the other vlan. For example ...
Sergio Garcia Calvente's user avatar
1 vote
0 answers
1k views

Ping to avahi device does not work all the time

I just added a NAS to my home network and gave it the hostname mynas. I tried to access the NAS from Kubuntu 20.04 (especially via Samba). It works fine when using plain hostname, but it fails when ...
Silicomancer's user avatar
1 vote
1 answer
110 views

ubuntu doens't resolve usb device name

I have a ARM SBC running linux and configured to be connected to a pc via USB using rndis gadget. Inside my device I configured dnsmasq to provide to the host pc an ipv6 address, I also configured the ...
p1906's user avatar
  • 21
1 vote
1 answer
3k views

There are some errors with avahi-daemon when I try to upgrade Xubuntu 21.04

I have Xubuntu 21.04 64-bit. Every time I do "apt upgrade" I have error messages: Setting up avahi-daemon (0.8-5ubuntu3.1) ... invoke-rc.d: syntax error: unknown option "--skip-systemd-...
mnavern's user avatar
  • 13
2 votes
1 answer
1k views

How to prevent (or at least automatically fix) `avahi-daemon: running [ubuntu_comp_hostname.local]` getting replaced with version with `-2` appended?

I have this problem where this: #=> avahi-daemon: running [ubuntu_comp_hostname.local] keeps getting itself replaced with a version with a -2 appended: #=> avahi-daemon: running [...
Owen_AR's user avatar
  • 371
1 vote
2 answers
3k views

ssh-ing in to ubuntu comp by hostname suddenly stopped working (`Could not resolve hostname [ubuntu_comp_hostname]: Name or service not known`)

(see EDIT added to end, bout avahi stuff) It just does this: > ssh -v [ubuntu_comp_hostname].local => OpenSSH_8.2p1, LibreSSL 3.0.2 debug1: Reading configuration data /home/o1/.ssh/...
Owen_AR's user avatar
  • 371
0 votes
1 answer
61 views

How to file a bug report for avahi-autoipd.action [duplicate]

Does anyone know how to file a bug report for /etc/avahi/avahi-autoipd.action it comes in the the package avahi-autoipd but I'm not sure if this script is avahi devs or Ubuntu. The script is called ...
teknopaul's user avatar
  • 2,077
0 votes
1 answer
1k views

Time Machine config (Late 2020) - need for Avahi? Using Docker as best practices?

I'm about to upgrade the hardware in my server that is using a SAMBA/Avahi configuration to act as a network Time Machine backup for my Macs. Just perusing the different documentation - it seems ...
Tyler Cheung's user avatar
0 votes
2 answers
2k views

avahi-browse only find localhost, but no other network devices

When running avahi-browse -arvp I only get results back from my own laptop, but nothing else (I ran avahi-browse -arvp on my Pi and I get all the network devices) So I copied the /etc/avahi/avahi-...
WingZero's user avatar
8 votes
1 answer
4k views

avahi & nsswitch.conf with `mdns4` and subdomain resolution from peers

Following up on unanswered comments in this question. I'm trying to use zeroconf/bonjour for a home network specialty network device which needs to pass through certain traffic to additional devices - ...
Jason Kleban's user avatar
3 votes
1 answer
2k views

Avahi DNS working, other services not discovered

I have recently upgraded my motherboard on a 20.04 workstation and since then some avahi services do not seem to work. avahi-resolve-host returns the correct IP addresses for hosts on my workstation. ...
Nigel's user avatar
  • 410
3 votes
2 answers
10k views

Avahi / mDNS not working

I am having issues getting my servers to talk to each other via mDNS / Avahi. I have two servers, an Ubuntu Server and a Raspberry PI. user@WORKCOM9001~ ()$ sudo service avahi-daemon status ● avahi-...
Startec's user avatar
  • 1,825
0 votes
0 answers
37 views

Is there a way for me to know why I have Avahi? [duplicate]

For the past couple of weeks, I've been getting near-constant error notifications from Ubuntu (18.04 Cinnamon) Network service discovery disabled Your current network has a .local domain, which is ...
Darien Marks's user avatar
0 votes
0 answers
636 views

Can't Install Avahi

I am trying to install avahi for a class. I am running ubuntu 19.10. When I use the command "sudo snap install avahi" I get a series of changing lines, then it terminates with the following text: (...
Denis's user avatar
  • 41
0 votes
1 answer
3k views

Ubuntu network file-sharing

This couldn't be simpler, but I've failed to get it working, so I hope some Samba or Avahi experts can help me here. I have a laptop and a desktop on a home network both running Ubuntu 19.10, along ...
user118684's user avatar
1 vote
0 answers
84 views

avahi process maxing out 18 CPUs on VM

I'm not quite sure what the avahi process does, I see from searching that it "facilitates service discovery on a local network via the mDNS/DNS-SD protocol suite" and I understand it comes default on ...
clifgray's user avatar
  • 133
0 votes
1 answer
80 views

How can I access my laptop via .local without having to log in?

I noticed that my Ubuntu 18.04 laptop is visible to network via name.local only after I have logged in. How can I make it so that it would be possible to access the laptop like this right after boot?...
juzzlin's user avatar
  • 1,243
3 votes
2 answers
3k views

avahi name resolution not respected for subdomains in 19.04

This seems to be a behavior difference which only started in either 18.10 or 19.04. While avahi-resolve --name my.subdomain.local returns a valid IP address and is working it doesn't work outside of ...
platzhirsch's user avatar
0 votes
0 answers
501 views

How do I setup Avahi?

I want to mount network drives using DNS names, so I'm trying to setup Avahi but I can't find any introduction or baby steps - I am pretty new to Linux. What is the most basic config and setup ...
jimmy_terra's user avatar
1 vote
0 answers
1k views

Avahi service fails with enable-dbus=no

Xubuntu 18.04.2 LTS x86_64 In an attempt to remove "ghost printers" from showing up in print dialogs, I added "enable-dbus=no" to my /etc/avahi/avahi-daemon.conf. I think it gives the proper behavior ...
NRaygun's user avatar
  • 151
24 votes
1 answer
4k views

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 ...
jonaslb's user avatar
  • 342
1 vote
0 answers
794 views

avahi-autoipd removing static interface

I am having some trouble with the AVAHI daemon. I am not using networkmanager, instead just configuring /etc/network/interfaces. I am configuring two interfaces for the ethernet adapter: one using ...
chaos.ct's user avatar
  • 153
0 votes
1 answer
3k views

Seeing Ubuntu Server 19.04 twice on clients - probably Avahi mDNS issue

Just setup a Mac Mini running Ubuntu Server 19.04 with Samba 4.10.0. On macOS Mojave clients, I see the server twice - once as "Mac Mini" (pretty hostname) with the correct Mac Mini icon and once as "...
nstuyvesant's user avatar
12 votes
2 answers
12k views

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 ...
Livy's user avatar
  • 358
1 vote
0 answers
652 views

Ubuntu 18.04 avahi-daemon unstable hostname.local resolution

On a local network im using a PC with Ubuntu 18.04 and i have two raspberry pi one of which is running pi-hole as DNS server (im not using its DHCP) and the other one has just a web server on it. All ...
tchartron's user avatar
  • 111
13 votes
3 answers
9k views

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....
nstuyvesant's user avatar
2 votes
0 answers
978 views

Extremely slow boot up - Ubuntu 18.04.1 LTS

I'm running: LSB Version: core-9.20170808ubuntu1-noarch:printing-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch Distributor ID: Ubuntu Description: Ubuntu 18.04.1 LTS Release: 18....
Peter Brooks's user avatar
3 votes
1 answer
5k views

Shorten nmcli connection timeout from 120s to 10s, try a lower priority interface quicker

On Ubuntu 16.04 lts I am using nmcli to manage the network interfaces. I have connections like so. NAME UUID TYPE DEVICE link-local-0 da55e0dd-...
grahas's user avatar
  • 31
0 votes
0 answers
499 views

Avahi Reflector Ubuntu 18.10 Modprobe dot1q configuration on Hyper-V 2012 R2 Server

I am having a hard time configuring vlan interfaces on ubuntu desktop 18.10 Does anyone have any good templates or guides? I found this guide and have followed it online: http://chrisreinking.com/...
James Lee's user avatar
1 vote
1 answer
3k views

avahi-daemon not setting up

For the last week or two I've been getting a package installation failure when I update Ubuntu 18.04. The following text appears in the Details window: Setting up gnome-session-flashback (1:3.28.0-...
wurlyfan's user avatar
1 vote
1 answer
2k views

bionic 18.04 avahi not playing on a mac network

I am running 18.04. I am on a network running a variety of systems but the philosophy is very apple. They are using Bonjour for discovery. This is not working on my box. If I ping a .local name I get "...
Paul Chubb's user avatar
0 votes
2 answers
6k views

DNS & .local domain 18.04

I am trying to join Ubuntu laptops to our domain company.local (Yes I know .local is bad practice) I am having some issues with only what I can assume is DNS. I can't ping the domain controller (dc....
KTW717's user avatar
  • 9
4 votes
0 answers
2k views

Server 18.04: netplan, avahi and DHCP combination

For a long time now I have been looking for a means to replicate Window's IPv4 assignment behaviour. That is, first try DHCP and on failure switch to link-local addressing. So far I failed to find ...
Nathilion's user avatar
  • 153
4 votes
2 answers
6k views

How to remove .local suffix from Ubuntu hostname?

When I try to connect to my Ubuntu device with the ssh terminal command, I have to add .local suffix to Ubuntu hostname. For example, if I want to ssh to my device with its hostname, my ssh command ...
Boixos Noi's user avatar
4 votes
1 answer
2k views

Avahi daemon necessary? CPU load quiet high

While using htop for some other stuff I noticed a programm called 'avahi-daemon' which is using quiet a lot of my maximum CPU load and definitely more than all other programs. I read it is some kind ...
Niklas's user avatar
  • 711
2 votes
1 answer
8k views

Ubuntu avahi-daemon cannot find "raspberrypi.local"

I am using a ubuntu 16.04 LTS laptop. I have a raspberry pi zero I flashed raspbian onto. I enabled ssh on the raspberry pi, and set it up as an ethernet gadget so I can ssh into it from a micro-usb ...
Anthony Dellinger's user avatar
14 votes
1 answer
25k views

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 ...
Abhi balachandra's user avatar
0 votes
1 answer
427 views

Why "couldn't resolve host" error occur for avahi-daemon?

I couldn't connect Ubuntu with raspberrypi. I typed ssh [email protected] but it shows “cannot resolve host.”
Abhi balachandra's user avatar
0 votes
1 answer
1k views

How can I use "udhcpc" with "avahi-autoipd"?

I need the link local address to be acquired by the avahi-autoipd daemon, when the dhcp server goes out of network. How can I do this?
Sagar's user avatar
  • 121
0 votes
1 answer
2k views

Ubuntu 14.04: Can't reach link-local addresses

I am using Ubuntu 14.04 and have avahi installed. I can correctly resolve .local hostnames, but cannot reach the resolved link-local IP addresses. For example: $ ping thebox.local PING thebox.local (...
Grodriguez's user avatar
2 votes
1 answer
365 views

How can I de-duplicate an Avahi address?

My laptop has the Avahi address laptop-2.local instead of laptop.local (which was the address the last time I used it). There is no other machine on the network with the hostname laptop, nor has there ...
lofidevops's user avatar
  • 21.2k
4 votes
3 answers
10k views

Can I setup subdomain.hostname.local on a home network?

I have hosts alpha.local and beta.local running on my home network, the network is managed by a (very) simple wireless router. I can access the servers using, for example, ssh alpha or http://beta....
lofidevops's user avatar
  • 21.2k