Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Modem on DS5000
@ 1993-07-12 21:32 Dave Carter
  1993-07-13 12:08 ` steven husting
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Dave Carter @ 1993-07-12 21:32 UTC (permalink / raw)



i'm trying to set up high speed (14.4K) modems on the serial ports on
a DECstation 5000, running ultrix 4.2a.  they are USRobotics couriers.
i cannot seem to fix the serial connection at 19200, (in order for the
modems to negotiate their own rate).  i'd like to use &H1 and &B1 on
the modem and use the following for the tty entry:

tty00	"/etc/getty 8bit.19200" vt100	on modem secure # 14.4 V.32

when the modems connect, i get garbage.  if i substitue 8bit.9600, it
connects fine, but this is not as fast.  also, i am getting the
errors:

Jul 12 15:05:29 localhost: getty: /dev/tty00: Operation would block
Jul 12 15:13:22 localhost: getty: /dev/tty01: Operation would block

appearing in my syslog.  does anyone know why?  on the modems, i have
switches 3 and 8 down, all the rest up.  (same as factory setting, i
believe.)

finally, i cannot seem to "kermit" out to the modem from the
decstation, unless i set switch 6 (CD override) down.  does anyone
know why?

thanks.

						- dave
-- 
carter@mustang.mst6.lanl.gov


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

* Re: Modem on DS5000
  1993-07-12 21:32 Modem on DS5000 Dave Carter
@ 1993-07-13 12:08 ` steven husting
  1993-07-13 15:04   ` Christopher Robin Thewalt
  1993-07-13 15:04   ` Thomas Leitner
  1993-07-13 15:02 ` Thomas Leitner
  1993-07-14 19:43 ` Dave Carter
  2 siblings, 2 replies; 12+ messages in thread
From: steven husting @ 1993-07-13 12:08 UTC (permalink / raw)



>i'm trying to set up high speed (14.4K) modems on the serial ports on
>a DECstation 5000, running ultrix 4.2a.  they are USRobotics couriers.
>i cannot seem to fix the serial connection at 19200, (in order for the
>modems to negotiate their own rate).  i'd like to use &H1 and &B1 on
>the modem and use the following for the tty entry:
>
>tty00	"/etc/getty 8bit.19200" vt100	on modem secure # 14.4 V.32
>
>when the modems connect, i get garbage.  if i substitue 8bit.9600, it
>connects fine, but this is not as fast.  also, i am getting the
>errors:


I was told by DEC, at one point, that the 5000/200 serial ports only
support 9600 baud. I haven't seen anything to prove otherwise. If
someone can tell me how to convince the Decstation to support 
my 19,200 modem, I'd be happy to hear it.


'reply' won't work; you have to type in the address, sorry ...

Steve Husting: steve@sdz01.uu.ch

Pinck Softech AG
Reinach, Switzerland
	


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

* Re: Modem on DS5000
  1993-07-12 21:32 Modem on DS5000 Dave Carter
  1993-07-13 12:08 ` steven husting
@ 1993-07-13 15:02 ` Thomas Leitner
  1993-07-14 19:43 ` Dave Carter
  2 siblings, 0 replies; 12+ messages in thread
From: Thomas Leitner @ 1993-07-13 15:02 UTC (permalink / raw)


Dave Carter (carter@ferrari.mst6.lanl.gov) wrote:

: i'm trying to set up high speed (14.4K) modems on the serial ports on
: a DECstation 5000, running ultrix 4.2a.  they are USRobotics couriers.
: i cannot seem to fix the serial connection at 19200, (in order for the
: modems to negotiate their own rate).  i'd like to use &H1 and &B1 on
: the modem and use the following for the tty entry:

: tty00	"/etc/getty 8bit.19200" vt100	on modem secure # 14.4 V.32

: when the modems connect, i get garbage.  if i substitue 8bit.9600, it
: connects fine, but this is not as fast.  also, i am getting the
: errors:

: Jul 12 15:05:29 localhost: getty: /dev/tty00: Operation would block
: Jul 12 15:13:22 localhost: getty: /dev/tty01: Operation would block

: appearing in my syslog.  does anyone know why?  on the modems, i have
: switches 3 and 8 down, all the rest up.  (same as factory setting, i
: believe.)

: finally, i cannot seem to "kermit" out to the modem from the
: decstation, unless i set switch 6 (CD override) down.  does anyone
: know why?

1.) Use:

ttyd0	"/etc/getty 8bit.19200" vt100	on shared modem
                                           !!!!!!
If you use 'shared' you can 'kermit' out to your modem even though
getty is running. 

2.) "Kermit" out to the modem using 19200 Baud, and enter AT&B1 followed
by AT&W (after turning off 'echo' and command responses of course). This
sets the baud rate to 19200 baud.

But: I get the exactly same behaviour (same messages in
syslog, dropped chars @ 19200 baud) as you and was told that
Ultrix just doesn't support hardware handshaking.

So: I'm stuck at 9600 baud as well (no HW handshaking required since
the modem has the same speed as the DCE<->DTE commection)

Tom
-------------------------------------------------------------------------
Tom Leitner, Dept. of Communications, Technical University Graz / Austria
Internet: tom@finwds01.tu-graz.ac.at  or  tom@piassun1.joanneum.ac.at
FidoNet : 2:316/7.91
-------------------------------------------------------------------------
When a train station is where the train stops, what is a workstation?


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

* Re: Modem on DS5000
  1993-07-13 12:08 ` steven husting
