Hello,
I am trying to use the hologram nova Cat-M1 & NB-IoT with the 3rd party sim on the raspberry Pi 3b.
First of all I have modified the default-script to support apn of my card:
# Chat script for modems using Hologram SIM card
# See hologram.io for more information
ABORT 'BUSY'
ABORT 'NO CARRIER'
ABORT 'VOICE'
ABORT 'NO DIALTONE'
ABORT 'NO DIAL TONE'
ABORT 'NO ANSWER'
ABORT 'DELAYED'
TIMEOUT 12
REPORT CONNECT
"" AT
OK ATH
OK ATZ
OK ATQ0
OK AT+CGDCONT=1,"IP","playmetric"
OK ATDT*99***1#
CONNECT ''
Then I am trying to connect with the sudo hologram network connect -vv:
sudo hologram network connect -vv
DEBUG: checking for vid_pid: ('12d1', '1001')
DEBUG: checking for vid_pid: ('12d1', '1506')
DEBUG: checking for vid_pid: ('1546', '1102')
DEBUG: checking for vid_pid: ('1546', '1104')
DEBUG: checking for vid_pid: ('05c6', '90b2')
INFO: Detected modem NovaM
DEBUG: checking port ttyUSB0
DEBUG: checking port ttyUSB1
DEBUG: [AT]
DEBUG: {AT}
DEBUG: {OK}
INFO: found working port at ttyUSB1
INFO: chatscript file: /usr/local/lib/python3.7/dist-packages/Hologram/Network/Modem/chatscripts/default-script
DEBUG: [ATE0]
DEBUG: {ATE0}
DEBUG: {OK}
DEBUG: [AT+CMEE=2]
DEBUG: {}
DEBUG: {OK}
DEBUG: [AT+CPIN?]
DEBUG: {}
DEBUG: {+CPIN: READY}
DEBUG: {}
DEBUG: {OK}
DEBUG: [AT+CPMS="ME","ME","ME"]
DEBUG: {}
DEBUG: {+CPMS: 0,23,0,23,0,23}
DEBUG: {}
DEBUG: {OK}
DEBUG: [AT+CMGF=0]
DEBUG: {}
DEBUG: {OK}
DEBUG: [AT+CNMI=2,1]
DEBUG: {}
DEBUG: {OK}
DEBUG: [AT+CEREG=2]
DEBUG: {}
DEBUG: {OK}
INFO: Instantiated a NovaM interface with device name of /dev/ttyUSB1
DEBUG: [AT+CGMM]
DEBUG: {}
DEBUG: {SARA-R410M-02B}
DEBUG: {}
DEBUG: {OK}
INFO: Connecting to cell network with timeout of 200 seconds
INFO: Checking for existing PPP sessions
INFO: Starting pppd
ERROR: Modem hangup - possibly due to an unregistered SIM
DEBUG: Killing pppd
INFO: Failed to connect to cell network
Failed to start PPP
And the syslog shows:
Jun 27 06:52:14 raspberrypi chat[3573]: AT+CGDCONT=1,"IP","playmetric"^M^M
Jun 27 06:52:14 raspberrypi chat[3573]: OK
Jun 27 06:52:14 raspberrypi chat[3573]: -- got it
Jun 27 06:52:14 raspberrypi chat[3573]: send (ATDT*99***1#^M)
Jun 27 06:52:14 raspberrypi chat[3573]: expect (CONNECT)
Jun 27 06:52:14 raspberrypi chat[3573]: ^M
Jun 27 06:52:14 raspberrypi chat[3573]: ATDT*99***1#^M^M
Jun 27 06:52:14 raspberrypi chat[3573]: CONNECT
Jun 27 06:52:14 raspberrypi chat[3573]: -- got it
Jun 27 06:52:14 raspberrypi chat[3573]: send (^M)
Jun 27 06:52:14 raspberrypi pppd[3571]: Serial connection established.
Jun 27 06:52:14 raspberrypi pppd[3571]: Using interface ppp0
Jun 27 06:52:14 raspberrypi pppd[3571]: Connect: ppp0 <--> /dev/ttyUSB1
Jun 27 06:52:14 raspberrypi dhcpcd[398]: wwan0: probing for an IPv4LL address
Jun 27 06:52:16 raspberrypi pppd[3571]: PAP authentication succeeded
Jun 27 06:52:19 raspberrypi dhcpcd[398]: wwan0: using IPv4LL address 169.254.95.169
Jun 27 06:52:19 raspberrypi dhcpcd[398]: wwan0: adding route to 169.254.0.0/16
Jun 27 06:52:19 raspberrypi avahi-daemon[351]: Joining mDNS multicast group on interface wwan0.IPv4 with address 169.254.95.169.
Jun 27 06:52:19 raspberrypi avahi-daemon[351]: New relevant interface wwan0.IPv4 for mDNS.
Jun 27 06:52:19 raspberrypi avahi-daemon[351]: Registering new address record for 169.254.95.169 on wwan0.IPv4.
Jun 27 06:52:23 raspberrypi dhcpcd[398]: wwan0: no IPv6 Routers available
Jun 27 06:52:46 raspberrypi pppd[3571]: CCP: timeout sending Config-Requests
Jun 27 06:52:46 raspberrypi pppd[3571]: IPCP: timeout sending Config-Requests
Jun 27 06:52:52 raspberrypi pppd[3571]: Connection terminated.
Jun 27 06:52:53 raspberrypi pppd[3571]: Modem hangup
Jun 27 06:52:53 raspberrypi pppd[3571]: Terminating on signal 15
Jun 27 06:52:53 raspberrypi pppd[3571]: Exit.
How could I fix it?