[avahi] Install Avahi on a DD-WRT router

planet.et at gmail.com planet.et at gmail.com
Tue Dec 11 22:45:14 UTC 2018


Hi,

I'm currently trying to install Avahi on a DD-WRT router (Asus
RT-AC66U) but I can't find the information I need.
I've also already posted my questions on the DD-WRT forums but no one
is answering. The only answer I got was useless.

Basically, I've already successfully installed Entware on DD-WRT.
I'm then ready to install the Avahi packages, but here are my concerns:

1/ Avahi packages for mipsel (RT-AC-66U) are easy to find...
http://bin.entware.net/mipselsf-k3.4/Packages.html
There are 6:
- avahi-autoipd 0.7-2
- avahi-dbus-daemon 0.7-2
- avahi-dnsconfd 0.7-2
- avahi-utils 0.7-2
- libavahi-client 0.7-2
- libavahi-dbus-support 0.7-2

I understand we need to install "avahi-utils" (which installs
libavahi-client, which also install the libavahi-dbus-support &
avahi-dbus-daemon). But do we need to install the last 2 packages
(avahi-autoipd & avahi-dnsconfd)?

2/ Once installed, are we supposed to add some specific lines for
Avahi in the startup script?
And if "yes", which ones?

3/ I've done a first test to install "avahi-utils". But it failed:

root at DD-WRT:/opt# opkg install avahi-utils
Installing avahi-utils (0.7-2) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/avahi-utils_0.7-2_mipsel-3.4.ipk
Installing libavahi-client (0.7-2) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libavahi-client_0.7-2_mipsel-3.4.ipk
Installing avahi-dbus-daemon (0.7-2) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/avahi-dbus-daemon_0.7-2_mipsel-3.4.ipk
Installing libavahi-dbus-support (0.7-2) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libavahi-dbus-support_0.7-2_mipsel-3.4.ipk
Installing dbus (1.12.10-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/dbus_1.12.10-1_mipsel-3.4.ipk
Installing libexpat (2.2.6-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libexpat_2.2.6-1_mipsel-3.4.ipk
Installing libdbus (1.12.10-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libdbus_1.12.10-1_mipsel-3.4.ipk
Installing libdaemon (0.14-5) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libdaemon_0.14-5_mipsel-3.4.ipk
Installing libgdbm (1.11-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libgdbm_1.11-1_mipsel-3.4.ipk
Configuring libexpat.
Configuring libdbus.
Configuring dbus.
Configuring libavahi-dbus-support.
Configuring libdaemon.
Configuring avahi-dbus-daemon.
Configuring libavahi-client.
Configuring libgdbm.
Configuring avahi-utils.
Collected errors:
* extract_archive: Cannot make dir /opt/etc/avahi/: Input/output error.
* wfopen: /opt/etc/avahi/avahi-daemon.conf: No such file or directory.
* extract_archive: Cannot make dir /opt/etc/avahi/services/: No such
file or directory.
* wfopen: /opt/etc/init.d/S42avahi-daemon: Input/output error.
* file_sha256sum_alloc: Failed to open file
/opt/etc/avahi/avahi-daemon.conf: No such file or directory.
* extract_archive: Cannot make dir /opt/etc/dbus-1/: Input/output error.
* extract_archive: Cannot make dir /opt/etc/dbus-1/system.d/: No such
file or directory.
* wfopen: /opt/etc/dbus-1/system.d/avahi-dbus.conf: No such file or directory.
* wfopen: /opt/etc/init.d/S20dbus: Input/output error.

Any idea why it couldn't create directories, while few seconds before
in the same SSH session Entware could? (I installed Entware just
before).

Thanks for your help!
And sorry if my questions are a bit noob.

FTP


More information about the avahi mailing list