Hello!
i have read the existing topic about that but the solution doesn’t work on my rpi!
Here is the output of pon:
pppd options in effect:
debug # (from /etc/ppp/peers/provider)
updetach # (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 internet.t-mobile # (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 (ATI;+CSUB;+CSQ;+COPS?;+CGREG?;&D2^M)
expect (OK)
^M
^M
Quectel^M
EC25^M
Revision: EC25EFAR06A04M4G^M
^M
SubEdition: V05^M
^M
+CSQ: 99,99^M
^M
+COPS: 0^M
^M
+CGREG: 0,0^M
^M
OK
– got it
send (AT+CGDCONT=1,“IP”,“internet.t-mobile”,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 internet.t-mobile finished (pid 27986), status = 0x0
Serial connection established.
using channel 4
Using interface ppp0
Connect: ppp0 <–> /dev/ttyUSB3
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xb8e01a29> ]
rcvd [LCP ConfReq id=0x9 <asyncmap 0x0> <magic 0xf098c302> ]
No auth is possible
sent [LCP ConfRej id=0x9 ]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xb8e01a29> ]
rcvd [LCP ConfReq id=0xa <asyncmap 0x0> <magic 0xf098c302> ]
sent [LCP ConfAck id=0xa <asyncmap 0x0> <magic 0xf098c302> ]
sent [LCP EchoReq id=0x0 magic=0xb8e01a29]
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=0xb magic=0xf098c302]
rcvd [LCP EchoRep id=0x0 magic=0xf098c302 b8 e0 1a 29]
Modem hangup
Connection terminated.
I expect i get no ip.
Can anyone help?
thanks
with qmi-interface iget output:root@0-pi-noobs:/home/pi/files/quectel-CM# ./quectel-CM -s internet.t-mobile t-mobile tm pap -p 7300
[07-29_21:24:01:767] Quectel_QConnectManager_Linux_V1.5.9
[07-29_21:24:01:776] Find /sys/bus/usb/devices/1-1 idVendor=0x2c7c idProduct=0x125, bus=0x001, dev=0x002
[07-29_21:24:01:779] Auto find qmichannel = /dev/cdc-wdm0
[07-29_21:24:01:781] Auto find usbnet_adapter = wwan0
[07-29_21:24:01:783] netcard driver = qmi_wwan, driver version = 22-Aug-2005
[07-29_21:24:01:787] Modem works in QMI mode
[07-29_21:24:01:825] cdc_wdm_fd = 7
[07-29_21:24:01:950] Get clientWDS = 20
[07-29_21:24:01:981] Get clientDMS = 1
[07-29_21:24:02:013] Get clientNAS = 4
[07-29_21:24:02:045] Get clientUIM = 1
[07-29_21:24:02:077] Get clientWDA = 1
[07-29_21:24:02:110] requestBaseBandVersion EC25EFAR06A04M4G
[07-29_21:24:02:237] requestGetSIMStatus SIMStatus: SIM_READY
[07-29_21:24:02:238] requestSetProfile[1] internet.t-mobile/t-mobile/tm/64
[07-29_21:24:02:301] requestGetProfile[1] internet.t-mobile/t-mobile/tm/64
[07-29_21:24:02:333] requestRegistrationState2 MCC: 0, MNC: 0, PS: Detached, DataCap: UNKNOW
[07-29_21:24:02:365] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[07-29_21:24:02:365] ifconfig wwan0 down
[07-29_21:24:02:404] ifconfig wwan0 0.0.0.0
and the script stops.
ifconfig shows wwan0 and im connectet with wlan0.
ensar
August 7, 2020, 4:34pm
3
Hi @karlheinz.herrmann ,
karlheinz.herrmann:
send (AT+CGDCONT=1,“IP”,“internet.t-mobile ”,0,0^M)
Please use the EC25-A variant instead of EC25-E.
Hi
thanks for the quick delivery. i have now EC25-A but it’s still not running.
Here is the output:
send (AT+CGDCONT=1,“IP”,“internet.t-mobile”,0,0^M)
expect (OK)
^M
^M
ERROR
– failed
Failed (ERROR)
Script chat -s -v -f /etc/chatscripts/chat-connect -T internet.t-mobile finished (pid 937), status = 0x7
Connect script failed
I configured it with your tutorial.
greets
hi again,
i don’t know why but now it runs on but the same output as from EC25-E
send (AT+CGDCONT=1,“IP”,“internet.t-mobile”,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 internet.t-mobile finished (pid 844), status = 0x0
Serial connection established.
using channel 4
Using interface ppp0
Connect: ppp0 <–> /dev/ttyUSB3
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x76a8a7d> ]
rcvd [LCP ConfReq id=0x9 <asyncmap 0x0> <magic 0xd10d2137> ]
No auth is possible
sent [LCP ConfRej id=0x9 ]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x76a8a7d> ]
rcvd [LCP ConfReq id=0xa <asyncmap 0x0> <magic 0xd10d2137> ]
sent [LCP ConfAck id=0xa <asyncmap 0x0> <magic 0xd10d2137> ]
sent [LCP EchoReq id=0x0 magic=0x76a8a7d]
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=0xb magic=0xd10d2137]
rcvd [LCP EchoRep id=0x0 magic=0xd10d2137 07 6a 8a 7d]
Modem hangup
Connection terminated.
???
its connected to a zeropi wh
hello again,
i made a new sd with buster 32-bit kernel 5.4. Brand new installation.
I prefer qmi cause i want to stream video.
I am learning AT-commands and tested with minicom and it’s working.
I intalled the software as shown in the tutorial.
It does not run. here is the output:
kalle@0-pi-buster:/home/pi/files/quectel-CM $ sudo ./quectel-CM -s internet.t-mobile t-mobile tm -p 7300
[sudo] Passwort für kalle:
[08-16_12:12:08:558] Quectel_QConnectManager_Linux_V1.5.9
[08-16_12:12:08:563] Find /sys/bus/usb/devices/1-1 idVendor=0x2c7c idProduct=0x125, bus=0x001, dev=0x002
[08-16_12:12:08:565] Auto find qmichannel = /dev/cdc-wdm0
[08-16_12:12:08:569] Auto find usbnet_adapter = wwan0
[08-16_12:12:08:571] netcard driver = qmi_wwan, driver version = 22-Aug-2005
[08-16_12:12:08:577] Modem works in QMI mode
[08-16_12:12:08:605] /proc/1379/fd/7 -> /dev/cdc-wdm0
[08-16_12:12:08:607] /proc/1379/exe -> /usr/lib/libqmi/qmi-proxy
[08-16_12:12:10:637] cdc_wdm_fd = 7
[08-16_12:12:11:638] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout
[08-16_12:12:13:639] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout
[08-16_12:12:15:640] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout
[08-16_12:12:17:641] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout
[08-16_12:12:19:642] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout
[08-16_12:12:21:643] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout
[08-16_12:12:23:643] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout
[08-16_12:12:25:644] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout
[08-16_12:12:27:645] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout
[08-16_12:12:29:646] QmiThreadSendQMITimeout pthread_cond_timeout_np timeout
[08-16_12:12:30:646] qmi_main Failed to qmi init: 22 (Invalid argument)
thanks
ensar
August 27, 2020, 3:45pm
8
Hi @karlheinz.herrmann ,
Could you please check the response of the following AT commands?
AT+CPIN?
AT+CGREG?
AT+COPS?
AT+QCSQ
AT+CSQ
ensar
August 28, 2020, 4:07pm
10
First, check the antenna if it is attached properly.
Also can you share AT+QCFG=“nwscanmode” response?
I removed the antenna and attched it again.
It’s correct. Output:
at
OK
at+qcfg="nwscanmode"response?
+QCFG: “nwscanmode”,0
OK
at+csq
+CSQ: 99,99
OK
dima
September 4, 2020, 2:25am
13
any news?
I have the same problem