Project

General

Profile

Actions

GPRS-testing » History » Revision 2

« Previous | Revision 2/3 (diff) | Next »
daniel, 02/19/2016 10:47 PM


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.

Files (3)
gprs-connect-chat gprs-connect-chat 1.36 KB connect script daniel, 12/06/2013 10:37 AM
gprs-disconnect-chat gprs-disconnect-chat 452 Bytes disconnect script daniel, 12/06/2013 10:38 AM
openbsc-test openbsc-test 308 Bytes pppd config daniel, 12/06/2013 10:38 AM

Updated by daniel about 8 years ago · 2 revisions

Add picture from clipboard (Maximum size: 48.8 MB)