Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* DEC AXP, OSF1 3.0 and modems @38400bps -> problems
@ 1995-02-21 11:42 Sami J. M{kinen
  1995-02-21 19:39 ` Wuxu Peng
  1995-02-25  0:22 ` Craig Zeller
  0 siblings, 2 replies; 4+ messages in thread
From: Sami J. M{kinen @ 1995-02-21 11:42 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1549 bytes --]



	Hi all netppl!

	We are having problems in setting up dialup modem
	connection between two alphas. The workstations are
	DEC AXP 3000/300X model, and the modems are V.32bis
	with V.42bis, dialback and RTS/CTS hardware flow
	control configured on. The cables between modems and
	alphas are 25-pin flat cable with compressed D25
	connectors; all needed RS-232 signals are sure connected.
	DTE speed between modems and alphas is set to 38400bps
	at both ends. OS is DEC OSF1 3.0.

	All works perfectly, *except* flow control. When I
	try to upload/download anything with kermit, all I get
	is timeouts and too many retries. If I type 'cat' in
	shell, and try to copy/paste a 60-char line from
	another xterm, the line will be garbled. The serial
	ports and/or OS on alpha seems to not handle 38400bps
	serial rate very well.

	I studied stty manual page on our DEC, HP and Sun
	and the only one which did NOT mention *anything*
	about hardware flow control was... OSF1.

	*** Is there any way to have RTS/CTS flow control? ***

	Currently we cannot transfer any files with our
	modem connection. I did fiddle with kermit parameters,
	but nothing seems to help. This stinks!

	I am very grateful for any help. Please reply or followup,
	whichever you find more appropriate.

--
// sjm
Internet-teknologia on eritt�in hyv� juttu, mutta anarkistisen verkon
nykypalvelut s�hk�postia ja tcp/ip-siirtotiet� lukuunottamatta eiv�t
tarjoa bisnesk�ytt�j�lle k�yt�nn�ss� yht��n mit��n.
	- tietoliikennekonsulentti Mika Rissa


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DEC AXP, OSF1 3.0 and modems @38400bps -> problems
  1995-02-21 11:42 DEC AXP, OSF1 3.0 and modems @38400bps -> problems Sami J. M{kinen
@ 1995-02-21 19:39 ` Wuxu Peng
  1995-02-23 10:01   ` Sami J. M{kinen
  1995-02-25  0:22 ` Craig Zeller
  1 sibling, 1 reply; 4+ messages in thread
From: Wuxu Peng @ 1995-02-21 19:39 UTC (permalink / raw)


Sami J. M{kinen (sjm@koti.ton.tut.fi) wrote:


: 	Hi all netppl!

: 	We are having problems in setting up dialup modem
: 	connection between two alphas. The workstations are
: 	DEC AXP 3000/300X model, and the modems are V.32bis
: 	with V.42bis, dialback and RTS/CTS hardware flow
: 	control configured on. The cables between modems and
: 	alphas are 25-pin flat cable with compressed D25
: 	connectors; all needed RS-232 signals are sure connected.
: 	DTE speed between modems and alphas is set to 38400bps
: 	at both ends. OS is DEC OSF1 3.0.

: 	All works perfectly, *except* flow control. When I
: 	try to upload/download anything with kermit, all I get
: 	is timeouts and too many retries. If I type 'cat' in
: 	shell, and try to copy/paste a 60-char line from
: 	another xterm, the line will be garbled. The serial
: 	ports and/or OS on alpha seems to not handle 38400bps
: 	serial rate very well.

: 	I studied stty manual page on our DEC, HP and Sun
: 	and the only one which did NOT mention *anything*
: 	about hardware flow control was... OSF1.

: 	*** Is there any way to have RTS/CTS flow control? ***

: 	Currently we cannot transfer any files with our
: 	modem connection. I did fiddle with kermit parameters,
: 	but nothing seems to help. This stinks!

: 	I am very grateful for any help. Please reply or followup,
: 	whichever you find more appropriate.


I think that flow control between the modem and a computer is
determined by request from the modem. Here is my justification.
I also have a DEC Alpha 3000/300 running OSF3.0 and a MultiTech
2834BA modem.  When the first time I connected my modem with
my Alpha with two D25-D9 cables,  the login prompt and anything
output were garbled.   This is a sure sign that the flow control
from the modem is not right.  I then changed the modem setting
(from the default RTS/CTS) to XON/XOFF,   the garbled character
problem was gone and I could log in!   I then changed to a D25-D25
straight through cable  and set back the flow control on my modem
to RTS/CTS.   Now, everything is fine.

So,  see, OSF3.0 has nothing to do with above flow control problem.
It is my modem's problem.

Are you sure that your modem is set right?

--

--wuxu peng (peng@pirates.cs.swt.edu)



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DEC AXP, OSF1 3.0 and modems @38400bps -> problems
  1995-02-21 19:39 ` Wuxu Peng
@ 1995-02-23 10:01   ` Sami J. M{kinen
  0 siblings, 0 replies; 4+ messages in thread
From: Sami J. M{kinen @ 1995-02-23 10:01 UTC (permalink / raw)




In article <3idfh1$91o@pirates.cs.swt.edu> peng@pirates.cs.swt.edu (Wuxu Peng) writes:
> Are you sure that your modem is set right?

	I have a straight flat calbe between the Alpha and the modem.
	I have also setup RTS/CTS flow control on at the modem.

	Actually, I managed to get a bearable connection when I enable
	XON/XOFF between Alphas and modems, between modems (rarely needed)
	and issue stty ixon ixoff on Alpha shell. I could even transfer
	some files with zmodem. I think xon/xoff sucks, but this the best
	I could manage to set up.

	I even tried to set up RTS/CTS flags on the tty with my own
	tiny C program, since the OSF stty knows absolutely nothing
	about RTS/CTS. I wonder why?

	Anyway, here's my program:

--- 8< ---

/*
 *	myrtscts.c
 *
 *	This source code is in public domain.
 *	You may do whatever you want with it.
 */


#include	<stdio.h>
#include	<termios.h>


void	usage(const char *progname)
{
    fprintf(stderr, "Usage: %s [on|off]\n", progname);
}


int	main(int argc, char *argv[])
{
    struct termios tp;


    memset(&tp, 0, sizeof(struct termios));
    if (tcgetattr(0, &tp))
    {
	perror("tcgetattr");
	exit(1);
    }

    switch(argc)
    {
    case	1:
	fprintf(stderr, "RTS/CTS %s\n",
		tp.c_cflag & CRTSCTS ? "on" : "off");
	exit(0);

    case	2:
	if (!strcmp(argv[1], "on"))
	    tp.c_cflag |= CRTSCTS;
	else
	    if (!strcmp(argv[1], "off"))
		tp.c_cflag &= ~CRTSCTS;
	    else
	    {
		usage(argv[0]);
		exit(-1);
	    }
	if (tcsetattr(0, TCSANOW, &tp))
	{
	    perror("tcsetattr");
	    exit(1);
	}
	exit(0);

    default:
	usage(argv[0]);
	exit(-1);
    }

    return 0;
}
--- 8< ---

--
// sjm
"I would rather spend 10 hours reading someone else's source code than
 10 minutes listening to Musak waiting for technical support which isn't."
	- Dr. G.W. Wettstein


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DEC AXP, OSF1 3.0 and modems @38400bps -> problems
  1995-02-21 11:42 DEC AXP, OSF1 3.0 and modems @38400bps -> problems Sami J. M{kinen
  1995-02-21 19:39 ` Wuxu Peng
@ 1995-02-25  0:22 ` Craig Zeller
  1 sibling, 0 replies; 4+ messages in thread
From: Craig Zeller @ 1995-02-25  0:22 UTC (permalink / raw)



In article <SJM.95Feb21134229@koti.ton.tut.fi>, sjm@koti.ton.tut.fi (Sami J. M{kinen) writes:
>
>	We are having problems in setting up dialup modem
>	connection between two alphas. The workstations are
>	DEC AXP 3000/300X model, and the modems are V.32bis
>	with V.42bis, dialback and RTS/CTS hardware flow
>	control configured on. The cables between modems and
>	alphas are 25-pin flat cable with compressed D25
>	connectors; all needed RS-232 signals are sure connected.
>	DTE speed between modems and alphas is set to 38400bps
>	at both ends. OS is DEC OSF1 3.0.
>
>	All works perfectly, *except* flow control. When I
>	try to upload/download anything with kermit, all I get
>	is timeouts and too many retries. If I type 'cat' in
>	shell, and try to copy/paste a 60-char line from
>	another xterm, the line will be garbled. The serial
>	ports and/or OS on alpha seems to not handle 38400bps
>	serial rate very well.
>
>	I studied stty manual page on our DEC, HP and Sun
>	and the only one which did NOT mention *anything*
>	about hardware flow control was... OSF1.
>
>	*** Is there any way to have RTS/CTS flow control? ***
>

  Yes, stty parameter is -clocal

     clocal implies a direct, hardwired link with Xon/Xoff flow control

    -clocal implies a modem connection with full modem control lines
            and hardware (RTS/CTS) flow control

>	Currently we cannot transfer any files with our
>	modem connection. I did fiddle with kermit parameters,
>	but nothing seems to help. This stinks!
>

  You should also check the modem setup parameters. If you're using a
mostly-Hayes compatible modem, the &K3 flag will set the modem to
hardware (RTS/CTS) flow control, &K0 will disable flow control altogether,
and &K4 will enable Xon/Xoff flow control. Different modem vendors have
different factory defaults.

Craig
-------------------------------------------------------------------------------
Craig Zeller, UNIX Consultant | c/o GTE Government Systems Corporation, Rm 1293
Digital Equipment Corporation | 31717 La Tienda Dr., Westlake Village, CA 91362
     Real Programmers use     |    Phone (818) 706-6867, FAX (818) 706-5050
          cat >a.out          |       E-mail: zeller@zot.iipo.gtegsc.com
-------------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1995-02-25  0:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-02-21 11:42 DEC AXP, OSF1 3.0 and modems @38400bps -> problems Sami J. M{kinen
1995-02-21 19:39 ` Wuxu Peng
1995-02-23 10:01   ` Sami J. M{kinen
1995-02-25  0:22 ` Craig Zeller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox