Hey all,
Recently received the cellular hat and i’m having some issues getting up and running. I’m using an AT&T SIM, and have the following output from pon
below. I also tried debugging in minicom, and i’m able to search for networks, but unable to connect due to +CME ERROR: 30 (which would indicate that there’s no network service??). I tested the SIM in a phone right next to the device and was able to receive several bars of signal. The wwan0 interface appears to have a 169.254.x.x IP, indicating that indeed the device cannot see the network.
Any suggestions on how to further debug this? I’m using the PPP setup from the sixfab docs.
Thanks in advance for any suggestions
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 NXTGENPHONE # (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+QCFG="band",F,400A0E189F,A0E189F,1^M)
expect (OK)
^M
^M
OK
-- got it
send (AT+QCFG="nwscanseq",02,1^M)
expect (OK)
^M
^M
OK
-- got it
send (AT+QCFG="nwscanmode",3,1^M)
expect (OK)
^M
^M
OK
-- got it
send (AT+QCFG="iotopmode",0,1^M)
expect (OK)
^M
^M
OK
-- got it
send (ATI;+CSUB;+CSQ;+COPS?;+CGREG?;&D2^M)
expect (OK)
^M
^M
Quectel^M
BG96^M
Revision: BG96MAR02A07M1G^M
^M
SubEdition: V08^M
^M
+CSQ: 31,99^M
^M
+COPS: 0^M
^M
+CGREG: 0,4^M
^M
OK
-- got it
send (AT+CGDCONT=1,"IP","NXTGENPHONE",,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 NXTGENPHONE finished (pid 805), status = 0x0
Serial connection established.
using channel 5
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB3
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x79568da0> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0xc <asyncmap 0x0> <auth chap MD5> <magic 0xd0874bed> <pcomp> <accomp>]
No auth is possible
sent [LCP ConfRej id=0xc <auth chap MD5>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x79568da0> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0xd <asyncmap 0x0> <magic 0xd0874bed> <pcomp> <accomp>]
sent [LCP ConfAck id=0xd <asyncmap 0x0> <magic 0xd0874bed> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x79568da0]
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=0xe magic=0xd0874bed]
rcvd [LCP EchoRep id=0x0 magic=0xd0874bed 79 56 8d a0]
Modem hangup
Connection terminated.