Sample pppd config

Use the attached files for the pppd config and connect/disconnect scripts. Save them in /etc/ppp/peers and make sure the connect and disconnect scripts are executable.

Some modems require that you authenticate, although username and password don't matter. Make sure you have something like this in your /etc/ppp/pap-secrets:

openbsc * "openbsc" *

You might need to change the serial port from /dev/ttyUSB1 to the actual port or the modem.

Then just run

pppd call openbsc-test

and the modem should open a GPRS connection.

gprs-connect-chat - connect script (1.36 KB) daniel, 12/06/2013 10:37 AM

gprs-disconnect-chat - disconnect script (452 Bytes) daniel, 12/06/2013 10:38 AM

openbsc-test - pppd config (308 Bytes) daniel, 12/06/2013 10:38 AM