OpenWrt Forum Archive

Topic: Barrier Breaker and mDNS/ZeroConf

The content of this topic has been archived on 15 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Update: I'm only tentatively sure of this answer... I'll review and modify if needed.

Answered my own question... I got avahi working as a mDNS/ZeroConf server using the following steps:

From ssh:

opkg update
opkg install avahi-daemon

Edit /etc/avahi/avahi-daemon.conf to have these new lines:

[server]
...
allow-interfaces=br-lan
enable-dbus=no

[reflector]
...
enable-reflector=yes

And finally, use the GUI System -> Startup to Restart and then Enable the avahi-daemon, or ssh and:

/etc/init.d/avahi-daemon start
/etc/init.d/avahi-daemon enable

Note: If this router is a secondary router (that is, within your firewall), you can turn on mDNS for your entire internal network (that is to run on both interfaces of the router), using the following in /etc/avahi/avahi-daemon.conf:

allow-interfaces=br-lan,eth0

Documentation:
    http://linux.die.net/man/8/avahi-daemon
    http://linux.die.net/man/5/avahi-daemon.conf

Update: Removed info about firewall modifications. They are not needed.

(Last edited by richbhanover on 29 Apr 2015, 04:43)

The discussion might have continued from here.