home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / biz / sco / general / 4826 < prev    next >
Encoding:
Text File  |  1992-12-23  |  18.6 KB  |  368 lines

  1. Newsgroups: biz.sco.general
  2. Path: sparky!uunet!uunet.ca!xenitec!news
  3. From: news@xenitec.on.ca (xenitec.on.ca News Administrator)
  4. Subject: SCO Mailing List Technical FAQ
  5. Resent-From: mmdf@xenitec.on.ca
  6. Submit-To: scogen@xenitec.on.ca
  7. Organization: [resent by] The SCOGEN gateway and Propagation Society
  8. Date: Thu, 24 Dec 1992 03:01:10 GMT
  9. Message-ID: <1992Dec24.030110.16615@xenitec.on.ca>
  10. Precedence: bulk
  11. Lines: 355
  12.  
  13.           The SCO Mailing List/biz.sco.general Technical FAQ
  14.           --------------------------------------------------
  15.  
  16. Revision Information
  17. --------------------
  18. Version:  1.17
  19. Date:     30 November 1992 *** NO CHANGES SINCE LAST POSTING ***
  20. Author:   Stephen M. Dunn
  21.           stephen@bokonon.UUCP
  22.           {uunet.ca,becker.gts.org,xrtll.UUCP}!bokonon!stephen
  23. New Features:  Table of contents added; UUCP broken into own section;
  24.                minor editing; added some contact information for
  25.                compressed backup utilities
  26.  
  27. NOTE:  All lines that have been added or modified since the previous
  28.        version are marked with ** at the start of the line.
  29.  
  30. ****************************NEW SECTION BEGINS*****************************
  31. Table of Contents
  32. -----------------
  33. One Bit of Administrivia
  34.  
  35. Questions and Answers Common to Unix, Xenix and ODT
  36. -How do I stop banners from printing?
  37. -Are there any screen savers?
  38. -How do I compress my backups?
  39. -My serial connections are losing characters
  40. -I don't like being restricted to 14 character filenames
  41. -How do I get a copy of adb?
  42. -I can't find crypt
  43.  
  44. Questions and Answers Specific to Unix
  45. -I have a system memory dump in my swap space; how do I delete it?
  46. -How do I save kernel panic dumps to tape?
  47. -At boot time, the "Enter the root password or ^D" message doesn't work!
  48. -My Unix 3.2.0-3.2.2 machine gives errors on filenames greater than 14 chars
  49. -I just upgraded to 3.2v4 but I still can't use long filenames
  50. -The permissions on /usr/adm/sa and its children are wrong
  51.  
  52. Questions and Answers about TCP/IP and NFS
  53. -telnet doesn't work properly
  54. -How do I know if I have enough streams buffers for TCP/IP and/or NFS?
  55. -TCP/IP gives messages like "Notice: TCP SUM: SRC 89270107  SUM 0000D7AD"
  56.  
  57. Questions and Answers about UUCP
  58. -I can transfer small files via UUCP but large ones won't go
  59. -I can transfer small files via UUCP but large ones go really slowly
  60. -How do I change uucico's window size?
  61. -I increased my window size but nothing changed
  62. -I increased my window size and UUCP broke!
  63. -UUCP frequently has to resend packets
  64. -How do I chance uucico's packet timeout?
  65. -My data-compressing modem doesn't work much faster than my old modem
  66. *****************************NEW SECTION ENDS******************************
  67.  
  68. One Bit of Administrivia
  69. ------------------------
  70.    There are two different FAQ lists that periodically get posted here.
  71. This is the technical one.  If you have a question regarding net.etiquette
  72. or the administration of these mailing lists/newsgroups, please look for
  73. the administrivia FAQ.  It will probably answer your question.  These
  74. two FAQs are posted at the same time at intervals of roughly two weeks.
  75.  
  76.    Note in particular that if you require instructions on how to
  77. contact SCO, download SLSes, or look at various anonymous archive
  78. sites, you should look in the Administrative FAQ.
  79.  
  80. Questions and Answers Common to Unix, Xenix and ODT
  81. ---------------------------------------------------
  82. How do I stop banners from printing?
  83.   You need to edit the file /etc/default/lpd.  You need one of the following
  84.   lines:
  85.   For Xenix:  BANNERS=0
  86.   For  Unix:  BANNERS=nobanner
  87.  
  88. Are there any screen savers?
  89.   Unix (and Xenix 2.3.4) have a built-in screen saver for VGA only. 
  90.   You have to reconfigure the kernel for this to work.  It doesn't
  91.   work with all hardware, but try it first.  Also, it has been
  92.   reported that VP/ix may not be compatible with this screen saver. 
  93.  
  94. How do I compress my backups?
  95.   Well, you _could_ just run the output of tar, cpio, or whatever
  96.   through compress ... but if even one bit of your tape or diskette
  97.   goes bad, you'll lose the rest of the backup.  Not recommended at
  98.   all.  A better solution would be a third-party product such as CTAR
  99. **(Microlite Corp., 1021 Sutherland Street, Pittsburgh, PA 15204;
  100. **info@microlite.com or ...!uunet!mlite!info; (800) 992-2827 or
  101. **(412) 771-4901), BRU (Enhanced Software Technologies Inc.,
  102. **5016 S. Ash Avenue Suite 109, Tempe, AZ 85282; ...!uunet!estinc!info;
  103. **(800) 998-8649 or (602) 820-0042), DBR (DMS Systems Inc., 1111
  104. **Brickyard Road, Salt Lake City, UT 84106; (801) 484-3333), or
  105. **Lone-Tar (Lone Star Software Inc., 13987 W. Annapolis Court,
  106. **Mt. Airy, MD 21771; (301) 829-1622).  These products tend to be
  107. **fast and robust, and they will usually help you recover from
  108. **disasters far better than the utilities that ship with the
  109. **operating system.
  110.  
  111. My serial connections are losing characters
  112.   Here are two possibilities.  First, check the NCLIST kernel parameter.
  113.   This governs how many CLIST structures are allocated; these are used
  114.   to buffer input and output.  If this is too low, then at times of
  115.   high serial I/O demands, your system will run out of CLIST structures
  116.   and start discarding characters.  Note that there is a limit as to how
  117.   many CLIST structures may be allocated to an individual process,
  118.   regardless of how many are available systemwide.  This is done to
  119.   prevent one misbehaving program from monopolizing all of the CLIST
  120.   structures.
  121.   The other possibility is that you may have an old UART (8250 or 16450).
  122.   These chips do not buffer input, and sometimes if a system is busy,
  123.   the occasional character will be lost.  This will show up as an alarm
  124.   in uucico, for example.  The 16550 UART is upward compatible, and it
  125.   has a 16-byte buffer in it.  If you are running Xenix 2.3.4, ODT 1.1,
  126.   or Unix 3.2.2 (or later), the 16550 UART is supported.  This solution
  127.   is not necessarily applicable to multiport serial cards; check with
  128.   the manufacturer of your card.
  129.  
  130. I don't like being restricted to 14 character filenames
  131.   If you're running Xenix, or a version of Unix prior to 3.2v4, I'm
  132.   afraid you're stuck.  Unix 3.2v4, however, includes long filename
  133.   support on all EAFS filesystems.  More information on long filenames
  134.   can be found in the section dealing with Unix.
  135.  
  136. How do I get a copy of adb?
  137.   If you have the Development System, you already have /bin/adb.  If
  138.   not, you may need to grab a copy from your distribution, or it may
  139.   already have been installed, depending on your OS and version.  It
  140.   could be called /bin/adb (Xenix) or /etc/_fst (Unix and recent
  141.   versions of Xenix).  If you don't have either of these, look through
  142.   the files in /etc/perms for them; in Xenix 2.3.4, you will find one of
  143.   each, which will be in fact the exact same file but on two different
  144.   diskettes.  If the volume on which the file you want is mountable (you
  145.   can check this in the manual, or use the dtype command), then mount it
  146.   and copy the file off.  Otherwise, use tar to extract the file,
  147.   keeping in mind that the filenames on your diskettes are all written
  148.   with relative paths (i.e. ./bin/adb, not /bin/adb).  Note that if you
  149.   look in the Unix documentation, it may well tell you that you need
  150.   /bin/adb, when in fact it's called /etc/_fst.
  151.  
  152. I can't find crypt
  153.   Most (all?) of SCO's release notes state that due to American government
  154.   restrictions aimed at trying to prevent unfriendly nations from having
  155.   access to data encryption technology, SCO does not ship crypt with their
  156.   products.  If you live in the States and would like crypt(C) and the
  157.   crypt(S) libraries, contact SCO support.  This is also worth trying in
  158.   Canada, as the particular regulation in question permits export of
  159.   such technology to Canada; however, I don't know if SCO will honour
  160.   such requests.
  161.  
  162. Questions and Answers Specific to Unix
  163. --------------------------------------
  164. I have a system memory dump in my swap space; how do I delete it?
  165.   Go into single-user mode (NEVER try this in multi-user mode!).  Then
  166.   copy something into your swap space.  The suggested method is:
  167.     dd if=/etc/termcap of=/dev/swap count=100
  168.   Unix 3.2v4 will do this for you if you want it to.
  169.  
  170. How do I save kernel panic dumps to tape?
  171.   Edit the /etc/dumpsave file.  Yes, I know this answer is incomplete;
  172.   I am working on a better one.
  173.  
  174. At boot time, the "Enter the root password or ^D" message doesn't work!
  175.   If this message stair-steps across your screen and you can't do a
  176.   ^D, the file /etc/ioctl.syscon has become corrupt.  Go into single-
  177.   user mode by typing the root password followed by ^J instead of a
  178.   carriage return.  Use stty sane^J to restore your console to more
  179.   normal operation.  Remove /etc/ioctl.syscon, and reboot by running
  180.   /etc/reboot.  The system will complain that /etc/ioctl.syscon is
  181.   missing and will rebuild it for you. 
  182.  
  183. My Unix 3.2.0-3.2.2 machine gives errors on filenames longer than 14 chars
  184.   There is a tunable kernel parameter, ETRUNC, that controls this
  185.   behaviour.  If set to 1, the kernel will silently truncates filenames
  186.   to 14 characters.  If set to 0, the kernel returns ENAMETOOLONG, in
  187.   accordance with POSIX.
  188.  
  189. I just upgraded to 3.2v4 but I still can't use long filenames
  190.   Long filenames only work on EAFS filesystems.  Any new filesystems
  191.   you create will be EAFS filesystems unless you specify otherwise.
  192.   When you upgrade, your root filesystem will automatically be
  193.   converted to an EAFS filesystem, but any other filesystems you have
  194.   will not.
  195.   If you have an existing AFS filesystem that you wish to convert to
  196.   an EAFS filesystem, specify the -E option to fsck; this will convert
  197.   your filesystem into an EAFS filesystem.
  198.   If for some reason you need to convert an EAFS filesystem back to
  199.   AFS, you can use fsck -^P (^P == control-P).  Note that there is
  200.   no performance difference between AFS and EAFS filesystems except
  201.   in accessing long filenames and symbolic links; otherwise, the
  202.   driver code is identical.
  203.  
  204. The permissions on /usr/adm/sa and its children are wrong
  205.   You have two simple basic choices:
  206.   1.  move the lines from the "sys" crontab file to the "root" crontab file.
  207.     0 * * * 0-6 /usr/lib/sa/sa1
  208.     20,40 8-17 * * 1-5 /usr/lib/sa/sa1
  209.   2.  ensure that /usr/adm/sa is read/writeable by "sys".
  210.  
  211. Questions and Answers about TCP/IP and NFS
  212. ------------------------------------------
  213. telnet doesn't work properly
  214.   There is a known bug in telnetd under Xenix (and probably also under
  215.   Unix), which causes it to be flaky when accessed by certain other
  216.   software (such as Novell's LAN Workplace for DOS).  This is supposed
  217. **to have been fixed in TCP/IP 1.2; also, the Xenix problem was supposed
  218. **to have been fixed in lng337.
  219.  
  220. How do I know if I have enough streams buffers for TCP/IP and/or NFS?
  221.   Under Xenix, use the program 'sw' (stream watch); it will provide a
  222.   dynamic display of the current and historical usage of various stream
  223.   buffers.  Under Unix, you can use the crash command; the subcommand
  224.   to use is strstat.  There is a version of 'sw' available for Unix,
  225.   but not from SCO.  It can be found on some archive sites; I will
  226.   include more information here when I find where I wrote it down :-(
  227.   Under TCP/IP for Unix (and, presumably, the integrated TCP/IP version
  228.   1.2), you can also use the netstat -m command.  Finally, u386mon,
  229.   which is available from many public archive sites, provides
  230.   similar functionality.
  231.  
  232. TCP/IP gives messages like "Notice: TCP SUM: SRC 89270107  SUM 0000D7AD"
  233.   This simply means that TCP detected a checksum error in a packet.  TCP
  234.   is a reliable protocol and will automatically request that the packet
  235.   be re-sent.  This message serves as a notice only and should not be
  236.   of concern unless it occurs frequently.  If you wish to determine
  237.   the IP address of the machine that sent the bad packet, convert the
  238.   SRC field from hexadecimal (89.27.01.07) to decimal (137.39.1.7).
  239.   There are two common causes for these on high-speed networks, which
  240.   are flaky network cards and slow cards that can't keep up with
  241.   network traffic.  Also, these messages are common on SLIP and PPP
  242.   links.
  243.  
  244. Questions and Answers about UUCP
  245. --------------------------------
  246. I can transfer small files via UUCP but large files won't go
  247. I can transfer small files via UUCP but large ones go really slowly
  248.   This may indicate a flow control problem.  uucico, the program that
  249.   actually performs UUCP transfers, turns off all hardware and software
  250.   flow control on the port it is using.  If your modem's buffers are
  251.   too small, then the stream of data involved in a large file transfer
  252.   may overflow them, causing transmission errors.  This may just cause
  253.   your throughput to go way down, or it may result in a total inability
  254.   to transfer larger files.  Run uucico with debugging (you may find
  255.   /usr/lib/uucp/uutry to be useful) and watch for "alarm" messages.
  256.   If you see these, it's an indication that some characters are
  257.   likely being dropped during transmission.
  258.   If you are using a serial port on a multiport serial card such as
  259.   one from Equinox or Digiboard, your board may have shipped with a
  260.   utility that lets you permanently set flow control on your port.
  261.   Another alternative is to reduce uucico's window size.
  262.  
  263. How do I change uucico's window size?
  264.   You need to have adb or _fst to do this.  See the information on
  265.   getting these which can be found elsewhere in this FAQ.
  266.   First, make a backup copy of /usr/lib/uucp/uucico!  This is very
  267.   important.
  268.   To change the window size to 7, run the following command from the
  269.   Bourne shell:
  270. --------------------8<--------(cut here)--------->8-------------------
  271. adb -w /usr/lib/uucp/uucico << EOF
  272. $d
  273. _windows/w 7
  274. $q
  275. EOF
  276. --------------------8<--------(cut here)--------->8-------------------
  277.   Note that specifying a window size greater than seven will break
  278.   uucico, as the g protocol is designed for a window size of no more
  279.   than this.  Also, the documentation and/or scopatches that ship with
  280.   some SCO products list the second line of the above as "%d".  This,
  281.   at least on the copy of adb I have, will fail; $d is correct.  If
  282.   you are using Unix 3.2v4, leave the underscore off the symbol name.
  283.  
  284. I increased my window size but nothing changed
  285.   When UUCP is negotiating a connection, each side will tell the other
  286.   what window size to use when sending.  Therefore, if your window size
  287.   is 7 and the remote uses 3, you will be sending files using a window
  288.   size of 3, but the other side may send with a window size of up to
  289. **7.  Note that the UUCP on the other side may not support the window
  290. **size you specify, and may send with a smaller window than you
  291. **requested.  While this should not cause problems, it may provide
  292. **lower performance than you'd like.
  293.  
  294. I increased my window size and UUCP broke!
  295.   If your modem, or the modem on a remote site, has small data buffers,
  296.   a large window size may cause the modem's buffers to overrun.  If
  297.   the site that broke polls your system, you may wish to create a
  298.   separate copy of uucico with a smaller window size, and specify it
  299.   as the login shell in /etc/passwd.  If you are the polling site,
  300.   you may have to restore your original uucico.  Alternatively, you
  301.   could try a window size of 4, then 5, then 6, then 7, and see at
  302.   what point UUCP stops working.  You will then know the maximum
  303.   window size you can use.  You may also wish to ask the sysadmin
  304.   at the remote site if there is anything they can do, such as
  305.   forcing flow control to be used on their modem, that may remedy
  306.   the problem.  You may, however, have no choice but to return to
  307.   using a window size of 3.
  308.   Some people have reported problems with Telebit modems and UUCP-g
  309.   spoofing when they change their window and/or packet sizes.
  310.   Apparently, Telebits can handle requests for increased window
  311.   sizes without error (though they will only use a maximum window
  312. **size of 3), but will not work correctly with large packets (probably
  313.   above the SCO default of 64 bytes).
  314.  
  315. UUCP frequently has to resend packets
  316.   If you are using a modem with error correction and/or data
  317.   compression, or if you are making a long-distance connection,
  318.   there are delays inherent in your connection which may cause UUCP
  319.   to timeout and resend packets.  You may need to increase the
  320.   packet timeout.
  321.  
  322. How do I change uucico's packet timeout?
  323.   This is very similar to changing the window size; once again, you
  324.   will need to have a copy of adb, and you must first make a backup
  325.   copy of uucico.  Then run the following Bourne shell command:
  326. --------------------8<--------(cut here)--------->8-------------------
  327. adb -w /usr/lib/uucp/uucico << EOF
  328. $d
  329. _pktime/w 5
  330. $q
  331. EOF
  332. --------------------8<--------(cut here)--------->8-------------------
  333.   Obviously, replace 5 with the desired number of seconds.  Note that
  334.   you should set this parameter to the smallest value that works
  335.   reliably.  If you specify too large a value, it will reduce throughput
  336.   if you encounter a bad line or other conditions that require packets
  337.   to be resent.  If you are running Unix 3.2v4, leave the underscore
  338.   out of the symbol.
  339.  
  340. My data-compressing modem doesn't work much faster than my old modem
  341.   There are a couple of possible reasons for this.  Firstly, you may
  342.   be transferring data that has already been compressed and is therefore
  343.   not compressible (compressed news batches, for example).  If your
  344.   modem connects to the remote site using V.42bis data compression,
  345.   this will not adversely affect throughput.  If, however, you are
  346.   using an MNP level 5 connection, you will actually lose
  347.   throughput when sending compressed data.  If the majority of your
  348.   transfers are already compressed, you should disable MNP level 5
  349.   data compression.  Note that using MNP level 3 or 4 error correction,
  350.   or V.42 error correction, without any compression will increase
  351.   throughput regardless of the type of data being transmitted.
  352.   Also, due to the way data compression and error correction in modems
  353.   work, there are delays involved while the two modems agree on whether
  354.   or not each packet of data was received correctly.  If possible, you
  355.   and the remote site should try to increase uucico's window size; this
  356.   will cause more data to be transmitted at once, which will not only
  357.   improve the efficiency of your modem's data compression, but will also
  358.   often mean that the response to a previous packet arrives before the
  359.   window has expired.  I'm afraid a complete discussion of packetization
  360.   and sliding window protocols is beyond the scope of this FAQ; just trust
  361.   me on this one if you don't quite follow me.  Further discussion can
  362.   often be found in the newsgroup comp.mail.uucp.
  363. stephen@bokonon.UUCP              ...!{xrtll,becker.gts.org}!bokonon!stephen
  364. ----------------------------------------------------------------------------
  365. Stephen M. Dunn, CNE, ACE, Sr. Systems Analyst, United System Solutions Inc.
  366. 104 Carnforth Road, Toronto, ON, Canada M4A 2K7               (416) 750-7946
  367.  
  368.