0

FONA and mobile internet troubles
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

FONA and mobile internet troubles

by docdamien on Tue Sep 29, 2020 5:34 pm

I've been playing with my new Fona 808 for the last week. After a great start where GPRS and GPS worked, when I came home today and turned the Pi on and ran the Python script to log the data (same that I used successfully yesterday), the NET LED started blinking very rapidly.

I'm able to talk with the device using sudo screen /dev/serial0 115200 and I can use AT commands to talk to the GPS with no issues.
I can also run the AT+COPS?, AT+CCID and AT+CBC and am getting OK results on those. Sending an SMS works too.

Basically everything works, except using cellular internet. After getting the config file from your server (https://raw.githubusercontent.com/adafr ... aster/fona), changing it to have the /dev/serial0 address and the right apn, when I turn on fona with sudo pon fona and then check on it with cat /var/log/syslog | grep pppd, I get the following image (no connection, basically). Also, just checked ifconfig which has a ppp0 interface and seems to have an IP. The chat log also says I'm not connected. Got any ideas? This is getting very frustrating :)

Here are the images: https://imgur.com/a/td0X14E

docdamien
 
Posts: 3
Joined: Tue Sep 29, 2020 4:03 pm

Re: FONA and mobile internet troubles

by docdamien on Tue Sep 29, 2020 6:46 pm

Ok I fixed it (not sure exactly how) but here's for posterity:
If you get a "Connect script error" when using ppp, I found it useful to use the steps described in this question on SO: https://arduino.stackexchange.com/quest ... e-web-page
I basically did all the steps of the person that asked the question, using the corrections proposed by others. My script now works again.

docdamien
 
Posts: 3
Joined: Tue Sep 29, 2020 4:03 pm

Please be positive and constructive with your questions and comments.