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

This commit is contained in:
christos 2012-11-01 00:40:22 +00:00
parent 11180dd8d5
commit c1e423d3c5
2 changed files with 32 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,5 @@
#!/bin/sh
chat -t 100 -v '' 'ATZ' \
'OK' 'ATDT#777' \
TIMEOUT 120 \
'CONNECT' '\c'