home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / linux / 9804 < prev    next >
Encoding:
Text File  |  1992-09-03  |  2.8 KB  |  83 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!bjones
  3. From: bjones@magnus.acs.ohio-state.edu (William A Jones)
  4. Subject: Problems with gettyps203 (uugetty) answering phone
  5. Message-ID: <1992Sep4.014521.4187@magnus.acs.ohio-state.edu>
  6. Sender: news@magnus.acs.ohio-state.edu
  7. Nntp-Posting-Host: bottom.magnus.acs.ohio-state.edu
  8. Organization: The Ohio State University
  9. Date: Fri, 4 Sep 1992 01:45:21 GMT
  10. Lines: 71
  11.  
  12. I just downloaded gettyps203 from sunsite.unc.edu but everything has also
  13. been true for gettyps202 and the getty on the 0.97 rootimage.
  14.  
  15. Try as I might, I cannot get any of these to answer the phone when it
  16. rings the modem.  I have tried the stock configuration files provided
  17. with gettyps, I have turned of all echoing, I have enabled the correct
  18. answering code (so that CONNECT 9600/ARQ, if it ever occurs, will be
  19. handled correctly), I have tried various waitfor strings -- WAITFOR=RING,
  20. WAITFOR=RING\r, and WAITFOR=RING\r\n -- with no luck.  And yes, when I
  21. watch to port when someone is dialing in, the modem sends the message
  22. ring.
  23.  
  24. My current inittab has the following
  25.  
  26. ttys2:vt100:/bin/uugetty ttys2 9600
  27.  
  28. to set getty on the serial port.  This, according ps, is there.  It is owned
  29. by root and the PID seems to increment about once each minute (is this
  30. supposed to happen?).
  31.  
  32. My gettydefs is virtually a stock one.  It reads
  33.  
  34. 9600# B9600 CS8 # B9600 SANE -ISTRIP CLOCAL #login: #9600
  35. #
  36. # now the modem getty defs
  37. #
  38. 9600/ARQ# B9600 ISTRIP CS8 # B9600 SANE -ISTRIP #login: #2400
  39.  
  40. 2400# B2400 ISTRIP CS8 # B2400 SANE -ISTRIP #login: #1200
  41.  
  42. etc.
  43.  
  44. The 9600/ARQ is the message that my modem is supposed to send upon
  45. connection.  But, the connection never occurs so I don't think that
  46. this is relevant yet.
  47.  
  48. My default/uugetty reads
  49.  
  50. TIMEOUT=60
  51.  
  52. INIT="" \r+++\dAT\r OK\r\n-\r+++\dAT\r-OK\r\n ATL0S0=0V1E0X4W0S95=2\\N3\r OK\r\n
  53.  
  54. WAITFOR=RING
  55. CONNECT="" ATA\r CONNECT\s\A
  56.  
  57. When I ``listen in'' on /dev/ttys2 when someone is dialing I see
  58. RING
  59.  
  60. RING
  61.  
  62. RING, etc.
  63.  
  64. so I have also tried WAITFOR=RING\r and WAITFOR=RING\r\n but there was
  65. no difference.
  66.  
  67. I have also tried the getty provided in the rootimage-0.97 together with
  68. the recommendations in the FAQ as well as various file switching shell
  69. scripts that were discussed a while back.  None of them work.  BTW the
  70. modem answers very nicely using Waffle under DOS.
  71.  
  72. I am running a Cardinal 9600bps modem using MNP5 as default on ttys2 (COM2)
  73. with linux 0.97pl1, gettyps203 compiled with gcc2.2.2d with no changes
  74. in the makefile.  I am getting desperate here -- I told my advisor he
  75. could call into my system to get the latest copies of my work in progress
  76. and he wants to do it now (I know, me and my big mouth -- don't speak until
  77. you have tested the software in question) so any advice will be welcome.
  78.  
  79. Thanks,
  80.  
  81. Bill
  82.  
  83.