Questions tagged [avahi]

Avahi is a free zeroconf implementation - A service discovery protocol. It can be used to find services on a network and also to publish services to be found by other Zeroconf clients.

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

avahi stops working in multi-user.target

I have another machine on my network running avahi-daemon with the default configuration and it's been working fine since the first boot. On a newer machine, avahi-daemon works only if i set systemctl ...
0
votes
0answers
15 views

multiple DNS services [migrated]

On my Fedora system : a simple PC workstation behind a provider box with an extra laptop also on Fedora, I have dnsmasq, avahi-daemon and systemd-resolved which all manage DNS connections. avahi-...
0
votes
0answers
59 views

avahi / zeroconf is announcing wrong ip addresses (from docker bridge)

i am having problems with the avahi daemon. i would like to publish some services on a host running docker, but the ip address list i can see from a zeroconf client occasionally only contains the v6 ...
1
vote
0answers
130 views

mDNS service is discovered but not reachable

I've some problems connecting to services on my raspberry pi. I desire the following: 1x Raspberry Pi running multiple services (like openhab, mosquitto, nagios, etc.). Each of these services is ...
1
vote
0answers
250 views

How do I resolve .local. DNS names on Debian 10?

I have a small local Ethernet network which I am using as a prototype for an industrial automation network. The network currently has 2 machines, both running Debian 10. There is no DNS server ...
0
votes
0answers
94 views

Publish services using avahi/zeroconf/mDNS from Windows

How can I do the equivalent of avahi-publish-service from Win7 or Win10? There are many references on how to discover services from Windows, but I can't find anything on how to do the opposite, make ...
0
votes
1answer
132 views

avahi-resolve resolves hostname that dig -p 5353 @224.0.0.251 does not?

I thought avahi-resolve and dig -p 5353 @224.0.0.251 did much the same thing. However, I have a device where I can resolve its name using avahi-resolve but not using dig: $ avahi-resolve --name ding-...
1
vote
0answers
41 views

centos7 avahi avahi-browse large timeouts on networks with many devices

I have been struggling with regular usage of the avahi-browse command on all CentOS 7 servers placed in a large network with many devices reporting out avahi/mdns data. Part of an application run this ...
0
votes
1answer
212 views

Publishing CNAME to Avahi over DBUS requires long lived process

I am attempting to setup CNAMEs in Avahi in order to broadcast multiple hostnames. I've found a variety of examples online that all work but they all require long lived processes: https://github.com/...
0
votes
1answer
58 views

several RPis sharing wifi internet by cable, with same hostname. Precedence lookup?

I've a Lab with a wifi AP. Students connect their laptops to this AP. Each student has a RPi3 that shares wifi internet by cable. i.e each student laptop acts as a gateway with wlan0, the external ...
3
votes
0answers
905 views

How does ping determine the IP address of an mDNS service?

