[mod.telecom] Sun-2 vs. Hayes when used for both dialin and dialout

telecom@ucbvax.UUCP (01/10/86)

A colleague here at NIH is having problems using their Sun 2 and their Hayes
modem.  Inquiries are being made of Sun; I'm also posting this item so that
if one of you knows something that Sun doesn't. . .

The Sun is running 4.2bsd (release 1.1).  The colleague wants to use the
port connected to the Hayes both for dialing in and dialing out.  However,
there doesn't seem to be a single cable that can be put between the Sun's
DB-25 connector and the Hayes's DB-25 connector that will allow for both
dialing in and dialing out:

      *	if you install a cable that *does* connect the Hayes modem's pin 8
	(data carrier detect) to the Sun's pin 8 then dialing in works but
	you get a "can't synchronize with Hayes modem" message when you use
	a command like
		tip 5551212

      *	if you install a cable that *does not* connect the Hayes modem's pin 8
	(data carrier detect) to the Sun's pin 8 then you can get commands like
		tip 5551212
	to work but when you dial in the modem hangs up the phone almost
	immediately after answering it.

(In all the above work, the "/etc/ttys" file was edited appropriately and a
"kill -HUP 1" command was executed by the root user before attempts were made
to dial in or dial out.)

Have you experienced such problems?  Do you know how to overcome them?  If you
do, I'd appreciate hearing from you.
--
Sun is a Sun Microsystems trademark.
Hayes is a Hayes (insert corporate lingo here) trademark.
--
	UUCP: ..decvax!seismo!elsie!ado    ARPA: elsie!ado@seismo.ARPA
	DEC, VAX and Elsie are Digital Equipment and Borden trademarks

telecom@ucbvax.UUCP (01/15/86)

While not necessarily a solution to this problem, there was
a program posted to the net.sources recently that allowed
user's to use the same line for dialing in and dialing out.
This code was specifically for the BSD (aka SUN) versions of
UNIX.  This may be worth pursuing.

Marc Ries
TRW Operations and Support Group

telecom@ucbvax.UUCP (01/16/86)

Your problem is a very common one, that took me a while to figure out on
our Sun 2-170. To use it for both calling and out, youu must reconfigure
the kernal.

If you have a Standard Sun CPU Board:

	Edit your Kernal, and find a line like:

	device zs0 at mb0 csr 0xeec800 flags 0x3 priority 2

	and change 0x3 to 0x2 for ttya, to 0x1 for ttyb, to 0x0 for both.

If you have something else send me a note or 

check your administration manual under "Adding Hardware to your System"

					Jeff Kvam