DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2012-03-13 09:53:04

sucram65
Member
Registered: 2012-03-01
Posts: 6

Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon failed!

I am running a chrooted Debian Squeeze installation on my DNS-320 and I followed this guide: http://www.kremalicious.com/2008/06/ubu … e-volume/.  but avahi fails with the error in the subject line. The other thing is that there is already and avahi-daemon runnning.

root      1352  0.0  0.4   2612   548 ?        S    Mar09   0:18 avahi-daemon: running [dlink-53AD8C.local]

now, I can kill this process but when I try to launch the avahi-daemon that I installed and configured it still fails. There is nothing in my linuxrc file that starting avahi from Debian so it seems to me that the Dlink OS is running this. The same for CIFS. netatalk is disabled in the Dlink NAS interface and I can start it in Debian. Can anyone explain to me or point me to a guide to get avahi running natively in Debian on the NAS? Thanks.

Offline

 

#2 2012-03-14 05:01:53

sucram65
Member
Registered: 2012-03-01
Posts: 6

Re: Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon failed!

Ok, so yes the NAS is running it's own instance of avahi in order to advertise built-in afpd (netatalk) service to Time Machine clients. Unfortunately, like the CIFS (SMB) service, it can't be turned off in the NAS interface. After quite a bit of searching I came across a post on this blog which states that the dbus daemon must be running before avahi starts. Therefore, once I've killed the native avahi process I start the dbus daemon and then avahi can startup successfully. Hopefully this information helps someone else. Now I just need to come up with a script to kill the NAS's avahi-daemon on startup.

Last edited by sucram65 (2012-03-16 01:16:49)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB