AT&T IoT Starter Kit - Zoom 4630 Modem & Raspberry Pi - Did connect, now it does not.
Zoom 4630 Modem & Raspberry Pi - Did connect, now it does not.
08.15.2019 05:02 AM
I'm using a Zoom 4630 Modem and a Raspberry Pi 3B to create a device that will sit on a network, monitor things (local devices, Internet connection, power, etc.) and send status/call for help if something were to go wrong. The goal is to eventually transistion this to a more compact solution, as this is barely taxing the Pi's power.
I set the modem up according to Zoom's website, with the provided scripts. You can find those here: http://www.zoomtel.com/techsupport/cell-modems/4630-4631/ I was able to get this to connect, but unable to get the routing correct. I believe I have that solution, but I am now no longer able to get the modem to connect to AT&T's network and give me a ppp connection. I've attached some logs to show my results.
Here is my timeline so far, with what I've done. I believe that I may have caused the issue, but don't know how to fix it.
1: Set the modem up on a Pi B (original) using Buster, and Zoom's scripts
2: Was able to get connection, no DNS, set the assembly aside for later troubleshooting.
3: Tried modem in OpenWRT device, did not work.
4: Tried SIM in CradlePoint device, did not work. Device may be defective, it's old.
5: Restarted with Pi B, SD card is corrupt.
6: Re-set up with a Pi3B running Buster, and Zoom's scripts.
7: Modem will "connect" but never give IP address.
8: Verified APN reports "m2m.com.attz" with AT+CGDCONT?
9: Tried various compression settings, etc, anything I could find online. No luck.
I'm wondering if 3 and 4 did something to the SIM, such as damage it or change the provisioning, but it appears to report correctly and the modem says it has a connection to the network.
Here's the logs I've received while connecting:
1: wvdial, using Zoom's scripts. This is the direct output of wvdial:
root@raspberrypi:/etc/ppp# wvdial --> WvDial: Internet dialer version 1.61 --> Initializing modem. --> Sending: ATZ ATZ OK --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 OK --> Modem initialized. --> Sending: ATDT*99# --> Waiting for carrier. ATDT*99# CONNECT --> Carrier detected. Waiting for prompt. --> Don't know what to do! Starting pppd and hoping for the best. --> Starting pppd at Sat Aug 10 16:49:52 2019 --> Pid of pppd: 672 --> Using interface ppp0 --> pppd: X�nX�n --> pppd: X�nX�n --> pppd: X�nX�n --> pppd: X�nX�n --> Disconnecting at Sat Aug 10 16:49:55 2019 --> The PPP daemon has died: A modem hung up the phone (exit code = 16) --> man pppd explains pppd error codes in more detail. --> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information. --> Auto Reconnect will be attempted in 5 seconds --> Initializing modem. --> Sending: ATZ
This continues forever.
2: pppd file zdial, using Zoom's scripts. This is the output of /etc/ppp/ppp-logfile:
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xd8a7ac68> <pcomp> <accomp>] rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x4e5967e2> <pcomp> <accomp>] sent [LCP EchoReq id=0x0 magic=0x4e5967e2] sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>] sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>] rcvd [LCP EchoRep id=0x0 magic=0xd8a7ac68] rcvd [LCP ProtRej id=0x2 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15] Protocol-Reject for 'Compression Control Protocol' (0x80fd) received Modem hangup Connection terminated. Script pppd (charshunt) finished (pid 655), status = 0x0
I've tried various options here, including nodeflate, noccp, novj, etc...I don't think compression is the problem, but I think the lack of a valid IP address is the symptom of the problem. I don't know why it's doing this, and I only used the modem briefly so I can't remember the outputs from the last round.
So, I'm stuck here. I don't know where to go with this, are there any troubleshooting steps or should I just purchase a new SIM card?
( I have posted this in other places, but I don't know if my question was the wrong sort for those forums. I'm hoping someone here can help. )
Re: Zoom 4630 Modem & Raspberry Pi - Did connect, now it does not.
08.16.2019 04:07 AM
It turns out the APN was wrong.
I think this may have been overwritten when I tried it in an openwrt device. It gave me the option of using what I thought was the correct APN, but it wasn't...all is good now.
Please confirm that you want to flag this content as inappropriate.
Please confirm that you want to delete this content.