Project

General

Profile

GPRS-testing » History » Version 3

daniel, 02/19/2016 10:48 PM

1 1 daniel
2 3 daniel
h2. Sample pppd config
3
4
5 1 daniel
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.
6
7
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:
8 3 daniel
<pre>
9 1 daniel
openbsc * "openbsc" *
10 3 daniel
</pre>
11 1 daniel
12
You might need to change the serial port from /dev/ttyUSB1 to the actual port or the modem.
13 2 daniel
14
Then just run
15 3 daniel
<pre>
16 2 daniel
pppd call openbsc-test
17 3 daniel
</pre>
18 2 daniel
and the modem should open a GPRS connection.
Add picture from clipboard (Maximum size: 48.8 MB)