Compiling AppleTalk support for a Synology #2643
andyzickler
started this conversation in
Show and tell
Replies: 2 comments
-
|
If anyone is running Netatalk on their Synology can you post your model and DSM version? And if you already have appletalk support with |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Since you are compiling the kernel modules anyway, you may want to patch the AppleTalk kernel module to fix longstanding problems. https://gist.github.com/VinDuv/4db433b6dce39d51a5b7847ee749b2a4 These have all been integrated into the latest kernel for quite a while, but Synology is a bit behind. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I had Netatalk running via docker and it was working great until I upgraded to DSM 7.3.2. After that I would just get an error when trying to start the container
atalkd: can't get interfaces, exiting.Some helpful troubleshooting from the community determined that the AppleTalk support had been removed from the kernel. Here's how I went about building the AppleTalk module for my Synology. I really didn't want to setup a build environment, but thankfully someone else already did in a Docker container.Prereqs
Building
RUN chmod +x apply_patches.sh entrypoint.shbelow theCOPYcommands. (I have a PR to fix this, will remove once it's merged)with
Replace the copy lines
with
docker build --platform linux/amd64 -t compile_modules .I'm running on an ARM Mac and so needed to add the platform tag. If you're on AMD or Intel you shouldn't need itdocker run --privileged --rm -v ./compiled_modules:/compiled_modules:rw -e PLATFORM=YOUR_PACKAGE_ARCH compile_modulesRemember to substitute your package arch from step 5appletalk.koonto your Synology to/lib/modules. It will be in one of the subdirectories ofcompiled_modulessudo insmod /lib/modules/appletalk.kolsmod | grep appletalk. You should set output likeI'm not at all experienced with kernel building and I haven't yet needed to figure out how to ensure the module auto loads on startup. I figured I'd cross that bridge when i needed to. Any comments and corrections would be appreciated. Would also love to see someone else try this and report back.
Beta Was this translation helpful? Give feedback.
All reactions