Wednesday, February 6, 2013

Hyper Terminal into a Modem and Make a dial


Here is a sample session to connect HyperTerminal to a COM port to a modem. The progression described in this section works on most Windows systems.
  1. From the Start menu, point to Programs > Accessories, and select HyperTerminal.
    Note: If HyperTerminal does not appear in the menu, you need to install it from the Windows CD-ROM.
  2. Double-click the Hypertrm.exe file. The Connection Description dialog box is displayed (see Figure 1).
    Figure 1 – The Connection Description Dialog Box
    modem_tuning_1.gif
  3. Select an appropriate name and icon.
  4. Click OK.The Phone Number dialog box is displayed (see Figure 2). HyperTerminal assumes that you want to make a call, so it prompts for the phone number. From the drop-down list, select the desired COM port.
    Figure 2 – The Phone Number Dialog Box
    modem_tuning_2.gif
    When you make a selection, the relevant Port Properties dialog box is displayed.
  5. Set the COM port to 115200 bits per second, because that is the fastest speed modems can communicate over the data terminal equipment (DTE) link (see Figure 3).
    Figure 3 – Set the COM Port to 115200 Bits Per Second
    modem_tuning_3.gif
    Note: This speed is not the connection speed the modems use to talk to each other. This is the speed that goes across the async modem cable between the PC and its modem.
  6. Click OK.
    A terminal window is displayed.
Here is an example session that uses the ATI commands numbered 3 through 11. This example includes what was entered and the responses from a modem in one of Cisco's labs:
at
OK

ati3
U.S. Robotics 56K FAX V4.6.6

OK
ati4
US Robotics 56K FAX Settings...

B0 E1 F1 M1 Q0 V1 X1 Y0
BAUD=38400 PARITY=N WORDLEN=8
DIAL=TONE ON HOOK CID=0

&A1 &B1 &C1 &D2 &G0 &H0 &I0 &K1
&M4 &N0 &P0 &R1 &S0 &T5 &U0 &Y1
S00=001 S01=000 S02=043 S03=013 S04=010 S05=008 S06=002
S07=060 S08=002 S09=006 S10=014 S11=070 S12=050 S13=000
S15=000 S16=000 S18=000 S19=000 S21=010 S22=017 S23=019
S25=005 S27=000 S28=008 S29=020 S30=000 S31=128 S32=002
S33=000 S34=000 S35=000 S36=014 S38=000 S39=000 S41=000
S42=000

LAST DIALED #: T95558653

OK
ati5
US Robotics 56K FAX NVRAM Settings...

Template Y0

DIAL=TONE B0 F1 M1 X1
BAUD=38400 PARITY=N WORDLEN=8

&A1 &B1 &G0 &H0 &I0 &K1 &M4 &N0
&P0 &R1 &S0 &T5 &U0 &Y1
S00=001 S02=043 S03=013 S04=010 S05=008 S06=002 S07=060
S08=002 S09=006 S10=014 S11=070 S12=050 S13=000 S15=000
S19=000 S21=010 S22=017 S23=019 S25=005 S27=000 S28=008
S29=020 S30=000 S31=128 S32=002 S33=000 S34=000 S35=000
S36=014 S38=000 S39=000 S41=000 S42=000


Strike a key when ready . . .


Template Y1

DIAL=TONE B0 F1 M1 X4
BAUD=115200 PARITY=N WORDLEN=8

&A3 &B1 &G0 &H2 &I2 &K1 &M4 &N0
&P0 &R1 &S0 &T5 &U0 &Y1
S00=001 S02=043 S03=013 S04=010 S05=008 S06=002 S07=060
S08=002 S09=006 S10=014 S11=070 S12=050 S13=000 S15=000
S19=000 S21=010 S22=017 S23=019 S25=005 S27=000 S28=008
S29=020 S30=000 S31=128 S32=002 S33=000 S34=000 S35=00
S36=014 S38=000 S39=000 S41=000 S42=000


STORED PHONE #0:
#1:
#2:
#3:

OK
ati6
US Robotics 56K FAX Link Diagnostics...

Chars sent 0 Chars Received 80
Chars lost 0
Octets sent 0 Octets Received 82
Blocks sent 0 Blocks Received 2
Blocks resent 0

Retrains Requested 0 Retrains Granted 0
Line Reversals 0 Blers 0
Link Timeouts 0 Link Naks 0

Data Compression V42BIS 2048/32
Equalization Long
Fallback Enabled
Protocol LAPM
Speed 24000/26400
Last Call 00:00:06

Disconnect Reason is DTR dropped

OK
ati7
Configuration Profile...

Product type US/Canada External
Product ID: 00178600
Options V32bis,V.34+,x2,V.90
Fax Options Class 1/Class 2.0
Line Options Caller ID, Distinctive Ring
Clock Freq 92.0Mhz
Eprom 256k
Ram 32k

EPROM date 5/26/98
DSP date 5/26/98

EPROM rev 4.6.6
DSP rev 4.6.6

OK

ati8
OK
ati9
(1.0USR2040\\Modem\PNPC107\US Robotics 56K FAX EXT)FF

OK
ati10
ERROR
ati11
US Robotics 56K FAX Link Diagnostics ...

Modulation V.34
Carrier Freq (Hz) 1959/1959
Symbol Rate 3429/3429
Trellis Code 64S-4D/64S-4D
Nonlinear Encoding ON/ON
Precoding ON/ON
Shaping ON/ON
Preemphasis (-dB) 8/6
Recv/Xmit Level (-dBm) 32/10
Near Echo Loss (dB) 32
Far Echo Loss (dB) 49
Carrier Offset (Hz) 294
Round Trip Delay (msec) 7
Timing Offset (ppm) -1440
SNR (dB) 32
Speed Shifts Up/Down 0/0
Status :

OK
Here is the output from a connection to one of Cisco's test systems. First, enable the speaker and DCE rate information reporting:
atw2m1
ERROR
As it turns out, w2 is not necessary on US Robotics modems.
atm1
OK
Next, dial into a static lab:
at
OK
atdt914085703932
NO CARRIER
The normal connection seems to fail. In this case, it is a noisy line, so set the modem to factory defaults (&f), turn on the speaker (m1), and cap the modem at 28.8 (&n14) with the at&fm1&n14 command:
Try to dial again. If the connection is successful you will see:
atdt914085703932 
CONNECT 28800/ARQ

Welcome! Please login with username cisco, password
cisco, and type the appropriate commands for your test:

ppp - to start ppp
slip - to start slip
arap - to start arap

access-3 line 29 MICA V.90 modems

User Access Verification

Username: cisco
Password:

access-3>

No comments: