xref: /titanic_50/usr/src/cmd/cmd-inet/etc/ppp/myisp-chat.tmpl (revision 2df1fe9ca32bb227b9158c67f5c00b54c20b10fd)
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 chat script for dialing into a typical ISP.  See
27# peers/myisp.tmpl for more information.
28#
29# The CONNECT string from the modem will be printed to the user's
30# terminal.
31#
32ABORT	BUSY
33ABORT	'NO CARRIER'
34REPORT	CONNECT
35TIMEOUT	10
36""	"AT&F1"
37OK	"AT&C1&D2"
38SAY	"Calling myisp\n"
39TIMEOUT	60
40OK	"ATDT1-123-555-1212"
41CONNECT \c
42