[comp.sys.att] 3B1 external Modem configuration

mark@DRD.Com (Mark Lawrence) (04/11/90)

I recently acquired a hayes compatible 2400 bps modem that I'd like to
attach to my 3b1 to be used as both callup/dialout.  I logged in as
install, selected administration and set up the RS-232 port as directed
in the users's manual.

I'm an ex Sun system administrator, so I know a little about the old-style
UUCP files and so examined them afterwords.  I was surprised to find that 
Devices and L-devices get DIFFERENT stuff.  Systems, I notice, is a link 
to L.sys.

I assume (maybe incorrectly) that /dev/tty000 is the rs232 port.  I
don't understand the /dev/ph0 and /dev/ph1 in etc, though.  Which one is
the internal (OBM -- OnBoardModem?) modem?

The result of this setup was that I couldn't figure out out to get to
the newly connected external modem to dial out.  I tried every variation
I could think of with the -l switch to cu to figure out if I could just
get directly connected to the modem so that I could do "at" and see that
it was alive.  While futzing around with the phone line connected to the
newly installed modem, a system called up and it looked like (from the
Rx/Tx lights on the modem) that a login invitation was given, so I
suspect that a getty actually was active on the port watching for
dialups.  Does this setup only handle callup and not dialout?

I'd dial in and get the contents of the /usr/lib/uucp/* files to explain
things but the internal modem isn't answering when I call from work {-:.
I think I might have really messed things up.

Is there anybody out there who's dealt with both pre-HoneyDanBer type
uucp and knows the technical details of the 3b1 files that would be
willing to engage in e-mail dialogue with me about this?  Please e-mail
me at work (mark@drd.com or ...uunet!apctrc!drd!mark).  Thanks
-- 
 mark@DRD.Com {uunet,rutgers}!drd!mark (918)743-3013
 "...do justice, love mercy, and walk humbly..." Micah 6:8

rlw@ttardis.UUCP (Ron Wilson) (04/12/90)

In article <1990Apr11.142201.5357@DRD.Com>, mark@DRD.Com (Mark Lawrence) writes:
>I recently acquired a hayes compatible 2400 bps modem that I'd like to
>attach to my 3b1 to be used as both callup/dialout.  I logged in as
>install, selected administration and set up the RS-232 port as directed
>in the users's manual.
...
>I assume (maybe incorrectly) that /dev/tty000 is the rs232 port.  I
>don't understand the /dev/ph0 and /dev/ph1 in etc, though.  Which one is
>the internal (OBM -- OnBoardModem?) modem?

tty000 is the builtin RS-232 port. ph0 and ph1 can both access the modem;
they can also both access the voice telephone circuitry in the Unix-PC.  By
convention, ph0 is used for the voice phone line and ph1 for the modem line.

>The result of this setup was that I couldn't figure out out to get to
>the newly connected external modem to dial out.  I tried every variation
...
>dialups.  Does this setup only handle callup and not dialout?
>-- 
> mark@DRD.Com {uunet,rutgers}!drd!mark (918)743-3013

The system call handle both in and out going calls through BOTH the internal
modem and the RS-232 ports.

Since you are already familier with using the install account menus, the
easiest thing might be to use the menus to set up tty000 as out going only,
then from the shell prompt, type:

	setgetty 000 1

You will then have the builtin RS-232 port set to handle BOTH incoming AND
out going calls.  tty001 is 001, ...; and ph1 is ph1.

FYI: the L-devices file will have:

OBM ph1 UNIXPC 1200
OBM ph1 UNIXPC 300
ACU tty000 hayes 2400
ACU tty000 hayes 1200
ACU tty000 hayes 300
DIR tty000 0 2400
DIR tty000 0 1200
DIR tty000 0 300

And the inittab file will have:

	000:2:respawn:getty tty000 2400


Good luck.

- Ron Wilson
uunet!rel.mi.org!ttardis!rlw
sharkey!cfctech!ttardis!rlw