Changes

How to go to Internet through GPRS setup

73 bytes added, 18:34, 20 April 2016
m
Configuration example using Movistar provider (Spain)
'''Hardware:'''
* Processor: [httphttps://www.isee.biz/products/igep-processor-boards/igep-com-module -am3703 IGEP COM MODULE]* Expansion: [httphttps://www.isee.biz/products/igep-expansion-boards/product-igep-berlin IGEP BERLIN]
* Accessories: GPRS antenna and SIM card.
Following explanation was tested with this hardware but should work with other hardware that comes with a GPRS modem (like the [httphttps://www.isee.biz/products/igep-expansion-boards/product-igepv2-expansion-board IGEPv2 EXPANSION])
= Configuration example using Movistar provider (Spain) =
'''/etc/ppp/chatscripts/movistar''' file should look like this:
<pre> ABORT 'BUSY' ABORT 'NO CARRIER' ABORT 'VOICE' ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT 'DELAYED' REPORT CONNECT TIMEOUT 6 '' 'ATQ0' 'OK-AT-OK' 'ATZ' TIMEOUT 3 'OK' @/etc/ppp/chatscripts/pin 'OK\d-AT-OK' 'ATI' 'OK' 'ATZ' 'OK' 'AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0' 'OK' 'AT+IFC=0,0' 'OK' 'ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0' 'OK-AT-OK' @/etc/ppp/chatscripts/apn 'OK' 'ATD*99***1#' TIMEOUT 30 CONNECT ''</pre>
Many ISP require some time of authentication, in that case we should use PAP authentication method creating the new file
noauth
hide-password
connect "/usr/sbin/chat -v -f /etc/ppp/chatscripts/movistar"
/dev/ttyO1
115200
noccp
persist
connect "/usr/sbin/chat -v -f /etc/ppp/chatscripts/movistar"
ipcp-accept-local
ipcp-accept-remote
lcp-echo-failure 8
lcp-echo-interval 3
At this point we can start manually the pppd connection. First we need to turn on the modem with:
4,199
edits