xref: /illumos-gate/usr/src/cmd/bnu/Dialers (revision 7c478bd9)
1*7c478bd9Sstevel@tonic-gate#
2*7c478bd9Sstevel@tonic-gate# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3*7c478bd9Sstevel@tonic-gate# Use is subject to license terms.
4*7c478bd9Sstevel@tonic-gate#
5*7c478bd9Sstevel@tonic-gate# CDDL HEADER START
6*7c478bd9Sstevel@tonic-gate#
7*7c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
8*7c478bd9Sstevel@tonic-gate# Common Development and Distribution License, Version 1.0 only
9*7c478bd9Sstevel@tonic-gate# (the "License").  You may not use this file except in compliance
10*7c478bd9Sstevel@tonic-gate# with the License.
11*7c478bd9Sstevel@tonic-gate#
12*7c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13*7c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
14*7c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
15*7c478bd9Sstevel@tonic-gate# and limitations under the License.
16*7c478bd9Sstevel@tonic-gate#
17*7c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
18*7c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19*7c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
20*7c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
21*7c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
22*7c478bd9Sstevel@tonic-gate#
23*7c478bd9Sstevel@tonic-gate# CDDL HEADER END
24*7c478bd9Sstevel@tonic-gate#
25*7c478bd9Sstevel@tonic-gate#ident	"%Z%%M%	%I%	%E% SMI"
26*7c478bd9Sstevel@tonic-gate#
27*7c478bd9Sstevel@tonic-gate# Each caller type that appears in the Devices file (5th field)
28*7c478bd9Sstevel@tonic-gate# should appear in this file except for the built in callers.
29*7c478bd9Sstevel@tonic-gate# Each line consists of three parts:
30*7c478bd9Sstevel@tonic-gate# - the name of the caller
31*7c478bd9Sstevel@tonic-gate# - the translation table for the phone number to translate from
32*7c478bd9Sstevel@tonic-gate#   the 801 codes (=-) to the code for the particular device
33*7c478bd9Sstevel@tonic-gate# - a chat script (same format and meaning as the login scripts
34*7c478bd9Sstevel@tonic-gate#   that appear in the Systems file.
35*7c478bd9Sstevel@tonic-gate#
36*7c478bd9Sstevel@tonic-gate# Meaning of some of the escape characters:
37*7c478bd9Sstevel@tonic-gate# \p - pause (approximately 1/4-1/2 second delay)
38*7c478bd9Sstevel@tonic-gate# \d - delay (2 seconds)
39*7c478bd9Sstevel@tonic-gate# \D - phone number/token
40*7c478bd9Sstevel@tonic-gate# \T - phone number with Dialcodes and character translation
41*7c478bd9Sstevel@tonic-gate# \N - null byte
42*7c478bd9Sstevel@tonic-gate# \K - insert a BREAK
43*7c478bd9Sstevel@tonic-gate# \E - turn on echo checking (for slow devices)
44*7c478bd9Sstevel@tonic-gate# \e - turn off echo checking
45*7c478bd9Sstevel@tonic-gate# \r - carriage return
46*7c478bd9Sstevel@tonic-gate# \c - no new-line
47*7c478bd9Sstevel@tonic-gate# \n - send new-line
48*7c478bd9Sstevel@tonic-gate# \nnn - send octal number
49*7c478bd9Sstevel@tonic-gate#
50*7c478bd9Sstevel@tonic-gate# See the Administration Documentation for more details.
51*7c478bd9Sstevel@tonic-gate#
52*7c478bd9Sstevel@tonic-gate# NOTE: blank lines and lines that begin with a <space>, <tab>, or # are ignored
53*7c478bd9Sstevel@tonic-gate
54*7c478bd9Sstevel@tonic-gatepenril	=W-P	"" \d > Q\c : \d- > s\p9\c )-W\p\r\ds\p9\c-) y\c : \E\TP > 9\c OK
55*7c478bd9Sstevel@tonic-gateventel	=&-%	"" \r\p\r\c $ <K\T%%\r>\c ONLINE!
56*7c478bd9Sstevel@tonic-gatevadic	=K-K	"" \005\p *-\005\p-*\005\p-* D\p BER? \E\T\e \r\c LINE
57*7c478bd9Sstevel@tonic-gatedevelcon ""	"" \pr\ps\c est:\007 \E\D\e \n\007
58*7c478bd9Sstevel@tonic-gatemicom	""	"" \s\c NAME? \D\r\c GO
59*7c478bd9Sstevel@tonic-gatedirect
60*7c478bd9Sstevel@tonic-gate##########
61*7c478bd9Sstevel@tonic-gate#	The following entry is for use with direct connections
62*7c478bd9Sstevel@tonic-gate#	using ttymon with the -b and -r options on both ends,
63*7c478bd9Sstevel@tonic-gate#	or the old uugetty with the -r option.
64*7c478bd9Sstevel@tonic-gate##########
65*7c478bd9Sstevel@tonic-gateuudirect ""	"" \r\d in:--in:
66*7c478bd9Sstevel@tonic-gate
67*7c478bd9Sstevel@tonic-gate#  Rixon Intelligent Modem -- modem should be set up in the Rixon
68*7c478bd9Sstevel@tonic-gate#  mode and not the Hayes mode.
69*7c478bd9Sstevel@tonic-gate#
70*7c478bd9Sstevel@tonic-gaterixon	=&-%	"" \r\r\d $ s9\c )-W\r\ds9\c-) s\c : \T\r\c $ 9\c LINE
71*7c478bd9Sstevel@tonic-gate
72*7c478bd9Sstevel@tonic-gate#   Hayes Smartmodem -- modem should be set with the configuration
73*7c478bd9Sstevel@tonic-gate#   switches as follows:
74*7c478bd9Sstevel@tonic-gate#
75*7c478bd9Sstevel@tonic-gate#       S1 - UP		S2 - UP		S3 - DOWN	S4 - UP
76*7c478bd9Sstevel@tonic-gate#       S5 - UP		S6 - DOWN	S7 - ?		S8 - DOWN
77*7c478bd9Sstevel@tonic-gate#
78*7c478bd9Sstevel@tonic-gatehayes	=,-,	"" \dA\pTE1V1X1Q0S2=255S12=255\r\c OK\r \EATDT\T\r\c CONNECT
79*7c478bd9Sstevel@tonic-gate
80*7c478bd9Sstevel@tonic-gate#   USR Courier V.32 and Sportster
81*7c478bd9Sstevel@tonic-gate#   Set the switches as follows:
82*7c478bd9Sstevel@tonic-gate#
83*7c478bd9Sstevel@tonic-gate#   1 2 3 4 5 6 7 8 9 10
84*7c478bd9Sstevel@tonic-gate#   U U D U U U D D D U		Courier
85*7c478bd9Sstevel@tonic-gate#   U U D U U U U D		Sportster
86*7c478bd9Sstevel@tonic-gate#
87*7c478bd9Sstevel@tonic-gateusrv32-ec =,-,	"" \dA\pTE1V1X1Q0S2=255S12=255&A0&H1&M5&B2\r\c OK\r \EATDT\T\r\c CONNECT STTY=crtscts,crtsxoff
88*7c478bd9Sstevel@tonic-gateusrv32-nec =,-,	"" \dA\pTE1V1X1Q0S2=255S12=255&A0&H1&M0&B0\r\c OK\r \EATDT\T\r\c CONNECT STTY=crtscts,crtsxoff
89*7c478bd9Sstevel@tonic-gate
90*7c478bd9Sstevel@tonic-gate#   Telebit TrailBlazer
91*7c478bd9Sstevel@tonic-gate#
92*7c478bd9Sstevel@tonic-gatetb1200	=W-,	"" \dA\pA\pA\pTE1V1X1Q0S2=255S12=255S50=2\r\c OK\r \EATDT\T\r\c CONNECT\s1200
93*7c478bd9Sstevel@tonic-gatetb2400	=W-,	"" \dA\pA\pA\pTE1V1X1Q0S2=255S12=255S50=3\r\c OK\r \EATDT\T\r\c CONNECT\s2400
94*7c478bd9Sstevel@tonic-gatetbfast	=W-,	"" \dA\pA\pA\pTE1V1X1Q0S2=255S12=255S50=255\r\c OK\r \EATDT\T\r\c CONNECT\sFAST
95*7c478bd9Sstevel@tonic-gate
96*7c478bd9Sstevel@tonic-gate#   Telebit T1600
97*7c478bd9Sstevel@tonic-gate#
98*7c478bd9Sstevel@tonic-gatetb9600-ec =W-,	"" \dA\pA\pA\pTE1V1X1Q0S2=255S12=255S50=6\r\c OK\r \EATDT\T\r\c CONNECT\s9600 STTY=crtscts,crtsxoff
99*7c478bd9Sstevel@tonic-gatetb9600-nec =W-,	"" \dA\pA\pA\pTE1V1X1Q0S2=255S12=255S50=6S180=0\r\c OK\r \EATDT\T\r\c CONNECT\s9600 STTY=crtscts,crtsxoff
100*7c478bd9Sstevel@tonic-gate
101*7c478bd9Sstevel@tonic-gate##########
102*7c478bd9Sstevel@tonic-gate#   AT&T Programmable 300/1200 Modem Model 4000
103*7c478bd9Sstevel@tonic-gate#
104*7c478bd9Sstevel@tonic-gate#	Commands:	Explanation:
105*7c478bd9Sstevel@tonic-gate#	------------	---------------------------------------------------
106*7c478bd9Sstevel@tonic-gate#	=,-,		Use comma for secondary dial tone & for pause
107*7c478bd9Sstevel@tonic-gate#	""		expect nothing
108*7c478bd9Sstevel@tonic-gate#	ATZ\r\p\p	enter command mode, reset modem,
109*7c478bd9Sstevel@tonic-gate#	OK\r		expect modem to reply OK
110*7c478bd9Sstevel@tonic-gate#	ATZ\r		enter command mode, reset modem
111*7c478bd9Sstevel@tonic-gate#	OK\r		expect modem to reply OK
112*7c478bd9Sstevel@tonic-gate#	\E		turn on echo check mode
113*7c478bd9Sstevel@tonic-gate#	ATDT\T\r\c	enter command mode, tone dial the number
114*7c478bd9Sstevel@tonic-gate#			(substitute 'P' for first 'T' for pulse dialing)
115*7c478bd9Sstevel@tonic-gate#	\T\r\c		phone number to dial
116*7c478bd9Sstevel@tonic-gate#	CONNECT		expect "CONNECT" from modem when connected
117*7c478bd9Sstevel@tonic-gate##########
118*7c478bd9Sstevel@tonic-gateatt4000 =,-, ""  ATZ\r\p\p  OK\r ATZ\r OK\r\c \EATDT\T\r\c CONNECT
119*7c478bd9Sstevel@tonic-gate
120*7c478bd9Sstevel@tonic-gate##########
121*7c478bd9Sstevel@tonic-gate#   AT&T Model 4024 Modem
122*7c478bd9Sstevel@tonic-gate#
123*7c478bd9Sstevel@tonic-gate#	For normal operation, dip switch 4 should be CLOSED.
124*7c478bd9Sstevel@tonic-gate#	This disables ENTER INTERACTIVE WITH <CR>.
125*7c478bd9Sstevel@tonic-gate#
126*7c478bd9Sstevel@tonic-gate#	Commands:	Explanation:
127*7c478bd9Sstevel@tonic-gate#	------------	---------------------------------------------------
128*7c478bd9Sstevel@tonic-gate#	=,-,		Use comma for secondary dial tone & for pause
129*7c478bd9Sstevel@tonic-gate#	""		expect nothing
130*7c478bd9Sstevel@tonic-gate#	atzod,		enter command mode, reset modem, set options to default
131*7c478bd9Sstevel@tonic-gate#	o12=y,		set option 12 to 'y' (transparent data mode)
132*7c478bd9Sstevel@tonic-gate#	o4=n\r\c	set option 4 to 'n' (don't disconnect on rcvd spaces)
133*7c478bd9Sstevel@tonic-gate#	\006		expect ACK from modem
134*7c478bd9Sstevel@tonic-gate#	atT\T\r\c	enter command mode, tone dial the number
135*7c478bd9Sstevel@tonic-gate#	ed		expect "ed" (actually "Answered")
136*7c478bd9Sstevel@tonic-gate#
137*7c478bd9Sstevel@tonic-gate#			Once transparent data mode is enabled, you
138*7c478bd9Sstevel@tonic-gate#			cannot enter the interactive mode from the data mode.
139*7c478bd9Sstevel@tonic-gate##########
140*7c478bd9Sstevel@tonic-gateatt4024 =+-, "" atzod,o12=y,o4=n\r\c \006 atT\T\r\c ed
141*7c478bd9Sstevel@tonic-gate
142*7c478bd9Sstevel@tonic-gate##########
143*7c478bd9Sstevel@tonic-gate#  AT&T DATAPHONE II 2212C Modem
144*7c478bd9Sstevel@tonic-gate#
145*7c478bd9Sstevel@tonic-gate#	For normal operation, dip switch 4 should be CLOSED.
146*7c478bd9Sstevel@tonic-gate#	This disables ENTER INTERACTIVE WITH <CR>.
147*7c478bd9Sstevel@tonic-gate#
148*7c478bd9Sstevel@tonic-gate#	Commands:	Explanation:
149*7c478bd9Sstevel@tonic-gate#	------------	---------------------------------------------------
150*7c478bd9Sstevel@tonic-gate#	=+-,		'+' for secondary dial tone, ',' for pause
151*7c478bd9Sstevel@tonic-gate#	""		expect nothing
152*7c478bd9Sstevel@tonic-gate#	atzod,		enter command mode, reset modem, set options to default
153*7c478bd9Sstevel@tonic-gate#	o12=y,		set option 12 to 'y' (transparent data mode)
154*7c478bd9Sstevel@tonic-gate#	o4=n,		set option 4 to 'n' (don't disconnect on rcvd spaces)
155*7c478bd9Sstevel@tonic-gate#	\006		Wait for ACK
156*7c478bd9Sstevel@tonic-gate#	atT\T\r\c	enter command mode, tone dial the number
157*7c478bd9Sstevel@tonic-gate#	ed		expect "ed" (actually "Answered")
158*7c478bd9Sstevel@tonic-gate#
159*7c478bd9Sstevel@tonic-gate#			Once transparent data mode is enabled, you
160*7c478bd9Sstevel@tonic-gate#			cannot enter the interactive mode from the data mode.
161*7c478bd9Sstevel@tonic-gate##########
162*7c478bd9Sstevel@tonic-gateatt2212c =+-, "" atzod,o12=y,o4=n\r\c \006 atT\T\r\c ed
163*7c478bd9Sstevel@tonic-gateatt2212C =+-, "" atzod,o12=y,o4=n\r\c \006 atT\T\r\c ed
164*7c478bd9Sstevel@tonic-gate
165*7c478bd9Sstevel@tonic-gate##########
166*7c478bd9Sstevel@tonic-gate#  AT&T DATAPHONE II 2224B Modem
167*7c478bd9Sstevel@tonic-gate#
168*7c478bd9Sstevel@tonic-gate#	For normal operation dip switch S1 switch 2 should be OPEN.
169*7c478bd9Sstevel@tonic-gate#	This disables ENTER INTERACTIVE WITH <CR>.
170*7c478bd9Sstevel@tonic-gate#
171*7c478bd9Sstevel@tonic-gate#	Commands:	Explanation:
172*7c478bd9Sstevel@tonic-gate#	------------	---------------------------------------------------
173*7c478bd9Sstevel@tonic-gate#	=+-,		'+' for secondary dial tone, ',' for pause
174*7c478bd9Sstevel@tonic-gate#	""		expect nothing
175*7c478bd9Sstevel@tonic-gate#	atT\T\r\c	enter command mode, tone dial the number
176*7c478bd9Sstevel@tonic-gate#			(substitute 'P' for first 'T' for pulse dialing)
177*7c478bd9Sstevel@tonic-gate#	ed		expect "ed" (actually "Answered")
178*7c478bd9Sstevel@tonic-gate##########
179*7c478bd9Sstevel@tonic-gateatt2224b =+-, "" atT\T\r\c ed
180*7c478bd9Sstevel@tonic-gateatt2224B =+-, "" atT\T\r\c ed
181*7c478bd9Sstevel@tonic-gate
182*7c478bd9Sstevel@tonic-gate##########
183*7c478bd9Sstevel@tonic-gate#  AT&T DATAPHONE II 2224CEO Modem
184*7c478bd9Sstevel@tonic-gate#
185*7c478bd9Sstevel@tonic-gate#	The 2224CEO Modem supports MNP error control protocol.
186*7c478bd9Sstevel@tonic-gate#	This entry will use MNP if it is also available on the
187*7c478bd9Sstevel@tonic-gate#	remote end.
188*7c478bd9Sstevel@tonic-gate#
189*7c478bd9Sstevel@tonic-gate#	For normal operation, dip switch S1 switch 3 should be UP.
190*7c478bd9Sstevel@tonic-gate#	This disables ENTER INTERACTIVE WITH <CR>.
191*7c478bd9Sstevel@tonic-gate#
192*7c478bd9Sstevel@tonic-gate#	When used with an EPORTS board on a 3B2, it is recommended that
193*7c478bd9Sstevel@tonic-gate#	hardware flow control be enabled on the board and that the
194*7c478bd9Sstevel@tonic-gate#	corresponding second set of entries below be used.
195*7c478bd9Sstevel@tonic-gate#	(i.e. change \\q0 to \\q3 below - use CTS/RTS flow control)
196*7c478bd9Sstevel@tonic-gate#
197*7c478bd9Sstevel@tonic-gate#	Commands:	Explanation:
198*7c478bd9Sstevel@tonic-gate#	------------	---------------------------------------------------
199*7c478bd9Sstevel@tonic-gate#	=+-,		'+' for secondary dial tone, ',' for pause
200*7c478bd9Sstevel@tonic-gate#	""		expect nothing
201*7c478bd9Sstevel@tonic-gate#	atzod,		enter command mode, reset options to default values,
202*7c478bd9Sstevel@tonic-gate#	o12=y,		set option 12 to 'y' (transparent data mode)
203*7c478bd9Sstevel@tonic-gate#	o4=n,		set option 4 to 'n' (don't disconnect on rcvd spaces)
204*7c478bd9Sstevel@tonic-gate#	\\n3		select normal operating mode
205*7c478bd9Sstevel@tonic-gate#	\\c1		modem does not buffer data
206*7c478bd9Sstevel@tonic-gate#	\\j0		do not autobaud modem serial port
207*7c478bd9Sstevel@tonic-gate#	\\q0		no flow control
208*7c478bd9Sstevel@tonic-gate#	\\g0\r\c	no modem port flow control
209*7c478bd9Sstevel@tonic-gate#	\006		Wait for ACK
210*7c478bd9Sstevel@tonic-gate#	atT\T\r\c	enter command mode, tone dial the number
211*7c478bd9Sstevel@tonic-gate#			(substitute 'P' for first 'T' for pulse dialing)
212*7c478bd9Sstevel@tonic-gate#	Connected	expect "ed" (actually "Connected")
213*7c478bd9Sstevel@tonic-gate#
214*7c478bd9Sstevel@tonic-gate#			Once transparent data mode is enabled, you
215*7c478bd9Sstevel@tonic-gate#			cannot enter the interactive mode from the data mode.
216*7c478bd9Sstevel@tonic-gate##########
217*7c478bd9Sstevel@tonic-gateatt2224ceo =+-, "" atzod,o12=y,o4=n,\\n3\\c1\\j0\\q0\\g0\r\c \006 atT\T\r\c Connected
218*7c478bd9Sstevel@tonic-gateatt2224CEO =+-, "" atzod,o12=y,o4=n,\\n3\\c1\\j0\\q0\\g0\r\c \006 atT\T\r\c Connected
219*7c478bd9Sstevel@tonic-gate#att2224ceo =+-, "" atzod,o12=y,o4=n,\\n3\\c1\\j0\\q3\\g0\r\c \006 atT\T\r\c Connected
220*7c478bd9Sstevel@tonic-gate#att2224CEO =+-, "" atzod,o12=y,o4=n,\\n3\\c1\\j0\\q3\\g0\r\c \006 atT\T\r\c Connected
221*7c478bd9Sstevel@tonic-gate
222*7c478bd9Sstevel@tonic-gate##########
223*7c478bd9Sstevel@tonic-gate#  AT&T DATAPHONE II 2224G Modem
224*7c478bd9Sstevel@tonic-gate#
225*7c478bd9Sstevel@tonic-gate#	The 2224G Modem supports MNP error control protocol.
226*7c478bd9Sstevel@tonic-gate#	This entry will use MNP if it is also available on the
227*7c478bd9Sstevel@tonic-gate#	remote end.
228*7c478bd9Sstevel@tonic-gate#
229*7c478bd9Sstevel@tonic-gate#	For normal operation, dip switch S1 switch 3 should be RIGHT.
230*7c478bd9Sstevel@tonic-gate#	This disables ENTER INTERACTIVE WITH <CR>.
231*7c478bd9Sstevel@tonic-gate#
232*7c478bd9Sstevel@tonic-gate#	When used with an EPORTS board on a 3B2, it is recommended that
233*7c478bd9Sstevel@tonic-gate#	hardware flow control be enabled on the board and that the
234*7c478bd9Sstevel@tonic-gate#	corresponding second set of entries below be used.
235*7c478bd9Sstevel@tonic-gate#	(i.e. change \\q0 to \\q3 below - use CTS/RTS flow control)
236*7c478bd9Sstevel@tonic-gate#
237*7c478bd9Sstevel@tonic-gate#	Commands:	Explanation:
238*7c478bd9Sstevel@tonic-gate#	------------	---------------------------------------------------
239*7c478bd9Sstevel@tonic-gate#	=+-,		'+' for secondary dial tone, ',' for pause
240*7c478bd9Sstevel@tonic-gate#	""		expect nothing
241*7c478bd9Sstevel@tonic-gate#	atzod,		enter command mode, reset options to default values,
242*7c478bd9Sstevel@tonic-gate#	o12=y,		set option 12 to 'y' (transparent data mode)
243*7c478bd9Sstevel@tonic-gate#	o4=n,		set option 4 to 'n' (don't disconnect on rcvd spaces)
244*7c478bd9Sstevel@tonic-gate#	o1=n\r\c	set option 1 to 'n' (don't wait for far end sense first)
245*7c478bd9Sstevel@tonic-gate#	\006		Wait for ACK
246*7c478bd9Sstevel@tonic-gate#	atz		enter command mode
247*7c478bd9Sstevel@tonic-gate#	\\n3		select auto-reliable operating mode
248*7c478bd9Sstevel@tonic-gate#	\\c1		select auto-reliable buffering scheme 1
249*7c478bd9Sstevel@tonic-gate#	\\j0		do not autobaud modem serial port
250*7c478bd9Sstevel@tonic-gate#	\\q0		no flow control
251*7c478bd9Sstevel@tonic-gate#	\\g0\r\c	no modem port flow control
252*7c478bd9Sstevel@tonic-gate#	\datT\T\r\c	delay, enter command mode, tone dial the number
253*7c478bd9Sstevel@tonic-gate#			(substitute 'P' for first 'T' for pulse dialing)
254*7c478bd9Sstevel@tonic-gate#	Connected	expect "Connected"
255*7c478bd9Sstevel@tonic-gate#
256*7c478bd9Sstevel@tonic-gate#			Once transparent data mode is enabled, you
257*7c478bd9Sstevel@tonic-gate#			cannot enter the interactive mode from the data mode.
258*7c478bd9Sstevel@tonic-gate##########
259*7c478bd9Sstevel@tonic-gateatt2224g =+-, "" atzod,o12=y,o4=n,o1=n\r\c \006 atz\\n3\\c1\\j0\\q0\\g0\r\c "" \datT\T\r\c Connected
260*7c478bd9Sstevel@tonic-gateatt2224G =+-, "" atzod,o12=y,o4=n,o1=n\r\c \006 atz\\n3\\c1\\j0\\q0\\g0\r\c "" \datT\T\r\c Connected
261*7c478bd9Sstevel@tonic-gate#att2224g =+-, "" atzod,o12=y,o4=n,o1=n\r\c \006 atz\\n3\\c1\\j0\\q3\\g0\r\c "" \datT\T\r\c Connected
262*7c478bd9Sstevel@tonic-gate#att2224G =+-, "" atzod,o12=y,o4=n,o1=n\r\c \006 atz\\n3\\c1\\j0\\q3\\g0\r\c "" \datT\T\r\c Connected
263*7c478bd9Sstevel@tonic-gate
264*7c478bd9Sstevel@tonic-gate##########
265*7c478bd9Sstevel@tonic-gate#  AT&T DATAPHONE II 2224 Modem
266*7c478bd9Sstevel@tonic-gate#
267*7c478bd9Sstevel@tonic-gate#	This entry is for 2224 with the optional automatic caller.
268*7c478bd9Sstevel@tonic-gate#	Is is provided only to provide compatibility with previous
269*7c478bd9Sstevel@tonic-gate#	releases. The entry for the specific model modem you own
270*7c478bd9Sstevel@tonic-gate#	should be found above.
271*7c478bd9Sstevel@tonic-gate#
272*7c478bd9Sstevel@tonic-gate#	Commands:	Explanation:
273*7c478bd9Sstevel@tonic-gate#	------------	---------------------------------------------------
274*7c478bd9Sstevel@tonic-gate#	=+-,		'+' for secondary dial tone, ',' for pause
275*7c478bd9Sstevel@tonic-gate#	""		expect nothing
276*7c478bd9Sstevel@tonic-gate#	\r\c		send carriage return to enter interactive mode
277*7c478bd9Sstevel@tonic-gate#	:--:		expect colon.  if don't see it, send newline
278*7c478bd9Sstevel@tonic-gate#			and expect colon again.
279*7c478bd9Sstevel@tonic-gate#	T\T\r\c		dial the given number, using touch-tone signaling
280*7c478bd9Sstevel@tonic-gate#			(change the first T to P if you want to use pulse
281*7c478bd9Sstevel@tonic-gate#			dialing).
282*7c478bd9Sstevel@tonic-gate#	red		expect "red" (actually "Answered")
283*7c478bd9Sstevel@tonic-gate##########
284*7c478bd9Sstevel@tonic-gateatt2224	=+-,	"" \r\c :--: T\T\r\c red
285*7c478bd9Sstevel@tonic-gate
286*7c478bd9Sstevel@tonic-gate##########
287*7c478bd9Sstevel@tonic-gate#  AT&T DATAPHONE II 2248A Modem
288*7c478bd9Sstevel@tonic-gate#
289*7c478bd9Sstevel@tonic-gate#	Commands:	Explanation:
290*7c478bd9Sstevel@tonic-gate#	------------	---------------------------------------------------
291*7c478bd9Sstevel@tonic-gate#	=+-,		'+' for secondary dial tone, ',' for pause
292*7c478bd9Sstevel@tonic-gate#	""		expect nothing
293*7c478bd9Sstevel@tonic-gate#	atzod,		enter command mode, reset modem, set options to default
294*7c478bd9Sstevel@tonic-gate#	o12=y\r\c	set option 12 to 'y' (transparent data mode)
295*7c478bd9Sstevel@tonic-gate#	\006		Wait for ACK
296*7c478bd9Sstevel@tonic-gate#	atT\T\r\c	enter command mode, tone dial the number
297*7c478bd9Sstevel@tonic-gate#			(substitute 'P' for first 'T' for pulse dialing)
298*7c478bd9Sstevel@tonic-gate#	Connected	expect "Connected"
299*7c478bd9Sstevel@tonic-gate#
300*7c478bd9Sstevel@tonic-gate##########
301*7c478bd9Sstevel@tonic-gateatt2248a =+-, "" atzod,o12=y\r\c \006 atT\T\r\c Connected
302*7c478bd9Sstevel@tonic-gateatt2248A =+-, "" atzod,o12=y\r\c \006 atT\T\r\c Connected
303*7c478bd9Sstevel@tonic-gate
304*7c478bd9Sstevel@tonic-gate##########
305*7c478bd9Sstevel@tonic-gate#  AT&T DATAPHONE II 2296A Modem
306*7c478bd9Sstevel@tonic-gate#
307*7c478bd9Sstevel@tonic-gate#	Commands:	Explanation:
308*7c478bd9Sstevel@tonic-gate#	------------	---------------------------------------------------
309*7c478bd9Sstevel@tonic-gate#	=+-,		'+' for secondary dial tone, ',' for pause
310*7c478bd9Sstevel@tonic-gate#	""		expect nothing
311*7c478bd9Sstevel@tonic-gate#	atzod,		enter command mode, reset options to default values,
312*7c478bd9Sstevel@tonic-gate#	o12=y,		set option 12 to 'y' (transparent data mode)
313*7c478bd9Sstevel@tonic-gate#	o50=y,		set option 50 to 'y'
314*7c478bd9Sstevel@tonic-gate#	o51=n,		set option 51 to 'n' (don't strap CTS/RTS)
315*7c478bd9Sstevel@tonic-gate#	o55=n,		set option 55 to 'n' (CD does not indicate carrier)
316*7c478bd9Sstevel@tonic-gate#	o69=n,\r\c	set option 69 to 'n'
317*7c478bd9Sstevel@tonic-gate#	\006		Wait for ACK
318*7c478bd9Sstevel@tonic-gate#	atz		enter command mode
319*7c478bd9Sstevel@tonic-gate#	\\n3		select auto-reliable operating mode
320*7c478bd9Sstevel@tonic-gate#	\\c1		select auto-reliable buffering scheme 1
321*7c478bd9Sstevel@tonic-gate#	\\j0		do not autobaud modem serial port
322*7c478bd9Sstevel@tonic-gate#	\\q0		no flow control
323*7c478bd9Sstevel@tonic-gate#	\\g0\r\c	no modem port flow control
324*7c478bd9Sstevel@tonic-gate#	\datT\T\r\c	delay, enter command mode, tone dial the number
325*7c478bd9Sstevel@tonic-gate#			(substitute 'P' for first 'T' for pulse dialing)
326*7c478bd9Sstevel@tonic-gate#	Connected	expect "Connected"
327*7c478bd9Sstevel@tonic-gate#
328*7c478bd9Sstevel@tonic-gate#	When used with an EPORTS board on a 3B2, it is recommended that
329*7c478bd9Sstevel@tonic-gate#	hardware flow control be enabled on the board and that the
330*7c478bd9Sstevel@tonic-gate#	corresponding second set of entries below be used.
331*7c478bd9Sstevel@tonic-gate#	(i.e. change \\q0 to \\q3 below - use CTS/RTS flow control)
332*7c478bd9Sstevel@tonic-gate#
333*7c478bd9Sstevel@tonic-gate##########
334*7c478bd9Sstevel@tonic-gateatt2296a =+-, "" atzod,o12=y,o50=y,o51=n,o55=n,o69=n\r\c \006 atz\\n3\\c1\\j0\\q0\\g0\r\c "" \datT\T\r\c Connected
335*7c478bd9Sstevel@tonic-gateatt2296A =+-, "" atzod,o12=y,o50=y,o51=n,o55=n,o69=n\r\c \006 atz\\n3\\c1\\j0\\q0\\g0\r\c "" \datT\T\r\c Connected
336*7c478bd9Sstevel@tonic-gate#att2296a =+-, "" atzod,o12=y,o50=y,o51=n,o55=n,o69=n\r\c \006 atz\\n3\\c1\\j0\\q0\\g0\r\c "" \datT\T\r\c Connected
337*7c478bd9Sstevel@tonic-gate#att2296A =+-, "" atzod,o12=y,o50=y,o51=n,o55=n,o69=n\r\c \006 atz\\n3\\c1\\j0\\q0\\g0\r\c "" \datT\T\r\c Connected
338*7c478bd9Sstevel@tonic-gate
339*7c478bd9Sstevel@tonic-gate##########
340*7c478bd9Sstevel@tonic-gate#  Network Listener Service
341*7c478bd9Sstevel@tonic-gate#  The format of the request to the listener is
342*7c478bd9Sstevel@tonic-gate#		NLPS:000:001:<service_code>\N\c
343*7c478bd9Sstevel@tonic-gate#  where <service_code> determines what server the listener invokes.
344*7c478bd9Sstevel@tonic-gate#  The entry below asks for service code 1.
345*7c478bd9Sstevel@tonic-gate#
346*7c478bd9Sstevel@tonic-gate#  If cu & uucico use different service codes, you will have to use
347*7c478bd9Sstevel@tonic-gate#  separate Dialers files (e.g., Dialers.cico and Dialers.cu).
348*7c478bd9Sstevel@tonic-gate#  See comments in Sysfiles for instructions.
349*7c478bd9Sstevel@tonic-gate##########
350*7c478bd9Sstevel@tonic-gatenls	""	"" NLPS:000:001:1\N\c
351*7c478bd9Sstevel@tonic-gate
352*7c478bd9Sstevel@tonic-gate##########
353*7c478bd9Sstevel@tonic-gate# DATAKIT(r) serial port connection script
354*7c478bd9Sstevel@tonic-gate#
355*7c478bd9Sstevel@tonic-gate#	Commands:	Explanation:
356*7c478bd9Sstevel@tonic-gate#	------------	---------------------------------------------------
357*7c478bd9Sstevel@tonic-gate#	""		no special character translation table
358*7c478bd9Sstevel@tonic-gate#	""		expect nothing
359*7c478bd9Sstevel@tonic-gate#	\d		delay to give some settling time
360*7c478bd9Sstevel@tonic-gate#	TION:--TION:	wait for the DESTINATION: prompt, if it does not come
361*7c478bd9Sstevel@tonic-gate#			send a carriage return and wait again.
362*7c478bd9Sstevel@tonic-gate#	\D		send the specified token
363*7c478bd9Sstevel@tonic-gate##########
364*7c478bd9Sstevel@tonic-gatedatakit	""	"" \d TION:--TION: \D
365