modem shell : connects but fails to send traffic

Hi,

I was using the AWS-IOT example and all was working until it wasnt. In troubleshooting this, I loaded the modem shell example, to see if it was a network/connection issue and although it connects (I get an IP), I am unable to ping google.com (by name or IP).

I looked at nrfcloud.com and the sim appears to have enough data left, Used 2.79MB of the 10MB .  Its iBasis sim that came with the board.

Details of the ping are below, I was wondering who to contact for this?  Nordic or iBasis ?

Output:

*** Booting Zephyr OS build v2.6.0-rc1-ncs1  ***

MOSH version:       v1.6.0
MOSH build id:      custom
MOSH build variant: dev

Initializing modemlib...


mosh:~$ Initialized modemlib
Network registration status: searching
LTE cell changed: Cell ID: 136926477, Tracking area: 12306
Currently active system mode: LTE-M
RRC mode: Connected
PDN event: PDP context 0 activated
Network registration status: Connected - roaming
PSM parameter update: TAU: -1, Active time: -1 seconds
Modem config for system mode: LTE-M
Modem config for LTE preference: No preference, automatically selected by the modem
Currently active system mode: LTE-M
Modem FW version:      mfw_nrf9160_1.2.3
Operator PLMN:        "50501"
Current cell id:       136926477 (0x0829550D)
Current band:          28
Current rsrp:          40: -101dBm
Current snr:           31: 6dB
Mobile network time and date: 21/10/02,05:33:39+40
PDP context info 1:
  CID:                    0
  PDN ID:                 0
  PDP context active:     yes
  PDP type:               IP
  APN:                    ibasis.iot
  IPv4 MTU:               1430
  IPv4 address:           10.155.149.218
  IPv6 address:           ::
  IPv4 DNS address:       62.93.146.209, 216.168.184.184
  IPv6 DNS address:       ::, ::

ping -d www.google.com
Initiating ping to: www.google.com
RRC mode: Connected
getaddrinfo(dest) error: -11
Cannot resolve remote host

RRC mode: Idle
mosh:~$ ping 142.25
mosh:~$
mosh:~$ ping -d 142.250.66.228
Initiating ping to: 142.250.66.228
Source IP addr: 10.155.149.218
Destination IP addr: 142.250.66.228
RRC mode: Connected
Pinging 142.250.66.228 results: no response in given timeout 3000 msec
Pinging 142.250.66.228 results: no response in given timeout 3000 msec
Pinging 142.250.66.228 results: no response in given timeout 3000 msec
Pinging 142.250.66.228 results: no response in given timeout 3000 msec

Ping statistics for 142.250.66.228:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss)
Pinging DONE

regards

-brett

Parents
  • Hi Brett,

    It looks everything is fine before you start to use ping commands.

    I am not sure if this is an issue due to the local LTE network or just related to a specific sim card or hardware. Do you have several nRF9160DK boards to test with? Are you able to update Modem firmware to the latest and test with the latest NCS v1.7.0?

    Best regards,

    Charlie

  • Hi Charlie,

    This has been working fine for months, so I dont think its the local network.

    I only have 1 x 9160DK - (I have a thingy 91 that I could try and swap the sim into), I also have a new sim coming from iBasis to replace the one from the thingy 91 (it expired).

    I will upgrade the modem firmware to the latest and try that.

    I was more curious how to troubleshoot where the problem might be and if there is any other way to identify if its, sim, network, board etc...

    cheers

    -brett

  • Hi Charlie,

    Modem Upgraded to 1.3.0, still same issue, and whats more strange, I cant even ping the DNS that was allocated.

    Tried to:
    * Ping google.com - failed
    * ping Ip of google - failed
    * ping DNS - failed
    * increased timeout to 10 seconds, just in case.

    I will install the 1.7.0 SDK and see how that goes. As mentioned earlier, I am more confused as to why all was working with the current environment, and all of the sudden it stopped working.

    Q: If the SIM was expired, or something wrong with it, would you expect to still get connections and an IP ?

    Ping:
    ping -t 10000 -d 62.93.146.209
    Initiating ping to: 62.93.146.209
    Source IP addr: 10.155.196.172
    Destination IP addr: 62.93.146.209
    RRC mode: Connected
    Pinging 62.93.146.209 results: no response in given timeout 10000 msec
    RRC mode: Idle
    RRC mode: Connected
    Pinging 62.93.146.209 results: no response in given timeout 10000 msec
    RRC mode: Idle
    RRC mode: Connected
    Pinging 62.93.146.209 results: no response in given timeout 10000 msec
    Pinging 62.93.146.209 results: no response in given timeout 10000 msec

    Ping statistics for 62.93.146.209:
        Packets: Sent = 4, Received = 0, Lost = 4 (100% loss)

    Pinging DONE
    RRC mode: Idle

    Boot Details:
    MOSH version:       v1.6.0
    MOSH build id:      custom
    MOSH build variant: dev

    Initializing modemlib...


    mosh:~$ Initialized modemlib
    Network registration status: searching
    LTE cell changed: Cell ID: 136926477, Tracking area: 12306
    Currently active system mode: LTE-M
    RRC mode: Connected
    PDN event: PDP context 0 activated
    Network registration status: Connected - roaming
    PSM parameter update: TAU: -1, Active time: -1 seconds
    Modem config for system mode: LTE-M
    Modem config for LTE preference: No preference, automatically selected by the modem
    Currently active system mode: LTE-M
    Modem FW version:      mfw_nrf9160_1.3.0
    Operator PLMN:        "50501"
    Current cell id:       136926477 (0x0829550D)
    Current band:          28
    Current rsrp:          41: -100dBm
    Current snr:           26: 1dB
    Mobile network time and date: 21/10/04,11:57:39+44
    PDP context info 1:
      CID:                    0
      PDN ID:                 0
      PDP context active:     yes
      PDP type:               IP
      APN:                    ibasis.iot
      IPv4 MTU:               1430
      IPv4 address:           10.155.196.172
      IPv6 address:           ::
      IPv4 DNS address:       62.93.146.209, 216.168.184.184
      IPv6 DNS address:       ::, ::
    RRC mode: Idle

    cheers

    -brett

