PPPD + GPRS

Using pppd from console to access gprs network:

vi /etc/ppp/peers/gprs

user claro
password claro
defaultroute
/dev/ttyACM0
connect “/usr/sbin/chat -v -f /etc/ppp/gprsmodem.chat”
debug
kdebug 4
ipcp-no-addresses
noipdefault
noauth
novj
noccp
usepeerdns

make sure that chat is installed

vi /etc/ppp/gprsmodem.chat

‘ABORT’ ‘BUSY’
‘ABORT’ ‘ERROR’
‘ABORT’ ‘NO ANSWER’
‘ABORT’ ‘NO CARRIER’
‘ABORT’ ‘NO DIALTONE’
‘ABORT’ ‘Invalid Login’
‘ABORT’ ‘Login incorrect’
” ‘ATZ’
‘TIMEOUT’ ’10’
‘OK’ ‘ATM1L1’
‘OK’ ‘AT&f+cgdcont=1,”IP”,”claro.com.br”,””,0,0’
‘OK’ ‘ATDT*99***1#’
‘CONNECT’ ”

To connect:

pppd call gprs

  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: