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. How am I able to change from WiFi to LTE connection?

How am I able to change from WiFi to LTE connection?

Scheduled Pinned Locked Moved Ask your questions right here!
6 Posts 3 Posters 1.2k 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.
  • A Offline
    A Offline
    Alfonso Ponce
    Contributor
    wrote on last edited by
    #1

    I already installed a SIM card and configured it but now my m500 doesn't connect to QGroundControl over WiFi because, I think, the SIM card configuration automatcally made the drone connect over LTE each time it starts up. I haven't configured a VPN server nor anything to make the dron connect to QGroundControl over LTE yet, but is there a way to easy switch from WiFi to LTE?

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

      Hi @Alfonso-Ponce,

      Is your WiFi setup in station mode or Soft AP mode? Are you able to ping your host PC running QGC?

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Alfonso Ponce
        Contributor
        wrote on last edited by
        #3

        It was in Station Mode. I was able to make it connect automatically again by using the configuring wizard to connect it to QGC all over again, but now I don't know if the drone is connected to QGC over WiFi or over LTE. I'm not even sure if the VPN is working in the drone. I'm currently using OpenVPN Cloud service, which I think is not the same as setting OpenVPN in a regular server. I downloaded the .ovpn file for the drone and my computer (first I used the same .ovpn file for both, then I made another one for my PC, nothing changed though). What I'm doing is:
        1.- I start QGC
        2.- I turn on the drone
        3.- They connect automatically over WiFi station mode
        4.- I activate the VPN on my PC (by doing that the connection between QGC and the drone keeps running but now I don't have acces to the Internet).
        5.- I enter the drone's shell using ABD, I start the voxl-time-sync script, I move to the openvpn directory where the .ovpn file is and run it using:

        openvpn --daemon --script-security 2 --config vpn-key.ovpn
        

        The file name obviously being my .ovpn file. But then nothing happens, the connection with QGC is still active, but then again, how do I know if it is connected over LTE (using the VPN) or over WiFi?

        Here's a screenshot of the evidence of what I'm doing:

        Screenshot from 2021-05-18 15-21-22.png

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

          @Alfonso-Ponce It doesn't look to me as though the VPN is starting correctly, otherwise you would see a tun0 network interface showing up when you call ifconfig. I would run openvpn without the --daemon option to see why it may be failing to start.

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Alfonso Ponce
            Contributor
            wrote on last edited by
            #5

            You were right, this is what I get if I remove the daemon:
            Screenshot from 2021-05-18 19-24-01.png

            And then it begins again with the NOTE line

            Then I changed the SIM card for another one, and then I got a new line. The first TLS line was different, it did get something this time:
            Screenshot from 2021-05-19 09-43-26.png

            But then it failed and tried the connectione again.

            This is regarding the VPN connection but how do I even know if the LTE connection was succesful? And then, if it was, how do I tell VOXL to choose between WiFi and LTE?

            Thank you!

            Eric KatzfeyE 1 Reply Last reply
            0
            • A Alfonso Ponce

              You were right, this is what I get if I remove the daemon:
              Screenshot from 2021-05-18 19-24-01.png

              And then it begins again with the NOTE line

              Then I changed the SIM card for another one, and then I got a new line. The first TLS line was different, it did get something this time:
              Screenshot from 2021-05-19 09-43-26.png

              But then it failed and tried the connectione again.

              This is regarding the VPN connection but how do I even know if the LTE connection was succesful? And then, if it was, how do I tell VOXL to choose between WiFi and LTE?

              Thank you!

              Eric KatzfeyE Offline
              Eric KatzfeyE Offline
              Eric Katzfey
              ModalAI Team
              wrote on last edited by
              #6

              @Alfonso-Ponce You can disable the WiFi (ifconfig wlan0 down) so that LTE is your only connection. Then try to ping something like www.modalai.com and see if that works. If so, then the LTE connection is up properly.

              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