Raspberry Pi 4B ubuntu 18.04 ttyUSB3 Telit LE910C4-NF PPP not connecting with t-mobile

HI ,
I cannot connect Telit LE910C4-NF with t-mobile. “Modem hangup”
I am using sixfab hat 3g/4g- lte


sudo pon

pppd options in effect:

debug # (from /etc/ppp/peers/provider)

updetach # (from /etc/ppp/peers/provider)

persist # (from /etc/ppp/peers/provider)

dump # (from /etc/ppp/peers/provider)

noauth # (from /etc/ppp/peers/provider)

remotename 3gppp # (from /etc/ppp/peers/provider)

/dev/ttyUSB3 # (from /etc/ppp/peers/provider)

115200 # (from /etc/ppp/peers/provider)

lock # (from /etc/ppp/peers/provider)

connect chat -s -v -f /etc/chatscripts/chat-connect -T Fast.t-mobile.com # (from /etc/ppp/peers/provider)

disconnect chat -s -v -f /etc/chatscripts/chat-disconnect # (from /etc/ppp/peers/provider)

nocrtscts # (from /etc/ppp/peers/provider)

modem # (from /etc/ppp/peers/provider)

asyncmap 0 # (from /etc/ppp/options)

lcp-echo-failure 4 # (from /etc/ppp/options)

lcp-echo-interval 30 # (from /etc/ppp/options)

hide-password # (from /etc/ppp/peers/provider)

novj # (from /etc/ppp/peers/provider)

novjccomp # (from /etc/ppp/peers/provider)

ipcp-accept-local # (from /etc/ppp/peers/provider)

ipcp-accept-remote # (from /etc/ppp/peers/provider)

ipparam 3gppp # (from /etc/ppp/peers/provider)

noipdefault # (from /etc/ppp/peers/provider)

ipcp-max-failure 30 # (from /etc/ppp/peers/provider)

defaultroute # (from /etc/ppp/peers/provider)

usepeerdns # (from /etc/ppp/peers/provider)

noccp # (from /etc/ppp/peers/provider)

noipx # (from /etc/ppp/options)

abort on (BUSY)

abort on (NO CARRIER)

abort on (NO DIALTONE)

abort on (ERROR)

abort on (NO ANSWER)

timeout set to 30 seconds

send (AT^M)

expect (OK)

^M

OK

-- got it

send (ATE0^M)

expect (OK)

^M

^M

OK

-- got it

send (AT+CPIN?^M)

expect (OK)

^M

^M

+CPIN: READY^M

^M

OK

-- got it

send (AT+CSQ^M)

expect (OK)

^M

^M

+CSQ: 22,5^M

^M

OK

-- got it

send (AT+CREG?^M)

expect (OK)

^M

^M

+CREG: 0,1^M

^M

OK

-- got it

send (AT+CGREG?^M)

expect (OK)

^M

^M

+CGREG: 0,1^M

^M

OK

-- got it

send (AT#USBCFG?^M)

expect (OK)

^M

^M

#USBCFG: 0^M

^M

OK

-- got it

send (AT#FWSWITCH?^M)

expect (OK)

^M

^M

#FWSWITCH: 2,0,0^M

^M

OK

-- got it

send (AT+COPS?^M)

expect (OK)

^M

^M

+COPS: 0,0,"T-Mobile",7^M

^M

OK

-- got it

send (AT+CGDCONT=1,"IP","Fast.t-mobile.com",,0,0^M)

expect (OK)

^M

^M

OK

-- got it

send (ATD*99#^M)

expect (CONNECT)

^M

^M

CONNECT

-- got it

Script chat -s -v -f /etc/chatscripts/chat-connect -T Fast.t-mobile.com finished (pid 8333), status = 0x0

Serial connection established.

using channel 77

Using interface ppp0

Connect: ppp0 <--> /dev/ttyUSB3

rcvd [LCP ConfReq id=0x1d <asyncmap 0x0> <auth chap MD5> <magic 0xfe3dc4f1> <pcomp> <accomp>]

sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xfff0d5ff> <pcomp> <accomp>]

No auth is possible

sent [LCP ConfRej id=0x1d <auth chap MD5>]

rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xfff0d5ff> <pcomp> <accomp>]

rcvd [LCP ConfReq id=0x1e <asyncmap 0x0> <magic 0xfe3dc4f1> <pcomp> <accomp>]

sent [LCP ConfAck id=0x1e <asyncmap 0x0> <magic 0xfe3dc4f1> <pcomp> <accomp>]

sent [LCP EchoReq id=0x0 magic=0xfff0d5ff]

sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]

