I was having consistent issues with connecting the Nova SARA-R410M. The debugging output was as follows:
INFO: Detected modem NovaM INFO: found working port at ttyUSB1 INFO: chatscript file: /usr/local/lib/python2.7/dist-packages/Hologram/Network/Modem/chatscripts/default-script INFO: Instantiated a NovaM interface with device name of /dev/ttyUSB1 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 INFO: Failed to connect to cell network Failed to start PPP
After plugging away at this, I was able to avoid this issue by doing the following commands in order:
sudo hologram modem radio-off sudo hologram modem radio-on sudo hologram network connect
I’m not sure why this increases the reliability of the
hologram network connect function, but it does. Hope this helps figure out the bug. I’m guessing the antenna or the signal may have a residual connection, even after the PPP session is closed. Completely turning off the antenna is the only way I’ve been able to get this working consistently and reliably.
I’m using a Beaglebone Black Wireless with Debian 9.