[comp.dcom.modems] Help with incoming modems and getty urgently requested!

xev@athena.mit.edu (Xev Gittler) (08/27/87)

I was wondering if someone could PLEASE help me out. I am trying to
set up some modems to answer the phone on BSD4.3 Microvax. The modem
will answer fine, until I turn the /etc/ttys entry on. At that point,
the modem's send and recieve lights start flashing furiously, and it
will no longer answer the phone. When I get into kermit and connect to
the line, I see that it is repeatedly sending the login banner. Does
anyone have any ideas as too why this happens?

---
				Xev Gittler
				xev@hstbme.mit.edu
				xev@athena.mit.edu

rafiei@umn-cs.UUCP (Mehrdad Rafiei) (08/28/87)

In article <1373@bloom-beacon.MIT.EDU> xev@athena.mit.edu (Xev Gittler) writes:
>I was wondering if someone could PLEASE help me out. I am trying to
>set up some modems to answer the phone on BSD4.3 Microvax. The modem.....

The solution is to turn off idle mode echo.  Contact Multi-Tech Systems Inc.
if you run into any problems.  The number is 800-328. C. C.

peter@citcom.UUCP (Peter Klosky) (08/28/87)

> the line, I see that it is repeatedly sending the login banner. 

Some unix admin people call this a "getty war."  It is possible to get
this behaviour when you connect one computer to another with an rs-232
null modem cable; one computer's login message is thought by the other 
computer to be a login name a user typed, and the other side thinks
the same thing.  If you have to use this type of cable, consider
running serial line ip, so people can log in from either end.  Otherwise
one one person can be logged in using the line, and only one computer
can use the line, the other end has to run a getty.  If the distance
is short, consider an ethernet.  Of course, this is not related to
your actual problem, but I thought I'd bring it up in case anyone
knows how to get a two way connection going on a serial line without
serial line ip; not supported in all versions of unix.
-- 
Peter Klosky, Citcom Systems (materiel de telecommunications)
seismo!vrdxhq!baskin!citcom!peter (703) 689-2800 x 235

chris@mimsy.UUCP (08/30/87)

In article <69@citcom.UUCP> peter@citcom.UUCP (Peter Klosky) writes:
>... I thought I'd bring it up in case anyone knows how to get a two
>way connection going on a serial line without serial line ip ....

We used to do this under 4.1BSD when all we had was UUCP.  It is all
a matter of asserting DTR (tied to the other computer's CD) at the
right time.  We had the DH driver hacked to do `passive', `active',
and `forced' or dialout opens:  The first would wait for CD, then
assert DTR; the second would assert DTR, then wait for CD; and the
third would assert DTR without waiting at all.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690)
Domain:	chris@mimsy.umd.edu	Path:	seismo!mimsy!chris

davidsen@steinmetz.UUCP (09/02/87)

Turn off local echo on the modem. If needed you can put something like
	(stty 1200;echo AT;echo ATE0) </dev/yourtty >/dev/yourtty
in your startup file to init the device at boot time.
-- 
	bill davidsen		(wedu@ge-crd.arpa)
  {chinet | philabs | seismo}!steinmetz!crdos1!davidsen
"Stupidity, like virtue, is its own reward" -me

peter@citcom.UUCP (Peter Klosky) (09/04/87)

> Turn off local echo on the modem. If needed you can put something like
> 	(stty 1200;echo AT;echo ATE0) </dev/yourtty >/dev/yourtty
> in your startup file to init the device at boot time.

Some modems will let you set these settings on a more or less
once when you buy a new modems basis; they have this &W command:
AT&D2&W
AT&Q1&W
AT&E1&W
AT&ATS0&W
We just tip right to the outgoing modem and do it by hand once; this
may not work if your modem tends to forget its settings, or was not even
designed to save them over power-up.
-- 
Peter Klosky, Citcom Systems (materiel de telecommunications)
seismo!vrdxhq!baskin!citcom!peter (703) 689-2800 x 235