Comments (4)
Hi Kiba's King,
Unfortunately I won't be able to do that since I don't own an SRM router. I don't even know how to build SPKs for them (https://github.com/SynologyOpenSource/pkgscripts-ng that I use only support DSM as far as I know).
If someone wants to do this and have questions I may be able to aid them. If someone wants help with this I am open for PRs.
from synology-wireguard.
@runfalk SRM is "just" another target for Synology packages. Specifically, three different targets, due to the different architecture of the SoCs in the three different routers (northstarplus would be the old RT1900ac, ipq806x is the RT2600ac, and dakota or ipq4019 is the MR2200ac).
Versions are also different, currently SRM is on 1.2.3 (toolkit is for 1.2.x).
Based on my quick read-through of the repo you linked, it should be relatively simple to add the SRM targets to EnvDeploy, though some small parts need to change (the URL won't match their current scheme). I've opened a ticket for that.
Otherwise, SRM targets are practically the same as DSM, so once the scripts are updated to support it, you should be able to do so as well. You'll need to change SynoBuildConf/depends
though.
Or if you're feeling adventurous, you could try manually establishing the build environment, following the EnvDeploy script's steps:
- Create a new folder for your chroot -
{script_source}/build_env/ds.{platform}-{version}/
- Download the required files:
- Extract the above files in the above folder, in the above order
- Initialise chroot
This is a lengthy step, and not exactly nice doing manually. The ToolkitDeployer part of the EnvDeploy script goes through it in detail, though. A quick list would be:- Create a
source
directory in the main chroot folder ({script_source}/build_env/ds.{platform}-{version}/source
- Link Python 2.x as main Python
- Copy some config files from the host system:
/etc/hosts
,/root/.gitconfig
,/root/.ssh
,/etc/resolv.conf
) - Symlink the
pkgscripts-ng
folder into the chroot folder
- Create a
- Enter chroot
You'll most likely need to mount/proc
and maybe even/dev
before you do this, but that should be fairly obvious - Build away
from synology-wireguard.
Looks like someone already picked it up, albeit using spksrc
(which to me looks like a much easier to use build system for SPKs): https://github.com/publicarray/spksrc (check wireguard
branch).
from synology-wireguard.
Nice research! Seems like the commits are quite old and probably would require some serious work to get going. I'd definitely use spksrc if I did this project from scratch, so if someone wants to do a PR for that knock yourself out.
Unfortunately I don't think Synology monitors issues in that repository so it'll probably never be fixed.
from synology-wireguard.
Related Issues (20)
- Installation Error Code 261
- Build SPK on DSM 7.1 on DS920+ (geminilake) fails HOT 14
- Cannot start WireGuard via ssh : command not found HOT 4
- compatibility list / DS118 DSM6 HOT 1
- Trying to use it as a Wireguard "client" to replace Synology's built-in OpenVPN client, but other devices cannot see internet HOT 2
- Not working with DSM 7.1.1-42962 Update 1 HOT 22
- Unable to start Wireguard in DSM 7.1.1-42962 Update 1: Unable to access interface: No such device HOT 1
- Braswell (DS716+II)
- DS918+ DSM7.1 Compiling issue HOT 4
- Help:Handshake successful could access server side LAN but not internet.
- the command "wg show" displays my interface but nothing goes through the tunnel HOT 5
- Any update for DSM 7.2 beta? HOT 9
- rtd1619b arch Compile error HOT 1
- Compile error on DSM 7.2 armada38x HOT 4
- Package fails to run on DSM 7.2 HOT 1
- im try to compile wireguard in kernal version 6.2.0.32
- Module verification failed, module removed HOT 1
- After installation and configuration on DS220+ DSM Web login not possible HOT 1
- wireguard kernel module not loaded
- The container fails to build the wireguard package (at least over here). 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 synology-wireguard.