cvh17
Posts: 4
Joined: Mon Jul 10, 2017 10:07 pm

Pi GSM modem, PPPD, wvdial and Sakis3G

Mon Oct 02, 2017 1:48 pm

I'm having trouble getting a SIMSOM SIM800 (https://www.itead.cc/wiki/RPI_SIM800_GS ... DD-ON_V2.0) to connect to the internet with my Pi model B+. I've used my Vodafone (UK) SIM card in a mobile handset and can connect to the internet and send/receive data with it, so I'm confident it's not an issue with the SIM card or Vodafone signal strength in my location.

I note from the Sakis log file that SIM card instructs to use "" as service provider name, instead of "vodafone". Is this the problem? Can you suggest any troubleshooting techniques, please?

Due to its length, the Sakis log file is on Pastebin (see https://pastebin.com/QRiyXDyU). My version of Sakis3G is 0.2.0e.

PPPD starts but the interface never goes up, according to the log file.

Using the wvdial.conf file below, I get the following result
pi@raspberrypi:~ $ cat /etc/wvdial.conf
[Dialer Defaults]
modem=/dev/ttyAMA0
phone=*99#
apn=pp.vodafone.co.uk
username=wap
password=wap
pi@raspberrypi:~ $

pi@raspberrypi:~ $ sudo wvdial
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
A TZ
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected. Waiting for prompt.
--> Connected, but carrier signal lost! Retrying...
--> Sending: ATDT*99#
--> Waiting for carrier.
~[7f]}#@!}!}!} }2}"}&} }*} } }#}$@#}'}"}(}"U[03]~~[7f]}#@!}!}!} }2}"}&} }*} } }#}$@#}'}"}(}"U[03]~~[7f]}#@!}!}!} }2}"}&} }*} } }#}$@#}'}"}(}"U[03]~~[7f]}#@!}!}!} }2}"}&} }*} } }#}$@#}'}"}(}"U[03]~~[7f]}#@!}!}!} }2}"}&} }*} } }#}$@#}'}"}(}"U[03]~^CCaught signal 2: Attempting to exit gracefully...
The Vodafone APN settings (https://support.vodafone.co.uk/Device-G ... nually.htm) appear to be correct.

Other relevant settings:
pi@raspberrypi:~ $ cat /boot/cmdline.txt
dwc_otg.lpm_enable=0 root=PARTUUID=f36908ff-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
The file /boot/config.txt contains the following setting, but commenting out the line makes no difference (i.e. UART does not seem to be part of the issue?):
enable_uart=1

ciccio.puzzo
Posts: 1
Joined: Thu Oct 12, 2017 3:52 pm

Re: Pi GSM modem, PPPD, wvdial and Sakis3G

Thu Oct 12, 2017 4:03 pm

I had the same issue with the same board but with a Raspberry Pi 3, I solved it with this solution: https://learn.adafruit.com/fona-tetheri ... lack/setup.

Alternatively, if you need to use Wvidial, you can modify "/etc/ppp/peers/wvdial" with the parameters present in Adafruit's tutorial. In particular, you have to add the "local" parameter.

Return to “Troubleshooting”