Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
1answer
111 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 ...
1
vote
0answers
162 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 ...
1
vote
0answers
28 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.
2
votes
0answers
97 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 ...
6
votes
1answer
51 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 ...
1
vote
1answer
219 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 ...
2
votes
0answers
1k 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. ...
2
votes
1answer
202 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 ...
2
votes
2answers
540 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 --...
2
votes
1answer
693 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 (...
1
vote
0answers
435 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-...
0
votes
1answer
75 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/...
3
votes
0answers
229 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, ...
0
votes
2answers
3k 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 ...
0
votes
1answer
211 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-...
10
votes
2answers
16k 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 ...
3
votes
0answers
320 views

Avahi seems to stop publishing/refreshing services after a while

Firstable, I looked up to several Q/A, i can ensure that the following points are fullfiled: IGMP snooping isn't filtered by switch/router. Bonjour services (mDNSResponder.exe) is granted and allowed ...
3
votes
0answers
824 views

Using link-local address for crossover network connection

I would like to use link-local address to connect an embedded device (running systemd-networkd) to a PC (Ubuntu, Win, OS X) using a crossover cable (no switch or DHCP server). When I connect over a ...
1
vote
1answer
252 views

IP4LL: what is it?

On a desktop Debian Jessie GNU/Linux install, the file /etc/resolvconf/update-libc.d/avahi-daemon contains: #!/bin/sh # # If we have an unicast .local domain, we immediately disable avahi to avoid # ...
2
votes
1answer
3k views

cups unable to communicate with avahi-daemon when running as a service

I'm finishing setting up my Raspberry Pi in a read-only mode and cups service seems to be the last thing that is causing me issues. As cups writes the config to /etc, I decided to mount /etc/cups as ...
2
votes
1answer
2k views

Loosing IPv4 and DHCP constantly asking for IP

Using Ubuntu 16.04, almost every day I'm loosing IPv4 address, being dropped by Avahi Daemon. Also, I see the DHCP is not "waiting" for leasing time to finish to request an address again, it does it ...
0
votes
1answer
111 views

i can't open, ping,.. any domain after upgrade debian

after upgrade debian i cannot open or ping any domain even in firefox (but i havnt any problem via proxy). for example wget: unable to resolve host address ‘google.com’ but i can work with ip (add ...
2
votes
0answers
190 views

Avahi on FreeBSD: Machine is Seen but Does Not See

I have a FreeBSD 10.3 box with Avahi 0.6.31 which is visible to the other machines on my network, but which is itself unable to resolve any names in the .local domain. That is to say, all the other ...
1
vote
1answer
63 views

Why does `hostname.local` resolution fail

I have a number of Linux machines, all with avahi running and a few Macs, all on the same local network. I often use ssh between pairs of machines, using hostname.local as the address. Most times ...
0
votes
1answer
758 views

Installing Avahi on FreeBSD - Daemon Doesn't Start

I've just installed package avahi-app-0.6.31_5 on a fairly-clean FreeBSD 10.3, but the service isn't starting on its own. I've consulted the documentation and discovered that there isn't any. Can ...
2
votes
1answer
2k views

How to directly connect two machines over ethernet without static IPs?

Question: How can I set up two machines, so that when I directly connect them together with an ethernet cable, one machine can connect to the other? I'm looking for a solution that does not involve ...
1
vote
2answers
2k views

avahi-daemon fails to start with “Failed to chroot(): Permission denied”. But only without stderr-IO-redirection

After a recent upgrade, avahi-daemon is not starting up anymore. Furthermore, the behaviour differs whether if I redirect stderr to a file or not. If I run avahi with the debugging option (avahi-...
6
votes
1answer
1k views

when using avahi, how can a host know if it's name is hostname.local or hostname-2.local

How can a computer running avahi ascertain and display its OWN hostname in the event that it is dynamically changed to foo-2, foo-3, etc due to hostname conflicts with other devices on the network? ...
0
votes
1answer
425 views

Why avahi-browse doesn't list my link-local address when coupled with a static configuration?

Given the following configuration: auto eth0 allow-hotplug eth0 iface eth0 inet static gateway 192.168.0.1 address 192.168.0.25 netmask 255.255.255.0 post-up /...
1
vote
0answers
381 views

avahi : How to associate hostname with address of eth0:avahi generated by avahi-autoipd?

am using avahi on a freescale imx6 board with a custom linux system (build by buildroot). So I use avahi for address allocation (eth0:avahi) and hostname resolution. My freescale imx6 board also uses ...
7
votes
1answer
5k views

avahi-daemon withdraws IP address from my network interface

I am running an Arch Linux server in my local network. It has avahi-daemon running on it to advertise some services (like a print server). It has happened for the second time now that my server was ...
5
votes
2answers
822 views

How to have a device's IP discovered in a network in a simple manner?

At the startup I work, we're setting up a device for image capturing and analysis. It's a box with a camera, with Ubuntu Linux embedded, and, let's assume, we don't want to connect a monitor to this ...
3
votes
0answers
152 views

Configuring a Linux Wi-Fi access point to redirect a one-word URL to http://192.168.42.1:8888

I've created a Wi-Fi access point on a Linux box (thanks to hostapd). I'm trying to make it easy for clients to access the Freenet service that's running on said box. Ideally, the user would be able ...
2
votes
2answers
4k views

Multicasting multiple mdns names

What I would like is to use avahi-daemon to multicast more then one name. So that I could connect to it with domainA.local domainB.local. I could then reroute these addresses to a different web ...
4
votes
3answers
25k views

How to disable avahi-daemon without uninstalling it

I am running Kali 2.0 64-bit, and I recently noticed that avahi-daemon is starting at boot time, listening on several udp ports. How do I disable it completely, without purging the package itself? I ...
1
vote
1answer
719 views

Printing in Debian Jessie Without avahi

I'm looking for a way to print to a networked HP LaserJet 600 M602 in Debian Jessie and I can't seem to find a solution that does not pull in avahi as a dependency. I don't want avahi because it ...
1
vote
0answers
2k views

“avahi-daemon[1540]: server.c: Packet too short or invalid while reading response record. (Maybe a UTF-8 problem?)”

We are developing an application in Java for our internal project. Apache-Tomcat-7.0.57 is running on a Linux machine (Red Hat 4.4.6-4). But it throws an error avahi-daemon[1540]: server.c: Packet ...
8
votes
1answer
4k views

mDNS to/from a Docker container

I've made a Docker container which runs a forked-daapd (a DAAP server publishing over mDNS with a single port 3689 for HTTP requests) and exposes the port properly to the host operating system: sudo ...
1
vote
2answers
557 views

Using a non-standard location for avahi services

I want to use avahi on a system with a read-only rootfs where /etc is not writable. I can start avahi-daemon with the -f option to specify a non-standard location for the avahi-daemon.conf file (...
3
votes
2answers
2k views

How to search .local?

I just set up my new Pi2 with Raspbian. All works well, I installed avahi, so that I can reach the Pi via raspberrypi.local. However, the Pi does not find my MacBook, which is usually resolvable via ...
6
votes
2answers
7k views

Avahi commands not working in CentOS

I want to use Avahi tools for mDNS service discovery in CentOS 6.6. I have installed the following packages: avahi, avahi-tools, nss-mdns. I checked the Avahi daemon and it is running: $ service ...
16
votes
2answers
36k views

What is the purpose of avahi on a RHEL 7 server?

Running a server machine with CentOS 7, I've noticed that the avahi service is running by default. I am kind of wondering what the purpose of it is. One thing it seems to do (in my environment) is ...
1
vote
1answer
3k views

`.fritz.box` and `.local` hostnames in the same network: Which do I really need?

So far, I have avahi-daemon running on all my Ubuntu machines, partly because it is installed by default. The router I used to have was quite dumb and did not really do anything except DHCP and DHCPv6....
3
votes
1answer
1k views

Advertising local HTTP services via Avahi/Zeroconf on Debian

I have a Debian server on local network for home media center/NAS purposes. It is running multiple services such as Plex, or Ajenti, which I can access like so: http://debian.local:32400/web for Plex ...
4
votes
2answers
1k views

How can I use avahi without a network connection?

How can I test software that uses avahi while my laptop is disconnected from any router? All of the services run on the same machine, so Avahi would be advertising an IP address of 127.0.0.1 for all ...
5
votes
0answers
227 views

Get notified from avahi

After looking for a zero-conf browser valid implementation I realised that inside my linux machine (ubuntu) I already have avahi and typing: avahi-browse -alr I get a complete list of all devices ...
0
votes
0answers
4k views

Avahi daemon can't launch due to dbus-daemon problems

I'm trying to run avahi-daemon on CentOS 6.5, but when I run it I get this error: bash-4.1# avahi-daemon Found user 'avahi' (UID 70) and group 'avahi' (GID 70). Successfully dropped root privileges. ...
3
votes
1answer
12k views

How can I configure avahi to resolve host name on adhoc network?

I have a linux machine (raspberry pi) running Debian and I have configured it to create an ad-hoc network. The machine hosts a web app which allows a person to scan for infrastructure networks and ...
2
votes
3answers
9k views

Setting up samba,netatalk and avahi (bonjour) on raspberry pi

I'm trying to create a fileserver/timecapsule combo server out of my new raspberry pi (Raspbian), and it's not going as well as I'd like. netatalk, avahi and samba are the packages that I'm using and ...
18
votes
2answers
17k views

What's the difference between .local, .home, and .lan?

How can I reliably address different machines on my network? I've always used the .local suffix to talk to computers on my local network before. With a new router, though, .local rarely (though ...