Subject: Re: modem setup
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Ron Stanions <sauron@dweyr.wisdom.bubble.org>
List: current-users
Date: 07/25/1994 22:57:31
According to aod@beretta.ramp.com:
>
> I cannot get my com ports to work with ANY current utilities.
I've spent many an hour trying to get my modems working. I have 3 com ports
now, one with a dedicated in-house slip, one to a modem for dialout, and
another to a modem for dialin.
For the slip connection, I had to add 'stty clocal < /dev/tty00' to get it
to NOT get hung up if I rebooted the computer it talked to. other than that
I have nothing special to that line.
For the dialout I have softcar set in ttys
for the dialin I have rtscts set in ttys and have absolutely mangled my
gettytab file trying to get the thing to work in 8N1 mode for ALL levels
of input (bbs callers know 8n1), the pertinant information is:
/etc/ttys:
tty00 "/usr/libexec/getty std.38400" unknown off secure
tty01 "/usr/libexec/getty std.115200" unknown off softcar
tty02 "/usr/libexec/getty std.115200" vt100 on rtscts
and the std.115200 entry in /etc/gettytab is:
std.115200|115200-baud:\
:sp#115200:\tt=vt100:np:\
:i0#0x00002926:i1#0x00002926:i2#0x00002926:\
:o0#0x0000000B:o1#0x0000000B:o2#0x0000000B:\
:c0#0x00014B00:c1#0x00014B00:c2#0x00014B00:\
:l0#0x0000058B:l1#0x0000058B:l2#0x0000058B:\
:im=\r\n\r\n\Welcome\,\ to the Dragon's Weyr!\r\n\r\nType 'bbs' to log in to the BBS.\r\n\r\n:lm=(%t@%h) login\72 :
The important things for the dialin line needed to have clocal off so it would
send the HUP signal on carrier loss. for dialout clocal should be set
high, and softcar should be set in the ttys file to cause the driver to
not 'hang' when there's no carrier detected.
also, dialin modems should be configured to auto-answer, and be entirely
'dumb'. (ATQ0E0S0=1)
Hope this helps some.
------------------------------------------------------------------------------