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
10 views

Avahi on multi-hop network

I have a multi-hop network and I need to discover the topology of the network from a system which is connected to one of the network elements. My question here is, can I use Avahi for such multi-hop ...
user avatar
0 votes
1 answer
58 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 ...
user avatar
  • 670
0 votes
1 answer
54 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 ...
user avatar
1 vote
0 answers
298 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 ...
user avatar
1 vote
1 answer
38 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 ...
user avatar
  • 21
1 vote
1 answer
663 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-...
user avatar
  • 13
0 votes
0 answers
332 views

Avahi mDNS; Chromecast in multi subnet works... half

Ok, i'm busy for days now to get it to work. The goal is to have my Chromecast available on different subnets/vlans in my network. There where Avahi reflector comes in. I set up an Avahi reflector ...
user avatar
1 vote
1 answer
235 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 [...
user avatar
  • 341
1 vote
2 answers
950 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/...
user avatar
  • 341
0 votes
1 answer
39 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 ...
user avatar
  • 1,918
0 votes
1 answer
768 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 ...
user avatar
0 votes
1 answer
335 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-...
user avatar
5 votes
1 answer
2k 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 - ...
user avatar
3 votes
1 answer
913 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. ...
user avatar
  • 410
1 vote
2 answers
3k 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-...
user avatar
  • 1,625
0 votes
0 answers
35 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 ...
user avatar
0 votes
0 answers
445 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: (...
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 ...
user avatar
1 vote
0 answers
50 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 ...
user avatar
  • 133
0 votes
1 answer
76 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?...
user avatar
  • 1,145
2 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 ...
user avatar
0 votes
0 answers
321 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 ...
user avatar
1 vote
0 answers
723 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 ...
user avatar
  • 131
21 votes
1 answer
3k 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 ...
user avatar
  • 313
1 vote
0 answers
547 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 ...
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 "...
user avatar
6 votes
1 answer
4k 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 ...
user avatar
  • 278
1 vote
0 answers
558 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 ...
user avatar
  • 111
9 votes
2 answers
6k 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....
user avatar
2 votes
0 answers
812 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....
user avatar
2 votes
1 answer
2k 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-...
user avatar
  • 21
0 votes
0 answers
403 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/...
user avatar
1 vote
1 answer
2k 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-...
user avatar
1 vote
1 answer
1k 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 "...
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....
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 ...
user avatar
  • 153
3 votes
2 answers
4k 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 ...
user avatar
4 votes
0 answers
1k 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 ...
user avatar
  • 701
2 votes
1 answer
7k 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 ...
user avatar
13 votes
1 answer
17k 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 ...
user avatar
0 votes
1 answer
335 views

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

I couldn't connect Ubuntu with raspberrypi. I typed ssh pi@raspberrypi.local but it shows “cannot resolve host.”
user avatar
0 votes
1 answer
965 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?
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 (...
user avatar
2 votes
1 answer
290 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 ...
user avatar
  • 19.5k
2 votes
3 answers
6k 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....
user avatar
  • 19.5k
-1 votes
1 answer
647 views

Ubuntu 16.04 desktop vm is the only OS that will not register on the local network

I have several linux & windows vms(vmware) running on windows 10 pro host, in vmware workstation 12.5. All vms are configured the same way in workstation, but the Ubuntu vm is not discovered in "...
user avatar
  • 1
1 vote
1 answer
921 views

Avahi / Samba on Snappy Core 16.04 ARM

Is there a way to install Avahi or Samba on Ubuntu Core 16.04 (RPI3) . I need to have my device discovered by name not by IP.
user avatar
1 vote
0 answers
477 views

Avahi out of memory error

After upgrading to 16.10, avahi is consistently crashing (and successfully restarting on it's own). It is reporting an "out of memory" error, even though there is plenty of memory on the system. Any ...
user avatar
4 votes
2 answers
10k views

avahi dns doesn't work [duplicate]

I'm trying to get dns resolution of Avahi .local domains. I can do: $ avahi-resolve-host-name redacted.local Redacted.local 10.xx.xx.xx but not ping redacted.local ping: redacted.local: Name or ...
user avatar
1 vote
1 answer
4k views

How can I start Ubuntu after install was interrupted?

I can get as far as choosing Ubuntu on the start like menu then it loads up a black screen. Here is the screen that pops up: [ OK ] Started Terminate Plymouth Boot Screen. [ OK ] Started Hold until ...
user avatar