From c7de15c4753bc9d7a28a08f0580eb23f4a6fd564 Mon Sep 17 00:00:00 2001 From: matthew venn Date: Thu, 4 Jul 2013 17:48:29 -0400 Subject: [PATCH] ppp: added chat scripts for giffgaff --- ppp/barry-giffgaff | 23 +++++++++++++++++++++++ ppp/barry-giffgaff.chat | 26 ++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 ppp/barry-giffgaff create mode 100644 ppp/barry-giffgaff.chat diff --git a/ppp/barry-giffgaff b/ppp/barry-giffgaff new file mode 100644 index 00000000..35f7c50e --- /dev/null +++ b/ppp/barry-giffgaff @@ -0,0 +1,23 @@ +# See the README file in the source tree for notes and documentation + +# This is based on connection data for a Rogers provider. +# Sometimes it is better to let pppd do the handshaking for us. +# In cases where barry-rogers gives the error +# "Could not determine local IP address", this setup may work. + +connect "/usr/sbin/chat -f /etc/chatscripts/barry-giffgaff.chat" +pty "/usr/sbin/pppob" + +user "giffgaff" +password "password" + +nodetach +defaultroute +noipdefault +noauth +usepeerdns + +lcp-echo-failure 0 +lcp-echo-interval 0 +debug + diff --git a/ppp/barry-giffgaff.chat b/ppp/barry-giffgaff.chat new file mode 100644 index 00000000..bc6ca311 --- /dev/null +++ b/ppp/barry-giffgaff.chat @@ -0,0 +1,26 @@ +# +# Some of these options found documented at: +# http://wiki.colar.net/tethering_with_blackberry_pearl_on_linux +# +# Others are based on the peer file in XmBlackBerry +# +# Please send all working peer files to cdfrey@foursquare.net, so we can +# build a library of peer files for different carriers. +# +ABORT ERROR +'' AT&F +OK ATZ +OK ATI +OK AT+CNUM +OK AT+CSQ +# Some Blackberries reboot on this command +#OK AT+CREG? +#OK AT+CGDCONT? +#OK AT+CGQREQ? +#OK AT+CGQMIN? +#OK AT+CGATT? +#OK AT+CGREG? +OK AT+CGDCONT=1,"IP","giffgaff.com" +OK ATDT*99# +CONNECT + -- 2.11.4.GIT