Comments (21)
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.
from netbird.
Thanks, I will use your changes to make the installer work and then let you test it again
from netbird.
I have pushed the changes to complete skip installing UI on Synalogy
from netbird.
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:
curl -fsSL https://pkgs.netbird.io/install.sh | USE_BIN_INSTALL=true sh
Once you've tried it, kindly share the results with us. Your feedback will help us ensure the installer works as expected.
from netbird.
Hi @bcmmbaga,
Here you are :
$ curl -fsSL https://pkgs.netbird.io/install.sh | USE_BIN_INSTALL=true sh
sh: line 352: /etc/os-release: No such file or directory
So you need to detect synology with other tricks.
from netbird.
@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
from netbird.
$ curl -fsSL https://github.com/netbirdio/netbird/blob/fix-synology-installer/release_files/install.sh | sh
sh: line 7: syntax error near unexpected token `newline'
sh: line 7: `<!DOCTYPE html>'
curl: (23) Failure writing output to destination
from netbird.
If i download and run :
$ ./install_synology.sh
Installing netbird from https://github.com/netbirdio/netbird/releases/download/v0.27.6/netbird_0.27.6_linux_amd64.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 10.3M 100 10.3M 0 0 7000k 0 0:00:01 0:00:01 --:--:-- 11.5M
LICENSE
tar: LICENSE: Cannot open: File exists
README.md
tar: README.md: Cannot open: File exists
netbird
tar: Exiting with failure status due to previous errors
Seem the script leaves leftovers at tmp ?
from netbird.
$ curl -fsSL https://github.com/netbirdio/netbird/blob/fix-synology-installer/release_files/install.sh | sh sh: line 7: syntax error near unexpected token `newline' sh: line 7: `<!DOCTYPE html>' curl: (23) Failure writing output to destination
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
from netbird.
After Manuualy clearing the /tmp
$ curl -fsSL https://raw.githubusercontent.com/netbirdio/netbird/fix-synology-installer/release_files/install.sh | sh
Installing netbird from https://github.com/netbirdio/netbird/releases/download/v0.27.6/netbird_0.27.6_linux_amd64.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 10.3M 100 10.3M 0 0 7339k 0 0:00:01 0:00:01 --:--:-- 26.2M
LICENSE
README.md
netbird
Installing netbird-ui from https://github.com/netbirdio/netbird/releases/download/v0.27.6/netbird-ui-linux_0.27.6_linux_amd64.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 9951k 100 9951k 0 0 7161k 0 0:00:01 0:00:01 --:--:-- 23.9M
LICENSE
README.md
netbird-ui
Netbird service has been installed
Netbird service has been started
Installation has been finished. To connect, you need to run NetBird by executing the following command:
netbird up
$ curl -fsSL https://raw.githubusercontent.com/netbirdio/netbird/fix-synology-installer/release_files/install.sh | sh -s -- --update
Installed NetBird version (0.27.6) is up-to-date
What does the netbird-ui do actually ? I think for Synology we must skip UI
from netbird.
Can I use zzecool's latest command if I want to test it on mine?
from netbird.
Can I use zzecool's latest command if I want to test it on mine?
Yes, you can use the commands
from netbird.
Tested with DSM 7
curl -fsSL https://raw.githubusercontent.com/netbirdio/netbird/fix-synology-installer/release_files/install.sh | sh
LICENSE
README.md
netbird
Netbird service has been installed
Netbird service has been started
Installation has been finished. To connect, you need to run NetBird by executing the following command:
netbird up
I was successfully added my nas to netbird console, but I got error trying do netbird up
Error: unable to get daemon status: rpc error: code = Unknown desc = new wg interface: couldn't check or load tun module
Found an old script in my snippets
#!/bin/sh
# Create the necessary file structure for /dev/net/tun
if ( [ ! -c /dev/net/tun ] ); then
if ( [ ! -d /dev/net ] ); then
mkdir -m 755 /dev/net
fi
mknod /dev/net/tun c 10 200
chmod 0755 /dev/net/tun
fi
# Load the tun module if not already loaded
if ( !(lsmod | grep -q "^tun\s") ); then
insmod /lib/modules/tun.ko
fi
run it and now it works
from netbird.
Isn't that the code tailscale also uses? The below script that is.
from netbird.
I see it was just merged in main, can we use the main installer now as well then?
from netbird.
I see it was just merged in main, can we use the main installer now as well then?
Nope its not released yet
install.sh is not updated.
from netbird.
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 :)
from netbird.
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.
from netbird.
I can do so, currently still fighting with the admin panel for my free account, i got peers and documentation and thats it :)
from netbird.
@pcfriek1987 if you are still facing the issue, please send us an email at [email protected] with your user email.
from netbird.
closing this one as completed.
from netbird.
Related Issues (20)
- Client enables all the exit nodes and network routes after restart HOT 1
- netbird client disappears from top bar of Mac OS HOT 6
- DNS issue inside a docker container
- [question] linux client logs to syslog
- client raising a "failed marshalling message string field contains invalid UTF-8" when trying to register the peer due to invalid SerialNumber HOT 1
- Docker routing peers
- Netbird Client: Add warning and allow session extension *before* it expires
- Deploy netbird in OpenWrt router > assign IP to netbird0 interface HOT 2
- "Error parsing token: unable to find appropriate key" fixed with restarting management service HOT 5
- Client on HarmonyOS NEXT
- Web reverse proxy without a client
- ios show connected, but still same old ip HOT 6
- Use one account with multiple networks
- NetBird disconnects after a couple of seconds on Windows Server 2016 HOT 10
- add additional dns domains to local dns resolver HOT 1
- upgrade client via dashboard
- option to disable client upgrade notification
- netbird try (and can't) set /proc/sys/net/ipv4/conf/all/src_valid_mark
- Window CLI HOT 1
- macOS DNS resolver not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netbird.