IBM 7012 G Series Service Manual page 223

Table of Contents

Advertisement

This is a sample /usr/share/modems/mir_modem file for console mirroring using an IBM
7851 modem.
# Tested at 9600bps.
ICDelay 5
DefaultTO 10
CallDelay 120
#
AT
Attention Code
screen
# &F1
Set factory profile 1
screen
#
E0
Turn echo off
#
V0
Use numeric responses
# +++
Escape to command mode
profile 0
#
H0
Hang–up
# 17=38.4bps; 16=19.2bps; 12=9600bps; 11=4800bps; 10=2400bps;
7=busy
condout:
send "AT&F1E0V0Q0S0=0\r"
expect "0\r" or "OK\r"
done
connect:
send "ATDT%N\r"
expect "17\r" or "16\r" or "12\r" or "11\r" or "10\r" busy "7\r"
timeout 60
done
retry:
send "A/"
expect "17\r" or "16\r" or "12\r" or "11\r" or "10\r" busy "7\r"
timeout 60
done
disconnect: send "+++ATH0\r"
delay 2
send "ATQ1V0E0\r"
delay 2
done
condin:
send "AT&F1E0V0Q0S0=2\r"
expect "0\r" or "OK\r\n"
send "ATQ1&W0\r"
done
condwait:
send "AT&F1V0E0Q0S0=2&W0\r"
expect "0\r" or "OK\r\n"
done
waitcall:
ignore "2\r" timeout none
expect "2\r" timeout 10
expect "17\r" or "16\r" or "12\r" or "11\r" or "10\r" busy "7\r"
timeout 60
done
page:
send "ATDT%N;\r"
expect "0\r" or "OK\r\n" timeout 60
delay 2
send "ATH0\r"
expect "0\r" or "OK\r\n"
done
Q0
Enable result codes to
Q1
Disable result codes to
S0=0
Automatic answer inhibit
S0=2
Answer on second ring
&W0
Save configuration to
# Tone dialing command
# Redo command
# (there can be no reply)
# ; = go back to command mode
SystemGuard Remote Operation Configuration
C-5

Advertisement

Table of Contents
loading

Table of Contents