• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
ModalAI Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
    • Register
    • Login

    LTE - Modem Works But Cannot Ping

    Cellular Modems
    4
    27
    1.8k
    Loading More Posts
    • 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.
    • D
      derrick0799
      last edited by 18 Aug 2021, 14:00

      Ok. I wasn’t sure if I was missing a step in setting this up. I too have verified that the SIM card works and receives data in a different device. I have the V2-Modem, WP7610 Sierra Wireless. I am also connecting to the Verizon “vzwinternet” APN if this detail would further help understand my issue.

      T 1 Reply Last reply 18 Aug 2021, 17:02 Reply Quote 0
      • C
        Chad Sweet ModalAI Team
        last edited by Chad Sweet 18 Aug 2021, 14:06 18 Aug 2021, 14:06

        This type of issue is typically related to APN mismatch with the carrier's specific APN. For "vzwinternet" the carrier is Verizon

        Double checking folks see this doc as well https://docs.modalai.com/lte-v2-modem-manual/

        1 Reply Last reply Reply Quote 0
        • V
          vmassague
          last edited by 18 Aug 2021, 15:13

          In my case, I double-checked with the cellphone to have the same APN since I am using a custom one, but still no success. I tried with two different modules and VOXL boards.

          FYI, I am connecting the LTE antennas one in Antenna (main) and the other to Antenna (diversity)

          1 Reply Last reply Reply Quote 0
          • T
            tom admin @derrick0799
            last edited by 18 Aug 2021, 17:02

            @derrick0799 Are you using the LTE V2 Add-on or Stand Alone?

            D 1 Reply Last reply 18 Aug 2021, 17:21 Reply Quote 0
            • T
              tom admin
              last edited by tom 18 Aug 2021, 17:13 18 Aug 2021, 17:02

              @vmassague Are you using the LTE V2 Add-on or Stand Alone? And you're using the Sierra 7607 modem correct?

              V 1 Reply Last reply 18 Aug 2021, 17:39 Reply Quote 0
              • D
                derrick0799 @tom
                last edited by 18 Aug 2021, 17:21

                @tom, I am using the add-on

                T 1 Reply Last reply 18 Aug 2021, 17:58 Reply Quote 0
                • V
                  vmassague @tom
                  last edited by 18 Aug 2021, 17:39

                  @tom I'm using the Add-on also and I'm using the Sierra 7607

                  T 1 Reply Last reply 18 Aug 2021, 17:58 Reply Quote 0
                  • T
                    tom admin @derrick0799
                    last edited by 18 Aug 2021, 17:58

                    @derrick0799 Can you disable the voxl-modem service from running with systemctl disable voxl-modem and reboot your voxl.

                    Then run voxl-modem-start.sh manually so I can see the full output?

                    D 2 Replies Last reply 18 Aug 2021, 18:23 Reply Quote 0
                    • T
                      tom admin @vmassague
                      last edited by 18 Aug 2021, 17:58

                      @vmassague Can you disable the voxl-modem service from running with systemctl disable voxl-modem and reboot your voxl.

                      Then run voxl-modem-start.sh manually so I can see the full output?

                      1 Reply Last reply Reply Quote 0
                      • D
                        derrick0799 @tom
                        last edited by 18 Aug 2021, 18:23

                        @tom, sure. It will be later this evening before I am able to do so.

                        T 1 Reply Last reply 18 Aug 2021, 19:40 Reply Quote 0
                        • T
                          tom admin @derrick0799
                          last edited by 18 Aug 2021, 19:40

                          @derrick0799 @vmassague Another thing for both of you to check is to see if the APN is indeed set correctly, you can do this with the following command:

                          / # echo -ne "AT+CGDCONT?\r" | busybox microcom -t 1000 /dev/ttyUSB2
                          AT+CGDCONT?
                          +CGDCONT: 1,"IP","h2g2","0.0.0.0",0,0,0,0
                          +CGDCONT: 2,"IPV4V6","ims","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
                          +CGDCONT: 3,"IPV4V6","sos","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,1
                          

                          In this case, my APN is h2g2 for GoogleFi

                          D 1 Reply Last reply 18 Aug 2021, 22:49 Reply Quote 0
                          • D
                            derrick0799 @tom
                            last edited by 18 Aug 2021, 22:42

                            @tom I ran 'systemctl disable voxl-modem' and reboot voxl then...
                            yocto:~$ voxl-modem-start.sh

                            VOXL detected...

                            Initializing v2 modem...

                            Waiting for ttyUSB2...
                            ttyUSB2

                            Initalizing cellular connection...
                            Configuring GPIO to pull modem out of reset
                            Waiting for the diag serial port(/dev/ttyUSB0) to activate
                            checking for serial port: /dev/ttyUSB0
                            /dev/ttyUSB0 is available
                            Verifying existence of QMI port(/dev/cdc-wdm0)
                            checking for serial port: /dev/cdc-wdm0
                            /dev/cdc-wdm0 is available
                            Unstick QMI countdown: 10
                            Unstick QMI countdown: 9
                            Unstick QMI countdown: 8
                            Unstick QMI countdown: 7
                            Unstick QMI countdown: 6
                            "12253379280"
                            Checking for system registration
                            Attempt: 1
                            {
                            "registration": "registered",
                            "plmn_mcc": 311,
                            "plmn_mnc": 480,
                            "plmn_description": "Verizon ",
                            "roaming": false
                            }

                            response: [{
                            "registration": "registered",
                            "plmn_mcc": 311,
                            "plmn_mnc": 480,
                            "plmn_description": "Verizon ",
                            "roaming": false
                            }
                            ]
                            Successfully registered with the network
                            Starting network
                            "No effect"
                            Checking connection status
                            Connection is up
                            Using the DHCP client to get an IP address
                            udhcpc (v1.23.2) started
                            Sending discover...
                            Sending select for 100.68.239.240...
                            Lease of 100.68.239.240 obtained, lease time 7200

                            1 Reply Last reply Reply Quote 0
                            • D
                              derrick0799 @tom
                              last edited by 18 Aug 2021, 22:49

                              @tom said in LTE - Modem Works But Cannot Ping:

                              echo -ne "AT+CGDCONT?\r" | busybox microcom -t 1000 /dev/ttyUSB2

                              yocto:~$ echo -ne "AT+CGDCONT?\r" | busybox microcom -t 1000 /dev/ttyUSB2
                              AT+CGDCONT?
                              +CGDCONT: 1,"IP","vzwinternet","0.0.0.0",0,0,0,0
                              +CGDCONT: 2,"IPV4V6","ims","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
                              +CGDCONT: 3,"IPV4V6","sos","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,1

                              OK

                              T 1 Reply Last reply 18 Aug 2021, 22:51 Reply Quote 0
                              • T
                                tom admin
                                last edited by 18 Aug 2021, 22:51

                                @derrick0799 Do you have WiFi connected? If so, try disabling it with ifconfig wlan0 down and seeing if you can then ping.

                                Also, can I see the output of route -n?

                                Same for you @vmassague something to try.

                                D 1 Reply Last reply 18 Aug 2021, 23:05 Reply Quote 0
                                • T
                                  tom admin @derrick0799
                                  last edited by 18 Aug 2021, 22:51

                                  @derrick0799 Looks like APN is setting correctly so that's good

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    derrick0799 @tom
                                    last edited by 18 Aug 2021, 23:05

                                    @tom after disabling wlan0,
                                    / # ping 8.8.8.8
                                    connect: Network is unreachable

                                    / # route -n
                                    Kernel IP routing table
                                    Destination Gateway Genmask Flags Metric Ref Use Iface
                                    172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0
                                    / #

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      tom admin
                                      last edited by 18 Aug 2021, 23:07

                                      @derrick0799 What does ifconfig show?

                                      D 1 Reply Last reply 18 Aug 2021, 23:08 Reply Quote 0
                                      • D
                                        derrick0799 @tom
                                        last edited by 18 Aug 2021, 23:08

                                        @tom
                                        / # ifconfig
                                        docker0 Link encap:Ethernet HWaddr 02:42:77:DF:4E:80
                                        inet addr:172.17.0.1 Bcast:0.0.0.0 Mask:255.255.0.0
                                        inet6 addr: fe80::42:77ff:fedf:4e80/64 Scope:Link
                                        UP BROADCAST MULTICAST MTU:1500 Metric:1
                                        RX packets:0 errors:0 dropped:0 overruns:0 frame:0
                                        TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
                                        collisions:0 txqueuelen:0
                                        RX bytes:0 (0.0 B) TX bytes:140 (140.0 B)

                                        lo Link encap:Local Loopback
                                        inet addr:127.0.0.1 Mask:255.0.0.0
                                        inet6 addr: ::1/128 Scope:Host
                                        UP LOOPBACK RUNNING MTU:65536 Metric:1
                                        RX packets:609376 errors:0 dropped:0 overruns:0 frame:0
                                        TX packets:609376 errors:0 dropped:0 overruns:0 carrier:0
                                        collisions:0 txqueuelen:0
                                        RX bytes:65142775 (62.1 MiB) TX bytes:65142775 (62.1 MiB)

                                        / #

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          tom admin
                                          last edited by 18 Aug 2021, 23:24

                                          @derrick0799 Is that the output after running voxl-modem-start.sh?

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            tom admin
                                            last edited by 18 Aug 2021, 23:28

                                            At that point, you should be seeing something similar to:

                                            wwan0     Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
                                                      inet addr:30.60.23.115  P-t-P:30.60.23.115  Mask:255.255.255.248
                                                      UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
                                                      RX packets:33 errors:0 dropped:0 overruns:0 frame:0
                                                      TX packets:55 errors:0 dropped:0 overruns:0 carrier:0
                                                      collisions:0 txqueuelen:1000 
                                                      RX bytes:3214 (3.1 KiB)  TX bytes:4672 (4.5 KiB)
                                            
                                            D 2 Replies Last reply 18 Aug 2021, 23:32 Reply Quote 0
                                            3 out of 27
                                            • First post
                                              3/27
                                              Last post
                                            Powered by NodeBB | Contributors