pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

netatalk3 error cannot register mdns



Hello !

I have trouble broadcasting netatalk3 shares with mdns.
I am running netatalk3 from pkgsrc-2020Q2 stable tree on SMP Debian 4.19.118-2+deb10u1 (2020-06-07) x86_64 GNU/Linux.

I can access the shared volumes from my Mac by directly specifying the IP address of the server running netatalk3, but Mac cannot find broadcasting of afpovertcp service and it is not possible to find the server by browsing the local net in finder.

I compiled netatalk3 with PKG_OPTIONS.netatalk= dnssd
The netatalk log has following lines.
...
Jul 15 07:45:51.795997 afpd[1850] {cnid.c:55} (info:AFPDaemon): Registering CNID module [tdb]
Jul 15 07:45:54.792949 netatalk[1849] {afp_mdns.c:251} (error:AFPDaemon): Failed to add service: _afpovertcp._tcp, error=-65563
Jul 15 07:45:54.792989 netatalk[1849] {netatalk.c:516} (note:Default): Registered with Zeroconf
...

According to the dns_sd.h,  error=-65563 seems to indicate that the relevant server is not running. 

By the way, PKG_OPTIONS.netatalk= dnssd set the Makefile to includes "../../net/mDNSResponder/buildlink3.mk" I am wondering if it is possible to change the option to include avahi buildlink3.mk instead.

Thank you in advance.

Yosuke


Home | Main Index | Thread Index | Old Index