Vodafone pppd scripts

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Working PPP scripts for Vodafone NL)
 
(catspec)
 
(One intermediate revision by one user not shown)
Line 56: Line 56:
 
----
 
----
  
 
+
[[Category:GPRS]]
 
+
[[Category:Application Developer]]
+

Latest revision as of 22:00, 16 August 2009

These scripts work with Vodafone NL.

Contents

[edit] /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

[edit] /etc/ppp/chat-vodafone

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

[edit] /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" ""

[edit] /etc/ppp/pap-secrets

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

Personal tools

These scripts work with Vodafone NL.

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