@ 1993-07-13 15:04   ` Christopher Robin Thewalt
  1993-07-13 16:56     ` Harry Flowers
                       ` (2 more replies)
  1993-07-13 15:04   ` Thomas Leitner
  1 sibling, 3 replies; 12+ messages in thread
From: Christopher Robin Thewalt @ 1993-07-13 15:04 UTC (permalink / raw)


In article <1993Jul13.120857.15446@sdz01.uu.ch> steve@sdz01.uu.ch (steven husting) writes:

>>i'm trying to set up high speed (14.4K) modems on the serial ports on
>>a DECstation 5000, running ultrix 4.2a.  they are USRobotics couriers.
>>i cannot seem to fix the serial connection at 19200, (in order for the
>>modems to negotiate their own rate).  i'd like to use &H1 and &B1 on
>>the modem and use the following for the tty entry:
>>tty00	"/etc/getty 8bit.19200" vt100	on modem secure # 14.4 V.32
>>when the modems connect, i get garbage.  if i substitue 8bit.9600, it
>>connects fine, but this is not as fast.  also, i am getting the
>>errors:

>I was told by DEC, at one point, that the 5000/200 serial ports only
>support 9600 baud. I haven't seen anything to prove otherwise. If
>someone can tell me how to convince the Decstation to support 
>my 19,200 modem, I'd be happy to hear it.

