Difference between revisions of "How to go to Internet through GPRS setup"
From IGEP - ISEE Wiki
Line 1: | Line 1: | ||
+ | chatscripts/apn.es.movistar | ||
+ | |||
+ | AT+CGDCONT=1,"IP","movistar.es" | ||
+ | |||
+ | chatscripts/pin.CODE | ||
+ | |||
+ | AT+CPIN=<your pin number> | ||
+ | |||
+ | chatscripts/pin.NONE | ||
+ | |||
+ | AT | ||
+ | |||
+ | chatscripts/movistar | ||
+ | |||
+ | 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 ' | ||
+ | |||
+ | pap-secrets | ||
+ | |||
+ | # Secrets for authentication using PAP | ||
+ | # client server secret IP addresses | ||
+ | movistar * movistar * | ||
+ | |||
+ | ppp_on_boot | ||
+ | |||
+ | #!/bin/sh | ||
+ | # Start modem | ||
+ | echo 0 > /sys/class/gpio/gpio145/value | ||
+ | echo 1 > /sys/class/gpio/gpio163/value | ||
+ | sleep 1 | ||
+ | echo 0 > /sys/class/gpio/gpio163/value | ||
+ | # Call ppp provider | ||
+ | pppd call movistar | ||
+ | |||
[[Category:Work in progress]] | [[Category:Work in progress]] |
Revision as of 12:13, 30 January 2013
chatscripts/apn.es.movistar
AT+CGDCONT=1,"IP","movistar.es"
chatscripts/pin.CODE
AT+CPIN=<your pin number>
chatscripts/pin.NONE
AT
chatscripts/movistar
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 '
pap-secrets
# Secrets for authentication using PAP # client server secret IP addresses movistar * movistar *
ppp_on_boot
#!/bin/sh # Start modem echo 0 > /sys/class/gpio/gpio145/value echo 1 > /sys/class/gpio/gpio163/value sleep 1 echo 0 > /sys/class/gpio/gpio163/value # Call ppp provider pppd call movistar