Subject: Re: Modem problem
To: Frederick Bruckman <fredb@fb.sa.enteract.com>
From: Patrick Welche <prlw1@cam.ac.uk>
List: netbsd-help
Date: 05/20/1998 17:50:31
Frederick Bruckman wrote:
> 
> On Tue, 19 May 1998, Patrick Welche wrote:
> 
> > What doesn't work:
> > 
> > DOS/kermit connected via modems with getty running on tty00, in fact,
> > the modem, a no-name "33.6 DTV", doesn't answer. What have I missed?
> > (At a guess stty -f /dev/tty00 settings? It didn't matter what I put
> > at the end of the line /etc/ttys ie., tried {,rtscts,mdmbuf...})
> 
> This works for me. In /etc/ttys:
> 
> tty00   "/usr/libexec/uugetty std.38400" vt220 on secure rtscts

I had eg.
tty00   "/usr/libexec/getty std.9600" unknown on rtscts

> getty will set the line discipline when it answers; stty is irrelevant.

Few - that cuts down many variables!

> Now, to get the modem to answer the phone, you need to set register S0 to
> a nonzero number.

I had it set to 2.

> Here's a hypothetical dialog.
> 
> AT&F&E0W2&C1&D2&K3
            ^^^^^
I wondered about those, but those are the default values on my modem too.

> at&v
> ACTIVE PROFILE:
> B1 E1 L1 M1 N1 Q0 T V1 W2 X4 Y0 &C1 &D2 &G0 &J0 &K3 &Q5 &R1 &S0 &T5 &X0 &Y0
> S00:001 S01:000 S02:043 S03:013 S04:010 S05:008 S06:002 S07:050 S08:002 S09:006
> S10:014 S11:095 S12:050 S18:000 S25:005 S26:001 S36:007 S37:000 S38:020 S44:020
> S46:138 S48:007 S95:000

And for me:
at&v
ACTIVE PROFILE:
B0 E1 L1 M1 N1 Q0 T V1 W0 X4 Y0 &C1 &D2 &G2 &J0 &K3 &Q5 &R1 &S0 &T5 &X0 &Y0
S00:002 S01:000 S02:043 S03:013 S04:010 S05:008 S06:004 S07:050 S08:002 S09:006
S10:014 S11:095 S12:050 S18:000 S25:005 S26:001 S36:007 S37:000 S38:020 S44:020
S46:138 S48:007 S95:000 

The differences seem to be:
 B1  B0	Bell mode (irrelevant)
 W2  W0	? I don't know what this is.
&G0 &G2	Guard tone selection (irrelevant)
S00:1 2 One ring / two rings
S06:2 4 Wait 2/4 secs before dialing

> I'm supposing you have an internal modem. External modems are much
> easier--they usually light up the "AA" LED when answer mode is enabled.

It is external - if only it were easier! - the AA LED flashes each
time the phone rings.

> Hope you kept your printed manual! <snort>

Naturally this no-name modem comes with a high quality printed manual:
"Your Easy Installation Guide": Select Control panel... on one sheet
of A4. It does say it is Hayes compatible (one piece of useful info)

> Hope this does it for you.

Thanks for your in-depth reply, but I still don't see the
difference. It must be a configuration thing as when I have kermit
running on the NetBSD box, the modem does answer and connects, however
when I have getty running instead, the modem doesn't answer.

Cheers,

Patrick