From 693ba9532ef30e563a41c067c7dfdca3f68d04ff Mon Sep 17 00:00:00 2001 From: Jason Thomas Date: Tue, 18 Jan 2011 21:27:59 -0500 Subject: [PATCH] ppp: new chatscripts for Optus and Vodafone AU --- ppp/barry-optus-au | 73 ++++++++++++++++++++++++++++++++++++++++++++++ ppp/barry-optus-au.chat | 33 +++++++++++++++++++++ ppp/barry-vodafone-au | 73 ++++++++++++++++++++++++++++++++++++++++++++++ ppp/barry-vodafone-au.chat | 33 +++++++++++++++++++++ 4 files changed, 212 insertions(+) create mode 100644 ppp/barry-optus-au create mode 100644 ppp/barry-optus-au.chat create mode 100644 ppp/barry-vodafone-au create mode 100644 ppp/barry-vodafone-au.chat diff --git a/ppp/barry-optus-au b/ppp/barry-optus-au new file mode 100644 index 00000000..2c8acaff --- /dev/null +++ b/ppp/barry-optus-au @@ -0,0 +1,73 @@ +# +# 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. +# + +connect "/usr/sbin/chat -f /etc/chatscripts/barry-optus.chat" + +# +# authentication options - no need for ISP to authenticate to us, but +# we may need a login here: user/password/name +# +noauth +user "" +password "" + +# +# handle the default route and DNS +# +#nodefaultroute +defaultroute +usepeerdns + +# +# disable unsupported options +# +noipdefault +updetach +nodeflate +nobsdcomp +noaccomp +#default-asyncmap +nocrtscts +nopcomp +nomagic + +# This is disabled by default for a Barry config, but this +# has caused connection issues in the past. If you are unable +# to get an ip with your provider, try commenting this out. +# See: +# http://www.mail-archive.com/barry-devel@lists.sourceforge.net/msg01871.html +#novj + +passive + +nomultilink +ipcp-restart 7 +ipcp-accept-local +ipcp-accept-remote +ipcp-max-configure 30 +lcp-echo-interval 0 +lcp-echo-failure 999 + +# Limit size of packets +mtu 1492 + +# +# Verbosity +# +#debug +#debug debug debug + +# +# call pppob for the USB link +# +pty "/usr/sbin/pppob" + +# debug +#pty "/usr/sbin/pppob -l /tmp/pppob.log -v" diff --git a/ppp/barry-optus-au.chat b/ppp/barry-optus-au.chat new file mode 100644 index 00000000..43da0fc9 --- /dev/null +++ b/ppp/barry-optus-au.chat @@ -0,0 +1,33 @@ +# +# 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","internet.com" +OK AT+CGDCONT=1,"IP","internet" + +OK ATE0V1 + +OK AT +OK ATS0=0 + +OK ATDT*99# +CONNECT + diff --git a/ppp/barry-vodafone-au b/ppp/barry-vodafone-au new file mode 100644 index 00000000..9a96f7de --- /dev/null +++ b/ppp/barry-vodafone-au @@ -0,0 +1,73 @@ +# +# 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. +# + +connect "/usr/sbin/chat -f /etc/chatscripts/barry-vodafone-au.chat" + +# +# authentication options - no need for ISP to authenticate to us, but +# we may need a login here: user/password/name +# +noauth +user "" +password "" + +# +# handle the default route and DNS +# +#nodefaultroute +defaultroute +usepeerdns + +# +# disable unsupported options +# +noipdefault +updetach +nodeflate +nobsdcomp +noaccomp +#default-asyncmap +nocrtscts +nopcomp +nomagic + +# This is disabled by default for a Barry config, but this +# has caused connection issues in the past. If you are unable +# to get an ip with your provider, try commenting this out. +# See: +# http://www.mail-archive.com/barry-devel@lists.sourceforge.net/msg01871.html +#novj + +passive + +nomultilink +ipcp-restart 7 +ipcp-accept-local +ipcp-accept-remote +ipcp-max-configure 30 +lcp-echo-interval 0 +lcp-echo-failure 999 + +# Limit size of packets +mtu 1492 + +# +# Verbosity +# +#debug +#debug debug debug + +# +# call pppob for the USB link +# +pty "/usr/sbin/pppob" + +# debug +#pty "/usr/sbin/pppob -l /tmp/pppob.log -v" diff --git a/ppp/barry-vodafone-au.chat b/ppp/barry-vodafone-au.chat new file mode 100644 index 00000000..3c582c8a --- /dev/null +++ b/ppp/barry-vodafone-au.chat @@ -0,0 +1,33 @@ +# +# 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","internet.com" +OK AT+CGDCONT=1,"IP","live.vodafone.com" + +OK ATE0V1 + +OK AT +OK ATS0=0 + +OK ATDT*99# +CONNECT + -- 2.11.4.GIT