Reply
  • Hi Charlie,

    Modem Upgraded to 1.3.0, still same issue, and whats more strange, I cant even ping the DNS that was allocated.

    Tried to:
    * Ping google.com - failed
    * ping Ip of google - failed
    * ping DNS - failed
    * increased timeout to 10 seconds, just in case.

    I will install the 1.7.0 SDK and see how that goes. As mentioned earlier, I am more confused as to why all was working with the current environment, and all of the sudden it stopped working.

    Q: If the SIM was expired, or something wrong with it, would you expect to still get connections and an IP ?

    Ping:
    ping -t 10000 -d 62.93.146.209
    Initiating ping to: 62.93.146.209
    Source IP addr: 10.155.196.172
    Destination IP addr: 62.93.146.209
    RRC mode: Connected
    Pinging 62.93.146.209 results: no response in given timeout 10000 msec
    RRC mode: Idle
    RRC mode: Connected
    Pinging 62.93.146.209 results: no response in given timeout 10000 msec
    RRC mode: Idle
    RRC mode: Connected
    Pinging 62.93.146.209 results: no response in given timeout 10000 msec
    Pinging 62.93.146.209 results: no response in given timeout 10000 msec

    Ping statistics for 62.93.146.209:
        Packets: Sent = 4, Received = 0, Lost = 4 (100% loss)

    Pinging DONE
    RRC mode: Idle

    Boot Details:
    MOSH version:       v1.6.0
    MOSH build id:      custom
    MOSH build variant: dev

    Initializing modemlib...


    mosh:~$ Initialized modemlib
    Network registration status: searching
    LTE cell changed: Cell ID: 136926477, Tracking area: 12306
    Currently active system mode: LTE-M
    RRC mode: Connected
    PDN event: PDP context 0 activated
    Network registration status: Connected - roaming
    PSM parameter update: TAU: -1, Active time: -1 seconds
    Modem config for system mode: LTE-M
    Modem config for LTE preference: No preference, automatically selected by the modem
    Currently active system mode: LTE-M
    Modem FW version:      mfw_nrf9160_1.3.0
    Operator PLMN:        "50501"
    Current cell id:       136926477 (0x0829550D)
    Current band:          28
    Current rsrp:          41: -100dBm
    Current snr:           26: 1dB
    Mobile network time and date: 21/10/04,11:57:39+44
    PDP context info 1:
      CID:                    0
      PDN ID:                 0
      PDP context active:     yes
      PDP type:               IP
      APN:                    ibasis.iot
      IPv4 MTU:               1430
      IPv4 address:           10.155.196.172
      IPv6 address:           ::
      IPv4 DNS address:       62.93.146.209, 216.168.184.184
      IPv6 DNS address:       ::, ::
    RRC mode: Idle

    cheers

    -brett

Children
No Data
Related