home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume26 / pcomm-2.0.2 / part02 / Q_and_A < prev    next >
Encoding:
Text File  |  1993-04-13  |  3.2 KB  |  89 lines

  1.             Questions and Answers
  2.         for the most common Pcomm problems.
  3.  
  4. 1) The "elpase time" doesn't increment during a dialing attempt.
  5.  
  6.     This is a symptom of a bug in the wgetch() routine in the curses
  7.     library.  The work-around is to set WGETCH_BROKE in the config.h
  8.     file and recompile.
  9.  
  10. 2) I can't get Pcomm to dial, it just sits there.
  11.  
  12.     This typically is due to the wrong device name for the tty port.
  13.     Some systems have more than one name (different minor device
  14.     numbers) for the same tty port.  UUCP may use the device name
  15.     that has "modem control" enabled; if so, that is the one Pcomm
  16.     needs to use.
  17.  
  18. 3) How do you make Sun's dial in and out on the same port?
  19.  
  20.     Sun Sparc boxes don't come configured for doing dialin and dialout
  21.     on the same serial port.  However, there is a blurb in the printed
  22.     manual that tells you what to do...
  23.  
  24.     Make a new device (cua0 for ttya, and/or cua1 for ttyb)
  25.         mknod /dev/cua0 c 12 128
  26.         mknod /dev/cua1 c 12 129
  27.  
  28.     Edit /etc/ttytab.  Change the ttya (or ttyb) line to look like
  29.     the following.  Look in the /etc/gettytab file for the choices
  30.     for the second field (std.38400, in this example).
  31.         ttya   "/usr/etc/getty std.38400"  dialup    on remote secure
  32.         ttyb   "/usr/etc/getty std.38400"  dialup    on remote secure
  33.  
  34.     Edit /etc/uucp/Devices.  Add a line for each speed your modem
  35.     supports.  The dialer field (hayes, in this example) must match
  36.     whatever you've got in /etc/uucp/Dialers.
  37.         ACU cua0 cua0 1200 hayes
  38.         ACU cua0 cua0 2400 hayes
  39.         ACU cua0 cua0 9600 hayes
  40.         ACU cua0 cua0 19200 hayes
  41.         ACU cua0 cua0 38400 hayes
  42.  
  43. 4) I get a measage that tells me I can't create the lockfile (or can't
  44. open the tty port).
  45.  
  46.     Pcomm is typically configured to be set-user-id to uucp.  To do
  47.     this, you type (as root):
  48.         chown uucp pcomm
  49.         chmod 4755 pcomm
  50.         
  51. 5) As soon as I am connected, the modem lights go crazy.
  52.  
  53.     This is probably caused by an improper UUCP lock file.  Pcomm
  54.     understands several variations of UUCP lock files, but must
  55.     match the one used by your UUCP.  Read the Readme file and check
  56.     the LOCK_DIR, ASCII_PID, SVR4_LOCKS, and XENIX_LOCKS in the
  57.     config.h file.
  58.  
  59. 6) I've got a V.32bis modem but without locked DTE speeds, how do I
  60. setup Pcomm for this?
  61.  
  62.     Change the tty database so that the "locked speed" entry is set
  63.     to zero.  Then change the "auto-baud detect" flag in the modem
  64.     database to 'N'.
  65.  
  66.     In this configuration, the modem will always use the DTE speed
  67.     as specified in the dialing directory.  The status line will
  68.     show this speed, regardless of the actual connected baud rate.
  69.  
  70. 7) Some of the Pcomm screens appear messed up.
  71.  
  72.     Yes, that's unfortunately quite common...  It's a bug in either
  73.     the curses library or the termcap/terminfo database.  I've
  74.     included a terminfo entry for AT386 in the Readme file, that
  75.     seemed to fix the problem for my 386 box.
  76.  
  77. 8) Where do I get xmodem/ymodem/zmodem stand-alone programs for Unix?
  78.  
  79.     I use Xmodem v3.8 by Steve Grandi, and an older version of rzsz
  80.     by Omen Technologies.  Both of these should be available at a
  81.     neighboring archive site.
  82.  
  83. 9) I can't get the external zmodem programs "rz" and "sz" to work from
  84. inside Pcomm.
  85.  
  86.     The authors of rz and sz have deliberately broken the program so
  87.     that it will not work from inside another program.  See if you
  88.     can find an older version.
  89.