home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!bjones
- From: bjones@magnus.acs.ohio-state.edu (William A Jones)
- Subject: Problems with gettyps203 (uugetty) answering phone
- Message-ID: <1992Sep4.014521.4187@magnus.acs.ohio-state.edu>
- Sender: news@magnus.acs.ohio-state.edu
- Nntp-Posting-Host: bottom.magnus.acs.ohio-state.edu
- Organization: The Ohio State University
- Date: Fri, 4 Sep 1992 01:45:21 GMT
- Lines: 71
-
- I just downloaded gettyps203 from sunsite.unc.edu but everything has also
- been true for gettyps202 and the getty on the 0.97 rootimage.
-
- Try as I might, I cannot get any of these to answer the phone when it
- rings the modem. I have tried the stock configuration files provided
- with gettyps, I have turned of all echoing, I have enabled the correct
- answering code (so that CONNECT 9600/ARQ, if it ever occurs, will be
- handled correctly), I have tried various waitfor strings -- WAITFOR=RING,
- WAITFOR=RING\r, and WAITFOR=RING\r\n -- with no luck. And yes, when I
- watch to port when someone is dialing in, the modem sends the message
- ring.
-
- My current inittab has the following
-
- ttys2:vt100:/bin/uugetty ttys2 9600
-
- to set getty on the serial port. This, according ps, is there. It is owned
- by root and the PID seems to increment about once each minute (is this
- supposed to happen?).
-
- My gettydefs is virtually a stock one. It reads
-
- 9600# B9600 CS8 # B9600 SANE -ISTRIP CLOCAL #login: #9600
- #
- # now the modem getty defs
- #
- 9600/ARQ# B9600 ISTRIP CS8 # B9600 SANE -ISTRIP #login: #2400
-
- 2400# B2400 ISTRIP CS8 # B2400 SANE -ISTRIP #login: #1200
-
- etc.
-
- The 9600/ARQ is the message that my modem is supposed to send upon
- connection. But, the connection never occurs so I don't think that
- this is relevant yet.
-
- My default/uugetty reads
-
- TIMEOUT=60
-
- INIT="" \r+++\dAT\r OK\r\n-\r+++\dAT\r-OK\r\n ATL0S0=0V1E0X4W0S95=2\\N3\r OK\r\n
-
- WAITFOR=RING
- CONNECT="" ATA\r CONNECT\s\A
-
- When I ``listen in'' on /dev/ttys2 when someone is dialing I see
- RING
-
- RING
-
- RING, etc.
-
- so I have also tried WAITFOR=RING\r and WAITFOR=RING\r\n but there was
- no difference.
-
- I have also tried the getty provided in the rootimage-0.97 together with
- the recommendations in the FAQ as well as various file switching shell
- scripts that were discussed a while back. None of them work. BTW the
- modem answers very nicely using Waffle under DOS.
-
- I am running a Cardinal 9600bps modem using MNP5 as default on ttys2 (COM2)
- with linux 0.97pl1, gettyps203 compiled with gcc2.2.2d with no changes
- in the makefile. I am getting desperate here -- I told my advisor he
- could call into my system to get the latest copies of my work in progress
- and he wants to do it now (I know, me and my big mouth -- don't speak until
- you have tested the software in question) so any advice will be welcome.
-
- Thanks,
-
- Bill
-
-