SUMMARY: Modem speed > 19200

From: Joe R. Jah (jjah@sol.ccsf.cc.ca.us)
Date: Mon Jan 27 1997 - 16:28:41 CST


Hi Folks,

Please forgive me for such a long delay before summarizing; unfortunately
I could not make any of the responses work for me. I did not try out the
serial card suggested by Victoria Baker <vicky@magma.COM>, but I tried
every other suggestion without success.

The original message:

> I run a Solaris 2.5 box; I recently added two 28.8 modems and installed
> PPP. After quite a bit of trials and errors I got it working as a
> dynamic PPP server at 19200 speed, but however I tried I could not make
> it work with 38400.
>
> I appreciate any pointers you may give.

Responses:

Date: Fri, 6 Dec 1996 10:49:06 +1100 (EST)
From: Glenn Satchell - Uniq Professional Services <Glenn.Satchell@Uniq.com.au>
To: jjah@hills.ccsf.cc.ca.us
Subject: Re: Modem speed > 19200

We have several systems running 2.3, 2.4 and 2.5.1 at 38400 with
no problems. Make sur ethat you have hardware flow control
enabled.

In /etc/ttydefs add/modify the entry at the top of the file:

38400:38400 hupcl:38400 hupcl crtscts::19200

in /etc/uucp/Dialers add the STTY= command, the P_ZERO sets no
parity, eg:

hayes =,-, "" P_ZERO "" \E\pA\pT\r\c OK\r \E\pATDT\T\r\c CONNECT STTY=crtscts

And in your modem config set hardware flow control. On my modem
this is &K3 but you should check your docs.

Date: Thu, 5 Dec 1996 17:15:43 -0800
From: Celeste Stokely <celeste@celestial.stokely.com>
To: jjah@hills.ccsf.cc.ca.us
Subject: Re: Modem speed > 19200

Can you tip out at 38400? Can you dial in interactively at 38400?
Much depends on how your port monitor is set up, along with how the
modem is set up. I'd lock the port monitor at 38400, and the modem's
serial port speed at 38400, and let the modem vary the modem-to-modem
speed as needed.

See my modem tutorial at
http://www.stokely.com/unix.serial.port.resources/tutorials.html

and the PPP FAQs at:
http://www.stokely.com/unix.serial.port.resources/ppp.slip.html

Date: Fri, 6 Dec 96 10:58:44 EST
From: Greg Price <greg@defcen.gov.au>
To: jjah@hills.ccsf.cc.ca.us
Subject: Re: Modem speed > 19200

I have mine set to 38400. I would recommend hardware flowcontrol, so make sure
your modem cable has pins 4 & 5 connected through. Ensure the modem is
listening for hardware flow control (ie CTS/RTS) It's at&k3 on my dynalink.

To check it first, use tip. You will need an entry in /etc/remote like:
modem:dv=/dev/cua/b:br#38400

(/dev/cua/b is the b serial port) Then do "tip modem" and if the control lines
are correct and the aspppd doesn't have the device open, you should get
connected backed. You can then dial up a system, eg BBS and check if your
data comms is working properly, ie not loosing characters, etc. There is a
TCP performance patch that wouldn't harm. I'm working off a sparc platform,
I don't know if there are any issues if you are on an x86 architecture.

If this doesn't help, you may need to clarify the situation a little more.

Date: Fri, 6 Dec 1996 12:32:54 EST
From: Kevin Sheehan {Consulting Poster Child} <Kevin.Sheehan@uniq.com.au>
To: "Joe R. Jah" <jjah@hills.ccsf.cc.ca.us>
Subject: Re: Modem speed > 19200

Turn on hardware flow control for both sides. For instance, I use:

rdi =,-, "" \E\pA\pTZ0\r\c OK\r \E\pATDT\T\r\c CARRIER STTY=crtscts

For my laptop modem, and make sure hardware control is enabled in the modem.

Date: Fri, 6 Dec 1996 22:18:12 +0100 (MET)
From: Martin Huber <hu@garfield.m.isar.de>
To: jjah@hills.ccsf.cc.ca.us
Subject: Re: Modem speed > 19200

Enter lines for the 38400 bps modem speed in /etc/ttydefs
define the 38400 bps modem in /etc/uucp/Devices (simply copy the 19200 lines)
reference this line in /etc/uucp/Systems

