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