Vodafone pppd scripts

From Openmoko

Jump to: navigation, search

These scripts work with Vodafone NL.

Contents

/etc/ppp/peers/vodafone

/dev/ttySAC0
115200
connect '/usr/sbin/chat -v -f /etc/ppp/chat-vodafone'
disconnect '/usr/sbin/chat -v -f /etc/ppp/hangup-vodafone'
# mru 296
# mtu 296
novj
novjccomp
user "vodafone"
crtscts
modem -detach
noauth
noipdefault
usepeerdns
show-password
defaultroute
replacedefaultroute
ipcp-accept-local
ipcp-accept-remote
local
nodeflate
nodetach

/etc/ppp/chat-vodafone

'' ATZ OK
AT+CGDCONT=1,"IP","live.vodafone.com"
OK "ATD*99***1#"
CONNECT ''

/etc/ppp/hangup-vodafone

       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
Vodafone        *       "Vodafone"              *

Personal tools