You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/pages/how-to/installation.mdx
+23-3Lines changed: 23 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -203,13 +203,33 @@ brew unlink netbird
203
203
204
204
### Synology
205
205
206
-
**Install with one command**
206
+
**Installation Steps**
207
+
208
+
Installing a NetBird Peer on Synology will require a few additional steps compared to a typical Linux install despite using the same single line command to get everything going.
209
+
210
+
1. Ensure your user has administrative privileges. _Control Panel > User & Group > User > Click User and Edit > User Groups > Ensure “administrators” is checked._
211
+
2. Enable SSH Connectivity. _Control Panel > Terminal & SNMP > Terminal > Check the box next to “Enable SSH Service” > Click Apply_
212
+
3. Login to your user using SSH. If you’re unsure if your Synology IP address it can be found under _Control Panel > Info Center > Network > DNS_ or using the [Synology Find Tool](https://finds.synology.com/). Open a terminal and run the command to connecting replacing the user and IP address with your own.
curl -fsSL https://pkgs.netbird.io/install.sh | sh
210
222
```
211
223
212
-
For NetBird to work on Synology after a reboot, you need to run this script every time you reboot your NAS. To automate this process, you can create a scheduled task in the Synology DSM.
224
+
5. Add your Synology NAS as a Peer using the steps from [Add peers to your NetBird network](https://docs.netbird.io/how-to/add-machines-to-your-network) in the documentation.
225
+
226
+
**Reboot Script**
227
+
228
+
In some cases on Synology, the NetBird service will not have the correct modules loaded on a reboot. In this case you’ll need to run a script every time you reboot your NAS. To automate this process, you can create a scheduled task in the Synology DSM.
229
+
230
+
1._Control Panel > Task Scheduler > Create > Triggered Task > User defined script_.
231
+
2. Now you’ll have a _Create Task_ dialog box. Give a task name such as “Netbird Reboot”. Set the _User > Root_ and the _Event > Boot-up_. Make sure the Enable Box is checked.
232
+
3. Next, click on _Task Settings_ and copy/paste the script in the text field under _Run command > User-defined script_.
213
233
214
234
```sh
215
235
#!/bin/sh
@@ -228,7 +248,7 @@ if !(lsmod | grep -q "^tun\s"); then
228
248
insmod /lib/modules/tun.ko
229
249
fi
230
250
```
231
-
251
+
4. If you’d like to see the logs for this task, select the task you create and click on Settings. Check the box that says Save output results, select a save location, and click OK. Now, if you select the task and **Action > View Result**, you’ll see any error logs and status.
0 commit comments