Dear OpenWrt forum users,
I installed OpenWrt v19.07 on a Linksys 1200AC rev. 1 in 2020 because I wanted to run Time Machine backups right from my router. I followed the OpenWrt guide for AFP Netatalk share configuration (Apple Time Machine) to the letter and everything worked great.
Skip ahead to today when I upgraded OpenWrt to version 21.02.3 because I wanted to add more functionality to my router. All my Netatalk setting carried over with the upgrade. I followed the AFP Netatalk share configuration install guide again to verify that all the config files were correct.
However, when attempting to log into the AFP server from Time Machine preference pane I receive an error: "There was an error authenticating with the provided username or password."
Finder sees the the AFP server but again gives an error "connection failed" when trying to log in.
When I look at /var/log/afpd.log
I see the following error message:
May 10 14:25:41.301140 cnid_metad[2633] {cnid_metad.c:509} (note:AFPDaemon): CNID Server listening on lo>
May 10 14:25:41.499063 afpd[2632] {afp_config.c:174} (note:AFPDaemon): Netatalk AFP/TCP listening on int>
May 10 14:25:41.499304 afpd[2632] {dsi_tcp.c:476} (error:DSI): No suitable network config for TCP socket
May 10 14:25:41.499564 afpd[2632] {dsi_tcp.c:476} (error:DSI): No suitable network config for TCP socket
May 10 14:25:41.499699 afpd[2632] {dsi_tcp.c:476} (error:DSI): No suitable network config for TCP socket
May 10 14:25:41.499756 afpd[2632] {afp_config.c:190} (error:Default): no suitable network address found,>
May 10 14:25:41.499806 afpd[2632] {main.c:327} (error:AFPDaemon): main: no servers configured
May 10 14:25:46.512704 afpd[3318] {afp_config.c:174} (note:AFPDaemon): Netatalk AFP/TCP listening on int>
May 10 14:25:46.512884 afpd[3318] {afp_config.c:174} (note:AFPDaemon): Netatalk AFP/TCP listening on int>
May 10 14:25:46.513077 afpd[3318] {afp_config.c:174} (note:AFPDaemon): Netatalk AFP/TCP listening on int>
May 10 17:15:13.944630 afpd[3582] {auth.c:235} (note:AFPDaemon): Login by alex (AFP3.4)
May 10 17:15:14.048277 afpd[3582] {fault.c:123} (severe:Default): ======================================>
May 10 17:15:14.048378 afpd[3582] {fault.c:124} (severe:Default): INTERNAL ERROR: Signal 11 in pid 3582 >
May 10 17:15:14.048433 afpd[3582] {fault.c:125} (severe:Default): ======================================>
From the log file it looks like I successfully log in but there's also all that business about no suitable network address found.
I have tried changing the permissions of the backups folder to 777 as one thread suggested, but that did not clear the error. I've restarted everything multiple times.
Has anyone troubleshot this issue? I'm not averse to formatting my backup disk and starting again from scratch if that's the only fix.
Thanks to the OpenWrt team members who wrote the Apple Time Machine guide!