home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / xenix / sco / 3534 < prev    next >
Encoding:
Text File  |  1992-12-23  |  4.2 KB  |  101 lines

  1. Newsgroups: comp.unix.xenix.sco
  2. Path: sparky!uunet!rde!ksmith!keith
  3. From: keith@ksmith.uucp (Keith Smith)
  4. Subject: Re: Using 'cu' with speeds greater than 9600
  5. Organization: Keith's Computer, Hope Mills, NC
  6. Distribution: usa
  7. Date: Wed, 23 Dec 92 04:01:06 GMT
  8. Message-ID: <1992Dec23.040106.16355@ksmith.uucp>
  9. References: <1g5p3uINN5up@matt.ksu.ksu.edu>
  10. Lines: 89
  11.  
  12. In article <1g5p3uINN5up@matt.ksu.ksu.edu> brettw@matt.ksu.ksu.edu (Brett D. Watson) writes:
  13. > Ok, I need some help from SOMEONE who has used 'cu' to connect to
  14. >another computer over serial cable using a Digiboard, or similar
  15. >serial expansion board.
  16.  
  17. I was going to reply directly, but here goes for the world to see.
  18.  
  19. >  I have a 483/33 with Digiboard PC/Xe 8 port board.  I connect one of
  20. >the ports over serial cable to a 386/25.  On the 486, I have
  21. >/dev/ttyi1b set for 38400 in /etc/ttys.  I use the letter 'o' which is
  22. >defined in gettydefs.  On the 386, I have com 2, or /dev/tty2a set the
  23. >same way in /etc/ttys, and also I specify this device in
  24. >/usr/lib/uucp/Devices.  My Devices file has the following:
  25. >
  26. >Direct tty2a - 38400 direct
  27. >
  28.  
  29. Which box is talking to which?  In other words 386->486 or vice versa? 
  30. I'm going to assume that you are trying to cu from the 386 to the 486. 
  31. What version of Xenix?
  32.  
  33. FIRST a nice try is a loopback wire on the com port of the cu end of the
  34. connection.  Jumper pins 2 and 3 on the Dsub connector (9 or 25 pin)
  35. (or the RD/SD lines of a digiboard RJ)  When you 'cu' you should be
  36. talking to yourself, and your characters should echo straight back.
  37.  
  38. The "38400" notation is a problem in earlier versions of Xenix.  Try
  39. exta, and extb also.  It's been a while, and I'm not sure if this even
  40. worked on some of the older (pre 2.3) stuff.
  41.  
  42. The /etc/ttys file is *IRRELEVENT* on the 'cu' side of the connection. 
  43. /etc/ttys is for the LOGIN side of the connection.  Here it is
  44. important.  Note that the port should be enabled on the login side, and
  45. (at least while testing) *DISABLED* on the 'cu' side.  In my assumption
  46. that means disable the tty on the 386 and enable the one on the 486.
  47.  
  48. >  However, I cannot get the connection to run at 38400, or 19200 for
  49. >that matter.  Is there something else, or someWHERE else I'm
  50. >forgetting to set something?  I've had some people tell me you just
  51.  
  52. If you've got a loopback on the cu port:
  53.  
  54. # cu -ltty2a -s38400 dir
  55.  
  56. should turn the trick (try subbing extb or exta for 38400 in both
  57. places, Devices & the command line)  also the port (/dev/tty2a) should
  58. probably belong to uucp.  Double chek your permissions.  This should get
  59. some output to the screen.  If not then you don't have the 'cu' side of
  60. the connection up.  Once you have that move on to connecting the 2
  61. together.  Then try banging something straight out over the tty.  it
  62. should appear on the other end:
  63.  
  64. cat /etc/motd >/dev/ttyi1b
  65.  
  66. albeit perhaps sans carriage returns.
  67.  
  68. Now you've test the transmitter at the login end.  Some:
  69.  
  70. stty -a </dev/tty2a
  71.  
  72. from the 386 and
  73.  
  74. stty -a </dev/ttyi1b
  75.  
  76. from the 486 ends of the connection could be revealing too!
  77.  
  78. >can't run a terminal at speeds greater than 9600 but I don't buy that.
  79. >Why the hell can't I get this to work?  I'm pulling my hair out.
  80. >Help!
  81.  
  82. You can most certianly run a terminal at speeds greater than 9600.  You
  83. will however most probably drop characters on the 386/cu side of the
  84. connection (my assumption setup) during heavy output from the 486/login
  85. side of the connection, as the SCO serial driver, uh, well, it sucks. 
  86. For real performance you need 16550 chips and the FAS driver.  cu is a
  87. "lousy" terminal.  A wy-150 using hardware or software flow control will
  88. work nicely though.  The problem with the serial port is the RECIEVE
  89. side of the interface has trouble on the computer.  As you simply cannot
  90. TYPE on a KEYBOARD fast enough to swamp the serial driver the login cpu
  91. should not have a problem.  The one that receives the screen output on
  92. the other hand (the 'cu' system) is gonna get swamped.
  93.  
  94. If you need further assistance feel free to jot a note direct here, also
  95. try keith@ksmith.uunet.uu.net
  96.  
  97. -- 
  98. Keith Smith          uunet!ksmith!keith            5719 Archer Rd.
  99. Digital Designs      BBS 1-919-423-4216            Hope Mills, NC 28348-2201
  100. Somewhere in the Styx of North Carolina ...
  101.