FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
427 views 6 comments
by anonymous

Hello,

I am trying to install kmod-ip-vti on a RUTX11 in version 02.06.1 :

root@lgrrutx:~# opkg install kmod-ip-vti
Installing kmod-ip-vti (4.14.195-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.4/targets/ipq40xx/generic/packages/kmod-ip-vti_4.14.195-1_arm_cortex-a7_neon-vfpv4.ipk
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-ip-vti:
 * 	kernel (= 4.14.195-1-fa00c1231ac7d7840ec6ffe62dcad926)
 * opkg_install_cmd: Cannot install package kmod-ip-vti.

So the RUTX firmware and the openwrt repository are out of sync. The same module built with the 02.06.1 SDK cannot be be installed either, it has the following signature:

Package: kmod-ip-vti
Version: 4.14.195-1
Depends: kernel (=4.14.195-1-cc490b4b31423a209a0b9c96321bc0b2), kmod-iptunnel, kmod-iptunnel4, kmod-ipsec4

while the current kernel has signature:

root@lgrrutx:~# opkg info kernel
Package: kernel
Version: 4.14.195-1-4f95bbf1fd18f3b806c24a2093e88342
Depends: libc
Status: install user installed
Architecture: arm_cortex-a7_neon-vfpv4
Installed-Time: 1599409179

Is there a solution to this issue ?

Regards,

1 Answer

0 votes
by anonymous
Hello,

Teltonika can't provide support to features that aren't in the "out ot the box" services.

Nevertheless, if you want to use the SDK and use another packages, you can do it.

https://wiki.teltonika-networks.com/view/Software_Development_Kit

Regards.
by anonymous

Hello,

Compiling the SDK straight out of the box first ignoring the warning:

WARNING: your configuration is out of sync. Please run make menuconfig, oldconfig or defconfig!
this will generate the same .vermagic as the one used by the router's firmware. Only then you can execute make menuconfig and build optional modules.
A make menuconfig, changing absolutely nothing outputs a different .config:
[ openwrt-gpl-ipq40xx-generic.Linux-x86_64-02.06.1]$ diff .config .config.old 
370a371
> # CONFIG_GPL is not set
389a391
> CONFIG_FEED_luci=y
404,405d405
< CONFIG_TLT_VERSIONING_RELEASE="R"
< CONFIG_TLT_VERSIONING_BRANCH_PREFIX="GPL"
409a410,411
> CONFIG_TLT_VERSIONING_RELEASE="R"
> CONFIG_TLT_VERSIONING_BRANCH_PREFIX="GPL"
2357a2360
> # CONFIG_PACKAGE_common is not set
3770d3772
< # CONFIG_PACKAGE_libtirpc is not set
4232,4233d4233
< # CONFIG_PACKAGE_conntrack is not set
< # CONFIG_PACKAGE_conntrackd is not set
4581a4582
> # CONFIG_PACKAGE_tlt_custom_pkg_wireguard is not set
4738d4738
< # CONFIG_PACKAGE_travelmate is not set
4782a4783,4788
> #
> # QCA Proprietary software
> #
> # CONFIG_PACKAGE_kmod-art2 is not set
> # CONFIG_PACKAGE_kmod-art2-netlink is not set

and that gives a different .vermagic. Same if you enable any non-default kernel module.

So, short of generating and flashing a full firmware image you can't use the SDK to add optional kernel modules. This may be an issue if you just want to enable routed VPN.

Regards,

 

by anonymous
Hi,

Seems the package you want to install is not able for the openwrt version intalled in Teltonika device.

Take a look to the openwrt man page and probably they can show details about it.

From Teltonika side, we aren't able to adapt or develop something related to this packages, if you're interested in develop a customized firmware, please contact your sales manager and they'll forward this information to our R&D department.

Regards.
by anonymous
Hello,

Thank you for your answer, I would like to point out that kmod-ip-vti would be useful for several users.

Regards,
by anonymous
Hello,

Can you please provide more information regarding to this package and how it could be useful to our routers?

I can share your info with our R&D and they can take a look to this feature.

Regards.
by anonymous

Hello,

From the strongswan documentation: https://wiki.strongswan.org/projects/strongswan/wiki/RouteBasedVPN

Of course kmod-ip6-vti would also be useful.

Example of user thread: https://community.teltonika-networks.com/31961/rutx-routed-vpn?show=32071

There are a few much older IPSEC related threads where vti would have made sense.

Regards,

by anonymous
Hi,

Ok, thanks for your feedback, I'll forward to R&D.

Regards.