Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL Dev Kits
  3. VOXL-CAM
  4. Openvpn not updating from 2.1.3 to 2.4.6

Openvpn not updating from 2.1.3 to 2.4.6

Scheduled Pinned Locked Moved VOXL-CAM
5 Posts 2 Posters 643 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by A Former User
    #1

    Hello,
    I have recently updated my system image from 3.3.0 to 3.8.0 which is latest version for VOXLCAM. My complete system is functional except OpenVPN. I followed instruction on this link to install openvpn 2.4.6 but without any luck. I followed all steps in installation but my "openvpn --version" stays 2.1.3.

    Main reason to update openvpn was due to TLS Authentication timeout error. On previous system image I was able to connect to openvpn server with tun interface but post system image updation I am unable to do so.

    How to update openvpn 2.4.6 properly on VOXLCAM system image 3.8.0?
    Also in the interim I removed current openvpn 2.1.3 with "opkg remove openvpn" and unable to revert back to even older version of openvpn which is 2.1.3. Please help.

    Install log :

    voxl:/data/openvpn((v2.4.6))$ sudo make install
    make  install-recursive
    make[1]: Entering directory '/data/openvpn'
    Making install in build
    make[2]: Entering directory '/data/openvpn/build'
    Making install in msvc
    make[3]: Entering directory '/data/openvpn/build/msvc'
    Making install in msvc-generate
    make[4]: Entering directory '/data/openvpn/build/msvc/msvc-generate'
    make[5]: Entering directory '/data/openvpn/build/msvc/msvc-generate'
    make[5]: Nothing to be done for 'install-exec-am'.
    make[5]: Nothing to be done for 'install-data-am'.
    make[5]: Leaving directory '/data/openvpn/build/msvc/msvc-generate'
    make[4]: Leaving directory '/data/openvpn/build/msvc/msvc-generate'
    make[4]: Entering directory '/data/openvpn/build/msvc'
    make[5]: Entering directory '/data/openvpn/build/msvc'
    make[5]: Nothing to be done for 'install-exec-am'.
    make[5]: Nothing to be done for 'install-data-am'.
    make[5]: Leaving directory '/data/openvpn/build/msvc'
    make[4]: Leaving directory '/data/openvpn/build/msvc'
    make[3]: Leaving directory '/data/openvpn/build/msvc'
    make[3]: Entering directory '/data/openvpn/build'
    make[4]: Entering directory '/data/openvpn/build'
    make[4]: Nothing to be done for 'install-exec-am'.
    make[4]: Nothing to be done for 'install-data-am'.
    make[4]: Leaving directory '/data/openvpn/build'
    make[3]: Leaving directory '/data/openvpn/build'
    make[2]: Leaving directory '/data/openvpn/build'
    Making install in distro
    make[2]: Entering directory '/data/openvpn/distro'
    Making install in rpm
    make[3]: Entering directory '/data/openvpn/distro/rpm'
    make[4]: Entering directory '/data/openvpn/distro/rpm'
    make[4]: Nothing to be done for 'install-exec-am'.
    make[4]: Nothing to be done for 'install-data-am'.
    make[4]: Leaving directory '/data/openvpn/distro/rpm'
    make[3]: Leaving directory '/data/openvpn/distro/rpm'
    Making install in systemd
    make[3]: Entering directory '/data/openvpn/distro/systemd'
    make[4]: Entering directory '/data/openvpn/distro/systemd'
    make[4]: Nothing to be done for 'install-exec-am'.
    make  install-data-hook
    make[5]: Entering directory '/data/openvpn/distro/systemd'
    make[5]: Nothing to be done for 'install-data-hook'.
    make[5]: Leaving directory '/data/openvpn/distro/systemd'
    make[4]: Leaving directory '/data/openvpn/distro/systemd'
    make[3]: Leaving directory '/data/openvpn/distro/systemd'
    make[3]: Entering directory '/data/openvpn/distro'
    make[4]: Entering directory '/data/openvpn/distro'
    make[4]: Nothing to be done for 'install-exec-am'.
    make[4]: Nothing to be done for 'install-data-am'.
    make[4]: Leaving directory '/data/openvpn/distro'
    make[3]: Leaving directory '/data/openvpn/distro'
    make[2]: Leaving directory '/data/openvpn/distro'
    Making install in include
    make[2]: Entering directory '/data/openvpn/include'
    make[3]: Entering directory '/data/openvpn/include'
    make[3]: Nothing to be done for 'install-exec-am'.
     /bin/mkdir -p '/usr/local/include'
     /bin/install -c -m 644 openvpn-plugin.h openvpn-msg.h '/usr/local/include'
    make[3]: Leaving directory '/data/openvpn/include'
    make[2]: Leaving directory '/data/openvpn/include'
    Making install in src
    make[2]: Entering directory '/data/openvpn/src'
    Making install in compat
    make[3]: Entering directory '/data/openvpn/src/compat'
    make[4]: Entering directory '/data/openvpn/src/compat'
    make[4]: Nothing to be done for 'install-exec-am'.
    make[4]: Nothing to be done for 'install-data-am'.
    make[4]: Leaving directory '/data/openvpn/src/compat'
    make[3]: Leaving directory '/data/openvpn/src/compat'
    Making install in openvpn
    make[3]: Entering directory '/data/openvpn/src/openvpn'
    make[4]: Entering directory '/data/openvpn/src/openvpn'
     /bin/mkdir -p '/usr/local/sbin'
      /bin/bash ../../libtool   --mode=install /bin/install -c openvpn '/usr/local/sbin'
    libtool: install: /bin/install -c openvpn /usr/local/sbin/openvpn
    make[4]: Nothing to be done for 'install-data-am'.
    make[4]: Leaving directory '/data/openvpn/src/openvpn'
    make[3]: Leaving directory '/data/openvpn/src/openvpn'
    Making install in openvpnserv
    make[3]: Entering directory '/data/openvpn/src/openvpnserv'
    make[4]: Entering directory '/data/openvpn/src/openvpnserv'
    make[4]: Nothing to be done for 'install-data-am'.
    make[4]: Leaving directory '/data/openvpn/src/openvpnserv'
    make[3]: Leaving directory '/data/openvpn/src/openvpnserv'
    Making install in plugins
    make[3]: Entering directory '/data/openvpn/src/plugins'
    Making install in auth-pam
    make[4]: Entering directory '/data/openvpn/src/plugins/auth-pam'
    make[5]: Entering directory '/data/openvpn/src/plugins/auth-pam'
    make[5]: Nothing to be done for 'install-exec-am'.
    make[5]: Leaving directory '/data/openvpn/src/plugins/auth-pam'
    make[4]: Leaving directory '/data/openvpn/src/plugins/auth-pam'
    Making install in down-root
    make[4]: Entering directory '/data/openvpn/src/plugins/down-root'
    make[5]: Entering directory '/data/openvpn/src/plugins/down-root'
    make[5]: Nothing to be done for 'install-exec-am'.
     /bin/mkdir -p '/usr/local/share/doc/openvpn'
     /bin/install -c -m 644 README.down-root '/usr/local/share/doc/openvpn'
     /bin/mkdir -p '/usr/local/lib/openvpn/plugins'
     /bin/bash ../../../libtool   --mode=install /bin/install -c   openvpn-plugin-down-root.la '/usr/local/lib/openvpn/plugins'
    libtool: install: /bin/install -c .libs/openvpn-plugin-down-root.so /usr/local/lib/openvpn/plugins/openvpn-plugin-down-root.so
    libtool: install: /bin/install -c .libs/openvpn-plugin-down-root.lai /usr/local/lib/openvpn/plugins/openvpn-plugin-down-root.la
    libtool: finish: PATH="/sbin:/bin:/usr/sbin:/usr/bin:/opt/ros/indigo/bin:/sbin" ldconfig -n /usr/local/lib/openvpn/plugins
    /data/openvpn/libtool: line 1723: ldconfig: command not found
    ----------------------------------------------------------------------
    Libraries have been installed in:
       /usr/local/lib/openvpn/plugins
    
    If you ever happen to want to link against installed libraries
    in a given directory, LIBDIR, you must either use libtool, and
    specify the full pathname of the library, or use the '-LLIBDIR'
    flag during linking and do at least one of the following:
       - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
         during execution
       - add LIBDIR to the 'LD_RUN_PATH' environment variable
         during linking
       - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
       - have your system administrator run these commands:
    
    
    See any operating system documentation about shared libraries for
    more information, such as the ld(1) and ld.so(8) manual pages.
    ----------------------------------------------------------------------
    make[5]: Leaving directory '/data/openvpn/src/plugins/down-root'
    make[4]: Leaving directory '/data/openvpn/src/plugins/down-root'
    make[4]: Entering directory '/data/openvpn/src/plugins'
    make[5]: Entering directory '/data/openvpn/src/plugins'
    make[5]: Nothing to be done for 'install-exec-am'.
    make[5]: Nothing to be done for 'install-data-am'.
    make[5]: Leaving directory '/data/openvpn/src/plugins'
    make[4]: Leaving directory '/data/openvpn/src/plugins'
    make[3]: Leaving directory '/data/openvpn/src/plugins'
    make[3]: Entering directory '/data/openvpn/src'
    make[4]: Entering directory '/data/openvpn/src'
    make[4]: Nothing to be done for 'install-exec-am'.
    make[4]: Nothing to be done for 'install-data-am'.
    make[4]: Leaving directory '/data/openvpn/src'
    make[3]: Leaving directory '/data/openvpn/src'
    make[2]: Leaving directory '/data/openvpn/src'
    Making install in sample
    make[2]: Entering directory '/data/openvpn/sample'
    make[3]: Entering directory '/data/openvpn/sample'
    make[3]: Nothing to be done for 'install-exec-am'.
    make[3]: Leaving directory '/data/openvpn/sample'
    make[2]: Leaving directory '/data/openvpn/sample'
    Making install in doc
    make[2]: Entering directory '/data/openvpn/doc'
    make[3]: Entering directory '/data/openvpn/doc'
    make[3]: Nothing to be done for 'install-exec-am'.
     /bin/mkdir -p '/usr/local/share/doc/openvpn'
     /bin/install -c -m 644 management-notes.txt '/usr/local/share/doc/openvpn'
     /bin/mkdir -p '/usr/local/share/man/man8'
     /bin/install -c -m 644 openvpn.8 '/usr/local/share/man/man8'
    make[3]: Leaving directory '/data/openvpn/doc'
    make[2]: Leaving directory '/data/openvpn/doc'
    Making install in vendor
    make[2]: Entering directory '/data/openvpn/vendor'
    make[3]: Entering directory '/data/openvpn/vendor'
    make[3]: Nothing to be done for 'install-exec-am'.
    make[3]: Nothing to be done for 'install-data-am'.
    make[3]: Leaving directory '/data/openvpn/vendor'
    make[2]: Leaving directory '/data/openvpn/vendor'
    Making install in tests
    make[2]: Entering directory '/data/openvpn/tests'
    Making install in unit_tests
    make[3]: Entering directory '/data/openvpn/tests/unit_tests'
    make[4]: Entering directory '/data/openvpn/tests/unit_tests'
    make[5]: Entering directory '/data/openvpn/tests/unit_tests'
    make[5]: Nothing to be done for 'install-exec-am'.
    make[5]: Nothing to be done for 'install-data-am'.
    make[5]: Leaving directory '/data/openvpn/tests/unit_tests'
    make[4]: Leaving directory '/data/openvpn/tests/unit_tests'
    make[3]: Leaving directory '/data/openvpn/tests/unit_tests'
    make[3]: Entering directory '/data/openvpn/tests'
    make[4]: Entering directory '/data/openvpn/tests'
    make[4]: Nothing to be done for 'install-exec-am'.
    make[4]: Nothing to be done for 'install-data-am'.
    make[4]: Leaving directory '/data/openvpn/tests'
    make[3]: Leaving directory '/data/openvpn/tests'
    make[2]: Leaving directory '/data/openvpn/tests'
    make[2]: Entering directory '/data/openvpn'
    make[3]: Entering directory '/data/openvpn'
    make[3]: Nothing to be done for 'install-exec-am'.
     /bin/mkdir -p '/usr/local/share/doc/openvpn'
     /bin/install -c -m 644 README README.IPv6 README.mbedtls Changes.rst COPYRIGHT.GPL COPYING '/usr/local/share/doc/openvpn'
    make[3]: Leaving directory '/data/openvpn'
    make[2]: Leaving directory '/data/openvpn'
    make[1]: Leaving directory '/data/openvpn'
    
    
    1 Reply Last reply
    0
    • tomT Offline
      tomT Offline
      tom
      admin
      wrote on last edited by
      #2

      @Aks I will replicate your setup and try this out myself

      1 Reply Last reply
      0
      • tomT Offline
        tomT Offline
        tom
        admin
        wrote on last edited by
        #3

        @Aks Update, flashed a VOXL with 3.8.0-0.7.0

        Once done, I connected my VOXL to WiFi.

        Next I ran the following:

        git clone https://github.com/OpenVPN/openvpn
        
        cd openvpn
        
        git checkout tags/v2.4.6
        
        autoreconf -i -v -f
        
        ./configure --disable-lzo --disable-plugin-auth-pam --prefix=/usr/local
        
        make -j4
        
        make install
        

        Everything built and installed correctly, verify install with:

        / # openvpn --version
        OpenVPN 2.4.6 [git:HEAD/b3a7f452206607fb] aarch64-unknown-linux-gnu [SSL (OpenSSL)] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Aug  2 2022
        library versions: OpenSSL 1.0.2h  3 May 2016
        Originally developed by James Yonan
        Copyright (C) 2002-2018 OpenVPN Inc <sales@openvpn.net>
        Compile time defines: enable_async_push=no enable_comp_stub=no enable_crypto=yes enable_crypto_ofb_cfb=yes enable_debug=yes enable_def_auth=yes enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown enable_fast_install=needless enable_fragment=yes enable_iproute2=no enable_libtool_lock=yes enable_lz4=yes enable_lzo=no enable_management=yes enable_multihome=yes enable_pam_dlopen=no enable_pedantic=no enable_pf=yes enable_pkcs11=no enable_plugin_auth_pam=no enable_plugin_down_root=yes enable_plugins=yes enable_port_share=yes enable_selinux=no enable_server=yes enable_shared=yes enable_shared_with_static_runtimes=no enable_small=no enable_static=yes enable_strict=no enable_strict_options=no enable_systemd=no enable_werror=no enable_win32_dll=yes enable_x509_alt_username=no with_aix_soname=aix with_crypto_library=openssl with_gnu_ld=yes with_libtool_sysroot=no with_mem_check=no
        

        Maybe run make install without sudo ?

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          @tom Thank you for responding back so quickly. I fixed this issue. Acutally my system was referring to old openvpn binaries at "/usr/sbin/" location, whereas openvpn 2.4.6 binaries are installed at "/usr/local/sbin". I had to update path to openvpn in my vpn-start service and things were working. I think path to install binaries should be modified in the instructions to avoid this issue.

          1 Reply Last reply
          0
          • tomT Offline
            tomT Offline
            tom
            admin
            wrote on last edited by
            #5

            @Aks Ah okay, I wasn't using the systemd service so that makes sense.

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            ModalAI
            Categories Recent Tags ModalAI.com Docs
            © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups