Skip to content

Add Avahi (mDNS) package in NethSecurity repos #1625

@cotosso

Description

@cotosso

Description
Multicast DNS (mDNS) allows devices to discover services on a local network without a centralized DNS server, using multicast traffic within the .local domain.
A typical use case is IoT network segmentation: when IoT devices live in a dedicated network, control devices like smartphones and PCs rely on mDNS for discovery — but since mDNS doesn't cross network boundaries, an mDNS reflector such as Avahi is required.

Currently, installing Avahi requires manually adding upstream OpenWrt repositories, installing the package, cleaning up the repository config, and then configuring the service — a process that is error-prone and not user-friendly.
The goal of this request is to make avahi-nodbus-daemon available directly from NethSecurity's official repositories, allowing installation with a single opkg install avahi-nodbus-daemon.

Proposed solution

Include avahi-nodbus-daemon in NethSecurity's official repositories and document the following post-install steps:

  • Enable the mDNS reflector functionality by editing /etc/avahi/avahi-daemon.conf and setting enable-reflector=yes. This should remain no by default and be explicitly enabled by the administrator as needed.
  • Restart the Avahi daemon to apply the configuration change: /etc/init.d/avahi-daemon restart
  • Add /etc/avahi/avahi-daemon.conf to /etc/sysupgrade.conf to ensure the configuration is preserved across system upgrades, since this file is not included in the backup set automatically.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

In Progress 🛠

Relationships

None yet

Development

No branches or pull requests

Issue actions