1*7c478bd9Sstevel@tonic-gate#ident	"%Z%%M%	%I%	%E% SMI"
2*7c478bd9Sstevel@tonic-gate#
3*7c478bd9Sstevel@tonic-gate# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
4*7c478bd9Sstevel@tonic-gate# Use is subject to license terms.
5*7c478bd9Sstevel@tonic-gate#
6*7c478bd9Sstevel@tonic-gate# CDDL HEADER START
7*7c478bd9Sstevel@tonic-gate#
8*7c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
9*7c478bd9Sstevel@tonic-gate# Common Development and Distribution License, Version 1.0 only
10*7c478bd9Sstevel@tonic-gate# (the "License").  You may not use this file except in compliance
11*7c478bd9Sstevel@tonic-gate# with the License.
12*7c478bd9Sstevel@tonic-gate#
13*7c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14*7c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
15*7c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
16*7c478bd9Sstevel@tonic-gate# and limitations under the License.
17*7c478bd9Sstevel@tonic-gate#
18*7c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
19*7c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20*7c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
21*7c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
22*7c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
23*7c478bd9Sstevel@tonic-gate#
24*7c478bd9Sstevel@tonic-gate# CDDL HEADER END
25*7c478bd9Sstevel@tonic-gate#
26*7c478bd9Sstevel@tonic-gate# This is an example configuration for dialing into a typical ISP from a
27*7c478bd9Sstevel@tonic-gate# single node.  To use this example, uncomment the last line of the
28*7c478bd9Sstevel@tonic-gate# pap-secrets file and rename the template files:
29*7c478bd9Sstevel@tonic-gate#
30*7c478bd9Sstevel@tonic-gate#	mv /etc/ppp/options.tmpl /etc/ppp/options
31*7c478bd9Sstevel@tonic-gate#	mv /etc/ppp/options.ttya.tmpl /etc/ppp/options.ttya
32*7c478bd9Sstevel@tonic-gate#	mv /etc/ppp/myisp-chat.tmpl /etc/ppp/myisp-chat
33*7c478bd9Sstevel@tonic-gate#	mv /etc/ppp/peers/myisp.tmpl /etc/ppp/peers/myisp
34*7c478bd9Sstevel@tonic-gate#
35*7c478bd9Sstevel@tonic-gate# and invoke with:
36*7c478bd9Sstevel@tonic-gate#
37*7c478bd9Sstevel@tonic-gate#	pppd ttya call myisp
38*7c478bd9Sstevel@tonic-gate#
39*7c478bd9Sstevel@tonic-gate# Options in this file, /etc/ppp/options, /etc/ppp//options.<tty>,
40*7c478bd9Sstevel@tonic-gate# /etc/ppp/pap-secrets, and /etc/ppp/chap-secrets are all considered
41*7c478bd9Sstevel@tonic-gate# privileged.  Those from ~/.ppprc and the command line are privileged
42*7c478bd9Sstevel@tonic-gate# if the invoker is root, and unprivileged otherwise.
43*7c478bd9Sstevel@tonic-gate#
44*7c478bd9Sstevel@tonic-gateconnect "/usr/bin/chat -f /etc/ppp/myisp-chat"	# dial into ISP
45*7c478bd9Sstevel@tonic-gateuser myname		# my account name at my ISP
46*7c478bd9Sstevel@tonic-gateremotename myisp	# name of the ISP; for pap-secrets
47*7c478bd9Sstevel@tonic-gatenoauth			# do not authenticate the ISP's identity (client)
48*7c478bd9Sstevel@tonic-gatenoipdefault		# assume no IP address; get it from ISP
49*7c478bd9Sstevel@tonic-gatedefaultroute		# install default route; ISP is Internet gateway
50*7c478bd9Sstevel@tonic-gateupdetach		# log errors and CONNECT string to invoker
51*7c478bd9Sstevel@tonic-gatenoccp			# ISP doesn't support free compression
52