Yoigo pppd scripts
From Openmoko
(Difference between revisions)
(+cat) |
(-cat) |
||
(One intermediate revision by one user not shown) | |||
Line 82: | Line 82: | ||
[[Category:GPRS]] | [[Category:GPRS]] | ||
− |
Latest revision as of 09:58, 19 July 2009
These scripts work with Yoigo (Spain) using FDOM and the this script http://freeyourphone.de/portal_v1/viewtopic.php?f=21&t=295.
Contents |
[edit] /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
[edit] /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
[edit] /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" ""
[edit] /etc/ppp/pap-secrets
# Secrets for authentication using PAP # client server secret IP addresses * * "" *
[edit] /etc/ppp/chap-secrets
# Secrets for authentication using CHAP # client server secret IP addresses * * "" *