Simyo pppd scripts
From Openmoko
(catspec) |
|||
(One intermediate revision by one user not shown) | |||
Line 93: | Line 93: | ||
</pre> | </pre> | ||
− | + | [[Category:GPRS]] | |
− | [[Category: | + |
Latest revision as of 23:00, 16 August 2009
These scripts work for the german provider simyo which is the pre-paid brand of E-Plus.
Beware that these scripts sometimes fail, I usually need 2-4 tries to get a connection.
These scripts were taken and modified from a forum post about getting gprs to work with simyo.
Contents |
[edit] /etc/ppp/peers/simyo
/dev/ttySAC0 115200 connect '/usr/sbin/chat -v -s -f /etc/ppp/simyo-connect-chat' show-password defaultroute local ipcp-accept-local lcp-echo-failure 8 lcp-echo-interval 3 noauth noipdefault novj novjccomp replacedefaultroute usepeerdns user "simyo" disconnect '/usr/sbin/chat -v -s -f /etc/ppp/simyo-disconnect-chat'
[edit] /etc/ppp/simyo-connect-chat
TIMEOUT 10 ABORT BUSY ABORT DELAYED ABORT "NO ANSWER" ABORT "NO DIALTONE" ABORT VOICE ABORT ERROR ABORT RINGING TIMEOUT 10 '' ATZ OK ATE1 OK AT+CFUN=1 OK AT+CGDCONT=1,"IP","internet.eplus.de" OK "ATD*99***1#" CONNECT ''
[edit] /etc/ppp/simyo-disconnect-chat
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/chap-secrets
# Secrets for authentication using CHAP # client server secret IP addresses "simyo" * "simyo" *
I had to change simyo-connect-chat (the above one always ended with "alarm Failed"), so my simyo-connect-chat now looks like this:
[edit] /etc/ppp/simyo-connect-chat second edition
TIMEOUT 10 ABORT BUSY ABORT DELAYED ABORT "NO ANSWER" ABORT "NO DIALTONE" ABORT VOICE ABORT ERROR ABORT RINGING TIMEOUT 30 '' ATZ OK ATE1 OK AT+CFUN=1 ERROR AT+CPIN? OK AT+COPS? OK AT+CGDCONT=1,"IP","internet.eplus.de" OK 'ATDT*99***1#' CONNECT ''