home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / dcom / modems / 19800 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  3.6 KB

  1. Xref: sparky comp.dcom.modems:19800 comp.sys.next.sysadmin:7574 comp.sys.next.hardware:3369
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!ncar!noao!arizona!kline
  3. From: kline@cs.arizona.edu (Nick Kline)
  4. Newsgroups: comp.dcom.modems,comp.sys.next.sysadmin,comp.sys.next.hardware
  5. Subject: Re: strange Zyxel modem problem
  6. Message-ID: <30288@optima.cs.arizona.edu>
  7. Date: 22 Jan 93 00:17:11 GMT
  8. References: <30203@optima.cs.arizona.edu> <WBE.93Jan20215902@crystal.bbn.com> <C17x0p.JwI@panix.com>
  9. Sender: news@cs.arizona.edu
  10. Followup-To: comp.dcom.modems
  11. Organization: U of Arizona CS Dept, Tucson
  12. Lines: 69
  13.  
  14. >> my problem: I seem to overflow my modem or have some strange flow
  15. >> control problem
  16. >
  17.  
  18. >>The default flow control on many UNIX systems is XON/XOFF.  Check the serial
  19. >>port setup and see if "crtscts" (RTS/CTS) is enabled.  Alternatively, if
  20. >>you're logged in via the port, try "stty -a", look at the end of the second
  21. >>line, and see if it says "crtscts" or "-crtscts".
  22. >
  23. >And while we are listing all the things that could conceivably be the
  24. >problem -- is there any chance the modem cable fails to provide
  25. >RTS/CTS?  That is, does it only have two data lines and a ground line?
  26. >If so, and if the modem were set to hardware flow control rather than 
  27. >XON/XOFF flow control, that could be your problem.
  28. >
  29. >I vaguely recall the ZyXEL defaults to RTS/CTS flow control rather
  30. >than XON/XOFF.  So you would ideally want to be sure you have a cable
  31. >that carries those signals, and you would want to configure the 
  32. >serial port on the computer to use RTS/CTS flow control.
  33. >
  34.  
  35. zyxel uses rts/cts as the default flow control.  the command to do this is
  36. &h3.  I have done that.  In the modem book, it says for the command
  37. &R0 or &R1: rts options
  38.     &r1 : modem assumes rts always on, ignores the changes
  39.     &r0 : delay before cts responds to rts's change
  40.     
  41. &r1 is the default. but after this, it says "This setting is ignored in
  42. async mode. rts is always used as a hardware flow control in this case".
  43.  
  44. So it seems not to matter.  I tried it anyway and it made no difference.
  45. I also tried the other &h settings, for xon/xoff and no flow control and 
  46. rts/cts  all made no difference
  47.  
  48. Thanks for all the suggestions.  I do have a correct modem cable. For you
  49. next people, I bought it at NextConnection as a 68040 modem cable. I verified
  50. today that the rts/cts lines are connected as they should be. I did this
  51. by looking at the file about.modem.z, which describes the match ups.
  52.  
  53. So it is not the cable.  Then I tried cufb, thinking that perhaps I had
  54. a bad cufa port.  This did not fix the problem.
  55.  
  56. I know I am using rts/cts on the computer side since I am using cufa, a
  57. port which explicitly uses rts/cts, right?
  58.  
  59. Let me give a more detailed example of how it crashes:
  60.  
  61.     I can make it overrun things by catting a large file on the machine
  62. i am connected to.  After a while the modem starts to "retrain" (the hs light
  63. flashes) and it either gives up or makes it (50/50 chance).  Often at
  64. this point I "+++" the modem and type ati2, the command which prints out
  65. the state of the modem.  Sometimes, the info, which is perhaps 15 lines
  66. long, is screwed up, in that some parts of it don't come through.  Other
  67. times, the modem goes crazy, and the read_data light becomes constant
  68. as it sends tons of garbage to my screen.  Note that this is all in
  69. command mode.  Nothing should get to the screen when I am typing at
  70. commands.  
  71.  
  72. For the next person with a zyxel, when your rts/cts stuff is working, does
  73. the cts light ever blink or dim(because it was off for a sec?)?  I ask
  74. this because mine is steady as a rock.
  75.  
  76. I am going to try to find someone with a 9600 buad modem and swap and
  77. see if we still have problems.
  78.  
  79. -nick
  80. kline@cs.arizona.edu
  81.  
  82.  
  83.