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

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Streaming video over LTE

Streaming video over LTE

Scheduled Pinned Locked Moved Ask your questions right here!
15 Posts 3 Posters 2.0k Views 3 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.
  • Chad SweetC Offline
    Chad SweetC Offline
    Chad Sweet
    ModalAI Team
    wrote on last edited by
    #5

    It's a standard Linux service, take a look at the voxl-modem service for an example

    1 Reply Last reply
    0
    • Aldo Castro FreireA Aldo Castro Freire

      Nevermind As long as the setup is fine, the rtsp will send it using the LTE.
      PS: you need to connect your local machine to the VPN also.

      Now my question is: is this the order I must follow To allow streaming over LTE I have to connect to the VPN and then start streaming ? is there a way to set up a script to activate like a minute after LTE connection is established to connect to the VPN and then start streaming. Otherwise, if I start streaming before I connect to the VPN it won't work. ? if so is there documentation on how to write a service?

      tomT Offline
      tomT Offline
      tom
      admin
      wrote on last edited by
      #6

      @Aldo-Castro-Freire The services that we use to start LTE and VPN on bootup are voxl-modem, as Chad mentioned, voxl-time-sync which is a simple script which loops until the date / time is correct, meaning a connection to the internet has been established, and voxl-vpn, which will then start the OpenVPN service after voxl-time-sync has finished.

      1 Reply Last reply
      0
      • Aldo Castro FreireA Offline
        Aldo Castro FreireA Offline
        Aldo Castro Freire
        Regular
        wrote on last edited by
        #7

        Does voxl-vpn works with the new version of openvpn because I update mine to the 2.4.6

        Also is this a service? Or does voxl-vpn sets up the service as voxl-configure-modem does? I haven't seen anu documentation for voxl-vpn.

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

          voxl-vpn is just a wrapper for calling OpenVPN, it's not required, you can use OpenVPN on its own. We haven't tested with 2.4.6 but I don't see why it wouldn't work. All you should need to do is modify the key path in the service file.

          1 Reply Last reply
          0
          • Aldo Castro FreireA Offline
            Aldo Castro FreireA Offline
            Aldo Castro Freire
            Regular
            wrote on last edited by
            #9

            Okay. So basically use voxl-modem.service as a sample and exec voxl-vpn instead voxl-modem-start.sh .And start this service after voxl-modem.service

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

              All the voxl-modem.service does is call voxl-modem-start.sh.

              So what I would recommend and what works for us is:

              Start voxl-modem service -> Gets LTE connection up and running
              Start voxl-time-sync sevice -> Verifies connection to internet
              Start vpn-start service -> Connects to VPN

              If you have all three of these enabled they should start at the correct times to get you going.

              tomT 1 Reply Last reply
              0
              • tomT tom

                All the voxl-modem.service does is call voxl-modem-start.sh.

                So what I would recommend and what works for us is:

                Start voxl-modem service -> Gets LTE connection up and running
                Start voxl-time-sync sevice -> Verifies connection to internet
                Start vpn-start service -> Connects to VPN

                If you have all three of these enabled they should start at the correct times to get you going.

                tomT Offline
                tomT Offline
                tom
                admin
                wrote on last edited by
                #11

                @tom OpenVPN will fail if the date / time is not set correctly, that is why we use voxl-time-sync to have OpenVPN wait until the date / time is correct. This sometimes takes a couple seconds after the modem has connected to the network

                1 Reply Last reply
                0
                • Aldo Castro FreireA Offline
                  Aldo Castro FreireA Offline
                  Aldo Castro Freire
                  Regular
                  wrote on last edited by Aldo Castro Freire
                  #12

                  Is there a command called vpn-start? I cannot find it in my voxl. Or should I make a script that opens the vpn?

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

                    vpn-start is a service file that you can find at /etc/systemd/system/vpn-start.service. You can modify the KEY_FILE parameter with the path to your OpenVPN key file and enable the service using systemctl enable vpn-start.

                    1 Reply Last reply
                    0
                    • Aldo Castro FreireA Offline
                      Aldo Castro FreireA Offline
                      Aldo Castro Freire
                      Regular
                      wrote on last edited by
                      #14

                      Hi is there an easy way to open and read a file in Voxl such as nano and vim ?? it is a pain to have to transfer files between machines

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

                        Yes you can use vi on VOXL

                        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