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

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL Accessories
  3. Cellular Modems
  4. Quectel 5G-Modem doesn't work at all

Quectel 5G-Modem doesn't work at all

Scheduled Pinned Locked Moved Cellular Modems
25 Posts 3 Posters 5.9k Views 2 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.
  • Jerry LinJ Jerry Lin

    @tom said in Quectel 5G-Modem doesn't work at all:

    It's possible you need a SIM card specifically for IOT devices from your carrier

    So, did you mean normal phone SIM cards are not compatible with the Quectel modem and the "5G LTE" is not the same protocol our phones use as advertised "Connectivity: 4G/5G"?

    Then, what are requirements should I provide to my carrier (located in Pennsylvania, USA) for this kind of SIM card to get the drone Internet access?

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

    @Jerry-Lin They can be, it just depends on the carrier. We always test here with Google Fi IoT SIM cards, they're super easy to setup and cheap

    1 Reply Last reply
    0
    • Jerry LinJ Offline
      Jerry LinJ Offline
      Jerry Lin
      Contributor
      wrote on last edited by Jerry Lin
      #17

      Cool, my carriers are AT&T and Xfinity Mobile. What I should I mention to them for my application? Just IoT or any specs that you know about?

      So, the log:

      voxl2:~$ quectel-CM -s nxtgenphone
      [09-10_01:27:54:793] Quectel_QConnectManager_Linux_V1.6.0.24
      [09-10_01:27:54:795] Find /sys/bus/usb/devices/2-1.1 idVendor=0x2c7c idProduct=0x800, bus=0x002, dev=0x003
      [09-10_01:27:54:795] Auto find qmichannel = /dev/cdc-wdm0
      [09-10_01:27:54:795] Auto find usbnet_adapter = wwan0
      ...
      [09-10_01:58:12:576] requestSetupDataCall message timeout
      [09-10_01:58:12:576] requestSetupDataCall err = 110
      [09-10_01:58:12:576] try to requestSetupDataCall 60 second later
      [09-10_01:59:12:615] requestSetupDataCall QMUXResult = 0x1, QMUXError = 0x1a
      [09-10_01:59:12:615] try to requestSetupDataCall 60 second later
      

      looks a SIM card issue to you? Or what else (e.g. commands or wiring) can I try to get 5G connected?

      tomT 1 Reply Last reply
      0
      • Jerry LinJ Jerry Lin

        Cool, my carriers are AT&T and Xfinity Mobile. What I should I mention to them for my application? Just IoT or any specs that you know about?

        So, the log:

        voxl2:~$ quectel-CM -s nxtgenphone
        [09-10_01:27:54:793] Quectel_QConnectManager_Linux_V1.6.0.24
        [09-10_01:27:54:795] Find /sys/bus/usb/devices/2-1.1 idVendor=0x2c7c idProduct=0x800, bus=0x002, dev=0x003
        [09-10_01:27:54:795] Auto find qmichannel = /dev/cdc-wdm0
        [09-10_01:27:54:795] Auto find usbnet_adapter = wwan0
        ...
        [09-10_01:58:12:576] requestSetupDataCall message timeout
        [09-10_01:58:12:576] requestSetupDataCall err = 110
        [09-10_01:58:12:576] try to requestSetupDataCall 60 second later
        [09-10_01:59:12:615] requestSetupDataCall QMUXResult = 0x1, QMUXError = 0x1a
        [09-10_01:59:12:615] try to requestSetupDataCall 60 second later
        

        looks a SIM card issue to you? Or what else (e.g. commands or wiring) can I try to get 5G connected?

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

        @Jerry-Lin I would mention IOT as well as the modem you're using "Quectel RM502Q-AE". I know when I was first working with this modem that some carriers didn't yet support but that was a long time ago so I'm guessing that has changed

        1 Reply Last reply
        0
        • Jerry LinJ Offline
          Jerry LinJ Offline
          Jerry Lin
          Contributor
          wrote on last edited by
          #19

          OK, will get to carries to see if I can move forward with the existing SIM cards. If not, will try Google Fi IoT SIM cards.

          Thanks for the advice!!!

          1 Reply Last reply
          0
          • Jerry LinJ Offline
            Jerry LinJ Offline
            Jerry Lin
            Contributor
            wrote on last edited by
            #20

            I

            • checked with an AT&T store and they provide SIM card for phone only.
            • then googled around and found several attempts using Quectel MODEM with AT&T SIM card and AT commands were used for debugging.
            • searched in ModalAI Forum and found some AT commands for the model.
            • tried but got only ERROR

              voxl2:~$ echo -ne "AT+QNWPREFCFG="mode_pref",LTE:NR5G\r" | busybox microcom /dev/ttyUSB2
              AT+QNWPREFCFG=mode_pref,LTE:NR5G
              ERROR

            • did voxl-configure-modem again to see if AT commands can be used and found the same command:

              Sep 25 02:41:22 m0054 voxl-modem-start[8392]: qrb5165 based hardware detected...
              Sep 25 02:41:22 m0054 voxl-modem-start[8392]: \Setting mode preference to LTE / 5G
              Sep 25 02:41:22 m0054 voxl-modem-start[8392]: AT+QNWPREFCFG="mode_pref",LTE:NR5G
              Sep 25 02:41:22 m0054 voxl-modem-start[8392]: OK
              Sep 25 02:41:23 m0054 voxl-modem-start[8392]: Initalizing cellular connection...

            • After 7 minutes I saw: no lease, failing. Well, at least, it tried to lease.

              Sep 25 02:48:49 m0054 voxl-modem-start[8392]: udhcpc: started, v1.27.2
              Sep 25 02:48:49 m0054 voxl-modem-start[8392]: No resolv.conf for interface wwan0.udhcpc
              Sep 25 02:48:49 m0054 voxl-modem-start[8392]: udhcpc: sending discover
              Sep 25 02:48:52 m0054 voxl-modem-start[8392]: udhcpc: sending discover
              Sep 25 02:48:55 m0054 voxl-modem-start[8392]: udhcpc: sending discover
              Sep 25 02:48:58 m0054 voxl-modem-start[8392]: udhcpc: sending discover
              Sep 25 02:49:01 m0054 voxl-modem-start[8392]: udhcpc: sending discover
              Sep 25 02:49:04 m0054 udhcpc[10399]: wwan0: configuration failed: leasefail:
              Sep 25 02:49:04 m0054 voxl-modem-start[8392]: udhcpc: no lease, failing

            • All of sudden, I saw lease obtained with an IP provided:

              Sep 25 02:49:04 m0054 voxl-modem-start[8392]: udhcpc: started, v1.27.2
              Sep 25 02:49:05 m0054 voxl-modem-start[8392]: No resolv.conf for interface wwan0.udhcpc
              Sep 25 02:49:05 m0054 voxl-modem-start[8392]: udhcpc: sending discover
              Sep 25 02:49:05 m0054 voxl-modem-start[8392]: udhcpc: sending select for 10.194.135.84
              Sep 25 02:49:05 m0054 voxl-modem-start[8392]: udhcpc: lease of 10.194.135.84 obtained, lease time 7200
              Sep 25 02:49:05 m0054 voxl-modem-start[8392]: Too few arguments.
              Sep 25 02:49:05 m0054 voxl-modem-start[8392]: Too few arguments.

            • I was not sure about the impact of Too few arguments error, though.

            Well, with an IP address, I tried to:

            • ping
            • ssh

            Unfortunately only responded with timeout messages.
            Wondering if I really have the Internet access, I did ifconfig wlan0 down and the ping google.com from voxl. It was still responded !!!

            Hmm, how about continue Connecting to QGC over 5G instructions?

            • With Tailscale VPN installed, I was able to ssh to the drone using the VPN IP address!!!
            • With QGroundControl setup, I was able to see the drone statuses and statistics using the VPN IP address!!!

            That means I can control the drone even it is hundreds of miles away!!!

            Millions of thanks for great help @tom and @Vinny !!!!!!!!!!!

            Still with Too few arguments error, I am not sure how good the 4G/5G connection would be. Will experiment more to figure out. However, if you guys know anything can be improved, please let me know.

            tomT 1 Reply Last reply
            0
            • Jerry LinJ Jerry Lin

              I

              • checked with an AT&T store and they provide SIM card for phone only.
              • then googled around and found several attempts using Quectel MODEM with AT&T SIM card and AT commands were used for debugging.
              • searched in ModalAI Forum and found some AT commands for the model.
              • tried but got only ERROR

                voxl2:~$ echo -ne "AT+QNWPREFCFG="mode_pref",LTE:NR5G\r" | busybox microcom /dev/ttyUSB2
                AT+QNWPREFCFG=mode_pref,LTE:NR5G
                ERROR

              • did voxl-configure-modem again to see if AT commands can be used and found the same command:

                Sep 25 02:41:22 m0054 voxl-modem-start[8392]: qrb5165 based hardware detected...
                Sep 25 02:41:22 m0054 voxl-modem-start[8392]: \Setting mode preference to LTE / 5G
                Sep 25 02:41:22 m0054 voxl-modem-start[8392]: AT+QNWPREFCFG="mode_pref",LTE:NR5G
                Sep 25 02:41:22 m0054 voxl-modem-start[8392]: OK
                Sep 25 02:41:23 m0054 voxl-modem-start[8392]: Initalizing cellular connection...

              • After 7 minutes I saw: no lease, failing. Well, at least, it tried to lease.

                Sep 25 02:48:49 m0054 voxl-modem-start[8392]: udhcpc: started, v1.27.2
                Sep 25 02:48:49 m0054 voxl-modem-start[8392]: No resolv.conf for interface wwan0.udhcpc
                Sep 25 02:48:49 m0054 voxl-modem-start[8392]: udhcpc: sending discover
                Sep 25 02:48:52 m0054 voxl-modem-start[8392]: udhcpc: sending discover
                Sep 25 02:48:55 m0054 voxl-modem-start[8392]: udhcpc: sending discover
                Sep 25 02:48:58 m0054 voxl-modem-start[8392]: udhcpc: sending discover
                Sep 25 02:49:01 m0054 voxl-modem-start[8392]: udhcpc: sending discover
                Sep 25 02:49:04 m0054 udhcpc[10399]: wwan0: configuration failed: leasefail:
                Sep 25 02:49:04 m0054 voxl-modem-start[8392]: udhcpc: no lease, failing

              • All of sudden, I saw lease obtained with an IP provided:

                Sep 25 02:49:04 m0054 voxl-modem-start[8392]: udhcpc: started, v1.27.2
                Sep 25 02:49:05 m0054 voxl-modem-start[8392]: No resolv.conf for interface wwan0.udhcpc
                Sep 25 02:49:05 m0054 voxl-modem-start[8392]: udhcpc: sending discover
                Sep 25 02:49:05 m0054 voxl-modem-start[8392]: udhcpc: sending select for 10.194.135.84
                Sep 25 02:49:05 m0054 voxl-modem-start[8392]: udhcpc: lease of 10.194.135.84 obtained, lease time 7200
                Sep 25 02:49:05 m0054 voxl-modem-start[8392]: Too few arguments.
                Sep 25 02:49:05 m0054 voxl-modem-start[8392]: Too few arguments.

              • I was not sure about the impact of Too few arguments error, though.

              Well, with an IP address, I tried to:

              • ping
              • ssh

              Unfortunately only responded with timeout messages.
              Wondering if I really have the Internet access, I did ifconfig wlan0 down and the ping google.com from voxl. It was still responded !!!

              Hmm, how about continue Connecting to QGC over 5G instructions?

              • With Tailscale VPN installed, I was able to ssh to the drone using the VPN IP address!!!
              • With QGroundControl setup, I was able to see the drone statuses and statistics using the VPN IP address!!!

              That means I can control the drone even it is hundreds of miles away!!!

              Millions of thanks for great help @tom and @Vinny !!!!!!!!!!!

              Still with Too few arguments error, I am not sure how good the 4G/5G connection would be. Will experiment more to figure out. However, if you guys know anything can be improved, please let me know.

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

              @Jerry-Lin You can ignore the "Too few arguments" message, that comes from lower down in the quectel driver, it shouldn't cause any issues.

              Glad to hear things are working! It may take some routing changes in order for both wifi and 5g to work at the same time.

              1 Reply Last reply
              0
              • Jerry LinJ Offline
                Jerry LinJ Offline
                Jerry Lin
                Contributor
                wrote on last edited by
                #22

                👌 😅 👍 ❗ ❗ ❗

                1 Reply Last reply
                0
                • Jerry LinJ Offline
                  Jerry LinJ Offline
                  Jerry Lin
                  Contributor
                  wrote on last edited by
                  #23

                  BTW, what are the routing changes suggested? Do I need to execute any commands? Or, do they happen automatically by some code or scripts?

                  tomT 1 Reply Last reply
                  0
                  • Jerry LinJ Jerry Lin

                    BTW, what are the routing changes suggested? Do I need to execute any commands? Or, do they happen automatically by some code or scripts?

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

                    @Jerry-Lin Not something I can provide too much data on as I don't have a ton of linux network routing experience. But from what I understand you can use ip route to see how your network traffic is being routed for each network interface.

                    You can also change the default route via something like sudo ip route change default ..... (don't know the exact command format) might take some research.

                    1 Reply Last reply
                    0
                    • Jerry LinJ Offline
                      Jerry LinJ Offline
                      Jerry Lin
                      Contributor
                      wrote on last edited by
                      #25

                      OK, cool 👍 thanks❗

                      Will try.

                      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