View source for Yoigo pppd scripts

From Openmoko

Jump to: navigation, search

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Administrators.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page:

Return to Yoigo pppd scripts.

Personal tools

These scripts work with Yoigo (Spain) using FDOM and the this script http://freeyourphone.de/portal_v1/viewtopic.php?f=21&t=295.

/etc/ppp/peers/gprs

connect /etc/ppp/gprs-connect-chat
disconnect /etc/ppp/gprs-disconnect-chat
crtscts
lock
#hide-password
defaultroute
usepeerdns
ipcp-accept-local
noauth
noipdefault
novj
novjccomp
replacedefaultroute
lcp-echo-interval 3
lcp-echo-failure 12
#user ""
mtu 472
persist
holdoff 15

/etc/ppp/gprs-connect-chat

#!/bin/sh
exec chat -v\
        ABORT BUSY\
        ABORT DELAYED\
        ABORT "NO ANSWER"\
        ABORT "NO DIALTONE"\
        ABORT VOICE\
        ABORT ERROR\
        ABORT RINGING\
        TIMEOUT 20\
        "" +++\
        OK ATZ\
        OK ATE1\
        OK AT+CFUN=1\
        OK AT+COPS\
        OK AT+CGDCONT=1,\"IP\",\"internet\"\
        OK ATD*99#\
        CONNECT /n/d

/etc/ppp/gprs-disconnect-chat

#!/bin/sh -e
/usr/sbin/chat -v\
        ABORT OK\
        ABORT BUSY\
        ABORT DELAYED\
        ABORT "NO ANSWER"\
        ABORT "NO CARRIER"\
        ABORT "NO DIALTONE"\
        ABORT VOICE\
        ABORT ERROR\
        ABORT RINGING\
        TIMEOUT 12\
        "" \\k\\k\\k\\d+++ATH\
        "NO CARRIER-AT-OK" ""

/etc/ppp/pap-secrets

# Secrets for authentication using PAP
# client        server  secret                  IP addresses
*               *       ""                      *

/etc/ppp/chap-secrets

# Secrets for authentication using CHAP
# client        server  secret                  IP addresses
*               *       ""                      *