Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to go to Internet through GPRS setup

1,446 bytes added, 15:42, 30 January 2013
no edit summary
__TOC__ = Overview = This article explains how to set up the modem available on some IGEP expansion boards using pppd. = Prerequisites and tested hardware = '''Software:''' * The [[IGEP firmware Yocto|IGEP Firmware Yocto]] (at least version 1.2.1-2) in a SD-card or flash. '''Hardware:''' * Processor: [http://www.isee.biz/products/processor-boards/igep-com-module IGEP COM MODULE]* Expansion: [http://www.isee.biz/products/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 [http://www.isee.biz/products/expansion-boards/product-igepv2-expansion-board IGEPv2 EXPANSION]) = Configuration example using Movistar provider (Spain) = '''/etc/ppp/chatscripts/apn.es.movistar''' file should look like this:
AT+CGDCONT=1,"IP","movistar.es"
'''/etc/ppp/chatscripts/pin.CODE''' file should look like this:
AT+CPIN=<your pin number>
'''/etc/ppp/chatscripts/pin.NONE''' file should look like this:
AT
'''/etc/ppp/chatscripts/movistar''' file should look like this:
ABORT 'BUSY'
CONNECT '
'''/etc/ppp/pap-secrets''' file should look like this:
# Secrets for authentication using PAP
movistar * movistar *
'''/etc/ppp/peers/movistar''' file should look like this:   noauth hide-password connect "/usr/sbin/chat -v -f /etc/ppp/chatscripts/movistar" /dev/ttyO1 115200 nocrtscts defaultroute noipdefault user movistar usepeerdns nodeflate novj noccp persist '''/etc/ppp/ppp_on_boot''' file should look like this:
#!/bin/sh
# Start modemfor IGEP BERLIN (BASE0010)
echo 0 > /sys/class/gpio/gpio145/value
echo 1 > /sys/class/gpio/gpio163/value
# Call ppp provider
pppd call movistar
 
= Troubleshooting =
 
Debug information can found in
 
tail -f /var/log/messages
[[Category:Work in progress]]
0
edits