I am using both ports at 19200 and it works fine. What DEC has told me
is that you could actually use them both at 38400 (with a kernel hack that
they won't tell me) but not mixed 19200/38400.  I am using Ultrix 4.3
though, maybe that makes a difference.  Making the serial line lock at
19200 is a modem setup issue, not a getty issue.  The "would block"
messages in syslog are still there. Also, the brain dead getty raises and
lowers DTR while waiting for an incoming call, and the modem won't
answer when DTR is down, so you'll need DTR overide in the modem too.

Chris


--
Christopher Robin Thewalt               (thewalt@ce.berkeley.edu)
Dept. of Civil Engineering              These opinions are not necessarily
University of California, Berkeley      shared by my employer...


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

* Re: Modem on DS5000
  1993-07-13 12:08 ` steven husting
  1993-07-13 15:04   ` Christopher Robin Thewalt
@ 1993-07-13 15:04   ` Thomas Leitner
  1 sibling, 0 replies; 12+ messages in thread
From: Thomas Leitner @ 1993-07-13 15:04 UTC (permalink / raw)


steven husting (steve@sdz01.uu.ch) wrote:

: >i'm trying to set up high speed (14.4K) modems on the serial ports on
: >a DECstation 5000, running ultrix 4.2a.  they are USRobotics couriers.
: >i cannot seem to fix the serial connection at 19200, (in order for the
: >modems to negotiate their own rate).  i'd like to use &H1 and &B1 on
: >the modem and use the following for the tty entry:
: >
: >tty00	"/etc/getty 8bit.19200" vt100	on modem secure # 14.4 V.32
: >
: >when the modems connect, i get garbage.  if i substitue 8bit.9600, it
: >connects fine, but this is not as fast.  also, i am getting the
: >errors:


: I was told by DEC, at one point, that the 5000/200 serial ports only
: support 9600 baud. I haven't seen anything to prove otherwise. If
: someone can tell me how to convince the Decstation to support 
: my 19,200 modem, I'd be happy to hear it.

Mee too :-)

Is there no one out there who has the Ultrix source code and already
hacked the 'scc' driver and who could provide us poor with a
compiled version?

Waiting and anticipating :-) -- Tom

-------------------------------------------------------------------------
Tom Leitner, Dept. of Communications, Technical University Graz / Austria
Internet: tom@finwds01.tu-graz.ac.at  or  tom@piassun1.joanneum.ac.at
FidoNet : 2:316/7.91
-------------------------------------------------------------------------
When a train station is where the train stops, what is a workstation?


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

* Re: Modem on DS5000
  1993-07-13 16:56     ` Harry Flowers
@ 1993-07-13 16:49       ` Dave Carter
       [not found]         ` <carter.742583818@mustang.mst6.lanl.gov>
  0 siblings, 1 reply; 12+ messages in thread
From: Dave Carter @ 1993-07-13 16:49 UTC (permalink / raw)


In <1993Jul13.105637.8668@msuvx2.memst.edu> flowers@msuvx2.memst.edu (Harry Flowers) writes:

>In article <THEWALT.93Jul13080402@canuck.CE.Berkeley.EDU>,
> thewalt@canuck.CE.Berkeley.EDU (Christopher Robin Thewalt) writes:
>>                              Also, the brain dead getty raises and
>> lowers DTR while waiting for an incoming call, and the modem won't
>> answer when DTR is down, so you'll need DTR overide in the modem too.

>It could be a brain-dead modem asserting DSR when it's not off hook.
>Most modem have settings that will allow following the EIA-232 standard,
>which controls DSR from the modem, and its response to DTR (it should
>hang up the line when DTR is dropped).  Unfortunately, most modems by
>default don't follow the standard, so you have to tell them to behave.
>If getty raises and lowers DTR because DSR is asserted, then it's doing
>the "right thing".

the Courier has the following settings for DSR (&Sn):

	&S0	DSR is always ON (override).  Default
	&S1	in originate mode, the modem sends DSR after it dials,
		when it detects the remote modem's answer tone.  in
		answer mode, the modem sends DSR after it sends an
		answer tone.
	&S2	this option is for specialized equipment such as
		automatic callback units.  On loss of carrier, the
		modem sends a pulsed DSR signal with CTS following CD.
	&S3	this is the same as &S2, but without CTS following CD.

are you saying that the default is wrong?  one should use &S1?  could
this be the cause of "operation would block" messages?

						- dave
-- 
carter@mustang.mst6.lanl.gov


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

* Re: Modem on DS5000
  1993-07-13 15:04   ` Christopher Robin Thewalt
@ 1993-07-13 16:56     ` Harry Flowers
  1993-07-13 16:49       ` Dave Carter
  1993-07-14  0:18     ` ivie
  1993-07-14 11:27     ` Marc Evans
  2 siblings, 1 reply; 12+ messages in thread
From: Harry Flowers @ 1993-07-13 16:56 UTC (permalink / raw)


In article <THEWALT.93Jul13080402@canuck.CE.Berkeley.EDU>,
 thewalt@canuck.CE.Berkeley.EDU (Christopher Robin Thewalt) writes:
>                              Also, the brain dead getty raises and
> lowers DTR while waiting for an incoming call, and the modem won't
> answer when DTR is down, so you'll need DTR overide in the modem too.

It could be a brain-dead modem asserting DSR when it's not off hook.
Most modem have settings that will allow following the EIA-232 standard,
which controls DSR from the modem, and its response to DTR (it should
hang up the line when DTR is dropped).  Unfortunately, most modems by
default don't follow the standard, so you have to tell them to behave.

If getty raises and lowers DTR because DSR is asserted, then it's doing
the "right thing".
--
Harry Flowers                           Internet: FLOWERS@MSUVX2.MEMST.EDU
Memphis State University                & Bitnet: FLOWERS@MEMSTVX1


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

* Re: Modem on DS5000
       [not found]         ` <carter.742583818@mustang.mst6.lanl.gov>
@ 1993-07-13 19:00           ` Dave Carter
  0 siblings, 0 replies; 12+ messages in thread
From: Dave Carter @ 1993-07-13 19:00 UTC (permalink / raw)


by the way, where can i get a version of kermit for ultrix which will
support 19200?  (mine will only go to 9600.)

						- dave
-- 
carter@mustang.mst6.lanl.gov


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

* Re: Modem on DS5000
  1993-07-13 15:04   ` Christopher Robin Thewalt
  1993-07-13 16:56     ` Harry Flowers
@ 1993-07-14  0:18     ` ivie
  1993-07-14 16:40       ` Jeff White
  1993-07-14 11:27     ` Marc Evans
  2 siblings, 1 reply; 12+ messages in thread
From: ivie @ 1993-07-14  0:18 UTC (permalink / raw)


In article <THEWALT.93Jul13080402@canuck.CE.Berkeley.EDU>, thewalt@canuck.CE.Berkeley.EDU (Christopher Robin Thewalt) writes:
>  Also, the brain dead getty raises and
> lowers DTR while waiting for an incoming call, and the modem won't
> answer when DTR is down, so you'll need DTR overide in the modem too.

If the modem didn't keep DSR asserted, getty wouldn't do this...

Roger Ivie
ivie@cc.usu.edu


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

* Re: Modem on DS5000
  1993-07-13 15:04   ` Christopher Robin Thewalt
  1993-07-13 16:56     ` Harry Flowers
  1993-07-14  0:18     ` ivie
@ 1993-07-14 11:27     ` Marc Evans
  2 siblings, 0 replies; 12+ messages in thread
From: Marc Evans @ 1993-07-14 11:27 UTC (permalink / raw)


In article <THEWALT.93Jul13080402@canuck.CE.Berkeley.EDU>, thewalt@canuck.CE.Berkeley.EDU (Christopher Robin Thewalt) writes:
|> In article <1993Jul13.120857.15446@sdz01.uu.ch> steve@sdz01.uu.ch (steven husting) writes:
|> >I was told by DEC, at one point, that the 5000/200 serial ports only
|> >support 9600 baud. I haven't seen anything to prove otherwise. If
|> >someone can tell me how to convince the Decstation to support 
|> >my 19,200 modem, I'd be happy to hear it.
|> 
|> I am using both ports at 19200 and it works fine. What DEC has told me
|> is that you could actually use them both at 38400 (with a kernel hack that
|> they won't tell me) but not mixed 19200/38400.  I am using Ultrix 4.3
|> though, maybe that makes a difference.  Making the serial line lock at
|> 19200 is a modem setup issue, not a getty issue.  The "would block"
|> messages in syslog are still there. Also, the brain dead getty raises and
|> lowers DTR while waiting for an incoming call, and the modem won't
|> answer when DTR is down, so you'll need DTR overide in the modem too.

I use a DS5000/200 here at 38400. I have also used it at 19200.
I use both SLIP and uucp, both incoming and outgoing, using
hardware flow control to ZyXEL 1496 E+ modems. This all works
quite fine.

The trick to getting 38400 is to flip a bit before _every_ boot.
Then pretend to use 19200, which will result in 38400 being
selected. To flip the bit of interrest, perform the following:

	>> e 0xbff00000
	[[ some value is printed ]]
	[[ in your head, OR in the value 0x100 ]]
	>> d 0xbff00000 {value|0x100}
	>> boot

I *believe* that all recent versions of Ultrix do NOT stomp on
this bit, which when true tells the UARTS to run at 38400 and
when 0 tells the UARTS to run at 19200, when the 19200 baud rate
is selected via the tty driver (stty or equiv). Your milage may
vary, and you may have to go mung a piece of the kernel to get
this to work, if your driver bashes the bit described.

- Marc

-- 
===========================================================================
Marc Evans - Marc@Synergytics.COM           | Synergytics     (603)635-8876
WB1GRH     - WB1GRH@WA1YTW.NH.USA           | 21 Hinds Ln, Pelham, NH 03076
---------------------------------------------------------------------------
                      Unix and X11 Software Consultant 
===========================================================================


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

* Re: Modem on DS5000
  1993-07-14  0:18     ` ivie
@ 1993-07-14 16:40       ` Jeff White
  0 siblings, 0 replies; 12+ messages in thread
From: Jeff White @ 1993-07-14 16:40 UTC (permalink / raw)



  I've just finished setting up a bunch of modems on some 5000/240's,
also DECserver 700's, which also seem to have the identical RS232 pinouts
and operation.  What I've found:

1. Get a full RS232 cables (or at least pins 2-8 + 20, straight through
2. For the modem, have it 
	a. assert DSR only when carrier detect (&S1)
	b. CD follows real carrier carrier detect (&C1)
	c. reset modem when DTR drops (&D2)
	d. use RTS/CTS flow control (&K3)
	e. turn off echoing (E0)

3. The serial ports of the 5000 (at least 240, don't know about other models)
   can do 38400 baud.  Duplicate a /etc/gettytab entry for 19200 and replace
   with 38400.  Also change the /etc/ttys entry.  Tip can't talk at 38400
   but uucp can.  
4. When RTS/CTS is connected HW flow control will work, nothing special
   required (I've gotten the DECserver ports set at 57600 with f/c and they
   work fine.
5. Set you modem so it autobauds the modem-modem connection but the serial
   port speed remains locked.  A Codex modem I worked on had front panel
   controls that allowed setting of the speed.  With Zoom modems (V32.bis
   specifically), the port settings (speed, parity, databits) at time of
   last AT&W are what the port remain locked at.
6. I've set the port to shared and created a uucp L.sys entry (hostname
   reset) that connects to the port directory, issues and AT&F (reset to
   factory defaults), all the required AT settings, and then an AT&W.  We
   use it to reset the modems, also all we have to do is connect a new 
   modem, say 'uupoll reset', and it properly configures it.

  With this setup I've been able to have dialins from V32.bis (with zmodem
file transfers of over 3100cps), to lowly 1200 connections, with no loss
of characters.  

   Hope this helps.

					Jeff White
					jeff@cbis.ece.drexel.edu


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

* Re: Modem on DS5000
  1993-07-12 21:32 Modem on DS5000 Dave Carter
  1993-07-13 12:08 ` steven husting
  1993-07-13 15:02 ` Thomas Leitner
@ 1993-07-14 19:43 ` Dave Carter
  2 siblings, 0 replies; 12+ messages in thread
From: Dave Carter @ 1993-07-14 19:43 UTC (permalink / raw)


In <1993Jul12.213229.27513@mustang.mst6.lanl.gov> carter@ferrari.mst6.lanl.gov (Dave Carter) writes:
>i'm trying to set up high speed (14.4K) modems on the serial ports on
>a DECstation 5000, running ultrix 4.2a.  they are USRobotics couriers.

here is a followup, in case you're interested.  (i finally succeeded.)
as it turns out, my problems could have been solved immediately if i
hadn't been using a brain-dead version of kermit!

1) i was able to lock in the serial rate at 19200, using &B1.  i had
originally assumed that &B1 locked in whatever rate the getty process
was set to, 8bit.19200 when the getty process was started.  this is
not quite right: the modem uses the baud rate which is written in
nvram, even if the tty line on the decstation is set at 19200.  i had
used kermit to change the modem settings, (storing them with an &W).
unfortunately, the kermit i was using only went to 9600, so this was
written into nvram.  i got a new version of kermit, connected to the
tty at 19200, and re-stored the settings into nvram.  wala.

2) the block errors appearing in the syslog, "getty: /dev/tty00:
Operation would block" were indeed being caused by always asserting
DSR, causing the brain-dead getty behavior, as someone kindly pointed
out here.  (this is the default on all of my various courier modems, i
noticed.)  this problem also caused annoying delays while trying to
connect.  however, when i tried to change the modem setting from &S0
to &S1, i was always disconnected from the tty line, and it would not
allow me to reconnect, giving an error "Operation would block".  (i
also got disconnected after changing various other settings.)  when i
got the new version of kermit, this no longer happened.  i can now
correctly change all the settings on the modems.  in fact, i no longer
have to turn off the ttys in /etc/ttys in order to kermit out to the
modems, as i had to with the old kermit.  also, it is not necessary to
override DTR.  connections are now made immediately, like they're
supposed to.

to summarize, the only settings i changed from the factory defaults
are &B1, &H1, &R2 and &S1.  switches 3 & 8 are down, all the rest up.
(these are on courier HST and V.32bis modems.)

						- dave
-- 
carter@mustang.mst6.lanl.gov


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

end of thread, other threads:[~1993-07-14 19:43 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-07-12 21:32 Modem on DS5000 Dave Carter
1993-07-13 12:08 ` steven husting
1993-07-13 15:04   ` Christopher Robin Thewalt
1993-07-13 16:56     ` Harry Flowers
1993-07-13 16:49       ` Dave Carter
     [not found]         ` <carter.742583818@mustang.mst6.lanl.gov>
1993-07-13 19:00           ` Dave Carter
1993-07-14  0:18     ` ivie
1993-07-14 16:40       ` Jeff White
1993-07-14 11:27     ` Marc Evans
1993-07-13 15:04   ` Thomas Leitner
1993-07-13 15:02 ` Thomas Leitner
1993-07-14 19:43 ` Dave Carter

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