[Dragino LG02] Install OpenVPN

Hi, I’m trying to install openvpn on Dragino LG02 but it’s not going well.

Normal install after opkg update:

root@dragino-1bac28:~# opkg install openvpn
Installing openvpn-mbedtls (2.4.6-3) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/openvpn-mbedtls_2.4.6-3_mips_24kc.ipk
Installing libmbedtls12 (2.16.0-2) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/libmbedtls12_2.16.0-2_mips_24kc.ipk
Collected errors:
 * check_data_file_clashes: Package libmbedtls12 wants to install file /usr/lib/libmbedx509.so.0
        But that file is already provided by package  * libmbedtls
 * opkg_install_cmd: Cannot install package openvpn.

According to openwrt website I tried with --force-depends:

root@dragino-1bac28:~# opkg install openvpn --force-depends
Installing openvpn-mbedtls (2.4.6-3) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/openvpn-mbedtls_2.4.6-3_mips_24kc.ipk
Installing kmod-tun (4.14.101-1) to root...
Downloading http://downloads.openwrt.org/snapshots/targets/ar71xx/generic/packages/kmod-tun_4.14.101-1_mips_24kc.ipk
Installing liblzo2 (2.10-2) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/liblzo2_2.10-2_mips_24kc.ipk
Installing libmbedtls12 (2.16.0-2) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/libmbedtls12_2.16.0-2_mips_24kc.ipk
Configuring kmod-tun.
Configuring liblzo2.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for openvpn-mbedtls:
 *      kernel (= 4.14.101-1-902ad18119b65df71d53e51d168061b2) *
 * check_data_file_clashes: Package libmbedtls12 wants to install file /usr/lib/libmbedx509.so.0
        But that file is already provided by package  * libmbedtls
 * opkg_install_cmd: Cannot install package openvpn.

Do you have any idea how to install openvpn?

I have found the solution which is maybe not cleanest but works:

opkg update
opkg install openvpn --force-depends
opkg remove curl
opkg remove libmbedtls
opkg install openvpn
opkg install curl

I have followed your solution but when try to execute openvpn i find the error:
“Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)”