-
Notifications
You must be signed in to change notification settings - Fork 493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PULL REQUEST] Support for BIN install in Synology #1977
Comments
Hello @zzecool, Thank you for bringing this to our attention. To better understand the current behavior when installing on Synology NAS, could you please execute the following command:
Once you've tried it, kindly share the results with us. Your feedback will help us ensure the installer works as expected. |
Hi @bcmmbaga, Here you are :
So you need to detect synology with other tricks. |
Thanks, I will use your changes to make the installer work and then let you test it again |
@zzecool, could you please uninstall the currently installed NetBird and test the installation again using the following command: curl -fsSL https://raw.githubusercontent.com/netbirdio/netbird/fix-synology-installer/release_files/install.sh | sh Additionally, please test updating the installed NetBird with the following command: curl -fsSL https://raw.githubusercontent.com/netbirdio/netbird/fix-synology-installer/release_files/install.sh | sh -s -- --update |
|
If i download and run :
Seem the script leaves leftovers at tmp ? |
You test again with updated URL's curl -fsSL https://raw.githubusercontent.com/netbirdio/netbird/fix-synology-installer/release_files/install.sh | sh curl -fsSL https://raw.githubusercontent.com/netbirdio/netbird/fix-synology-installer/release_files/install.sh | sh -s -- --update |
After Manuualy clearing the /tmp
What does the netbird-ui do actually ? I think for Synology we must skip UI |
I have pushed the changes to complete skip installing UI on Synalogy |
Can I use zzecool's latest command if I want to test it on mine? |
Yes, you can use the commands |
Tested with DSM 7
I was successfully added my nas to netbird console, but I got error trying do
Found an old script in my snippets
run it and now it works |
Isn't that the code tailscale also uses? The below script that is. |
I see it was just merged in main, can we use the main installer now as well then? |
It will be in our next release, for now you can use the https://raw.githubusercontent.com/netbirdio/netbird/main/release_files/install.sh URL. |
Cool, I was just about to comment how to install it now since the fix branch was deleted :) let's see how it holds up to Tailscale, as i do not really like how they do acl's and that selfhosting is more difficult :) |
Thats only the first step though for Synology as it will only provide you access on the machine. If you want to use it as an Exit Node - Or enable Routes to access the local network, then the client needs more work. Please join me on the other issues that im describing. Synlogy Exit node + Routes : #1976 Synology Internal Netbird Hostname DNS resolve : #1983 Fingers crossed for full Synology support. |
I can do so, currently still fighting with the admin panel for my free account, i got peers and documentation and thats it :) |
@pcfriek1987 if you are still facing the issue, please send us an email at support@netbird.io with your user email. |
closing this one as completed. |
I have it successfully install, but what's the correct update method with newer versions? |
add the --update switch |
Thanks. That worked, but now getting this error: Management: Disconnected, reason: new wg interface: couldn't check or load tun module *update - testing another Synology NAS, and after a reboot - as in the original NAS, I'm seeing the same error: Error: status failed: new wg interface: couldn't check or load tun module |
I added the script referenced above as a startup script, and now things are working. #!/bin/sh Create the necessary file structure for /dev/net/tunif ( [ ! -c /dev/net/tun ] ); then Load the tun module if not already loadedif ( !(lsmod | grep -q "^tun\s") ); then |
As im noob in Git i will throw the install script modification for Synology NAS.
I just updated my BIN install in my NAS using the modded script
You better check my code here and refine it if needed.
install.zip
Forgive my ignorance :D
At least it working :P
The text was updated successfully, but these errors were encountered: