Topic: How to debug 3g connection problems?
Can anyone offer any suggestions on how to debug a 3G modem connection problem?
I've made temporary copies of the chumby_3g_connect.pl and ppp-peer files in the /psp directory, and have been running them with 'pppd file ppp-peer1'. The /tmp/pppd_3g.log file continuously shows 'Initializing modem/Sending ATZ'. If I change the baud rate to 115200, start pppd, and then hit the reset button on the modem, some communication begins, and then the pppd service stops. Then the log file is as follows:
Initializing modem
Sending ATZ
Initializing modem
Sending ATZ
Initializing modem
Sending ATZ
Initializing modem
Sending ATZ
Initializing modem
Sending ATZ
Received: OK
Sending AT+CPIN?
Received: +CPIN: READY
Received: OK
Sending ATH
Received: OK
Sending AT+CGDCONT=1,IP,wap.cingular
Received: OK
Sending AT+CGREG?
Received: +CGREG: 0,4
Stat: +CGREG: 0,4
The strange thing is that I had it working once, (ppp0 showed up in ifconfig), and I was able to ping www.chumby.com after playing with some of the /usr/chumby scripts.
I am also able to connect the modem to a PC and manually get it to register on the AT&T network with AT commands.
Can anyone offer any suggestions on how to get more debug information? The debug option is already turned on in the ppp-peer file, but I can't find anything of value.
Side note - I was able to make a borrowed Verizon modem work with with a little work. It reports itself to the system as a 'ttyACM0' device, not ttyUSB0. Running 'mv ttyACM0 ttyUSB0' from the debug port would allow the normal 3G setup to work. Perhaps a patch could be made to a future release?
Thanks for any help.
Mark