rcvd [LCP DiscReq id=0x1f magic=0xfe3dc4f1]

rcvd [LCP EchoRep id=0x0 magic=0xfe3dc4f1 ff f0 d5 ff]

Modem hangup

Connection terminated.

while same setup works with EC25A,

sudo pon

pppd options in effect:

debug # (from /etc/ppp/peers/provider)

updetach # (from /etc/ppp/peers/provider)

persist # (from /etc/ppp/peers/provider)

dump # (from /etc/ppp/peers/provider)

noauth # (from /etc/ppp/peers/provider)

remotename 3gppp # (from /etc/ppp/peers/provider)

/dev/ttyUSB3 # (from /etc/ppp/peers/provider)

115200 # (from /etc/ppp/peers/provider)

lock # (from /etc/ppp/peers/provider)

connect chat -s -v -f /etc/chatscripts/chat-connect -T Fast.t-mobile.com # (from /etc/ppp/peers/provider)

disconnect chat -s -v -f /etc/chatscripts/chat-disconnect # (from /etc/ppp/peers/provider)

nocrtscts # (from /etc/ppp/peers/provider)

modem # (from /etc/ppp/peers/provider)

asyncmap 0 # (from /etc/ppp/options)

lcp-echo-failure 4 # (from /etc/ppp/options)

lcp-echo-interval 30 # (from /etc/ppp/options)

hide-password # (from /etc/ppp/peers/provider)

novj # (from /etc/ppp/peers/provider)

novjccomp # (from /etc/ppp/peers/provider)

ipcp-accept-local # (from /etc/ppp/peers/provider)

ipcp-accept-remote # (from /etc/ppp/peers/provider)

ipparam 3gppp # (from /etc/ppp/peers/provider)

noipdefault # (from /etc/ppp/peers/provider)

ipcp-max-failure 30 # (from /etc/ppp/peers/provider)

defaultroute # (from /etc/ppp/peers/provider)

usepeerdns # (from /etc/ppp/peers/provider)

noccp # (from /etc/ppp/peers/provider)

noipx # (from /etc/ppp/options)

abort on (BUSY)

abort on (NO CARRIER)

abort on (NO DIALTONE)

abort on (ERROR)

abort on (NO ANSWER)

timeout set to 30 seconds

send (AT^M)

expect (OK)

^M

OK

-- got it

send (ATE0^M)

expect (OK)

^M

^M

OK

-- got it

send (AT+CPIN?^M)

expect (OK)

^M

^M

+CPIN: READY^M

^M

OK

-- got it

send (AT+CSQ^M)

expect (OK)

^M

^M

+CSQ: 24,99^M

^M

OK

-- got it

send (AT+CREG?^M)

expect (OK)

^M

^M

+CREG: 0,1^M

^M

OK

-- got it

send (AT+CGREG?^M)

expect (OK)

^M

^M

+CGREG: 0,1^M

^M

OK

-- got it

send (AT+COPS?^M)

expect (OK)

^M

^M

+COPS: 0,0,"T-Mobile",7^M

^M

OK

-- got it

send (AT+CGDCONT=1,"IP","Fast.t-mobile.com",,0,0^M)

expect (OK)

^M

^M

OK

-- got it

