Questions tagged [avahi]

Open-source implementation of Multicast DNS for Zeronconf networking, similar to Apple's Bonjour.

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

avahi-daemon stops randomly on Raspberry Pi 4

I have a fresh installation of Raspberry OS on a Raspberry Pi 4. Avahi is running and can be queried by other hosts. The problem is that after "some time" (1 minute, sometimes 5) it stops to ...
user avatar
  • 111
0 votes
0 answers
20 views

Avahi doesn't resolve reliably

I have two computers, one running Ubuntu Desktop 20.04, the other running Ubuntu Server 20.04, lets call them desktop and server. I have installed avahi-daemon on them both. Desktop is a development ...
user avatar
0 votes
1 answer
272 views

avahi-resolve failing for services on local machine

I'm trying to setup newtek NDI for video streaming on local network. NDI uses mDNS for service discovery as described here. I already have NDI services running on windows machine and iOS device and I'...
user avatar
1 vote
1 answer
597 views

Why can Avahi `.local` domains not be resolved over a VPN?

I have a homelab setup with a few Raspberries Pi that use Avahi for service announcement - I can ssh to them with ssh pi@<hostname>.local instead of having to remember individual IP addresses. ...
user avatar
  • 175
0 votes
0 answers
103 views

Setting up mDNS with nginx to work with ios

I am running a site that I am hosting on my local network with mDNS. I can connect to it from my linux computers with the local mDNS name, but when I try to connect from my iPhone it takes me to the ...
user avatar
  • 1
1 vote
1 answer
462 views

How to configure an IPP-driverless printer with static IP address in CUPS?

I've recently bought a new network printer and it supports driverless printing over IPP. It works out of the box on Ubuntu 20.04 using CUPS with cups-browsed configured like this: ...
user avatar
  • 3,378
0 votes
1 answer
360 views

Avahi gtk style provider error/ avahi-daemon won't start

So, just got a Raspberry Pi, and I'm trying to connect to it via mDNS. However, when trying to start avahi-daemon on my WSL2 kali-linux distribution sudo service avahi-daemon start I get Starting ...
user avatar
  • 23
5 votes
0 answers
471 views

dnsmasq for looking up `.local` domains on the clients that don't support mDNS

mDNS (e.g. avahi, bonjour) allows a machine to advertise itself as machine-name.local on its LAN, and allows clients to look it up by that domain name instead of by IP. Most platforms support mDNS out ...
user avatar
0 votes
1 answer
398 views

Browse only "UNIX Printer" with avahi-browse

I'm running Debian Buster with avahi-daemon and avahi-utils (for avahi-browse) installed. Now I simply want to browse only for UNIX Printer on my home network. If I browse for all services I find my ...
user avatar
  • 213
1 vote
1 answer
2k views

Broadcast mDNS for another device

I have a custom/experimental device (D) on my home LAN with a static IP running an HTTP server. For reasons that are not important to this question, (D) cannot run mDNS. I have another full-fledged ...
user avatar
  • 761
0 votes
0 answers
1k views

Multiple hostnames on the same Raspberry PI

I haven't been able to find any definitive solution to this. I'm combining several of my machines onto a single one, but would like to use aliases for the hostnames, on my local network. The Pi has ...
user avatar
  • 121
0 votes
1 answer
174 views

Solution for a temporary direct ethernet cable connection between Linux home server and Windows laptop

What is the best solution for a temporary direct ethernet cable connection between Linux home server and Windows laptop. Let's assume the that the Linux home server is headless, and is normally ...
user avatar
  • 305
0 votes
1 answer
2k views

mDNS not working for Raspberry Pi Zero W

So, I've just got a Raspberry Pi Zero W and installed Raspbian Stretch Lite (headless Debian Stretch). I was able to configure WiFi in headless mode and the Raspberry connected to my home WiFi network....
user avatar
  • 544
1 vote
1 answer
838 views

Wired and wireless mDNS/Avahi discovery (Google Home/Chromecasts)

My network looks like this: [ pfSense Router ] - [ TP-SG3210 Switch ] - [ Netgear R7800 running OpenWrt ] The R7800 is running as an AP. No VLANs. Wired: nVidia Shield TV Ubuntu Server Wireless: ...
user avatar
  • 111
0 votes
1 answer
2k views

avahi mdns not working on all systems

I have three systems running Fedora, named: dragon, wyvern and griffin. I am seeing strange mdns behaviour: From dragon, I can ping and ssh to all of dragon.local, wyvern.local and griffin.local ...
user avatar
  • 183
2 votes
1 answer
1k views

Definition of "workstation" in Avahi Discovery

When I used the Avahi Zeroconf Browser tool on my Lubuntu 16.04 machine, it lists only one of the machines on the LAN as a "Workstation". What's the criteria for listing a LAN computer as a "...
user avatar
0 votes
1 answer
2k views

