Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/examples/pppd add configurations to connect to Sprint'...



details:   https://anonhg.NetBSD.org/src/rev/d9108385ebaa
branches:  trunk
changeset: 782381:d9108385ebaa
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Nov 01 00:40:22 2012 +0000

description:
add configurations to connect to Sprint's 3G network.

diffstat:

 share/examples/pppd/sprint3G      |  27 +++++++++++++++++++++++++++
 share/examples/pppd/sprint3G.chat |   5 +++++
 2 files changed, 32 insertions(+), 0 deletions(-)

diffs (40 lines):

diff -r d7123cbe2616 -r d9108385ebaa share/examples/pppd/sprint3G
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/share/examples/pppd/sprint3G      Thu Nov 01 00:40:22 2012 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: sprint3G,v 1.1 2012/11/01 00:40:22 christos Exp $
+# Script to connect to Sprint-3G's service.
+#
+#kdebug 10
+#debug 10
+/dev/ttyU0 460800
+holdoff 10
+#idle 600
+demand
+#active-filter-out "icmp or (udp and not udp port route) or (tcp and not tcp port ntp)"
+#active-filter-in "icmp or (udp and not udp port route) or (tcp and not tcp port ntp)"
+#pass-filter-in "tcp or (udp and not udp port route) or icmp"
+#pass-filter-out "tcp or (udp and not udp port route) or icmp"
+#netmask 0xffffff00
+ipcp-accept-local
+#lcp-echo-failure 5
+#lcp-echo-interval 5
+#mtu 296
+defaultroute
+crtscts
+modem
+lock
+connect /etc/ppp/connect/sprint3G.chat
+noauth
+user
+password
+usepeerdns
diff -r d7123cbe2616 -r d9108385ebaa share/examples/pppd/sprint3G.chat
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/share/examples/pppd/sprint3G.chat Thu Nov 01 00:40:22 2012 +0000
@@ -0,0 +1,5 @@
+#!/bin/sh
+chat -t 100 -v ''      'ATZ' \
+      'OK'             'ATDT#777' \
+      TIMEOUT          120 \
+      'CONNECT'        '\c'



Home | Main Index | Thread Index | Old Index