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
22 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. ...
1 vote
2 answers
4k views

configure: error: avahi development headers not found

i can't install avahi error is: checking for AVAHI... yes checking avahi-client/client.h usability... yes checking avahi-client/client.h presence... yes checking for avahi-client/client.h... yes ...
11 votes
2 answers
11k 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 ...
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....
42 votes
14 answers
217k views

How to share files between Ubuntu and OSX?

Is there any links/tutorials/videos that helps me share files between Ubuntu and Mac OSX?
7 votes
3 answers
13k views

avahi-daemon repeatedly registers/withdraws address record causing network failures

I am using Ubuntu 15.10 using an Ethernet connection to my cable model router. I have not customized the network set up in any way after installing Ubuntu. I've noticed that after about 12 to 24 hours ...
0 votes
1 answer
133 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 ...
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....
0 votes
0 answers
250 views

Two laptops separately detected another IPv4 mDNS stack running on the host

Yesterday I encountered a problem on both of my two laptops (both using Ubuntu, one is 20.04.5, one is 22.04). The problem was a crash popup "The application Passwords and Keys has closed ...
0 votes
1 answer
836 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 ...
0 votes
1 answer
403 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:...
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 ...
0 votes
2 answers
1k 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-...
2 votes
1 answer
829 views

fakeroot and package building

We have developed a network pub/sub communication suite. It is in use across a number of different applications and domains, most notably on our payloads aboard the International Space Station (ISS). ...
1 vote
1 answer
1k 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 ...
3 votes
2 answers
9k 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-...
1 vote
1 answer
4k 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 ...
0 votes
1 answer
270 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 ...
9 votes
5 answers
48k views

Delete eth0 avahi from the ifconfig list

Hello this is the response I get from ifconfig. Now I have two eth0 things being showed up. I need to delete the second one which says eth0:avahi. I posted my ifconfig's response on a site as I has ...
1 vote
1 answer
104 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 ...
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 ...
1 vote
1 answer
941 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 [...
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/...
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-...
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-...
4 votes
4 answers
7k views

Avahi-daemon troubles

I did a clean install (keeping my old home partition) of Ubuntu 12.04. Everything working fine, except the process avahi-daemon is consuming a lot (60-90%) CPU. What is the avahi-daemon? Does it have ...
0 votes
1 answer
56 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 ...
3 votes
2 answers
2k 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 ...
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 ...
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 - ...
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. ...
4 votes
1 answer
2k views

Should I disable avahi-daemon?

Every time I connect my computer to the network, I get a long list of network printers which I cannot use. In this page: Disable Cups automatic remote printer detection (see comments), someone ...
0 votes
0 answers
36 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 ...
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 ...
0 votes
0 answers
602 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: (...
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 ...
2 votes
1 answer
1k views

Why isn't NSS using mDNS?

I have a machine that is unable to resolve hostnames over mDNS: ### mDNS is working $ avahi-resolve -n foo.local foo.local 1.2.3.4 ### NSS is configured to use mDNS $ grep ^hosts /etc/nsswitch....
1 vote
0 answers
81 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 ...
0 votes
1 answer
78 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?...
0 votes
0 answers
462 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 ...
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 ...
14 votes
1 answer
24k 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 ...
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 ...
1 vote
0 answers
775 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 ...
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 "...
1 vote
0 answers
638 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 ...
2 votes
0 answers
969 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....
0 votes
2 answers
5k views

How can I get avahi-autoipd to get an address on an alias, regardless of the state of the interface?

I want to configure an address on eth0:ipv4ll, even if eth0 is itself configured. Eth0 will never be configured with an ipv4ll address, it's set to DHCP. The system in question is used both in a ...
3 votes
1 answer
4k 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-...
0 votes
0 answers
478 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/...