* The endless MODEM <-> LAT question
@ 1995-01-29 16:12 Andreas Fassl
1995-02-02 15:54 ` bob lail
1995-02-04 8:27 ` Jerry Leslie
0 siblings, 2 replies; 4+ messages in thread
From: Andreas Fassl @ 1995-01-29 16:12 UTC (permalink / raw)
Hi,
I connected a worldport HS-Modem successfully to a DECserver 200 MC.
I set the port this way:
Port 8: MODEMPORT Server: TSN22B
Character Size: 8 Primary Speed: 19200
Flow Control: XON Alternate Speed:19200
Parity: None Modem Control: Disabled
Access: Dynamic Local Switch: None
Backwards Switch: None Name: MODEMPORT
Break: Local Session Limit: 2
Forwards Switch: None Type: ANSI
Preferred Service: None
Authorized Groups: 0
(Current) Groups: 0
Enabled Characteristics:
Autoprompt, Boradcast, Inactivity Logout, Input Flow Control,
Loss Notifacation, Message Codes, Output Flow Control, Verification
Autoconnect
The following problem occurs:
Under PC windows via Pathworks-LAT (Version?) I connect via KEAterm 340
to a BBS. Downloads are no problem (1000-1100 cps), but when I am trying
to do an upload, rates are going down to 200 cps, most time transfer gets
aborted.
I tried the following things:
Different modem (Zyxel), but it doesn't respond.
There is a button to reduce the "send data to host speed", but disabling
it don't cure the problem.
I'm quite suspicious to the KEAterm programm, especially because it has
no finer setup parameters for ZMODEM.
BTW, I checked the FAQ and the "MODEM to VAX-Guide", but I couldn't find
anything useful to this problem.
Any hints/pointers are welcome.
My best guess for the moment goes to some wrong settings of the register
values of the worldport modem.
Another question: I'm a little bit confused. You need to have a MC (modem
control) DECserver, because only this one can handle the CTS/RTS handshaking.
But on the other side the is a recommended setting MC: disabled and
FLOW CONTROL: XON. XON is software handshaking and not very reliable when
doing high speed data transfers. So why should I use XON instead of RTS as
to be found in the MODEM to VAX article? (I appended this after the next lines)
Thanks in advance
andreas
From comp.os.vms Wed Sep 1 09:50:37 1993
Path: didymus!infoac.rmi.de!Germany.EU.net!mcsun!uunet!usc!news.service.uci.edu!unogate!mvb.saic.com!info-vax
From: Mighty Firebreather <dragon@nscvax.princeton.edu>
Newsgroups: comp.os.vms
Subject: RE: Need help: modems & MicroVAX-VMS
Message-ID: <00971D6A.E57FB5C0.4892@nscvax.princeton.edu>
Date: Tue, 31 Aug 1993 09:37:23 EDT
Organization: Info-Vax<==>Comp.Os.Vms Gateway
X-Gateway-Source-Info: Mailing List
Lines: 187
walt@halcyon.com (Walt Hyde) writes:
>I connected a modem to the async modem control port of our MicroVAX
>3100-30 (VMS 5.5). So far, so good, except that every 30 seconds,
>the VAX drops the DTR line for 3 seconds, which causes the modem to
>hangup. Then DTR goes high again, and the cycle repeats over and over.
>This doesn't seem right - DTR should be on whenever the machine is up
>and running. What might be causing this, and how can I fix it??
>Left as is, *if* you manage to log in, you will get disconnected
>within 30 seconds...
>
>As a temporary workaround, I set up the modem so that it ignores DTR,
>and I am able to dial in and logon normally, but then the VAX can't
>hangup the modem.
>
<Omitted>
>
>Any assistance (e-mail preferred) is most appreciated, as I'm a relative
>newcomer to VMS.
>
I guess it's time for a repost. FAQ maintainer???
Using a MODEM With Your VAX
Richard B. Gilbert
Revised May 1, 1993
Be sure that the serial port you are using supports MODEM control
signals. On the DMF32, for example, only ports 0 and 1 can be used with
MODEMS. These ports on the DMF32 must have switches set to enable MODEM
control signals. The VAXStation 3100 does NOT support MODEM control! The
MicroVAX 3100 does support modem control.
Connect the MODEM with a cable that supports MODEM control signals
such as DEC's BC22E. Note that while it was possible to "fake it" with VMS
V4.x and earlier, VMS V5 requires that all of the MODEM control signals be
connected. (Pins 2-8, 20 and 22 should be connected straight through;
i.e., 2-2, 3-3, 4-4, ...)
You will need to make some switch settings on your MODEM. The
following settings are for a US Robotics Courier 2400. See your MODEM's
instruction manual. The switch numbers will be different but the functions
available are typical. The settings marked with an asterisk are critical
to the successful use of your MODEM. Some settings can also be made from
the CPU via the MODEM's AT command set, in which case the hardware switch
settings determine the MODEM's power on defaults. The AT commands in
parentheses, following the switch settings, are the commands for a U.S.
Robotics Courier HST dual standard modem. Check your manual for the proper
commands for your modem.
* 1. DTR Normal (controlled by CPU) (AT&D2&W)
2. Verbal result codes (Useful during dialout) (ATV1)
* 3. Do not display result codes (Quiet mode) (ATQ1)
4. Echo off line commands (Useful during dialout) (ATE1)
* 5. Auto answer (MODEM will answer the phone if DTR is asserted) (ATS0=1)
* 6. Normal Carrier detect (controlled by MODEM) (AT&C1&W)
7. Single phone line (As required)
8. Normal At command set (Must be enabled for auto dial.)
9. Online after +++
************************************************************************
Many users have observed the VAX dropping DTR (Data Terminal Ready)
while a user is trying to dial in, causing the MODEM to hang up the phone.
The terminal driver will drop DTR if it sees DSR (Data Set Ready) for more
than thirty seconds, without also seeing CD (Carrier Detect). If it is
possible to configure the MODEM so that it does not assert DSR until it
asserts CD (AT &S1&W), do so. Otherwise it will be necessary to use a
modified cable. At the VAX end of the cable, cut the wire leading to pin 6
(DSR) and jumper pin 6 to pin 8 (CD).
A command similar to the following should be placed in your
SYS$MANAGER:SYSTARTUP_V5.COM file to set up an asynchronous port for use with
a MODEM. You may want to add some more qualifiers but this will get you going.
$ SET TERMINAL -
/PERMANENT - ! Make settings permanent
/MODEM - ! Use MODEM control signals
/DIALUP - ! Gives the DIALUP identifier to user.
/HANGUP - ! Hang up the phone when user logs off
/AUTOBAUD - ! Detect the user's baud rate and set it.*
/ALTYPEAHD - ! Use the alternate typeahead buffer. The
! alternate typeahead buffer can be made larger
! than the regular one. This is helpful if you
! are doing file transfers. See SYSGEN parameter
! TTY_ALTYPAHD.
/HOSTSYNC - ! VAX will send XOFF when its buffer is nearly
! full and XON when it is ready for more input.
! See SYSGEN parameter TTY_ALTALARM.
_TXA0:
$ SET PROTECTION=W:R /DEVICE
! Sets device protection to allow non-privileged
! users to allocate the device for dialing out.
! Otherwise user must own device or hold SYSPRV.
* Many modern modems are capable of using a fixed DTE rate to talk
to the computer; e.g. if they are set to 19200, they will talk to the
computer at 19200 regardless of what speed they are using to talk to the
remote modem. This feature has performance implications for modems that do
data compression using either CCITT V.41 or MNP. For such modems, use
/SPEED=xxxxx rather than /AUTOBAUD.
************************************************************************
The following commands should probably go in SYS$SYLOGIN, your
system-wide login command file:
$! Test for interactive or batch mode
$!
$ IF F$MODE() .NES. "INTERACTIVE" THEN GOTO 10$
$! Set up device dependant terminal characteristics. This only works
$! if the terminal responds to ANSI Device Attributes (DA) control string.
$! Most DEC terminals (VT1xx, VT2xx, LAxxx) and compatibles will do so.
$ IF F$GETDVI("TT", "TT_MODEM") THEN $ SET TERMINAL /INQUIRE
$ 10$:
**************************************************************************
To set the terminal for temporary dialout use, execute the following
commands:
$ ALLOCATE TXA0: KER$COMM ! Logical is useful for Kermit-32.
$ SPEED="''P1'"
$! Default to 1200 baud. ! Pick a suitable default value.
$ IF SPEED .EQ. "" THEN SPEED=1200
$ SET TERMINAL /NOAUTOBAUD /SPEED='SPEED' KER$COMM:
You may need to add a /NOECHO qualifier if your terminal program is too
stupid to read with no echo. It is not necessary with SET HOST/DTE,
KERMIT, XMODEM, or HOST32.
To support a modem on a DECServer 200:
1. Set up the terminal server as follows: (assuming port 8)
Local> DEFINE PORT 8 ACCESS DYNAMIC AUTOBAUD DIS
Local> DEFINE PORT 8 DSRLOGOUT DIS FLOWCONTROL XON
Local> DEFINE PORT 8 INACTIVITY ENA MODEM ENA
Local> DEFINE PORT 8 SIGNAL CHECK ENA
Local> DEFINE PORT 8 SPEED 2400 ALTERNATE SPEED 1200
Local> LOGOUT PORT 8
Local> DEFINE SERVICE service_name PORT 8 IDENT "string"
Local> SET SERVICE service_name PORT 8 IDENT "string"
Other port characteristics may be defined "to taste".
2. Insert the following statements in SYS$MANAGER:LTLOAD.COM:
CREATE PORT LTA100: /NOLOG
SET PORT LTA100: /APPLICATION /NODE=server_name /SERVICE=service_name -
/NOQUEUE /NOLOG
The LTA number is more or less arbitrary but must take into account
the fact that LAT startup creates a few ports temporarily (starting at
LTA1) and the number you choose must not conflict.
The server_name and service_name must correspond exactly to the
names used in the DECserver DEFINE SERVER server_name and DEFINE SERVICE
service_name commands!
3. Insert the following statements in SYS$MANAGER:SYSTARTUP_V5.COM:
$!
$! Start LAT (DEC Server 200 terminal server)
$!
$ @SYS$MANAGER:LTLOAD
$!
$! Set up Modem port on terminal server.
$ SET TERMINAL /PERMANENT /MODEM /DIALUP /HANGUP -
/ALTYPEAHD /HOSTSYNC LTA100:
$ SET PROTECTION=W:R /DEVICE LTA100:
4. Reboot or execute the commands in steps 2 and 3.
*************************************************************************
* Here, there be dragons! *
* dragon@nscvax.princeton.edu *
* *
* I'm job hunting. Any offers or leads will be appreciated. *
* Thanks! *
* Richard B. Gilbert *
*************************************************************************
--
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ proGIS Softwareentwicklung, Simulationssysteme, Beratung +
+ E-Mail: andreas@didymus.rmi.de VOICE: (49) 241 470 67 -0 +
+ FAX: (49) 241 470 67 -29 +
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: The endless MODEM <-> LAT question
1995-01-29 16:12 The endless MODEM <-> LAT question Andreas Fassl
@ 1995-02-02 15:54 ` bob lail
1995-02-09 4:47 ` Chuck Forsberg WA7KGX
1995-02-04 8:27 ` Jerry Leslie
1 sibling, 1 reply; 4+ messages in thread
From: bob lail @ 1995-02-02 15:54 UTC (permalink / raw)
Andreas
A couple of comments on your file transfer problems with a DECserver 200/MC and
KEAterm 340.
1) The DECserver 200/MC does not support true RTS/CTS flow control. The
EIA RTS and DTR signal lines are tied together so when modem control is enabled
the server drives the RTS and DTR lines as defined for EIA DTR. When Modem
Control is disabled then DTR and RTS are driven as hardware flow control if
enabled. Our newer DECservers, the DECserver 700-8 (and -16) and DECserver
900Tm correctly support RTS/CTS flow control.
2) With your current port set up you can enable RTS/CTS flow control.
Use the command:
SET/DEFINE PORT 8 FLOW CTS
Be sure you disable the modems response to DTR with the AT&D0 command enable
the modem to respond the hardware flow control. Of course not having modem
controls enabled on the server make disconnecting and dial-in though this port
difficult at best but for your application hardware flow control is really the
best way to go.
3) Even though modern versions of the ZMODEM protocol have been "fixed"
to allow for "XON/XOFF" support I have never had good luck with using ZMODEM
with XON/XOFF flow control. It is possible that one of the versions of ZMODEM,
either the KEAterm implementation or the BBS, does not have the XON/XOFF "fix"
and when you try to upload the server sucks up XON/XOFF characters and causes
the transfer to fail. Download may work because the bit rate difference between
modem real link rate and DECserver/modem serial link rate is small enough that
the server never issues and flow control. At the BBS end the difference between
the modem link rate and the BBS/modem serial line rate may be much larger such
that during an upload flow control is attempted and data gets lost causing
ZMODEM to timeout and abort the transfer.
4) As you stated you may have something set wrong in the Worldport modem.
Make sure the modem is not swallowing XON/XOFF characters or generating them
on its own.
Hope this helps
\Bob Lail
--------------------------------------------------------------------------
Robert G. Lail Digital Equipment Corp NET: lail@trayce.mko.dec.com
Hardware Engineer Digital Drive TEL: 603.884.7161
Custom Systems PSC Merrimack, NH 03054-9501 FAX: 603.884.4343
LOC MS: MKO1-1/A10
--------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: The endless MODEM <-> LAT question
1995-02-02 15:54 ` bob lail
@ 1995-02-09 4:47 ` Chuck Forsberg WA7KGX
0 siblings, 0 replies; 4+ messages in thread
From: Chuck Forsberg WA7KGX @ 1995-02-09 4:47 UTC (permalink / raw)
In article <3gqv6o$p24@jac.zko.dec.com> lail@trayce.mko.dec.com writes:
>...
> 3) Even though modern versions of the ZMODEM protocol have been "fixed"
>to allow for "XON/XOFF" support I have never had good luck with using ZMODEM
>with XON/XOFF flow control. It is possible that one of the versions of ZMODEM,
This hasn't been fixed in "modern" versions because ZMODEM was correctly
defined to work with XON/XOFF flow control when it was introduced in 1986.
You need to get a better ZMODEM implementation.
--
Chuck Forsberg WA7KGX caf@omen.COM 503-621-3406 FAX:-3735
Omen Technology Inc "The High Reliability Software"
Author of YMODEM, ZMODEM, Professional-YAM, ZCOMM, GSZ and DSZ
TeleGodzilla BBS: 503-621-3746 FTP: ftp.cs.pdx.edu pub/zmodem
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: The endless MODEM <-> LAT question
1995-01-29 16:12 The endless MODEM <-> LAT question Andreas Fassl
1995-02-02 15:54 ` bob lail
@ 1995-02-04 8:27 ` Jerry Leslie
1 sibling, 0 replies; 4+ messages in thread
From: Jerry Leslie @ 1995-02-04 8:27 UTC (permalink / raw)
Andreas Fassl (andreas@didymus.rmi.de) wrote:
: Hi,
: I connected a worldport HS-Modem successfully to a DECserver 200 MC.
: I set the port this way:
: Port 8: MODEMPORT Server: TSN22B
: Character Size: 8 Primary Speed: 19200
: Flow Control: XON Alternate Speed:19200
: Parity: None Modem Control: Disabled
:
: Access: Dynamic Local Switch: None
: Backwards Switch: None Name: MODEMPORT
: Break: Local Session Limit: 2
: Forwards Switch: None Type: ANSI
: Preferred Service: None
: Authorized Groups: 0
: (Current) Groups: 0
:
: Enabled Characteristics:
: Autoprompt, Boradcast, Inactivity Logout, Input Flow Control,
: Loss Notifacation, Message Codes, Output Flow Control, Verification
: Autoconnect
: The following problem occurs:
: Under PC windows via Pathworks-LAT (Version?) I connect via KEAterm 340
: to a BBS. Downloads are no problem (1000-1100 cps), but when I am trying
: to do an upload, rates are going down to 200 cps, most time transfer gets
: aborted.
: I tried the following things:
: Different modem (Zyxel), but it doesn't respond.
: There is a button to reduce the "send data to host speed", but disabling
: it don't cure the problem.
: I'm quite suspicious to the KEAterm programm, especially because it has
: no finer setup parameters for ZMODEM.
: BTW, I checked the FAQ and the "MODEM to VAX-Guide", but I couldn't find
: anything useful to this problem.
: Any hints/pointers are welcome.
: My best guess for the moment goes to some wrong settings of the register
: values of the worldport modem.
: Another question: I'm a little bit confused. You need to have a MC (modem
: control) DECserver, because only this one can handle the CTS/RTS handshaking.
: But on the other side the is a recommended setting MC: disabled and
: FLOW CONTROL: XON. XON is software handshaking and not very reliable when
: doing high speed data transfers. So why should I use XON instead of RTS as
: to be found in the MODEM to VAX article? (I appended this after the next lines)
Make sure you have the latest software for the DECServer 200, which is
V3.3, BL39. It fixes several modem-related bugs. You can tell the version
via the "show server" command:
Local> show server
DECserver 200 V3.3 BL39 LAT V5.1 ROM BL20 Uptime: 5 01:18:26
The following is the setup for our DECServer 200 modem port. The modem
is a DEC V.32.
Port 8: Dial-out modem Server: DS200A
Character Size: 8 Input Speed: 9600
Flow Control: None Output Speed: 9600
Parity: None Modem Control: Enabled
Access: Dynamic Local Switch: None
Backwards Switch: None Name: PORT_8
Break: Local Session Limit: 4
Forwards Switch: None Type: Soft
Preferred Service: None
Authorized Groups: 0
(Current) Groups: 0
Enabled Characteristics:
Autoprompt, DTRwait, Inactivity Logout, Limited View,
Loss Notification, Message Codes, Password, Security, Verification
--Jerry,
Gerald (Jerry) R. Leslie jleslie@dmccorp.com gleslie@isvsrv.enet.dec.com
Dynamic Matrix Control Corporation (my opinions are my own)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1995-02-09 4:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-01-29 16:12 The endless MODEM <-> LAT question Andreas Fassl
1995-02-02 15:54 ` bob lail
1995-02-09 4:47 ` Chuck Forsberg WA7KGX
1995-02-04 8:27 ` Jerry Leslie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox