Mon Nov 6 23:02:35 2023 daemon.info avahi-daemon[16768]: avahi-daemon 0.8 starting up.
Mon Nov 6 23:02:35 2023 daemon.warn avahi-daemon[16768]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Mon Nov 6 23:02:35 2023 daemon.info avahi-daemon[16768]: No service file found in /etc/avahi/services.
Mon Nov 6 23:02:35 2023 daemon.info avahi-daemon[16768]: Joining mDNS multicast group on interface br-lan.IPv4 with address 192.168.178.1.
Mon Nov 6 23:02:35 2023 daemon.info avahi-daemon[16768]: New relevant interface br-lan.IPv4 for mDNS.
Mon Nov 6 23:02:35 2023 daemon.info avahi-daemon[16768]: Joining mDNS multicast group on interface br-iot.IPv4 with address 10.1.103.1.
Mon Nov 6 23:02:35 2023 daemon.info avahi-daemon[16768]: New relevant interface br-iot.IPv4 for mDNS.
Mon Nov 6 23:02:35 2023 daemon.info avahi-daemon[16768]: Joining mDNS multicast group on interface br-dienste.IPv4 with address 10.1.99.1.
Mon Nov 6 23:02:35 2023 daemon.info avahi-daemon[16768]: New relevant interface br-dienste.IPv4 for mDNS.
Mon Nov 6 23:02:35 2023 daemon.info avahi-daemon[16768]: Joining mDNS multicast group on interface br-nonet.IPv4 with address 10.1.104.1.
Mon Nov 6 23:02:35 2023 daemon.info avahi-daemon[16768]: New relevant interface br-nonet.IPv4 for mDNS.
Mon Nov 6 23:02:35 2023 daemon.info avahi-daemon[16768]: Joining mDNS multicast group on interface br-lan100.IPv4 with address 10.1.100.1.
Mon Nov 6 23:02:35 2023 daemon.info avahi-daemon[16768]: New relevant interface br-lan100.IPv4 for mDNS.
Mon Nov 6 23:02:35 2023 daemon.info avahi-daemon[16768]: Network interface enumeration completed.
Mon Nov 6 23:02:35 2023 daemon.info avahi-daemon[16768]: Registering new address record for fe80::e6c3:2aff:fe47:1a7e on br-lan.*.
Mon Nov 6 23:02:35 2023 daemon.info avahi-daemon[16768]: Registering new address record for 192.168.178.1 on br-lan.IPv4.
Mon Nov 6 23:02:35 2023 daemon.info avahi-daemon[16768]: Registering new address record for fe80::e6c3:2aff:fe47:1a7e on br-iot.*.
Mon Nov 6 23:02:35 2023 daemon.info avahi-daemon[16768]: Registering new address record for 10.1.103.1 on br-iot.IPv4.
Mon Nov 6 23:02:35 2023 daemon.info avahi-daemon[16768]: Registering new address record for 10.1.99.1 on br-dienste.IPv4.
Mon Nov 6 23:02:35 2023 daemon.info avahi-daemon[16768]: Registering new address record for 10.1.101.1 on br-dienste.IPv4.
Mon Nov 6 23:02:35 2023 daemon.info avahi-daemon[16768]: Registering new address record for 10.1.104.1 on br-nonet.IPv4.
Mon Nov 6 23:02:35 2023 daemon.info avahi-daemon[16768]: Registering new address record for 10.1.100.1 on br-lan100.IPv4.
Mon Nov 6 23:02:35 2023 daemon.info avahi-daemon[16768]: Registering HINFO record with values 'MIPS'/'LINUX'.
Mon Nov 6 23:02:36 2023 daemon.info avahi-daemon[16768]: Server startup complete. Host name is OpenWrt.local. Local service cookie is 2213841025.
Any hints or tips are more than welcome! I am also willing to try another reflector, but it seems that avahi is the only one working on OpenWrt.
Were you able to resolve the issue? I am having the exact same problem wit android TV detection (for the remote control). Chromecast detection for example works fine.
Did you adjust your firewall rules to allow access to the printer? I have a similar setup using CUPS which prints on port 631. In my case the printer is on br-lan and I’m allowing access from guest. Here are the relevant bits I added to /etc/config/firewall
config rule
option name 'Allow-Guest-mDNS'
list proto 'udp'
option src 'guest'
option src_port '5353'
list dest_ip '224.0.0.251'
option dest_port '5353'
option target 'ACCEPT'
config rule
option name 'Allow-Guest-Cups'
option src 'guest'
option dest 'lan'
option target 'ACCEPT'
list dest_ip 'ip.of.printer'
list proto 'tcp'
option dest_port '631'
I have used avahi, mdns and umdns. I never had any problems with avahi in OpenWRT, but I prefer to stay with the recommendations from OpenWRT. I followed this: https://openwrt.org/docs/guide-developer/mdns and it's working like a charm.
Do you know if umdns does reflection? Everywhere I read says to use Avahi and enable reflection so that the broadcasts get proxied from one vlan to the other, but I can't find anywhere that says umdns supports that.
I'm pretty sure that when I was trying to make mdns work across vlans, I tried umdns and it did not work as a reflector. It's been a long time ago and I might be wrong, but umdns was one of the options I tried to make it work, unsuccessfully. Also umdns seems to require restarts to properly acquire new devices https://github.com/openwrt/openwrt/issues/14758
I'm assuming this is something already on your to-do list, but clarifying if umdns provides reflector/redirector functionality between vlans is quite important for many scenarios (like media players on vlans being controlled by devices on the main lan). I could not find anything on it