Usenet comp.unix.osf.osf1 (1992-2004)
 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
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ 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] 5+ 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-24  9:31 ` DEC AXP, OSF1 3.0 and modems @38400bps -> p Haeni R guest
  1995-02-25  0:22 ` DEC AXP, OSF1 3.0 and modems @38400bps -> problems Craig Zeller
  2 siblings, 1 reply; 5+ 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] 5+ 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; 5+ 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] 5+ messages in thread

* Re: DEC AXP, OSF1 3.0 and modems @38400bps -> p
  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-24  9:31 ` Haeni R guest
  1995-02-25  0:22 ` DEC AXP, OSF1 3.0 and modems @38400bps -> problems Craig Zeller
  2 siblings, 0 replies; 5+ messages in thread
From: Haeni R guest @ 1995-02-24  9:31 UTC (permalink / raw)


In article 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.
>
    The System Settings seem to be ok. Be sure that you desabled the XON/XOFF
    handshake if you are using RTS/CTS.

>	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.

    The seriel port is connected to a modern Zylog UART Chip, who accept
    a transfer rate up to 1 MBps. This cannot cause the problem.
    OSF/1 Ver 3.0 handles baudrates correct up to 38400 Bps. This I tested
    with a AXP 3000-500 on a ISDN TA.

    To check your configuration, you can use the stty command
	stty < /dev/ttyXX
    and set the parameters at your need.

    The problem could be that you are using at both side not the same
    modem type. Also if the V.. standard should be a standard, there is
    possible that the modems fail.

    There are also a few modems (e.g. I had problems with Zyxel), that don't
    function properly under UNIX

	I hope, that this few lines can help you

	greetings

	- Reto

---
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ 

Reto Haeni FE52                  P_T T_              Ph  +41 31 3381179        
Ostermundigenstr. 93             |_   _|             Fax +41 31 3385747
3000 Bern 29                 SWISS |_| TELECOM       e-mail haeni_r@vptt.ch
SWITZERLAND.                Research&Development     http://www.vptt.ch

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/


^ permalink raw reply	[flat|nested] 5+ 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-24  9:31 ` DEC AXP, OSF1 3.0 and modems @38400bps -> p Haeni R guest
@ 1995-02-25  0:22 ` Craig Zeller
  2 siblings, 0 replies; 5+ 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] 5+ messages in thread

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

Thread overview: 5+ 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-24  9:31 ` DEC AXP, OSF1 3.0 and modems @38400bps -> p Haeni R guest
1995-02-25  0:22 ` DEC AXP, OSF1 3.0 and modems @38400bps -> problems Craig Zeller

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