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