EC25-A Modem Hangup / Connection Terminated

Hello,

I seem to be having some issue with my EC25-A.

Hardware List:

  • Raspberry pi4b 8gb

  • Raspberry Pi 4G/LTE Cellular Modem Kit w/ Quectel EC25-A

  • Twilio Super Sim (Activated, Network Access Profile has all networks checked, Fleet is attached to NAP)

Followed:

  1. https://docs.sixfab.com/docs/getting-started-with-base-hat-and-quectel-ec25-eg25-module

  2. Internet Connection with Quectel EC25 using ECM Mode

    • AT+CGDCONT=1,“IP”,"super"

      • OK
    • Ifconfig: `usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
      inet 192.168.225.21 netmask 255.255.255.0 broadcast 192.168.225.255
      inet6 fe80::cef5:4bc6:a839:7e81 prefixlen 64 scopeid 0x20
      ether 12:dc:73:d1:31:c2 txqueuelen 1000 (Ethernet)
      RX packets 16 bytes 1446 (1.4 KiB)
      RX errors 0 dropped 0 overruns 0 frame 0
      TX packets 29 bytes 3749 (3.6 KiB)
      TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    • Ping: ping -I usb0 sixfab.com -c 5 PING sixfab.com (172.67.75.126) from 192.168.225.21 usb0: 56(84) bytes of data. From 192.168.225.1 (192.168.225.1) icmp_seq=1 Destination Net Unreachable From 192.168.225.1 (192.168.225.1) icmp_seq=2 Destination Net Unreachable From 192.168.225.1 (192.168.225.1) icmp_seq=3 Destination Net Unreachable From 192.168.225.1 (192.168.225.1) icmp_seq=4 Destination Net Unreachable sixfab.com ping statistics --- 5 packets transmitted, 0 received, +4 errors, 100% packet loss, time 76ms

    • AT+QCFG="usbnet"

      • +QCFG: “usbnet”,1
        OK
    • AT+CPIN?

      • +CPIN: READY
        OK
    • AT+CREG?

      • +CREG: 0,0
        OK
    • AT+CGCONTRDP

      • OK

So this didn’t seem to work even after a new installation of Raspberry OS. Then I moved on to the:

  1. Setting up the PPP connection for Sixfab Shield/HAT

    • What is your carrier APN?

      • super
    • Does your carrier need username and password?

      • n
    • Enter your communication PORT name

      • ttyUSB3
    • Do you want to activate auto-connect/reconnect service at Raspberry Pi boot up?

      • n
    • Rebooted the Pi

Ran 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 super # (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)
AT^M^M
OK
– got it

send (ATE0^M)
expect (OK)
^M
ATE0^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: 99,99^M
^M
OK
– got it

send (AT+CREG?^M)
expect (OK)
^M
^M
+CREG: 0,0^M
^M
OK
– got it

send (AT+CGREG?^M)
expect (OK)
^M
^M
+CGREG: 0,0^M
^M
OK
– got it

send (AT+COPS?^M)
expect (OK)
^M
^M
+COPS: 0^M
^M
OK
– got it

send (AT+CGDCONT=1,“IP”,“super”,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 super finished (pid 11142), status = 0x0
Serial connection established.
using channel 3
Using interface ppp0
Connect: ppp0 <–> /dev/ttyUSB3
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x9d9bf5f> ]
rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <magic 0xd1d2155d> ]
No auth is possible
sent [LCP ConfRej id=0x0 ]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x9d9bf5f> ]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd1d2155d> ]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xd1d2155d> ]
sent [LCP EchoReq id=0x0 magic=0x9d9bf5f]
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=0xd1d2155d]
rcvd [LCP EchoRep id=0x0 magic=0xd1d2155d 09 d9 bf 5f]
Modem hangup
Connection terminated.

I am at a loss, any ideas?
Any help would be greatly appreciated.
Thanks.

Hello @westley ,

The module has not signal, (+CSQ: 99,99)
Make sure the antenna is connected correctly and firmly and the module is configured for the right Radio Access Technology(RAT)
Foor instance:
For LTE:
AT+QCFG=“nwscanmode” should return 3


The module can be set to prioritize LTE network search using AT+QCFG=“nwscanseq”,00

What are the output of the following AT commands?
AT+CPIN?
AT+QGMR
AT+CPAS
AT+CFUN?
AT+COPS?
AT+QCFG=“band”
AT+QCFG=“nwscanseq”
AT+QCFG=“nwscanmode”
AT+CREG?
AT+CSQ
AT+QCSQ
AT+QNWINFO
AT+CGATT?
AT+QCFG=“usbnet”

1 Like

Following Up:
Where you able to establish the connection?

@saeed
Sorry for the delayed response.
I have confirmed that the antennas are plugged in and in the right spots.
I even moved the my test setup to a spot closer to a window.
When I type in AT+QCFG=“nwscanmode”,3 it says OK but the setting never sticks (It always returns what you see below), even after a modem reboot AT+CFUN=1,1.

When I get back from work I have a different Sim from Twilio that I can try.
In 2 days I have an LEPCIC1N502T7A6000 arriving that I was going to to try.

AT+CPIN?
+CPIN: READY
OK
AT+QGMR
EC25EFAR06A11M4G_01.001.01.001
OK
AT+CPAS
+CPAS: 0
OK
AT+CFUN?
+CFUN: 7
OK
AT+COPS?
+COPS: 0
OK
AT+QCFG="band"
+QCFG: “band”,0x260,0x80a,0x0
OK
AT+QCFG="nwscanseq"
+QCFG: “nwscanseq”,0203010405
OK

AT+QCFG="nwscanmode"
+QCFG: “nwscanmode”,0
OK
AT+CREG?
+CREG: 0,0
OK
AT+CSQ
+CSQ: 99,99
OK
AT+QCSQ
+QCSQ: “NOSERVICE”
OK
AT+QNWINFO
+QNWINFO: No Service
OK
AT+CGATT?
+CGATT: 0
OK
AT+QCFG="usbnet"
+QCFG: “usbnet”,1
OK

Hello @westley,

No worries.

You said you have EC25A, but the firmware says it is EC25E? Could you please confirm which one is it exactly? If it is EC25E, it will only work in the EMEA region.

1 Like

It clearly is a EC25A is there a way to re-flash it? If not what is my course of action as this was purchased as a kit from sixfab.

The FW file and the tools are all included in this Download Link.

For Linux use QFireHose
for Windows use QFlash (included in the above link.)

1 Like

@saeed

Tonight I will try this out and report my findings.

Thanks Again.

@saeed

That did the trick, thanks for the help!

Really appreciate it!

2 Likes