done
#
error:
# Handle unexpected modem
#
responses.
expect "8\r" or "7\r" or "4\r" or "3\r"
delay 2
done
Sample file modem_z.cfg
#
# COMPONENT_NAME: (ESPSETUP) ENTRY SERVICE PROCESSOR SETUP Z
#
# FUNCTIONS: Modem configuration file for many early Hayes* compatible modems.
#
This example uses the ATZ reset command to choose the factory defaults.
#
This setup will work for many modems, but it is required for early vintage
#
modems which respond to neither the ATZ0 reset command nor the extended (&)
#
commands.
Refer to your modem manual.
#
# * Trademark of Hayes Microcomputer Products, Inc.
#
# (C) COPYRIGHT International Business Machines Corp. 1996
# All Rights Reserved
# Licensed Materials - Property of IBM
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
#
# If the modem has configuration switches, they should be set to the
# factory default settings.
ICDelay 1
DefaultTO 10
CallDelay 120
#
AT
Attention Code
,
Inserts delay in dialing commands
#
Z
Reset to factory defaults Q0
Turn on responses
#
E0
Turn echo off
Q1
Turn off responses
#
V0
Use numeric responses
S0=0 Automatic answer inhibit
# +++
Escape to command mode
S0=2 Answer on second ring
#
H0
Hang-up
T =
Tone mode.
When used as T\r, it is a
#
no op to maintain program synchronization
#
when modem may/will echo the commands.
#
#
%N
Call-Out phone number
%P
Paging phone number
#
%S
Modem speed (available to users)
#
# Following are common responses from a wide range of modems:
# 16, 15, 12, 10, 5 and 1 are connection responses.
Add others as required.
# 7=busy; 6=no dial tone; 4=error; 3=no carrier; 2=ring; 0=OK
#
# PROGRAMMING NOTE: No blanks between double quote marks (").
condout:
send "ATZQ0T\r"
# Reset to factory defaults.
ignore "0\r" or "OK\r\n" timeout 2
# Ignore modem response.
send "ATE0T\r"
# Initialize modem: Echo OFF,
expect "0\r" or "OK\r\n" timeout 2
#
Enable responses (Numeric),
send "ATQ0V0T\r"
#
Limit response codes.
expect "0\r" timeout 2
# Confirm commands successful.
send "ATS0=0\r"
# Set AutoAnswer OFF
expect "0\r" timeout 2
# Confirm command successful.
Appendix B. Modem configurations
405
Содержание TotalStorage NAS Gateway 500
Страница 1: ...IBM TotalStorage NAS Gateway 500 Service Guide GY27 0418 00 ...
Страница 2: ......
Страница 3: ...IBM TotalStorage NAS Gateway 500 Service Guide GY27 0418 00 ...
Страница 16: ...xiv NAS Gateway 500 Service Guide ...
Страница 20: ...xviii NAS Gateway 500 Service Guide ...
Страница 36: ...System logic flow Note Not all components are supported 16 NAS Gateway 500 Service Guide ...
Страница 52: ...32 NAS Gateway 500 Service Guide ...
Страница 58: ...38 NAS Gateway 500 Service Guide ...
Страница 68: ...Step 0410 13 This completes the repair return the system to the user 48 NAS Gateway 500 Service Guide ...
Страница 112: ...92 NAS Gateway 500 Service Guide ...
Страница 266: ...246 NAS Gateway 500 Service Guide ...
Страница 326: ...306 NAS Gateway 500 Service Guide ...
Страница 353: ...Chapter 11 Removal and replacement procedures 333 ...
Страница 392: ...372 NAS Gateway 500 Service Guide ...
Страница 394: ...System parts 1 5 6 9 10 11 12 8 7 13 4 15 16 17 18 19 20 14 3 2 374 NAS Gateway 500 Service Guide ...
Страница 396: ...System parts continued 1 12 13 3 10 12 8 15 14 14 16 18 19 17 7 9 11 4 4 5 6 2 376 NAS Gateway 500 Service Guide ...
Страница 402: ...382 NAS Gateway 500 Service Guide ...
Страница 412: ...392 NAS Gateway 500 Service Guide ...
Страница 440: ...420 NAS Gateway 500 Service Guide ...
Страница 446: ...426 NAS Gateway 500 Service Guide ...
Страница 448: ...428 NAS Gateway 500 Service Guide ...
Страница 466: ...446 NAS Gateway 500 Service Guide ...
Страница 469: ......
Страница 470: ... Printed in U S A GY27 0418 00 ...
Страница 471: ...Spine information IBM TotalStorage NAS Gateway 500 NAS Gateway 500 Service Guide GY27 0418 00 ...