From: Richard Braun (richb@jti.com)
Date: 12/28/92


From: richb@jti.com (Richard Braun)
Subject: Re: uucico not hanging up the telephone line
Date: Mon, 28 Dec 1992 15:44:30 GMT

gstrauss@yikes.uucp (Gary C. Strauss) writes:
>Hi, I am just getting news running on my system SLS version 0.98pl1 and I
>have encountered a small problem. If for some reason uucico is unable to
>connect properly with the system it is contacting, say it fails in the logon
>script, it terminates okay but fails to hang up the modem. This can be
>an expensive error. Does anyone have any idea why this is happening?

Did an answer to this earlier article get posted? I could also use
similar information. My uucico and getty sessions aren't hung up properly;
I notice this because I have a similarly-misconfigured modem on the other
side (a 3.2 UNIX whose serial cable I still need to tinker with).

If I run 'kermit' on the Linux system, I note that DTR is dropped for about
500ms if I type the hangup command to it. But if I remote login to the
modem, DTR remains high when I log out. I'm running with the H.Lu release
0.98pl5 dating back a few weeks.

In answer to Gary's question above, a lot of modems come factory-
configured to ignore the state of DTR. Look for the "&D" setting in
your modem; mine was indeed &D0 before I changed it. Some modems show
the state of DTR in a front-panel LED; try running the same test I did
with Kermit to see if the signal is dropped. (I won't buy internal
modems 'cause it's hard to diagnose problems and 'cause you can't reset
them without rebooting the computer. With a little shopping, I found
an external 14.4K modem for less than most internals.) For about US$10
you can get an RS-232 signal indicator from places like Radio Shack; it's
an invaluable tool.

I also note that the standard getty configuration seems not to work with
a hardwired local terminal because getty changes the clocal stty setting.
When I get some time I'll download the source to getty and alter this
logic.

-rich