# VERSION=1
38400:38400 hupcl:38400 hupcl::19200
19200:19200 hupcl:19200 hupcl::9600
9600:9600 hupcl:9600 hupcl::4800
4800:4800 hupcl:4800 hupcl::2400
2400:2400 hupcl:2400 hupcl::1200
1200:1200 hupcl:1200 hupcl::300
300:300 hupcl:300 hupcl::38400

38400E:38400 hupcl evenp:38400 evenp::19200
19200E:19200 hupcl evenp:19200 evenp::9600
9600E:9600 hupcl evenp:9600 evenp::4800
4800E:4800 hupcl evenp:4800 evenp::2400
2400E:2400 hupcl evenp:2400 evenp::1200
1200E:1200 hupcl evenp:1200 evenp::300
300E:300 hupcl evenp:300 evenp::19200

auto:hupcl:sane hupcl:A:9600

console:9600 hupcl opost onlcr:9600::console
console1:1200 hupcl opost onlcr:1200::console2
console2:300 hupcl opost onlcr:300::console3
console3:2400 hupcl opost onlcr:2400::console4
console4:4800 hupcl opost onlcr:4800::console5
console5:19200 hupcl opost onlcr:19200::console

contty:9600 hupcl opost onlcr:9600 sane::contty1
contty1:1200 hupcl opost onlcr:1200 sane::contty2
contty2:300 hupcl opost onlcr:300 sane::contty3
contty3:2400 hupcl opost onlcr:2400 sane::contty4
contty4:4800 hupcl opost onlcr:4800 sane::contty5
contty5:19200 hupcl opost onlcr:19200 sane::contty

4800H:4800:4800 sane hupcl::9600H
9600H:9600:9600 sane hupcl::19200H
19200H:19200:19200 sane hupcl::38400H
38400H:38400:38400 sane hupcl::2400H
2400H:2400:2400 sane hupcl::1200H
1200H:1200:1200 sane hupcl::300H
300H:300:300 sane hupcl::4800H

conttyH:9600 opost onlcr:9600 hupcl sane::contty1H
contty1H:1200 opost onlcr:1200 hupcl sane::contty2H
contty2H:300 opost onlcr:300 hupcl sane::contty3H
contty3H:2400 opost onlcr:2400 hupcl sane::contty4H
contty4H:4800 opost onlcr:4800 hupcl sane::contty5H
contty5H:19200 opost onlcr:19200 hupcl sane::conttyH

Date: Fri, 6 Dec 96 15:30:41 PST
From: Victoria Baker <vicky@magma.COM>
To: jjah@hills.ccsf.cc.ca.us
Subject: MAGMA SBus Serial Cards

One of our SBus serial cards may be a solution for your modem speed problem.
For further information on our products, you can visit our web site at
http://www.magma.com or send an email to "info@magma.com".

Date: Fri, 6 Dec 1996 21:53:22 -0200 (EDT)
From: Marcos Assis Silva <assis@npd.uel.br>
To: "Joe R. Jah" <jjah@hills.ccsf.cc.ca.us>
Subject: Re: Modem speed > 19200

        I'm not an expert nor that experienced on the matter, but ... I think
you'll have to set the serial interface at the FIXED rate of 38400 in both
the Solaris box (pray for it to work at that speed) and the modem itself. The
line speed may be negotiated between the modems (the calling one and the
answering one). You have to enable hardware flow control between the Solaris
box and the modem and MUST enforce a line protocol to compress data flowing
between the modems (usually this can be acomplished with AT commands to the
modem) - notice that this way only calling modems that talk the same
compressing protocol as yours will be able to connect as the protocol is a
MUST. Well, I think that's all for now. Good luck (you'll need it!) and best
regards ...

Date: Mon, 9 Dec 1996 08:49:39 -0500
From: John Malick <john@starinc.com>
To: jjah@hills.ccsf.cc.ca.us
Subject: Re: Modem speed > 19200

There is no particular reason why it would not work at 38400. Check to make
sure you have all relevent patches. There are one or two for PPP and especially
the 2.5 kernel patch is necessary.

Second, after installing the patches, if you continue to have a problem at
the high speeds but not lower baud rates, you could be looking at line noise
problems.

Set debug level to level 9 on both Sun PPP server and Sun PPP clients. Now
look at the /var/adm/log/asppp.log files to see what PPP may be complaining
about.

     _/ _/_/_/ _/ ___________ __o
     _/ _/ _/ _/ ______________ -\<,
 _/ _/ _/_/_/ _/ _/ ......O/ O
  _/_/ oe _/ _/. _/_/ ah jjah@sol.ccsf.cc.ca.us



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:43 CDT