Multiple Docker containers with Avahi daemons

I'm trying to set up a smart-home Raspberry Pi using Docker to isolate every element of the system. However, two of those Dockers use Avahi to broadcast themselves in the home network - one contains ...
user avatar
1 vote
1 answer
1k views

How do I cross compile the avahi-client and avahi-common libraries?

I have developed a C application that uses the avahi-client and avahi-common libraries. I need to crosscompile these libraries, so I downloaded the source code to do that, but I am not able to find ...
user avatar
  • 133
1 vote
2 answers
1k views

Get static IP to be alias for avahi-resolved dynamic IP - for sane scanner

Sorry if this has already been asked in some other way, I couldn't find out, and have had pretty terrible experiences trying to figure out how to properly use avahi. I have avahi working properly, ...
user avatar
  • 325
0 votes
0 answers
653 views

Linux auto-generate UID and GID and cause a conflict

I have an user named "myUser" and UID-GID of myUser is "170". This number is GID of another user named "avahi-autoipd" at the same time. I try seperate this 2 users with usermod and groupmod commands. ...
user avatar
4 votes
2 answers
2k views

Avahi - Chromebook: could not resolve hostname

I have a raspberry pi (raspbian jessie) with ssh & vnc services registered in avahi. I can see both services in my client (chromebook) chronos@localhost ~ $ avahi-browse -arl + mlan0 IPv4 ...
user avatar
  • 469
0 votes
1 answer
869 views

Avahi resolving link-local IPv6 addresses for services/devices on other subnets

Why is Avahi doing this, and how can I prevent it? Why is this only happening for v6 and not for v4? The service that I'm trying to access (apt_proxy) is definitively routable using the traditional ...
user avatar
1 vote
0 answers
854 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 ...
user avatar
  • 11
1 vote
1 answer
602 views

How to configure avahi in VirtuabBox NAT

I have a VBox Linux guest in NAT networking mode. Both host (also a Linux system) and guest have the avahi-daemon service running. Is there a way to configure the service in the guest so that it does ...
user avatar
  • 469
0 votes
0 answers
311 views

cannot ping link-local address from other subnet when defaut gateway route is seted

i have a problem with my route table i dont know why it doesnt work. I have two test cases, i did draw a network map for each case. currently i cant resolv the goal. testcase-1 network map ...
user avatar
  • 1
0 votes
0 answers
338 views

App to search for zeroconf devices

I have some equipment running Linux on a SOC which connects to my mini network using avahi zeroconf. I know it's zeroconf 'name' by scanning in Safari for windows (which doesn't fully work any more ...
user avatar
1 vote
1 answer
957 views

Unable to browse a service with dns-sd

I have cross compiled and install mdns responder on to my target machine which runs on Linux. I have tried to register a service with the following command: dns-sd -R "My Test" _printer._tcp. . 515 ...
user avatar
5 votes
1 answer
6k views

Installing mDNS resolver in Bash on Windows Subsystem for Linux

I am trying to connect to a PC over mDNS from a Bash script running on Windows. While I am able to ping the PC through its mDNS .local address in CMD, doing the same in an Ubuntu/Bash window fails due ...
user avatar
2 votes
0 answers
1k views

How do I use mDNS for ssh -6?

Hello I have the following setup: Ubuntu 14.04 LTS Laptop A lot of Raspberry-Pi Model 2 with WLAN The complete setup is based on 802.11 WLAN AD-HOC mode. None of the Pis nor the Laptop uses any ...
user avatar
0 votes
0 answers
124 views

Accessing port 80 using hostname.local from outside guest

I have a ubuntu server running inside VM. The hostname is ubuntu. I am able to ping "ubuntu.local" from the host and also from other computers in the same network. However, when I try to browse to ...
user avatar
  • 111
0 votes
1 answer
580 views

Bonjour dns-sd and Avahi service visibility

I have avahi-daemon running on my BeagleBone Black machine (Debian Jessie). It is in the same network as my PC, but I wonder why when I register service with avahi-publish on my BBB, I cannot see it ...
user avatar
  • 1
2 votes
1 answer
436 views

Avahi rejects cups print jobs after system upgrade

I recently upgraded my system from RHEL 6.5 to 7.2. A previously working network printer stopped working. The printer is configured as before with the same driver and options. Trying to print a simple ...
user avatar
3 votes
0 answers
1k views

avahi-daemon enabled but cannot resolve DNS

I have changed the hostname in avahi-daemon.conf file in /etc/avahi so as that the host-name=osmc and it's uncommented. When I do a sudo systemctl status avahi-daemon -l I get the following; ● avahi-...
user avatar
  • 155
2 votes
0 answers
316 views

Ubuntu Network Interfaces Configuration: 2 Network Cards

