Hi,
I have tried that , Not able to ping
Here is the command line logs:
root@swi-mdm9x28:~# cm data connect
Setting up profile 1
Setting access point name … ok
Setting packet data protocol … ok
Setting Authentication … ok
Connecting … ok
Checking if device is up … ok
Routing … ok
Updating /etc/resolv.conf … ok
Updating /etc/resolv.conf … ok
Testing connection … ok
root@swi-mdm9x28:~# ping google.com
ping: bad address ‘google.com’
root@swi-mdm9x28:~# ping mangoh.io
ping: bad address ‘mangoh.io’
root@swi-mdm9x28:~# cm data connect -1
Disconnecting … failed
Tue May 14 12:14:48 UTC 2019 - Stop Failure: LE_BAD_PARAMETER
Also on legato studio these are the logs:
May 14 12:13:36 | modemDaemon[669]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 813 | Sending QMI_WDS_START_NETWORK_INTERFACE_REQ_V01 failed: rc=0 (), resp.result=1.[0x01], resp.error=14.[0x0e]
May 14 12:13:36 | modemDaemon[669]/le_pa T=main | pa_mdc_qmi.c StartSession() 1903 | Data connection failure Call End provided 45, Code 1
May 14 12:13:36 | modemDaemon[669]/le_pa T=main | pa_mdc_qmi.c StartSession() 1914 | Data connection failure Verbose Call End provided Type 2, Verbose 210
May 14 12:13:36 | modemDaemon[669]/modemDaemon T=main | le_sms.c CloseSessionEventHandler() 2310 | SessionRef (0x7f61a56c) has been closed
May 14 12:13:36 | modemDaemon[669]/modemDaemon T=main | le_sms.c CloseSessionEventHandler() 2310 | SessionRef (0x7f61a114) has been closed
May 14 12:13:52 | modemDaemon[669]/le_pa T=main | pa_mrc_qmi.c pa_mrc_GetNetworkRegState() 1945 | called
May 14 12:13:52 | modemDaemon[669]/le_pa T=main | pa_sim_qmi.c MapSimState() 857 | More than one application 2
May 14 12:14:48 | modemDaemon[669]/modemDaemon T=main | le_sms.c CloseSessionEventHandler() 2310 | SessionRef (0x7f61a56c) has been closed
May 14 12:14:48 | modemDaemon[669]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 813 | Sending QMI_WDS_GET_PKT_STATISTICS_REQ_V01 failed: rc=0 (), resp.result=1.[0x01], resp.error=70.[0x46]
May 14 12:14:48 | modemDaemon[669]/le_pa T=main | pa_mdc_qmi.c pa_mdc_StopSession() 3203 | Bad input parameter
May 14 12:14:48 | modemDaemon[669]/modemDaemon T=main | le_sms.c CloseSessionEventHandler() 2310 | SessionRef (0x7f61a114) has been closed
root@swi-mdm9x28-wp:~# cm data connect
Setting up profile 1
Connecting … ok
Checking if device ‘rmnet_data0’ is up … ok
Routing inet … ok
mv: can’t remove ‘/etc/resolv.conf’: Device or resource busy
Testing connection … ok
root@swi-mdm9x28-wp:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=123 time=367.776 ms
ping: sendto: Network is unreachable
root@swi-mdm9x28-wp:~#
In cm data command it shows it connected.
root@swi-mdm9x28-wp:~# cm data
Index: 1
APN: internet
PDP Type: IPV4V6
Connected: yes
Interface: rmnet_data0
Family[IPv4]: inet
IP[IPv4]: 100.71.152.165
Gateway[IPv4]: 100.71.152.166
Dns1[IPv4]: 8.8.8.8
Dns2[IPv4]: 4.2.2.2
root@swi-mdm9x28-wp:~# ping google.com
ping: bad address ‘google.com’
sir , my data connection is not stable,
It is connecting to internet but it automatically dissconnects .the time difference varies it is not same. Some time only 2 minutes other time 5 or 6 minutes ,
i am connecting by below command
root@swi-mdm9x28-wp:~# cm radio
Power: ON
Current Network Operator: airtel
Current RAT: LTE network (LE_MRC_RAT_LTE)
Status: Registered, home network (LE_MRC_REG_HOME)
Signal: Very strong signal strength (5)
PS: Packet Switched Registered, home network (LE_MRC_REG_HOME)
root@swi-mdm9x28-wp:~# cm data connect
Checking if device ‘rmnet_data0’ is up … ok
Routing inet … ok
Routing inet6 … ok
Updating /etc/resolv.conf … ok
Updating /etc/resolv.conf … ok
Updating /etc/resolv.conf … ok
Updating /etc/resolv.conf … ok
root@swi-mdm9x28-wp:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=59 time=240.892 ms
64 bytes from 8.8.8.8: seq=1 ttl=59 time=37.228 ms
64 bytes from 8.8.8.8: seq=2 ttl=59 time=35.753 ms