Nah, my system is TOO NEW, to compile anyithing from this (or even the newer, as you will see) SDK. It's an up-to-date OpenSUSE Tumbleweed, so I had to install a virtual Ubuntu 20.04 recommended for the new SDK (
https://wiki.teltonika-networks.com/gpl/TRB2_R_GPL_00.07.00.tar.gz). But finally I seemingly succeeded, at least the vxlan kernel module can be loaded without crashing or even any error message in dmesg, and I can even create vxlan type interfaces. i hope it will work. My steps in succeeding were the following:
- I downloaded an unpacked the SDK, then entered its directory (rutos-ath79-trb2-gpl).
- `./scripts/feeds update -a`
- `make menuconfig` to enable "kmod-vxlan" as a module in "Kernel modules" / "Network Support"
- `make -j $(nproc)` (I had to build the entire firware, because building only the kernel ended prematurey because of some error.)
- Now i have the loadable firmware in `bin/targets/ath79/generic/tltFws` and the kmod-vxlan package in `bin/targets/ath79/generic/packages`
- I upgrade the router with the matching firmware from Teltonika (
https://wiki.teltonika-networks.com/wikibase/images/4/48/TRB2_R_00.07.00_WEBUI.bin)
- I upload the freshly build kmod-vxlan package to the router somehow (e.g: `ssh root@192.168.1.1 'cat > /root/kmod-vxlan_4.14.221-1_mips_24kc.ipk' < kmod-vxlan_4.14.221-1_mips_24kc.ipk`)
- Now I log into the router and install the package, but - according to my experiences - I had to be careful not to let the router download the kmod-vxlan package from online repositories, so I don't run `opkg update`, and don't let the router to connect to the internet. The command is the following: `opkg install /root/kmod-vxlan_4.14.221-1_mips_24kc.ipk`
- Now i connect to the internet, and install the remaining necessary packages: `opkg update ; opkg install vxlan ip-bridge`