Sorry for broad and ambiguous title. The case is: I have 2 Network Cards, eth0 and eth1. OS: Ubuntu: 14.04. eth0 is configured with static address: 10.1.1.1 and provides WIFI, DHCP and DNS services ...
user avatar
  • 21
2 votes
1 answer
3k views

Linux - avahi-daemon: Failed to find user 'avahi'

I am experiencing issues running avahi-daemon 0.6.31. I also unistalled and reinstalled again but I always have errors on boot: Jan 14 12:13:27 avahi-daemon[1773]: Failed to find user 'avahi'. Jan ...
user avatar
  • 233
1 vote
1 answer
781 views

How can I broadcast Avahi services between Vagrant (VirtualBox) VMs?

I've got a project with a Vagrantfile which takes a while downloading all its Debian packages. I figured an easy way to speed up initial provisioning would be to make another Vagrant-based project ...
user avatar
  • 11
0 votes
1 answer
2k views

How to turn off zeroconf in Ubuntu?

There's this thing called zeroconf and I have zero need for it in my computer. How do I disable it in Ubuntu?
user avatar
  • 140
0 votes
0 answers
360 views

Hosts on same LAN can't see each other's services with avahi-browse

Edit: I ended up using another way of sending an audio stream across the network to a remote Raspberry Pi with Pulseaudio - one that does not involve Avahi... So I lost interest in this question - don'...
user avatar
0 votes
1 answer
35 views

How can I do name resolution on Mavericks?

I would like to map a IP addresses in my local network to a name of my choice. The network is being used by others, this name should only be available when used by my machine. I have been looking for ...
user avatar
0 votes
1 answer
428 views

avahi set hostname but arp -a only displays IP

I've set my /etc/hosts and /etc/hostname on my Debian system. I also have the Avahi daemon installed and running. From my mac I run arp -a and this lists all the IP's but where the hostname ...
user avatar
1 vote
1 answer
612 views

I switched to comodo DNS and I get a .local domain prompt

I switched to Comodo DNS today because Norton DNS seems to be completely shut off and the website has not been accessible in days. Comodo DNS works fine but every time I log into my computer it says ...
user avatar
0 votes
1 answer
1k views

Cannot ping .local machines on one computer

I have the following three computers connected to my home network: a Mac Mini running Lubuntu 13.10 (macmini) a Raspberry Pi running Raspbian 7 (raspberrypi) a Compaq Mini running Lubuntu 12.04 (...
user avatar
3 votes
0 answers
2k views

Avahi quits working after a few minutes on FreeBSD/FreeNAS

As I mentioned in another post, I've set up a portsjail on FreeNAS 9.1.1 (FreeBSD 9.x) with CUPS and avahi. I'm trying to set up AirPrint support. I've gotten to the point that a Mac can see the avahi ...
user avatar
1 vote
2 answers
3k views

mDNS/ZeroConf/Avahi and Multiple IP Addresses for the Same Host

I'm setting up a media server at home with an old PowerMac that I found rotting in some cellar (great computer by the way, I don't understand why they wanted to throw it away) and I installed Debian ...
user avatar
2 votes
1 answer
741 views

Host name record is removed when announcing with avahi

I am trying to announce a ssh service from my raspberry pi running raspian a Debian squeeze variant. It is using avahi-daemon version 0.6.31. However after a certain time, I cannot find my raspberry ...
user avatar
0 votes
1 answer
2k views

ssh to avahi announced host failing due to 'unknown host' even if it's discovered

I have a raspberry announcing it's hostname with avahi-daemon for several services. However, even if I receive this at PCs over my network I cannot ssh it. $ avahi-browse -at | grep -i ssh + wlp3s0 ...
user avatar
  • 111
0 votes
2 answers
1k views

How to give same hostname to multiple devices in a zeroconf network?

How to give same hostname to multiple devices in a zeroconf network , Is it even possible ? Is it even locally possible to create aliases of the same name lets say project.local on one machine to its ...
user avatar
5 votes
1 answer
7k views

Getting avahi to automatically publish CUPS printers

I know I can manually add a .service file for each printer I have. But I would like to have them published automatically. But from what I've read, it is also possible to get CUPS to inform avahi ...
user avatar
  • 1,838
2 votes
0 answers
876 views

Is there a way to get NFS to refresh its reverse lookup without restarting it?

NFS server for some reason doesn't seem to acknowledge that avahi/mdns will resolve an ip address unless NFS is restarted after avahi is already running. I have my exports specified by hostname (...
user avatar
  • 930
0 votes
2 answers
1k views

pdftoraster missing from ghostscript-cups package on fedora 17?

Attempting to get AirPrint running on an old laser network printer (so my kid can print from his iOS device) with avahi-daemon, cups and this python script. I've followed the instructions as per this ...
user avatar
  • 113