I am trying to write a Python 3 program which, when given the name of a service, returns the IPv4 numeric address of the machine running the service. (I don't want to use the zeroconf module.) Using ...
1
vote
0answers
24 views

Fedora client persist old address after router advertisement

I have a linux-based DSL router, running radvd Because the prefix from my ISP may change, so I have to change the radvd.conf when prefix changes. For example, like this. interface br-lan { ...
1
vote
2answers
397 views

Different Avahi/ZeroConf Services for different VLANs

I couldn't find any reference in the man page for Avahi so here is my question: Is there a possiblity to configure one service (printer) for only one VLAN and another service (printer) for another ...
0
votes
2answers
687 views

linux redhat + how to resolve the issue about Invalid response packet from host

we have thousand of the following message in /var/log/messages we also have strange issue that machine restart each of couple dayes what need to do in order to avoid these messages? Apr 25 00:08:31 ...
-2
votes
1answer
111 views

How do I figure out the nameservers Avahi is using?

Avahi now runs in Ubuntu to serve as a nameserver on 127.0.1.1. How do I figure out which nameserver(s) Avahi auto-discovered to use?
0
votes
1answer
610 views

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

I have a problem with my route table I don't know why it doesn't work. I have two test cases, I did draw a network map for each case. currently I can't resolv the goal. The goal: laptop-1 can ...
0
votes
2answers
2k views

Can't discover a IPv4 link-local address when having an static IP configured

I have link-local addresses working out-of-the-box when coupled with DHCP, since when there's no DHCP, the device doesn't get an IP, only a link-local one. Still, I need to have link-local addresses ...
0
votes
1answer
449 views

Ubuntu bonjour name server

Is there a way to have my remote server talking to my mac via bonjour? Avahi and netatalk are configured and ready using afp. Tried with opnvpn without success. Also tried with the dns-sd server ...
2
votes
1answer
7k views

Host name conflict with avahi daemon on Ubuntu 14.04 LTS

I have two VMs running Ubunut 14.04 on Virtualbox. They are connected via VIP. Syslog on node1 shows recuring error messages from Avahi and I can't find the problem nor the solution. tail /var/log/...
0
votes
1answer
1k views

Centos 7 Avahi doesn't resolve from windows machines

I have installed and configured avahi-daemon and samba on Centos 6.6 and it's working when I am testing it from an Ubuntu machine. e.g.: ping myhostname.local or smb://myhostname.local However, when ...
2
votes
0answers
199 views

How can I get systemd to wait for Avahi to completely stop at shutdown/reboot time?

Specifically, I've got some code that consumes the output of avahi-browse on another machine and occasionally it doesn't see all of the services stopping when a server powers down or reboots. ...
0
votes
0answers
321 views

How to discover a Cisco switch via Bonjour on Linux

I have a simple network consisting of a Linux box (running dhcpd and avahi-daemon), a Cisco SF302-08PP switch, some Zeroconf-capable devices, and for debugging a MacBook Pro. Everything gets their ...
2
votes
1answer
1k views

stop avahi on archlinux

I have archlinux with samba. I noticed from last update it started avahi-daemon. If I stop/disable avahi, seems samba starting avahi automatically. Also tried with kill. Printing is disabled in ...
7
votes
2answers
1k views

How to prevent Avahi adding -2 to hostnames

Often (maybe 80% of the time), when I reboot a machine running Avahi, it starts using machinename-2.local as it's hostname. All the machines on my network have unique hostnames, so there is no ...
2
votes
0answers
4k views

How to publish hostnames of Ubuntu machines using Avahi

How do you configure Avahi on Ubuntu to automatically broadcast and discover the DNS info for each Linux server on a local network? I've ran this on my localhost (hostname mylocalhost) and a test ...
-1
votes
2answers
1k views

how to get a connection between Windows and Linux without an existing DHCP server

Scenario: In general a ubuntu machine (called server) runs in a network and gets an IP from it. Due to testing, sometimes a windows machine (client) is physical connected to the ubuntu machine ...
1
vote
1answer
2k views

Avahi How do I setup multiple servers that originally have the same hostname

Let me explain what I'm trying to do: I'm creating a Linux Distro Image that will be installed on a SD Card Setting the default hostname to myHostname.local This is all on my local network This is ...
3
votes
0answers
269 views

How to send dynamic update to DNS Server using Avahi?

I am using beaglebone running avahi-daemon and I have configure it to respond mdns query with local name “myboard.local” when accessed from PC on same network. It works fine. But, how can I ...
5
votes
3answers
10k views

How to configure SELinux to allow specific services to communicate with Avahi?

I have a service, running on a Fedora 20 machine, that when started attempts to register services with Avahi. This works perfectly if my service is started while SELinux is in permissive mode, but the ...
3
votes
2answers
4k views

Avahi (zeroconf/bonjour) service in bridged VirtualBox sometimes not found outside host

I have a VirtualBox with Debian 3.2.51 guest (vcube) on Ubuntu 13.10 host (ring) with a bridged network adapter. vcube has an Avahi service configured with a vcube.local name. I can see/ping/access ...
2
votes
1answer
1k views

Avahi and Zeroconf Servers found by every application, but not by Safari

I have two servers in my home network: The first one is an Arm based linux computer running on a custom Debian 3.4.43 kernel The second one is an Arduino with an ethernet shield. I installed avahi ...
2
votes
2answers
908 views

Resolve avahi hostnames via DNS

I would love to resolve avahi hostnames via DNS: I connect to the office VPN via PPTP but Avahi refuses to run on POINTOPOINT interfaces. I just want to resolve avahi hostnames via the DNS ...
3
votes
1answer
2k views

Avahi add second hostname

Is it possible to let Avahi announce another hostname for the same machine? I know it is meant to announce 'services', but usual clients like eg. browsers lack Avahi service support and rely on name ...
0
votes
2answers
693 views

how to give cname to any device?

I am working on linux environment and c language. I can not use python,perl,PHP and apache. What my exact need is I want to give a same host name to each device connected in the network. I know that ...
0
votes
1answer
160 views

DHCP failsafe subnetwork

I have some systems connected via a simple stupid ethernet switch. Under usual conditions, the switch is connected to a large network providing DHCP service and Internet gateway. However, if the group ...
0
votes
1answer
3k views

How to unblock service discovery for IPv4 via Avahi?

On a Debian 6.0.6 system (squeeze) I am having trouble resolving a host using Avahi and IPv4. Here is a sample output: : nr@homedog 10102 ; avahi-browse -a + eth0 IPv6 yorkie [00:1f:3b:d8:67:1d] ...
9
votes
2answers
10k views

avahi-daemon binds to eth0 udp ports 5353 and 53791

avahi-daemon continues to bind to eth0 ports 5353 and 53791. Is there any way to tell avahi-daemon to only bind to localhost and not eth0 ? /etc/avahi/avahi-daemon.conf use-ipv4=yes use-ipv6=no ...
5
votes
1answer
2k views

avahi stops publishing after a few minutes

I've got a couple of virtual machines (running Scientific Linux 6.2) that publish Workstation records so that they can easily be found on the net. Some of the virtual machines stop publishing after a ...
3
votes
1answer
1k views

Do you need to advertise an AFP service via Avahi for an Ubuntu Server to show up in OSX Finder?

I am only advertising an NFS share plus the "model", and I don't want to install extra services on the Server unless I have to, ie netatalk, as it is used solely for NFS exports. Currently there is ...
1
vote
1answer
2k views

Failed to find user 'avahi'

So I'm trying to setup CUPS + AirPrint support and one of the packages required is Avahi. I have installed it via ipkg, and have tried running the daemon, however I get the following error. Failed ...
4
votes
1answer
5k views

Connecting to host using avahi gives error: Name or service not known

I'm creating and destroying virtual machines all the time, in order to test various services or applications, and so I'd like to use avahi to connect to them by their names so I don't have to use ...
3
votes
1answer
3k views

getting warning messages “avahi-daemon[3201]: Invalid query packet.” on suse 10.1 server with raid 1

I had recently replaced a failing hard drive on my software raid 1 system with suse 10.1 , and i am checking for any warning messages on " var/log/warn " and i found this message "avahi-daemon[3201]...
1
vote
1answer
2k views

Multiple ethernet interfaces same IP address space

Am I allowed to have multiple ethernet interfaces on a WinXP/Win7 host, that share the same IP-subnet? Scenario: There are multiple USB adapters, that are using RNDIS (usb-ethernet-gadget) and ...
7
votes
2answers
4k views

Multicast routing across two subnets with FreeBSD 9 (Bonjour between subnets)?

I have a FreeBSD 9 router (a Soekris net6501) connected to the internet via a dsl modem (bridged), doing NAT for two internal subnets, 10.0.1.0/24 (LAN) and 10.0.2.0/24 (wifi net). There are routes ...
4
votes
1answer
8k views

Configure Avahi nss-mdns not to use local suffix with hostnames because of issue in mounting Samba share

How to configure Avahi & nss-mdns to resolve names in my small home network in the same manner as Windows does with NetBIOS or more recently LLMNR. For Linux, there are two options: Winbind aka ...
2
votes
0answers
726 views

ZeroConf (Bonjour/Avahi): Macs do not see Linux systems and vice versa [closed]

In my home network I have several OS X boxes and several Ubuntu boxes. Each Ubuntu box sees other boxes via ZeroConf. I can "ssh ubuntu1.local" and "ping ubuntu1.local" from "ubuntu2.local", but ...
17
votes
1answer
1k views

Using Avahi on DreamPlug Ubuntu with iPads

I have the following very peculiar issue with using Avahi on the DreamPlug (which is a plug computer running Ubuntu Jaunty). After spending days on this, I think I've managed to narrow down the issue....
9
votes
1answer
1k views

Is there a way to set up Avahi to implement “anycast name resolution” on a LAN?

First, some background: We've got a lab containing a handful of dedicated Linux servers that run on an isolated LAN. All the servers run the same OS (Debian Linux) and the same proprietary server ...
23
votes
6answers
25k views

Can I have dots in a hostname?

I'm using names like "a.alpha" for the hostname of my linux box, but it seems that these names are not completely usable. The response of a hostname shell command is correct (a.alpha). But the name ...
2
votes
3answers
1k views

How to automatically announce Linux server resources to clients with arbitrary OSes?

I have a Linux server that needs to offer some services to an intranet. There will often be users that are not too familiar with using their laptops in a network environment, and so I'd like to ...