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
0answers
54 views

Hostname resolution from a device which cannot run mDNS

I am working on an IoT gateway currently running Ubuntu running mDNS (avahi-daemon). I have a vendor device with a basic IPv4 stack but without mDNS service like how my gateway does. Is it ...
0
votes
0answers
104 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
1answer
706 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 ...
0
votes
0answers
27 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
1answer
66 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?...
1
vote
2answers
318 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
0answers
93 views

how to make ubuntu server 18.04 respond to .local names

I am using virtual machines and would like them to respond to .local names. Ubuntu desktop does it naturally but I cannot find where to configure it on a 18.04 server. I installed the avahi-deamon ...
0
votes
0answers
173 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
0answers
282 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 ...
18
votes
1answer
2k 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
0answers
284 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
1answer
1k 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 "...
3
votes
0answers
2k 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 ...
1
vote
0answers
405 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 ...
4
votes
1answer
2k 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....
2
votes
0answers
586 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
1answer
360 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
0answers
254 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/...
1
vote
0answers
1k 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-...
1
vote
1answer
926 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 "...
0
votes
2answers
5k 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....
3
votes
0answers
1k 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 ...
3
votes
2answers
2k 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 ...
4
votes
0answers
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 ...
1
vote
1answer
4k 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 ...
5
votes
1answer
6k 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 ...
0
votes
1answer
242 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.”
0
votes
1answer
644 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?
0
votes
1answer
1k 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 (...
1
vote
1answer
185 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 ...
1
vote
1answer
3k 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....
-1
votes
1answer
565 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 "...
1
vote
1answer
847 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.
1
vote
0answers
363 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 ...
3
votes
2answers
6k 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 ...
1
vote
1answer
2k 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 ...
0
votes
1answer
429 views

Post 16.04 upgrade network stops randomly

After upgrading from Ubuntu 14.04 to 16.04 I'm experiencing random network failures. The syslog and only shows where named stops listening and logging in at the console then restarting the networking ...
3
votes
0answers
897 views

Avahi-daemon keeps disconnecting me from the network [Ubuntu 16.04]

I've been having this problem for a few days where my ubuntu machine was getting disconnected from the network and I finally managed to track down the cause to this: Jun 11 10:40:19 nvidia avahi-...
1
vote
1answer
967 views

Unknown host even though Avahi is installed and running

I'm running a 16.04 server on an old iMac. My network connectivity is up and running and avahi-daemon is installed, but I cannot ssh to my machine without explicitly using the ip. In spite of all this,...
8
votes
3answers
24k views

How to disable avahi-daemon in Ubuntu 16.04 LTS?

How to disable avahi-daemon in Ubuntu 16.04 LTS? I have tried sudo sh -c "echo 'manual'>/etc/init/avahi-daemon.override" but seems it does not work. And how to disable cups-browsed? I have tried ...
0
votes
1answer
918 views

How do I enable Bonjour/Avahi lookups in all tools?

Although I've got numerous Avahi packages installed, I can't seem to get something like "ping myhost.local" to resolve. But "avahi-browse --all" does return results. The device I'm trying to reach can ...
1
vote
1answer
513 views

Avahi works on one computer but not on another

I've searched for clues to this problem for days, hope someone here can shed some light. I know I can use IP addresses only for this simple case and I know about other solutions like DNSmasq, but I'm ...
2
votes
0answers
2k views

Avahi local name collision

I have defined a subnetwork on my server, using ip aliases for a single ethernet card. Today, after a reboot, the avahi daemon is not resolving host names anymore. The hosts defined in /etc/avahi/...
1
vote
0answers
432 views

Ubuntu config with multiple network adapter interface, vlans running on VM Workstation Pro 12 to run AVAHI service / app

Any ideas or suggestions would be appreciated Objective -Use Ubuntu along with the AVAHI app / service to relay multicast across my 6 vLan networks to allow devices within each of these separate ...
3
votes
1answer
7k 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
1answer
2k 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 ...
4
votes
1answer
5k views

Invalid response packet from host <ip v4 or ip v6>

I got these messages in system log. They happened when some of my partners upgrade there machine to Windows 10. I found some related topics on the internet and they said I can safely ignore the ...
0
votes
2answers
3k 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 ...
2
votes
1answer
6k views

avahi-daemon.service failed

Tried to browse services with avahi-browse -alr: Failed to create client object: Daemon not running And actually there is a problem with the avahi daemon: ● avahi-daemon.service - Avahi mDNS/DNS-SD ...
2
votes
1answer
835 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....