send (ATD*99#^M)

expect (CONNECT)

^M

^M

CONNECT

-- got it

Script chat -s -v -f /etc/chatscripts/chat-connect -T Fast.t-mobile.com finished (pid 2153), status = 0x0

Serial connection established.

using channel 2

Using interface ppp0

Connect: ppp0 <--> /dev/ttyUSB3

sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2f97a2c6> <pcomp> <accomp>]

rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0xfe379bbc> <pcomp> <accomp>]

No auth is possible

sent [LCP ConfRej id=0x0 <auth chap MD5>]

rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x2f97a2c6> <pcomp> <accomp>]

rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xfe379bbc> <pcomp> <accomp>]

sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xfe379bbc> <pcomp> <accomp>]

sent [LCP EchoReq id=0x0 magic=0x2f97a2c6]

sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]

rcvd [LCP DiscReq id=0x2 magic=0xfe379bbc]

rcvd [LCP EchoRep id=0x0 magic=0xfe379bbc 2f 97 a2 c6]

rcvd [IPCP ConfReq id=0x0]

sent [IPCP ConfNak id=0x0 <addr 0.0.0.0>]

rcvd [IPCP ConfNak id=0x1 <addr 22.39.xx.xx> <ms-dns1 10.xxx.0.xx> <ms-dns2 10.xxx.0.xxx>]

sent [IPCP ConfReq id=0x2 <addr 22.39.xx.xx> <ms-dns1 10.xxx.0.xx> <ms-dns2 10.xxx.0.xxx>]

rcvd [IPCP ConfReq id=0x1]

sent [IPCP ConfAck id=0x1]

rcvd [IPCP ConfAck id=0x2 <addr xx.xx.xx.xx> <ms-dns1 10.xxx.x.xx> <ms-dns2 10.xxx.0.xxx>]

Could not determine remote IP address: defaulting to 10.64.xxx.xx

not replacing default route to wlan0 [1xx.xxx.x.xx]

local IP address 22.xx.xx.xx

remote IP address 10.64.64.64

primary DNS address xx.xx.xx.xx

secondary DNS address xx.xx.xx.xx

Help will be highly appreciated.
Thanks!

Hello,

Did you go through the troubleshooting guide?
Could you please share the output of the following AT commands?

AT#USBCFG?
AT#BND?
AT+CREG?
AT+CGREG?
AT+CGDCONT?
AT+CSQ
AT+CGATT?
AT+GMM
AT#SWPKGV
AT#FWSWITCH?

Here is output of above AP commands–

send (AT^M)

expect (OK)

^M

OK

– got it

send (ATE0^M)

expect (OK)

^M

^M

OK

– got it

send (AT+CPIN?^M)

expect (OK)

^M

^M

+CPIN: READY^M

^M

OK

– got it

send (AT+CSQ^M)

expect (OK)

^M

^M

+CSQ: 25,6^M

^M

OK

– got it

