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