add configurations to connect to Sprint's 3G network.
This commit is contained in:
parent
11180dd8d5
commit
c1e423d3c5
27
share/examples/pppd/sprint3G
Normal file
27
share/examples/pppd/sprint3G
Normal 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
|
5
share/examples/pppd/sprint3G.chat
Executable file
5
share/examples/pppd/sprint3G.chat
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
chat -t 100 -v '' 'ATZ' \
|
||||
'OK' 'ATDT#777' \
|
||||
TIMEOUT 120 \
|
||||
'CONNECT' '\c'
|
Loading…
Reference in New Issue
Block a user