send (AT#USBCFG?^M)

expect (OK)

^M

^M

#USBCFG: 0^M

^M

OK

– got it

send (AT#BND?^M)

expect (OK)

^M

^M

#BND: ,10,80800000000381A^M

^M

OK

– got it

send (AT+CREG?^M)

expect (OK)

^M

^M

+CREG: 0,1^M

^M

OK

– got it

send (AT+CGREG?^M)

expect (OK)

^M

^M

+CGREG: 0,1^M

^M

OK

– got it

send (AT+CGDCONT?^M)

expect (OK)

^M

^M

+CGDCONT: 1,“IP”,“Fast.t-mobile.com”,"",0,0,0,0^M

+CGDCONT: 2,“IPV4V6”,“ims”,"",0,0,0,0^M

+CGDCONT: 3,“IPV4V6”,“sos”,"",0,0,0,1^M

+CGDCONT: 4,“IPV4V6”,“attm2mglobal”,"",0,0,0,0^M

^M

OK

– got it

send (AT+CSQ^M)

expect (OK)

^M

^M

+CSQ: 25,6^M

^M

OK

– got it

send (AT+CGATT?^M)

expect (OK)

^M

^M

+CGATT: 1^M

^M

OK

– got it

send (AT+GMM^M)

expect (OK)

^M

^M

LE910C4-NF^M

^M

OK

– got it

send (AT#SWPKGV^M)

expect (OK)

^M

^M

25.21.660-P0F.661803^M

M0F.660010^M

P0F.661803^M

A0F.660010^M

^M

OK

– got it

send (AT#FWSWITCH?^M)

expect (OK)

^M

^M

#FWSWITCH: 0,0,0^M

^M

OK

– got it

send (AT+COPS?^M)

expect (OK)

^M

^M

+COPS: 0,0,“T-Mobile”,7^M

^M

OK

– got it

send (AT+CGDCONT=1,“IP”,“Fast.t-mobile.com”,0,0^M)

expect (OK)

^M

^M

OK

– got it

Also, Telit LE910C4-NF module is extremely unpredictable. Some time it work , some time it doesnot. Majority of time it doesnot work. While its not working, it get stuck on initial AT command . And fail chat-connect script. Please see attached picture.

Is this module supposed to work perfectly on t-mobile simcard. I am actually getting hard time with this. I am getting stuck on my project because of this part.

I am using this module in raspberry pi 4b , running ubuntu 18.04

The issue occurs during the Dial up.

Network registration was successful,
+COPS: 0,0,“T-Mobile”,7^M

while the active Firmware is set for AT&T,
#FWSWITCH: 0,0,0

It should be set to 2 for T-Mobile,
AT#FWSWITCH=2

Details in section 3.2.2.66 of AT Command Guide

@saeed do we need to set AT#FWSWITCH=2 during every connection? I set it to 2 with AT command using minicom but it’s going back to 0 when I reboot the raspberry pi.

(before I had AT#FWSWITCH=2 in chat-connect file, the reason I removed it from this file is, I also have QUECTEL EC25A, which doesn’t recognize AT#FWSWITCH=2 )

Also, the second issue,

Why Telit module got stuck with the first AT command as I showed in the picture above? lsusb shows Telit module but AT command got stuck. It happens when I reboot the raspberry pi. How to make it stable during every reboot?

There are some custom AT commands which are for particular OEM, like AT#xxxx commands for Telit. AT#FWSWITCH is one of them, and this is a configuration command which doesn’t need to be changed on every reboot.

As you may see from the AT Command Guide of Telit,
the format of the command is
AT#FWSWITCH=<net_conf>[,<storage_conf>[,<restore_user_conf>]]

Where the <net_conf> parameter needs to be provided, while the other parameters <storage_conf> and <restore_user_conf> are taken as 0 by default.

<restore_user_conf>: 0 means After reboot, new network config restored

Hence you may use

AT#FWSWITCH=2,0,0

Why Telit module got stuck with the first AT command as I showed in the picture above? lsusb shows Telit module but AT command got stuck.

Please make sure there is no other process that is using the Telit module.

@saeed I know its super weird but, you can see my very first message, where modem hangup happens if
#FWSWITCH: 2,0,0^M

I am using t-mobile simcard. But, setting AT#FWSWITCH=2,0,0 will make modem hangup. but setting #FWSWITCH: 0,0,0^M, will connect.

Detail info----

when #FWSWITCH: 2,0,0

pppd options in effect:

debug # (from /etc/ppp/peers/provider)

updetach # (from /etc/ppp/peers/provider)

persist # (from /etc/ppp/peers/provider)

dump # (from /etc/ppp/peers/provider)

noauth # (from /etc/ppp/peers/provider)

remotename 3gppp # (from /etc/ppp/peers/provider)

/dev/ttyUSB3 # (from /etc/ppp/peers/provider)

115200 # (from /etc/ppp/peers/provider)

lock # (from /etc/ppp/peers/provider)

connect chat -s -v -f /etc/chatscripts/chat-connect -T Fast.t-mobile.com # (from /etc/ppp/peers/provider)

disconnect chat -s -v -f /etc/chatscripts/chat-disconnect # (from /etc/ppp/peers/provider)

nocrtscts # (from /etc/ppp/peers/provider)

modem # (from /etc/ppp/peers/provider)

asyncmap 0 # (from /etc/ppp/options)

lcp-echo-failure 4 # (from /etc/ppp/options)

lcp-echo-interval 30 # (from /etc/ppp/options)

hide-password # (from /etc/ppp/peers/provider)

novj # (from /etc/ppp/peers/provider)

novjccomp # (from /etc/ppp/peers/provider)

ipcp-accept-local # (from /etc/ppp/peers/provider)

ipcp-accept-remote # (from /etc/ppp/peers/provider)

ipparam 3gppp # (from /etc/ppp/peers/provider)

noipdefault # (from /etc/ppp/peers/provider)

ipcp-max-failure 30 # (from /etc/ppp/peers/provider)

defaultroute # (from /etc/ppp/peers/provider)

usepeerdns # (from /etc/ppp/peers/provider)

noccp # (from /etc/ppp/peers/provider)

noipx # (from /etc/ppp/options)

abort on (BUSY)

abort on (NO CARRIER)

abort on (NO DIALTONE)

abort on (ERROR)

abort on (NO ANSWER)

timeout set to 30 seconds

send (AT^M)

expect (OK)

^M

OK

– got it

send (ATE0^M)

expect (OK)

^M

^M

OK

– got it

send (AT+CPIN?^M)

expect (OK)

^M

^M

+CPIN: READY^M

^M

OK

– got it

send (AT+CSQ^M)

expect (OK)

^M

^M

+CSQ: 27,6^M

^M

OK

– got it

send (AT+CREG?^M)

expect (OK)

^M

^M

+CREG: 0,1^M

^M

OK

– got it

send (AT+CGREG?^M)

expect (OK)

^M

^M

+CGREG: 0,1^M

^M

OK

– got it

send (AT#USBCFG?^M)

expect (OK)

^M

^M

#USBCFG: 0^M

^M

OK

– got it

send (AT#FWSWITCH?^M)

expect (OK)

^M

^M

#FWSWITCH: 2,0,0^M

^M

OK

– got it

send (AT+COPS?^M)

expect (OK)

^M

^M

+COPS: 0,0,“T-Mobile”,7^M

^M

OK

– got it

send (AT+CGDCONT=1,“IP”,“Fast.t-mobile.com”,0,0^M)

expect (OK)

^M

^M

OK

– got it

send (ATD*99#^M)

expect (CONNECT)

^M

^M

CONNECT

– got it

Script chat -s -v -f /etc/chatscripts/chat-connect -T Fast.t-mobile.com finished (pid 4250), status = 0x0

Serial connection established.

using channel 20

Using interface ppp0

Connect: ppp0 <–> /dev/ttyUSB3

rcvd [LCP ConfReq id=0x61 <asyncmap 0x0> <magic 0x2c1722d5> ]

sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc2c15eef> ]

No auth is possible

sent [LCP ConfRej id=0x61 ]

rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xc2c15eef> ]

rcvd [LCP ConfReq id=0x62 <asyncmap 0x0> <magic 0x2c1722d5> ]

sent [LCP ConfAck id=0x62 <asyncmap 0x0> <magic 0x2c1722d5> ]

sent [LCP EchoReq id=0x0 magic=0xc2c15eef]

sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]

rcvd [LCP DiscReq id=0x63 magic=0x2c1722d5]

rcvd [LCP EchoRep id=0x0 magic=0x2c1722d5 c2 c1 5e ef]

Modem hangup

Connection terminated.



but when #FWSWITCH: 0,0,0 -------------------->>>>>>>>>

pppd options in effect:

debug # (from /etc/ppp/peers/provider)

updetach # (from /etc/ppp/peers/provider)

persist # (from /etc/ppp/peers/provider)

dump # (from /etc/ppp/peers/provider)

noauth # (from /etc/ppp/peers/provider)

remotename 3gppp # (from /etc/ppp/peers/provider)

/dev/ttyUSB3 # (from /etc/ppp/peers/provider)

115200 # (from /etc/ppp/peers/provider)

lock # (from /etc/ppp/peers/provider)

connect chat -s -v -f /etc/chatscripts/chat-connect -T Fast.t-mobile.com # (from /etc/ppp/peers/provider)

disconnect chat -s -v -f /etc/chatscripts/chat-disconnect # (from /etc/ppp/peers/provider)

nocrtscts # (from /etc/ppp/peers/provider)

modem # (from /etc/ppp/peers/provider)

asyncmap 0 # (from /etc/ppp/options)

lcp-echo-failure 4 # (from /etc/ppp/options)

lcp-echo-interval 30 # (from /etc/ppp/options)

hide-password # (from /etc/ppp/peers/provider)

novj # (from /etc/ppp/peers/provider)

novjccomp # (from /etc/ppp/peers/provider)

ipcp-accept-local # (from /etc/ppp/peers/provider)

ipcp-accept-remote # (from /etc/ppp/peers/provider)

ipparam 3gppp # (from /etc/ppp/peers/provider)

noipdefault # (from /etc/ppp/peers/provider)

ipcp-max-failure 30 # (from /etc/ppp/peers/provider)

defaultroute # (from /etc/ppp/peers/provider)

usepeerdns # (from /etc/ppp/peers/provider)

noccp # (from /etc/ppp/peers/provider)

noipx # (from /etc/ppp/options)

abort on (BUSY)

abort on (NO CARRIER)

abort on (NO DIALTONE)

abort on (ERROR)

abort on (NO ANSWER)

timeout set to 30 seconds

send (AT^M)

expect (OK)

^M

OK

– got it

send (ATE0^M)

expect (OK)

^M

^M

OK

– got it

send (AT+CPIN?^M)

expect (OK)

^M

^M

+CPIN: READY^M

^M

OK

– got it

send (AT+CSQ^M)

expect (OK)

^M

^M

+CSQ: 25,3^M

^M

OK

– got it

send (AT+CREG?^M)

expect (OK)

^M

^M

+CREG: 0,1^M

^M

OK

– got it

send (AT+CGREG?^M)

expect (OK)

^M

^M

+CGREG: 0,1^M

^M

OK

– got it

send (AT#USBCFG?^M)

expect (OK)

^M

^M

#USBCFG: 0^M

^M

OK

– got it

send (AT#FWSWITCH?^M)

expect (OK)

^M

^M

#FWSWITCH: 0,0,0^M

^M

OK

– got it

send (AT+COPS?^M)

expect (OK)

^M

^M

+COPS: 0,0,“T-Mobile”,7^M

^M

OK

– got it

send (AT+CGDCONT=1,“IP”,“Fast.t-mobile.com”,0,0^M)

expect (OK)

^M

^M

OK

– got it

send (ATD*99#^M)

expect (CONNECT)

^M

^M

CONNECT

– got it

Script chat -s -v -f /etc/chatscripts/chat-connect -T Fast.t-mobile.com finished (pid 4865), status = 0x0

Serial connection established.

using channel 23

Using interface ppp0

Connect: ppp0 <–> /dev/ttyUSB3

rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2c1bc638> ]

sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x988a7c4c> ]

No auth is possible

sent [LCP ConfRej id=0x1 ]

rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x988a7c4c> ]

rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x2c1bc638> ]

sent [LCP ConfAck id=0x2 <asyncmap 0x0> <magic 0x2c1bc638> ]

sent [LCP EchoReq id=0x0 magic=0x988a7c4c]

sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]

rcvd [LCP DiscReq id=0x3 magic=0x2c1bc638]

rcvd [LCP EchoRep id=0x0 magic=0x2c1bc638 98 8a 7c 4c]

rcvd [IPCP ConfReq id=0x0]

sent [IPCP ConfNak id=0x0 <addr 0.0.0.0>]

rcvd [IPCP ConfNak id=0x1 <addr 33.240.234.169> <ms-dns1 10.177.0.34> <ms-dns2 10.177.0.210>]

sent [IPCP ConfReq id=0x2 <addr 33.240.234.169> <ms-dns1 10.177.0.34> <ms-dns2 10.177.0.210>]

rcvd [IPCP ConfReq id=0x1]

sent [IPCP ConfAck id=0x1]

rcvd [IPCP ConfAck id=0x2 ]

Could not determine remote IP address: defaulting to xx.xx.xx.xx

not replacing default route to wlan0 [xx.xx.xx.xx]

local IP address xx.xx.xx.xx

remote IP address xx.xx.xx.xx

primary DNS address xx.xx.xx.xx

secondary DNS address xx.xx.xx.xx

PlUS,

you can see there is no any process running for ppp, ppp_async module is there,
and lsusb shows Telit Wireless Solutions

and AT command fail ,

Detailed terminal info here----
ubuntu@ubuntu:~$ sudo poff
/usr/bin/poff: No pppd is running. None stopped.
ubuntu@ubuntu:~$ clear

ubuntu@ubuntu:~$ lsmod

Module Size Used by
btsdio 20480 0
bluetooth 593920 1 btsdio
ecdh_generic 16384 1 bluetooth
ecc 36864 1 ecdh_generic
brcmfmac 368640 0
joydev 36864 0
input_leds 16384 0
brcmutil 28672 1 brcmfmac
cfg80211 786432 1 brcmfmac
qmi_wwan 36864 0
cdc_wdm 28672 1 qmi_wwan
option 61440 0
usb_wwan 24576 1 option
usbserial 57344 2 usb_wwan,option
raspberrypi_hwmon 16384 0
bcm2835_codec 45056 0
v4l2_mem2mem 32768 1 bcm2835_codec
bcm2835_v4l2 45056 0
bcm2835_isp 28672 0
bcm2835_mmal_vchiq 40960 3 bcm2835_codec,bcm2835_v4l2,bcm2835_isp
videobuf2_dma_contig 24576 2 bcm2835_codec,bcm2835_isp
videobuf2_vmalloc 20480 1 bcm2835_v4l2
videobuf2_memops 20480 2 videobuf2_vmalloc,videobuf2_dma_contig
videobuf2_v4l2 28672 4 bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem,bcm2835_isp
videobuf2_common 57344 5 bcm2835_codec,videobuf2_v4l2,bcm2835_v4l2,v4l2_mem2mem,bcm2835_isp
vc_sm_cma 45056 2 bcm2835_mmal_vchiq,bcm2835_isp
videodev 286720 6 bcm2835_codec,videobuf2_v4l2,bcm2835_v4l2,videobuf2_common,v4l2_mem2mem,bcm2835_isp
mc 65536 6 videodev,bcm2835_codec,videobuf2_v4l2,videobuf2_common,v4l2_mem2mem,bcm2835_isp
spidev 28672 0
rpivid_mem 16384 0
uio_pdrv_genirq 16384 0
uio 24576 1 uio_pdrv_genirq
sch_fq_codel 20480 8
iscsi_tcp 24576 0
libiscsi_tcp 32768 1 iscsi_tcp
libiscsi 57344 2 libiscsi_tcp,iscsi_tcp
scsi_transport_iscsi 126976 3 libiscsi_tcp,iscsi_tcp,libiscsi
ppp_async 28672 0
ip_tables 36864 0
x_tables 53248 1 ip_tables
autofs4 57344 2
btrfs 1359872 0
zstd_compress 155648 1 btrfs
raid10 65536 0
raid456 176128 0
async_raid6_recov 24576 1 raid456
async_memcpy 20480 2 raid456,async_raid6_recov
async_pq 20480 2 raid456,async_raid6_recov
async_xor 20480 3 async_pq,raid456,async_raid6_recov
async_tx 20480 5 async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
xor 20480 2 async_xor,btrfs
xor_neon 16384 1 xor
raid6_pq 110592 4 async_pq,btrfs,raid456,async_raid6_recov
libcrc32c 16384 2 btrfs,raid456
raid1 49152 0
raid0 24576 0
multipath 24576 0
linear 20480 0
hid_logitech_hidpp 45056 0
crct10dif_ce 16384 1
phy_generic 20480 0
hid_logitech_dj 24576 0
hid_generic 16384 0
usbhid 65536 1 hid_logitech_dj
aes_neon_bs 28672 1
aes_neon_blk 28672 1 aes_neon_bs
crypto_simd 20480 2 aes_neon_bs,aes_neon_blk
cryptd 24576 1 crypto_simd

ubuntu@ubuntu:~$ lsmod | grep ppp

ppp_async 28672 0

ubuntu@ubuntu:~$ lsusb

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 003: ID 1bc7:1201 Telit Wireless Solutions
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

ubuntu@ubuntu:~$ sudo pon

pppd options in effect:
debug # (from /etc/ppp/peers/provider)
updetach # (from /etc/ppp/peers/provider)
persist # (from /etc/ppp/peers/provider)
dump # (from /etc/ppp/peers/provider)
noauth # (from /etc/ppp/peers/provider)
remotename 3gppp # (from /etc/ppp/peers/provider)
/dev/ttyUSB3 # (from /etc/ppp/peers/provider)
115200 # (from /etc/ppp/peers/provider)
lock # (from /etc/ppp/peers/provider)
connect chat -s -v -f /etc/chatscripts/chat-connect -T Fast.t-mobile.com # (from /etc/ppp/peers/provider)
disconnect chat -s -v -f /etc/chatscripts/chat-disconnect # (from /etc/ppp/peers/provider)
nocrtscts # (from /etc/ppp/peers/provider)
modem # (from /etc/ppp/peers/provider)
asyncmap 0 # (from /etc/ppp/options)
lcp-echo-failure 4 # (from /etc/ppp/options)
lcp-echo-interval 30 # (from /etc/ppp/options)
hide-password # (from /etc/ppp/peers/provider)
novj # (from /etc/ppp/peers/provider)
novjccomp # (from /etc/ppp/peers/provider)
ipcp-accept-local # (from /etc/ppp/peers/provider)
ipcp-accept-remote # (from /etc/ppp/peers/provider)
ipparam 3gppp # (from /etc/ppp/peers/provider)
noipdefault # (from /etc/ppp/peers/provider)
ipcp-max-failure 30 # (from /etc/ppp/peers/provider)
defaultroute # (from /etc/ppp/peers/provider)
usepeerdns # (from /etc/ppp/peers/provider)
noccp # (from /etc/ppp/peers/provider)
noipx # (from /etc/ppp/options)
abort on (BUSY)
abort on (NO CARRIER)
abort on (NO DIALTONE)
abort on (ERROR)
abort on (NO ANSWER)
timeout set to 30 seconds
send (AT^M)
expect (OK)
alarm
Failed
Script chat -s -v -f /etc/chatscripts/chat-connect -T Fast.t-mobile.com finished (pid 2623), status = 0x3
Connect script failed

@sandesh.neupane4

It is not a healthy way issue AT#FWSWITCH or similar commands during the dial up.
These commands reboot the module after the commands are issued.

Please remove them from the PPP chat script.

Use minicom or similar tools to issue AT commands to the module. CLICK for minicom tutorial

@saeed Thanks!
Now, I am setting data connecting over QMI interface using libqmi. It looks stable so far.
I am following this

1 Like