I have been able to fix. I provide the how to:
- Create a container to compile the necessary modules
- in it, download the kernel source and compile the modules
- transfer to your NAS and load the modules into the kernel
part of this is sourced from Sed Et Aliquam
Activate SSH on your nas, have Docker installed and run a container:
docker run -it ubuntu:latest /bin/bash
apt-get update
apt-get install -y build-essential binutils gcc-multilib g+±multilib lib32gcc1 lib32ncurses5 lib32z1 git
apt-get install -y autoconf libtool pkg-config libncurses-dev
apt install -y bc nano wget
wget http://downloads.wdc.com/gpl/WDMyCloud_PR2100_GPL_v2.31.149_20181015.tar.gz
tar xvzf WDMyCloud_PR2100_GPL_v2.31.149_20181015.tar.gz
rm WDMyCloud_PR2100_GPL_v2.31.149_20181015.tar.gz
cd WDMyCloud_PR2100_GPL_v2.31.149_20181015/kernel
tar xvzf linux-4.1.13.tar.gz
cd linux-4.1.13
nano .config
F6: VXLAN, uncomment and put CONFIG_VXLAN=m
F6: CONFIG_NET_UDP_TUNNEL, uncomment and put CONFIG_NET_UDP_TUNNEL=m
./xbuild.sh clean
./xbuild.sh build
scp net/ipv4/udp_tunnel.ko drivers/net/vxlan.ko net/ipv6/ip6_udp_tunnel.ko <IP_OF_YOUR_NAS>:/root
Back on your NAS:
cd /root
insmod ip6_udp_tunnel.ko
insmod udp_tunnel.ko
insmod vxlan.ko
All the Swarm networks will now work !
Note: the modules are not loaded at boot. Let’s put this in the TODO, if anyone can detail the procedure for the modules to load at boot. Thanks
Note2: if a new firmware is released, the same procedure has to be done again, with the latest source code… if it is released.