Home › Forums › Forums › Technical Support for BerryGPS-GSM › Connecting to 3G via ppp without Hologram SIM
Tagged: #3g connection #sim #ppp
- This topic has 1 reply, 2 voices, and was last updated 4 years, 1 month ago by PeterP.
- AuthorPosts
- November 1, 2019 at 7:37 am #11821JakeParticipant
Hello,
I tried your tutorial https://ozzmaker.com/berrygps-gsm-using-gps-and-connecting-via-3g-2g-using-ppp/ to connect to internet using a vodafone SIM card which has no username and password. Of course I changed the APN – in my case to “gprs.is”
As the ppp connection did not work (on one Raspberry Pi, nothing happened, another crashed when I started ppp with “sudo pon”), I tried to set the individual AT commands to SARA u-201 in minicom according to the tutorial https://ozzmaker.com/get-a-gps-fix-in-seconds-using-assisted-gps-on-a-raspberry-pi-with-a-berrygps-gsm/:
AT+UPSD=0,1,”gprs.is”
Which gives me: OK
AT+UPSDA=0,3
Also gives me: OK
The other GPS related commands seem to work.
However, no internet connection is available. What steps am I missing? Do you have another example until completing 3g connection with a ordinary SIM card? Or can I use the hologram Python SDK for other SIM cards aswell?
At the end, I want to run 3G and GNSS both via USB without using the i2c headers to the Pi.
I would be happy for help, because for our student project we are running out of time.
November 1, 2019 at 9:06 am #11823PeterPParticipantafter the commands above, what are the results of these two commands?
AT+UPSND=0,8 AT+UPSND=0,0
The first checked the connection status and the second shows the ip.
And then do this one to show what carrier you are connected to
AT+COPS?
Peter --OzzMaker.com --
- AuthorPosts
- You must be logged in to reply to this topic.