beautypg.com

IBM Enterprise Server H80 Series User Manual

Page 204

background image

# %R = paging number

expect " \r" timeout 6

# Confirm successful command.

delay 2

# Wait before hanging up.

send "ATH \r"

# Hang up.

expect " \r" timeout 2

# Confirm successful command.

done

ripo:

send "AT&F&E2E T\r"

# Reset to factory defaults.
# Reliable mode
# Echo off

ignore " \r" or "OK\r\n" timeout 2

# Ignore modem response.

send "AT&E12&E14\r"

# Disable pacing
# Disable data compression

expect " \r" or "OK\r\n" timeout 2

# Confirm successful command.

send "AT&SF1&S S9=1\r"

# DSR independent of CD.
# Force DSR on.
# CD respond time=1

ms

expect " \r" or "OK\r\n" timeout 2

# Confirm commands successful.

send "ATV S = \r"

# Numeric response code
# Auto Answer OFF

expect " \r" timeout 2

# Confirm commands successful.

done

#

error:

# Handle unexpected modem

# responses.

expect "8\r" or "7\r" or "6\r" or "4\r" or "3\r"

delay 2

done

188

RS/6000 Enterprise Server Model H80 Series User's Guide