[net.bugs.uucp] Modem doesn't hang up provokes misdirected flame

gnu@l5.uucp (John Gilmore) (12/29/85)

In article <5821@fortune.UUCP>, mats@fortune.UUCP (Mats Wichmann) writes:
> Moral of story - if using affordable equipment, make sure it is
> affordable enough that you can buy two - one dialin and one dialout.
> Otherwise empty your bank account buying a modem with an external
> dialer. Sorry, not an elegant solution.

Maybe the real moral is that if you buy "affordable" system software,
buy two modems.  Sun's uucp and tip support dialin & dialout on the
same port with cheap modems and it works great.  I have a 1-port system
with a Hayes Smartmodem and only have minor trouble with it.

The key is that the driver must support talking to a modem which is not
indicating "carrier detect", but must generate a HUP when carrier drops
(so a line drop won't hang the port).  You set the modem switches so
carrier detect actually reflects carrier on the phone line, but the
driver selectively ignores this indication when dialing out.

Don't complain about the modems -- they work.  Fix your software.
I'll repost the driver fix if enough people haven't seen it.

dave@onfcanim.UUCP (Dave Martindale) (12/30/85)

In article <364@l5.uucp> gnu@l5.uucp (John Gilmore) writes:
>
>Maybe the real moral is that if you buy "affordable" system software,
>buy two modems.
> [discussion of how a modified tty driver can talk to a modem
> even though Carrier Detect is still low]
>Don't complain about the modems -- they work.  Fix your software.
>I'll repost the driver fix if enough people haven't seen it.

Indeed, this mechanism works well for supporting dialout.  However, it
is still worth looking carefully at the features of various modems,
with an eye to how you are going to use them.

One difference is in how "chatty" a modem is, and under what
circumstances.  The ideal behaviour is for them to be perfectly silent,
just like a dumb modem, when someone is calling in so getty doesn't get
"CONNECTED" or some other announcement and try to use it as a login
name.  But for dialout, you want the modem to talk back, telling you
that the call succeeded or failed.

Hayes Smartmodems are a pain to use for dialin and dialout, since there
is only one switch that selects whether they are silent or chatty.  If
you want to use it for dialin, you make the modem silent, but then you
get no information when you are making a call.

My other modem experience has been with the VADIC 3450 series, and they
do just what you want - silent answering but verbose calling.

Also, if you want to give people the same modems to use at home as you
put on your computer, you may want them to remember a few phone numbers
so they can be called without typing the number every time.  Many modems
with autodialers have this, but the Hayes loses again here.  (In my mind,
this makes naming the Hayes modem a "smartmodem" rather laughable).

If you do a lot of long-distance dialing, you may want tone dialing; some
modems are pulse-dial only.  Also, some computers can be reached only by
tone dialing, since you have to dial a regular phone number and then dial an
access code to a PBX at the far end.

Some modems adapt to tone or pulse dialing automatically by sending the
first digit as a tone and seeing if it breaks dial tone.  If it doesn't,
they redial the number from the beginning using pulse.  Some telephone
exchanges do not break the dial tone after the first digit, or give you
a second dial tone (particularly if the digit is "9" to get an outside line).
You can't use one of these modems with one of these telephone lines.
Better to have a modem where you can explicitly tell it which parts of
a number are to be tone and pulse, with no guessing on the modem's part.

	Dave Martindale