home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / answers / comp-sys-sun-faq < prev    next >
Internet Message Format  |  1993-12-14  |  70KB

  1. Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!nic.hookup.net!news.moneng.mei.com!uwm.edu!rutgers!news.cs.indiana.edu!babbage.ece.uc.edu!ra.ece.uc.edu!montjoy
  2. From: montjoy@thor.ece.uc.edu (Rob Montjoy)
  3. Newsgroups: comp.sys.sun.admin,comp.sys.sun.misc,comp.unix.solaris,comp.answers,news.answers
  4. Subject: FAQ: Sun Computer Administration Frequently Asked Questions
  5. Summary: Answers to questions which appear in comp.sys.sun.*
  6. Keywords: Sun Computer Admin FAQ
  7. Message-ID: <comp-sys-sun-admin_755834588@babbage.ece.uc.edu>
  8. Date: 14 Dec 93 02:03:11 GMT
  9. Expires: 11 Jan 1994 02:03:08 GMT
  10. Sender: montjoy@thor.ece.uc.edu (Rob Montjoy)
  11. Followup-To: poster
  12. Distribution: inet
  13. Organization: University of Cincinnati
  14. Lines: 1850
  15. Approved: news-answers-request@MIT.Edu
  16. Supersedes: <comp-sys-sun-admin_752290069@babbage.ece.uc.edu>
  17. NNTP-Posting-Host: ra.ece.uc.edu
  18. Status: RO
  19. Originator: montjoy@ra.ece.uc.edu
  20. Xref: senator-bedfellow.mit.edu comp.sys.sun.admin:25813 comp.sys.sun.misc:12647 comp.unix.solaris:10680 comp.answers:2986 news.answers:15740
  21.  
  22. Archive-name: comp-sys-sun-faq
  23. Last-modified: 1993/08/23
  24. Version: 1.6
  25.  
  26. Frequently Asked Questions for Comp.sys.sun.admin
  27.  
  28. Last update August 23 1993
  29.  
  30. This is a collection of common questions posted to the comp.sys.sun.*
  31. hierarchy.
  32.  
  33. Please send corrections or submissions to "Rob.Montjoy@UC.EDU". Mark
  34. the Subject as Sun FAQ.
  35.  
  36. This FAQ is available from thor.ece.uc.edu(129.137.8.118)
  37. in the /pub/sun-faq. Get the file sun-faq.general. The sun-faq
  38. directory is also available from gopher.ece.uc.edu(129.137.8.118).
  39.  
  40.  
  41. Notes:    As of this writing almost all of these questions apply
  42.           to SunOS versions up to 4.1.3. SunOS 5.x questions
  43.           will start appearing gradually as more people start
  44.           installing SunOS 5.x(Solaris 2.x). 
  45.  
  46.     I am looking for suggestions on how to split this FAQ into
  47.     sections. These sections should follow the comp.sys.sun.* 
  48.     newsgroups(app, hardware, admin, misc, and wanted) and
  49.     section on bettering Sun Security. Basically, what
  50.     will end up with is a FAQ on each subject. Each
  51.     FAQ will have a Solaris1.x Section, a Solaris2x section,
  52.     and a section common to both.
  53.  
  54.     I will probably need some volunteers to help coordinate
  55.     this undertakeing.. Send suggestion to the usual address.
  56.  
  57.  
  58. This article includes answers to the following questions, which are loosely
  59. grouped into categories. Questions marked with a '+' indicate questions
  60. new to this issue; those with significant changes of content since the 
  61. last issue are marked by '!'.
  62.  
  63.  
  64.                 Questions
  65.  
  66.  1)      How to get DNS working when not running NIS ?
  67.  2)     How to get DNS to be used when running NIS ?
  68.  3)    How to properly setup NFS mounting of /var/spool/mail ?
  69.  4)       Can I use AnswerBook under X11R5?
  70.  5)     What does "NFS write error X" mean?
  71.  6)    How do I find the amount of memory installed or other
  72.     system configuration information?
  73.  7)     Where can I get a version of ftp that does logging?
  74.  8)!      Where can one get SunOS patches? Where can I get patch 100xxx-xx?
  75.  9)      How to setup Openwindows Calendar Manager in a distributed
  76.     environment?
  77. 10)     Why does the talk command fail between SunOS
  78.     and any other manufacturer's equipment(like DEC)? 
  79. 11)      How do I setup "anonymous" ftp?
  80. 12)     How come yppasswdd does not automatically update the yp maps?
  81. 13)     What does NFS getattr failed/RPC: Authentication error mean?
  82. 14)     Why did my Quantum 105 megabyte hard disk stop working?
  83. 15)     Can I replace the 105 megabyte internal drive with a higher capacity
  84.         model?
  85. 16)     How can I turn my Sun3 into an X-Terminal?
  86. 17)    Why is my console login prompt garbled or in some strange 
  87.     alphabet after upgrading to 4.1.3?
  88. 18)     Why are the "random" missing services at boot time(even
  89.     though the services are in the /etc/services file or NIS map)?
  90. 19)    Where can I get Data Certified tapes for 8-mm tape drives(at
  91.     a reasonable price)?
  92. 20)       What is "archie"?
  93. 21)    How do I synchronize time between several Suns?
  94. 22)      What is the phone number for Sun Express and other numbers of importance
  95.     to Sun Users? 
  96. 23)     How do I join sun related  mailing lists?
  97. 24)    How do I use Mac floppies in a SUN drive?
  98. 25)    How can I transfer floppies back and forth between MS-DOS and Sparc?
  99. 26)    Why is my biff not "biffing" when using biff in a networked
  100.     environment?
  101. 27)    How do I disable L1-A(STOP-A) or re-map it?
  102. 28)     Why are all the local users "unknown" when using sendmail under 4.1.2?
  103. 29)     What are the dump parameters for an exabyte 8200 or 8500?
  104. 30)     What are the guidelines for setting up swap space ?
  105. 31)    What are the general guidelines for maxusers to be set to on machine X?
  106. 32)    What does "zsN: silo overflow" mean?
  107. 33)    What does the "N" in "zsN: silo overflow", and other "zsN" messages,
  108.     signify?
  109. 34)    How do I set up a Sun serial port both for dial-in and dial-out?
  110. 35)    I can't get my Sun, running SunOS 4.1[.x], to establish a UUCP
  111.     connection to some non-Sun machine; it won't log in.  What's wrong?
  112. 36)    Do the Sun serial ports support RTS/CTS flow control?
  113. 37)    How do I specify that a serial port should, or should not, ignore the
  114.     state of the Carrier Detect line?
  115. 38)    I put in a new "termcap" entry, or updated an existing "termcap" entry,
  116.     for a terminal, but "vi" doesn't seem to know about my change.  Why?
  117. 39)    I have a Type 5 keyboard, and find its placement of the Caps Lock,
  118.     Control, and Esc keys inconvenient.  How do I remedy this?
  119. 40)      How can I move keys around on a Sun keyboard, for example exchanging the
  120.     Caps Lock and Control keys on a Type 5 keyboard?
  121. 41)        My Sun doesn't have an ANSI C compiler.  How can I get one?
  122. 42)      How do I change the time zone setting on my machine?
  123. 43)    I'm getting messages that say one of the following:
  124.          proc: table is full    and/or
  125.             file: table is full    and/or
  126.             dquot: table is full     and/or
  127.             inode: table is full
  128.          What do these errors mean, and how do I fix the problem?
  129. 44)      Blank at present.
  130. 45)      How do I run X11R5 applications under Openwindows or Openwindows 
  131.     applications under X11R5?
  132. 46)      Where do I find a "restricted" shell for SunOS?
  133. 47)      Will SunOS 4.1.x binaries run under SunOS 5.x?
  134. 48)    When I try to compile MITs X11R4 applications under Openwindows 3.0,
  135.     I get the following "undefined" symbols(_get_wmShellWidgetClass, and
  136.     _get_applicationShellWidgetClass). What is the Problem?
  137. 49)!      What is Solaris?
  138. 50)     What does the "nres_gethostbyaddr !=" error mean?
  139. 51)     How come my mouse only works in the vertical(or horizontal) direction,
  140.         how do I repair it?
  141. 52)    What do the following undefined symbols mean(dlopen, and dlclose)?
  142. 53)    What does "No network locking on host" mean after upgrading to
  143.     Solaris 2.0?
  144. 54)     Does Password Aging work with NIS(YP) ?
  145. 55)    What does "rpc.lockd: Cannot contact status monitor!" mean?
  146. 56)    How do I join the Sun User Group(SUG)?
  147. 57)!    How do I increase the number of "pseudo" terminals(ptys) ?
  148. 58)      Where are dump and restore under Solaris 2.x?
  149. 59)      How do I make the numeric keypad on a type 5 keyboard work with xterm?
  150. 60)       How do I swap the CAPS LOCK and CONTROL keys on a type 5 keyboard 
  151.     under Openwindows 3.0?
  152. 61)!       Which Sun models run which versions of SunOS?
  153. 62)      My rdump is failing with a "Protocol botched" message. What do I do?
  154. 63)     Table of Solaris2.x commands and their Solaris1.x equivalents?
  155. 64)     How do I setup DNS on Solaris2.x?
  156. 65)      Can a SPARCclassic or LX run SunOS 4.1.3?
  157. 66)     I just restored my root partation and now I can not boot. What
  158.     is wrong?
  159. 67)     How do I disable/enable packet forwarding?
  160. 68)     How do I disable the printing of banners pages?
  161. 69)     How do I change my hostname?
  162.  
  163.  
  164.  
  165.                 Answers
  166.  
  167.  1)     How to get DNS working when not running NIS ?
  168.  
  169.     Note: Solaris2.x users should see question 64..
  170.     
  171.         The "normal" behavior of a hostname lookup under NIS is to
  172.         consult the NIS hosts map and then DNS (if configured). If
  173.     you are not running NIS the system will only look in 
  174.     the /etc/hosts file. 
  175.  
  176.     You have two options to correct this situation:
  177.  
  178.         A) Re-build shared libraries by installing the
  179.            shlib custom option and one of the many 
  180.            "bind" resolver library packages available
  181.            for SunOS. You can only do this if you are 
  182.            running SunOS version 4.1 or greater. 
  183.  
  184.            If you want to do it under 4.0.3 you
  185.            need to get the patches available from
  186.            ftp.uu.net in /systems/sun/sun-fixes. The files
  187.            you will need are as follows:
  188.  
  189.             1) lib.msg
  190.             2) libc_pic.a.sun3 or libc_pic.a.sun4
  191.             3) libc_resolv.so.sun3 or libc_resolv.so.sun4
  192.  
  193.            There should be a README in the same directory 
  194.            explaining what these files are.
  195.            
  196.  
  197.         B) Run NIS with the "hosts" maps only.
  198.  
  199.     
  200.     Option A is the "hardest" to implement. It requires
  201.     that you change all the shared libcs on the all
  202.     machines that you want name resolving on. Also, it
  203.     "breaks" several statically linked commands such as
  204.     mount and rcp. You can get these via anonymous
  205.     ftp to thor.ece.uc.edu. Get the file
  206.         /pub/sun-faq/rcp-mount.dynamic.tar.Z 
  207.  
  208.     Note: this file only contains sun4 binaries.
  209.     
  210.     Complete directions for installing DNS without
  211.     NIS can be found in the bindon4.1.shar file or 
  212.     the resolv+ tar file. 
  213.  
  214.     Here is a list of the software one can use to modify your
  215.     shared libraries to use DNS without NIS.
  216.  
  217.             bind 4.8.3 is on gatekeeper.dec.com in the file
  218.                 /pub/UCB/bind.4.8.3.tar.Z
  219.         bind 4.9 is on gatekeeper.dec.com in the directory
  220.                 /pub/BSD/bind/4.9
  221.             resolv+ is on ftp.uu.net in the file
  222.             /networking/ip/dns/resolv+2.1.tar.Z
  223.  
  224.         Note: that you can still use NIS for other things in environment,
  225.               such as passwd, and group maps.
  226.  
  227.     Option B is the "easiest" of the two to implement. It
  228.     just requires you to run NIS and change the "all"
  229.     line /var/yp/Makefile to "all:    hosts". Also,
  230.     it does not require any change to the shared libraries.
  231.     It does not "break" anything. You can install
  232.     operating system patches that require updating
  233.     the shared libraries without having to remake the
  234.     shared libraries. 
  235.  
  236.  
  237.  
  238.  2)     How to get DNS to be used when running NIS ?
  239.  
  240.     First setup the appropriate /etc/resolv.conf file.
  241.     Something like this should do the "trick". 
  242.  
  243.     ;
  244.     ; Data file for a client.
  245.     ;
  246.     domain        local domain 
  247.     nameserver    address of primary domain nameserver
  248.     nameserver    address of secondary domain nameserver 
  249.  
  250.     where:    "local domain" is the domain part of the hostnames.
  251.          For example, if your hostname is "thor.ece.uc.edu"
  252.          your "local domain" is "ece.uc.edu".
  253.  
  254.     You will need to put a copy of this resolv.conf on
  255.     all NIS(YP) servers including slaves.
  256.  
  257.     Under SunOS 4.1 and greater, change the "B=" at the top
  258.     of the /var/yp/Makefile to "B=-b" and setup NIS in the 
  259.     usual fashion.   
  260.  
  261.     You will need reboot or restart ypserv for these changes
  262.     to take affect.
  263.  
  264.     Under 4.0.x, edit the Makefile or apply the following "diff":
  265.  
  266. *** Makefile.orig       Wed Jan 10 13:22:11 1990
  267. --- Makefile    Wed Jan 10 13:22:01 1990
  268. ***************
  269. *** 63 ****
  270. !                   | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/hosts.byname; \
  271. --- 63 ----
  272. !                   | $(MAKEDBM) -b - $(YPDBDIR)/$(DOM)/hosts.byname; \
  273. ***************
  274. *** 66 ****
  275. !                   | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/hosts.byaddr; \
  276. --- 66 ----
  277. !                   | $(MAKEDBM) -b - $(YPDBDIR)/$(DOM)/hosts.byaddr; \
  278.  
  279.  
  280.  
  281.  3)    How to properly setup NFS mounting of /var/spool/mail ?
  282.  
  283.     On the Client machines:
  284.  
  285.         A) mount /var/spool/mail with the no attribute caching
  286.            option.
  287.         
  288.            An example, fstab line would be the following:
  289.  
  290.            mailhost:/var/spool/mail /var/spool/mail nfs rw,noac 0 0
  291.  
  292.         B) Use a sendmail.cf that forces all mail to be delivered
  293.            by the mailhost. 
  294.  
  295.            One such file is available via anonymous ftp to 
  296.            thor.ece.uc.edu. Get the file 
  297.  
  298.                 /pub/sun-faq/sendmail.client.cf
  299.  
  300.            Do not use the OR option that Sun provides. It is broken
  301.            in many ways.
  302.  
  303.     On the server machine:
  304.     
  305.         A) Setup MX records pointing to the mailhost for
  306.            all client machines.
  307.  
  308.         B) Edit the /etc/exports file to export /var/spool/mail
  309.            to the mail client machines. You may want
  310.            to use a netgroup for this purpose.
  311.  
  312.         C) Setup the /etc/sendmail.cf on the server recognize
  313.            that mail to/from a client is "local".
  314.  
  315.            One such file is available via anonymous ftp to 
  316.            thor.ece.uc.edu. Get the file 
  317.  
  318.                 /pub/sun-faq/sendmail.server.cf
  319.  
  320.         
  321.     Note:     You may want to install IDA sendmail instead of Suns
  322.         stock sendmail. 
  323.  
  324.  
  325.  
  326.  4)     Can I use AnswerBook under X11R5?
  327.  
  328.     AnswerBook in its current form requires the Openwindows
  329.     server. It uses the NeWS extensions(Postscript) extensions
  330.     to this server to display the Answerbook files.
  331.  
  332.     To use AnswerBook under X11R5 you will need to replace the 
  333.     docviewer program with xdocviewer.  Xdocviewer does not support
  334.     all the options that the "real" docviewer supports such
  335.     as "hypertext" links.
  336.  
  337.     To install "xdocviewer" you will need the following programs.
  338.  
  339.         Perl-4 patchlevel 35  
  340.         Ghostscript 2.4 or above
  341.         GSpreview 2.1   or above  or Ghostview 1.3   or above
  342.  
  343.         All of these are available from prep.ai.mit.edu. They are 
  344.         located in the /pub/gnu directory.
  345.  
  346.         Finally, you need xdocviewer. It is available from the
  347.         /contrib directory on host export.lcs.mit.edu.
  348.  
  349.  
  350.  5)     What does "NFS write error X" mean?
  351.  
  352.         You can lookup the error codes in /usr/include/sys/errno.h.
  353.  
  354.         Two common NFS error codes are 13 - "permission denied" and 70 -
  355.         "stale file handle".
  356.  
  357.     Error code 13 can occur from incorrect /etc/exports entry. Also,
  358.     it can occur because someone has changed the /etc/exports
  359.     entry to disallow the client after the client has already
  360.     been granted permission to perform this operation.
  361.  
  362.         Error code 70 occurs when a fileserver gets rebooted and
  363.     the server NFS "file handle" for a particular filesystem
  364.     changes. The "file handle" can be changed under the following
  365.     circumstances:
  366.         
  367.         A) Installing a new drive in place of an old.
  368.  
  369.         B) Moving a filesystem from one devices to
  370.            another.
  371.  
  372.         C) Performing a format, newfs, dump, and restore
  373.            cycle. Even if to the same device.
  374.  
  375.         You can usually get rid of the error by unmounting and
  376.         remounting the filesystem in question. 
  377.  
  378.     Also, error code 70 can occur when someone removes a file 
  379.     that a process is actively writing from a NFS client machine.
  380.  
  381.         Under SunOS 4.1, you can run "showfh" to translate the NFS
  382.         "file handle" given in the error message into a Unix pathname.
  383.         Beware that showfhd does a "find" on your server to get the
  384.         filename.  "man 2 intro" will give you some more general
  385.         information on what error codes could mean.
  386.  
  387.     You will need a patch to get "showfh" to work correctly. The patch
  388.     id is 100371 and this patch is required for 4.1, 4.1.1, and 4.1.2.
  389.     Sun claims that it's been integrated into 4.1.3.
  390.  
  391.  
  392.  6)    How do I find the amount of memory installed or other
  393.     system configuration information?
  394.  
  395.     You can use the "devinfo" command to find out general
  396.     information about the hardware attached to your Sun.
  397.     The "devinfo" command is only available on desktop SPARCsystems,
  398.     SPARCengine 1E(although not in the version used in Auspex systems), 
  399.         or 600MP series server only.
  400.  
  401.     Also, some non-Sun machines may also support "devinfo"; all clones
  402.     probably do, and many compatibles.  (Any machine that has an SBus
  403.     will probably support "devinfo"; any machine that doesn't have an
  404.     SBus probably won't support "devinfo".)
  405.     
  406.     The "best" command for the job is "sysinfo". Sysinfo is public
  407.     domain utility available via "anonymous" ftp on 
  408.     usc.edu in directory /pub/sysinfo. Sysinfo works on all Sun    
  409.     architectures(inculding Sun-3s) as well as many other UNIX 
  410.     boxes such as Ultrix, and Next. Sysinfo does not run on
  411.     SunOS 5.0.
  412.  
  413.     For SunOS 5.0 you can use sysdef.
  414.  
  415.     Note:  "wc -l /dev/mem" and "dd if=/dev/mem of=/dev/null" and 
  416.                the like will *not* give the correct answer on machines 
  417.            where physical memory is not contiguous, such as many Suns.
  418.  
  419.  
  420.  7)     Where can I get a version of ftp that does logging?
  421.  
  422.         There are at least 2 versions that have enhanced logging or 
  423.     can be modified to enable logging:
  424.  
  425.         wuarchive.wustl.edu (128.252.135.4) /packages/ftpd.wuarchive.shar
  426.     pprg.unm.edu (129.24.24.10)        /pub/misc/unm-ftpd.tar.Z
  427.  
  428.     The most widely used is the "wuarchive" version.
  429.  
  430.         The stock Sun ftpd will log some information if you add the "-l"
  431.         flag in /etc/inetd.conf:
  432.  
  433.         ftp stream tcp nowait root /usr/etc/in.ftpd in.ftpd -l
  434.  
  435.         Also enable syslogd by adding:
  436.  
  437.         daemon.info      /var/adm/syslog
  438.  
  439.         to "/etc/syslog.conf".
  440.  
  441.  
  442.  8)     Where can one get SunOS patches? Where can I get patch 100xxx-xx?
  443.  
  444.         Many anonymous ftp sites have partial collections of patches.
  445.         These sites include the following:
  446.  
  447.                 ftp.uu.net:/systems/sun/sun-dist/
  448.             sasun1.epfl.ch:/pub/sun-patches/
  449.         ftp.ucs.ubc.ca:/pub/ubc/sun-patches/
  450.         thor.ece.uc.edu:/pub/sun-faq/SunOS4.1.x.Patches
  451.         thor.ece.uc.edu:/pub/sun-faq/Solaris2.1-patches
  452.         thor.ece.uc.edu:/pub/sun-faq/Solaris2.2-patches
  453.         sunsite.unc.edu:/pub/sun-info/sun-fixes
  454.  
  455.     Note: You should always attempt to find a local site before
  456.           using the above.
  457.  
  458.     ftp.uu.net is the "official" distribution point for SunOS
  459.     security patches.
  460.  
  461.         Also, you should use "archie" to look for specific patches.
  462.  
  463.         Finally, the Sun User Group (SUG) CD ROM has a collection of Sun
  464.         patches.
  465.  
  466.  9)    How to setup Openwindows Calendar Manager in a distributed
  467.     environment?
  468.  
  469.     Sun's original assumption that each user has a permanent machine 
  470.     allocated to them is not applicable in most environments. Just as 
  471.     users send mail to 'user' rather than 'user@machine', users want 
  472.     to browse others user's calendars and do not care or want to know
  473.     where the calendar is actually stored.
  474.  
  475.     Here is procedure to accomplish our goal. All calendars
  476.     will be stored on a central server. The initial setup
  477.     must be done on the server.
  478.  
  479.         A) Have the user login to the calendar host(calhost)
  480.            machine.
  481.         
  482.         B) Change everyone's .cm.rc file so that 
  483.            Calendar.DefaultCal points to user@calhost
  484.  
  485.            calhost can be an hostname alias or an actual
  486.            hostname. You may want to use the alias
  487.            just in case you change the "calhost" later.
  488.     
  489.         C) Change their Access List and Permissions (under
  490.                Edit/Properties) to show user@client with BID (browse,
  491.                insert, delete) permissions for any client machine the
  492.            user wanted to access their calendar from.
  493.  
  494.     Notes: If you use the scheme you should not NFS mount 
  495.            /var/spool/calendar on the client machines.
  496.  
  497.     or
  498.  
  499.     You can install the "Proxy OpenWindows Calendar Manager", which
  500.     is available via anonymous FTP from thor.ece.uc.edu in
  501.     /pub/sun-faq/proxy-cmsd.tar.Z.
  502.  
  503. 10)     Why does the talk command fail between SunOS
  504.     and any other manufacturer's equipment(like DEC)? 
  505.  
  506.     SunOS has the old BSD 4.2 version of talk. The old talk
  507.     uses "machine dependent" byte ordering. Since
  508.     DEC has different byte order the two talks can not
  509.     communicate(even if you use "otalk" on the DEC
  510.     machines).
  511.     
  512.     Also, most vendors have the newer version of 
  513.     talk from BSD-4.3 and this version is not compatible
  514.     with the Sun Version(which is BSD-4.2).
  515.  
  516.     The solution is to get and install the new version
  517.     of talk because it uses "network" byte ordering and
  518.     it is compatible with most Vendors current talk 
  519.     implementations.
  520.     
  521.     "New Talk" is available via anonymous ftp from several
  522.     sites including thor.ece.uc.edu(Get the file 
  523.     /pub/sun-faq/ntalk.tar.Z). 
  524.  
  525. 11)    How do I setup "anonymous" ftp?
  526.     
  527.         Read the man page ftpd(8) in the SunOS 4.x documentation, as 
  528.         the procedure differs from vanilla BSD and most examples in 
  529.         system administration books. 
  530.  
  531.     The "ls" binary is dynamically linked, requiring you to 
  532.     duplicate ld.so, libc.so.* and /dev/zero in the ftp area.
  533.     The permissions and ownership of the files within the 
  534.         ftp area are critical to having a secure configuration.
  535.     
  536.     Note: For SunOS versions 4.1.2 and 4.1.3 you will need
  537.           to copy /usr/lib/libdl.so.* to the ftp area as well.
  538.  
  539.     You can use a "statically" linked binary from the GNU
  540.     fileutils instead of the "dynamically" linked SunOS
  541.     version. You can get the GNU fileutils from prep.ai.mit.edu
  542.     in the directory /pub/gnu
  543.  
  544.     There is also a statically linked version of ls for Suns
  545.     running SunOS 4.1.x, available via anonymous ftp from
  546.     thor.ece.uc.edu.  Get the file /pub/sun-faq/ls.statically-linked
  547.  
  548.     A complete procedure to setup anonymous under SunOS is
  549.     available via anonymous ftp to thor.ece.uc.edu. Get
  550.     the file /pub/sun-faq/anon-ftp.how-to.
  551.  
  552.     There is an _excellent_ script written by Peter N. Lewis
  553.     (peter.lewis@info.curtin.edu.au) for setting up anonymous ftp
  554.     located on thor.ece.uc.edu, in the file /pub/sun-faq/anon-ftp.scrpt
  555.  
  556. 12)     How come yppasswdd does not automatically update the yp maps?
  557.  
  558.         There is a bug in 4.1 rpc.yppasswdd that causes it misinterpret
  559.         the command line arguments.  A work-around is to add the
  560.         "-nosingle" flag (which is the default), this shifts the
  561.         arguments over one, so "passwd" is read instead of "-m".
  562.     Also, you should use the complete path to rpc.yppasswdd
  563.  
  564.         For example:
  565.  
  566.         /usr/etc/rpc.yppasswdd /var/yp/passwd -nosingle -m passwd DIR=/var/yp
  567.  
  568.         If you are running the C2 security package, you should apply
  569.         the C2 Jumbo patch, as it fixes several problems with rpc.yppasswdd
  570.     and rpc.pwdauthd. The patch number is
  571.  
  572.     100201-04 for SunOS 4.1 and 4.1.1
  573.     100564-05 for SunOS 4.1.2 and 4.1.3
  574.  
  575. 13)     What does NFS getattr failed/RPC: Authentication error mean?
  576.  
  577.         You are probably running a pre-4.0 version of NFS and your
  578.         username is in more than 8 groups.  There is a limit on the
  579.         number of groups that could be represented in the rpc service
  580.         (called NGRPS).  On pre-4.0 systems this was 8, now it is 16.
  581.         Since many vendors other than Sun are still running old versions
  582.         of NFS, you might see this error even if your SunOS is recent.
  583.  
  584.         Authentication errors are also caused by having secure RPC
  585.         enabled on the client but not on the server, or by having a
  586.         misconfigured secure RPC configuration for the user name
  587.         generating the errors.  Beware of this problem when you are
  588.         using the automounter, as programs (such as Sendmail) may
  589.         silently fail when when they try to mount a directory
  590.         and get this error.
  591.  
  592.  
  593. 14)     Why did my Quantum 105 megabyte hard disk stop working?
  594.  
  595.     This the now infamous Quantum drive "stickation" problem.
  596.  
  597.     If the drive is allowed to cool down(even for a short period 
  598.     of time) the drive lubricant will congeal and prevent the disks
  599.     platters from rotating. 
  600.  
  601.     Before you get a replacement, try lightly tapping
  602.         the drive to loosen the lubricant. If this does not work try
  603.     shaking and twisting the drive at the same time. One last
  604.     thing to try is to lift the system up a couple of inches
  605.     and drop it.
  606.  
  607. 15)     Can I replace the 105 megabyte internal drive with a higher capacity
  608.         model?
  609.  
  610.         The higher capacity drives create more heat and draw more power than
  611.         the 105S.  The case cooling ability and power supply in the SS-1 and
  612.         SS-1+ are not adequate for the 210 megabyte or higher capacity drives
  613.         possible in the SS-2.
  614.  
  615. 16)     How can I turn my Sun3 into an X-Terminal?
  616.  
  617.         You can use Seth Robertson's Xkernel package.  It is available
  618.         via anonymous ftp from sol.ctr.columbia.edu (128.59.64.40) in
  619.         /Xkernel.  The package describes how to configure a minimal kernel
  620.         that runs the X server and offloads all the clients onto another,
  621.         hopefully more powerful host on the network. 
  622.  
  623.     If you are in hurry get the 4LAZY.sun3.tar.Z file. It contains
  624.     all the necessary software to get Xkernel up and running.
  625.  
  626.     Xkernel is attractive to some sites that have a large investment in 
  627.         sun3 platforms, as moving  most of the processing off the sun3 
  628.         cpu makes it tolerable to use.  
  629.  
  630.     Finally, a used 3/50 is competitive with low-end X Terminal and 
  631.         you get a 19" monitor with an optical mouse.  
  632.  
  633.     Some disadvantages are that 4.1.1 is supposed to be the last SunOS
  634.         release on the sun3 and maintenance costs might be higher for
  635.         sun3 hardware.
  636.  
  637.  
  638. 17)    Why is my console login prompt garbled or in some strange
  639.     alphabet after upgrading to 4.1.3?
  640.  
  641.         The problem is /etc/ttytab, with 4.1.3, the console is now
  642.     able to display 8 bits characters and getty must take this 
  643.     into account.
  644.  
  645.     The solution is easy, replace your console entry in /etc/ttytab 
  646.     by the following, the important part is 'cons8':
  647.  
  648.     console "/usr/etc/getty cons8"  sun             on local secure
  649.  
  650.     Also, if you did an upgrade(instead of a full install) you may 
  651.     need to add the following to your /etc/gettytab.
  652.  
  653.     # This is a new entry to internationalize the console.  It needs to be
  654.     # 8 bit clean so that ISO 8859 characters can be displayed without
  655.     # the window system.
  656.     #
  657.     cons8:\
  658.             :p8:lm=\r\n%h login\72 :sp#9600:
  659.  
  660.  
  661. 18)    Why are there "random" missing services at boot time(even
  662.     though the services are in the /etc/services file or NIS map)?
  663.  
  664.     The three primary causes for "random" missing services are
  665.     as follows:
  666.  
  667.         A) "Blank" lines in /etc/services. This is the primary
  668.            cause.
  669.  
  670.         B) NIS/YP server not responding quickly enough
  671.            to the "getservbyname" call. The only fix
  672.            is to replace the systems version of inetd
  673.            with a version that re-tries a "unknown" service.
  674.  
  675.            I have "hacked" a version of munetd(public domain
  676.            replacement for inetd) to do this. It is available
  677.            from thor.ece.uc.edu. Get the file /pub/sun-faq/munetd.tar.Z
  678.  
  679.         C) Sun's implementation of the services map is incorrect. To
  680.                correct this problem you will need to replace some library
  681.            routines in libc. These routines and directions on
  682.            installing them are available from thor.ece.uc.edu.
  683.            Get the file /puv/sun-faq/getservent.tar.Z.
  684.  
  685.            Another fix(if you do not want to modify your libc's) is
  686.            to just remove the services map from NIS. However,
  687.            you will need to update the services file by hand.
  688.         
  689.  
  690. 19)    Where can I get Data Certified tapes for 8-mm tape drives(at
  691.     reasonable price)?
  692.  
  693.     Here is an incomplete list of vendors how have "data certified"
  694.     tapes for the exabyte.
  695.  
  696.     Misco               800-876-1726   $12 - 15 each.    
  697.     TecBridge          800-972-7405   $12 - 15 each.
  698.     R-Squared          800-777-3478     Sony 112m 120@8.00 Each
  699.     K and K Systems          612-475-1527     $10 Each
  700.     SCR              314-739-0808     $10.95 for Memorex
  701.  
  702. 20)    What is "archie"?
  703.  
  704.     Archie is a database of what is on several thousand anonymous 
  705.     ftp sites. 
  706.  
  707.     To use archie get one of the three archie clients which
  708.     are as follows:
  709.  
  710.         xarchie        -    For use under X11
  711.         c-archie    -     Curses version of Archie
  712.         archie        -     Perl Version of Archie
  713.     
  714.     Theses are available from archie.ans.net in the directory 
  715.     /pub/archie.
  716.  
  717.     List of other publicly available archie servers:
  718.  
  719.     archie.rutgers.edu   128.6.18.15     (Rutgers University)
  720.     archie.unl.edu       129.93.1.14     (University of Nebraska 
  721.                                           in Lincoln)
  722.     archie.sura.net      128.167.254.179 (SURAnet archie server)
  723.     archie.ans.net       147.225.1.2     (ANS archie server)
  724.     archie.au            139.130.4.6     (Australian server)
  725.     archie.funet.fi      128.214.6.100   (European server in Finland)
  726.     archie.doc.ic.ac.uk  146.169.11.3    (UK/England server)
  727.     archie.cs.huji.ac.il 132.65.6.15     (Israel server)
  728.     archie.wide.ad.jp    133.4.3.6       (Japanese server)
  729.     archie.th-darmstadt.de 130.83.128.111 (German server)
  730.  
  731.     
  732. 21)    How do I synchronize time on my Sun Network?
  733.  
  734.     You should use xntp version 3 to synchronize your time. Xntp 
  735.     synchronizes to "atomic" and/or Radio Frequency clocks. Using
  736.     xntp time should always be within a few "milliseconds" of the
  737.     actual time.
  738.  
  739.     xntp is available from udel.edu. Get the file /pub/ntp/xntp3.tar.Z
  740.     
  741.  
  742. 22)    What is the phone number for Sun Express and other numbers of importance
  743.     to Sun Users? 
  744.  
  745.     Sun Express:         1-800-USE-SUNX (1-800-873-7869)
  746.     Main Sun Helpline:     1-800-USA-4SUN (1-800-872-4786)
  747.  
  748.     Auspex Systems Inc. :   2952 Bunker Hill Lane
  749.                             Santa Clara, CA 95054
  750.                             (800) 735-3177 or (408) 492-0900
  751.                                 Fax: (408) 492-0909
  752.     
  753.  
  754. 23)     How do I join sun related  mailing lists?
  755.  
  756.     Mailing Lists:
  757.  
  758.     Sun Managers:    Used for "emergency" information only. The
  759.             users of this list are "very" knowledgable.
  760.         sun-managers-request@eecs.nwu.edu    add requests
  761.         sun-managers@eecs.nwu.edu        submissions
  762.  
  763.         Sun-386i:   discussion about the Sun 386i product
  764.             sun-386i-request@ssg.com        add requests
  765.             sun-386i@ssg.com                    submissions
  766.  
  767.         Suns-at-home:   discussion about maintaining Sun2/3/4/4c
  768.                         systems at home
  769.             suns-at-home-request@orchestra.ecn.purdue.edu   add requests
  770.             suns-at-home@orchestra.ecn.purdue.edu           submissions
  771.  
  772.         Auspex:  managers of Auspex NFS file servers
  773.             auspex-request@princeton.edu                    add requests
  774.             auspex@princeton.edu                            submissions
  775.  
  776.         Epoch:  managers of Epoch NFS file servers       
  777.             EPoch Users Forum  (EPUF)             
  778.             epuf-request@mcs.anl.gov                        add requests 
  779.             epuf@mcs.anl.gov                                submissions
  780.  
  781.     sun-flash: Provides articles about Sun products 
  782.            and services.
  783.  
  784.         Subscription request should be sent to
  785.             sunflash-request@sunvice.East.Sun.COM
  786.  
  787.  
  788.     NOTE!!!  if you wish to be added to one of the above mailing lists,
  789.              send mail to the REQUEST address!  Do not send add requests 
  790.          to the main address!
  791.  
  792.  
  793. 24)    How do I use Mac floppies in a SUN drive?
  794.     
  795.     The easiest way is to use suntar on the Macintosh to
  796.     copy files to a "high density" floppy.  Then you can use 
  797.     "tar" on the Sun to get the files off the floppy.
  798.  
  799.     It is available from sumex-aim.stanford.edu. Get the file
  800.     /info-mac/util/suntar-131.hqx
  801.  
  802.     Also, you could use the Apple File Exchanger to translate
  803.     the files to MS-DOS format. Then use one of the methods
  804.     for transferring MS-DOS disks to Sun.
  805.  
  806.  
  807.     Note: There are  several commercial packages available for
  808.           this purpose.
  809.  
  810.           Also, low density Mac floppies are not comparable with
  811.           low density Sun floppies. 
  812.  
  813.  
  814. 25)    How can I transfer floppies back and forth between MS-DOS and Sparc?
  815.  
  816.     There are two packages which allow you to do this(mtools and mntdsk)
  817.  
  818.     Mtools writes directly to the floppy device and it does not
  819.     require special privileges. It is faster than mntdsk
  820.     but it requires the user to learn a new set of commands.
  821.  
  822.     mntdisk "mounts" the floppy using the "pcfs" filesystem type. Once
  823.     mounted you can use regular UNIX commands(cp,mv,and rm)
  824.     to access it.
  825.  
  826.     A copy of mtools can be found on thor.ece.uc.edu. Get
  827.     the file  /pub/sun-faq/mtools-2.0.7.tar.Z
  828.  
  829.     Mntdisk is available in your local comp.sources.misc, Volume 22,
  830.     Issue 31. Mntdsk can be used to mount CD-ROMS and even
  831.     UFS floppies.
  832.  
  833.     Note:    You should not use "setuid" shell scripts for mounting
  834.         floppies.
  835.  
  836.  
  837. 26)    Why is my biff not "biffing" when using biff in a networked
  838.     environment?
  839.  
  840.     In its current form comsat/biff are only usable on the mail
  841.     server. You need to replace them network capable programs.
  842.  
  843.     A shar file containing network capable versions of comsat
  844.     and biff is available from thor.ece.uc.edu. Get the
  845.     file /pub/sun-faq/biff-comsat.
  846.  
  847. 27)    How do I disable L1-A(STOP-A) or re-map it?
  848.  
  849.     You need to get one of the many re-mapping programs. Two
  850.     of these are available from thor.ece.uc.edu. Get the file
  851.     disable-L1-A.tar.Z
  852.  
  853. 28)     Why are all the local users "unknown" when using sendmail under 4.1.2?
  854.  
  855.     There is a known problem with sendmail and frozen config
  856.     files under 4.1.2.
  857.  
  858.     The fix is to remove /etc/sendmail.fc or consider replacing
  859.     it with IDA sendmail. You could also try moving it to the
  860.     end of /etc/rc.local.
  861.  
  862.  
  863. 29)    What are the dump parameters for an exabyte 8200 or 8500?
  864.  
  865.     8200 -- dump 0budfs 126 54000 /dev/rst0 6000    filesystem
  866.     8500 -- dump 0budfs 126 54000 /dev/rst0 13000   filesystem
  867.                           
  868.     Note: Under 4.1.2 and above you should use rst8. Previous
  869.           versions did not do anything special for the 8500.
  870.  
  871.     Note: These parameters are not needed for 5.1.x because
  872.           it computes these values from the type of Tape Drive
  873.           you are using. Also, 5.1.x knows about end of tape
  874.           and does the right thing when it reaches it.
  875.  
  876. 30)    What are the guidelines for setting up swap space ?
  877.  
  878.     In SunOS 4.x the amount of swap space and Virutal memory 
  879.     are one in the same so you need at least as much swap
  880.     as real memory.
  881.  
  882.     In SunOS 5.x the amount of Virutal memory is equal
  883.     swap space plus real memory. Under SunOS 5.x you
  884.     can actually get away with having no swap space at
  885.     all(note: I have not tried this).
  886.  
  887.     The old rule of thumb is 1.5 to 2 times real memory. This
  888.     can lead to wasted disk space(by having too much swap
  889.     space) or to not having enough. What you need to do
  890.     is to estimate your swap space needs.
  891.  
  892.     
  893.     Note: This question is still being worked on.
  894.  
  895.  
  896. 31)    What are the general guidelines for maxusers to be set to on machine X?
  897.  
  898.     This question is being written.
  899.  
  900. 32)    What does "zsN: silo overflow" mean?
  901.  
  902.         The CPU serial ports - both ordinary serial ports A and B, and
  903.         the port for the keyboard and mouse - use the Zilog Z8530 SCC
  904.         chip.  That chip has a 3-character on-board buffer called the
  905.         "silo".  If a character arrives in the silo, the chip interrupts
  906.         the CPU at a high priority, and the interrupt service routine
  907.         reads the character out of the silo.
  908.  
  909.         If the interrupt isn't serviced in time, more than 3 characters
  910.         can be placed in the silo by the chip; if so, the chip notes
  911.         that the silo "overflowed", and the interrupt service routine,
  912.         when called, will note that a "silo overflow" occurred.
  913.  
  914.         If the machine is printing a message from the kernel, interrupts
  915.         from the chip will be held off; if the message takes long enough
  916.         to print, and characters are coming in quickly enough on the
  917.         serial port, more than 3 can arrive, and a "silo overflow" will
  918.         occur.
  919.  
  920.         It is possible that a machine that's sufficiently busy in other
  921.         code that runs with interrupts held off could get a silo
  922.         overflow as well.
  923.  
  924. 33)    What does the "N" in "zsN: silo overflow", and other "zsN" messages,
  925.     signify?
  926.  
  927.         The name "zsN" is ambiguous.
  928.  
  929.         In kernel "config" files, and in the boot-time autoconfig
  930.         messages, "zs0" is the first on-board Z8530 chip, the two
  931.         channels of which handle "ttya" and "ttyb", respectively, and
  932.         "zs1" is the second on-board Z8530 chip, the two channels of
  933.         which handle the keyboard and mouse ports, respectively.
  934.  
  935.         In "zsN: silo overflow" messages and the like:
  936.  
  937.                 "zs0" is the A channel on the first on-board Z8530, handling
  938.                     "ttya";
  939.  
  940.                 "zs1" is the B channel on the first on-board Z8530, handling
  941.                     "ttyb";
  942.  
  943.                 "zs2" is the A channel on the second on-board Z8530, handling
  944.                     the keyboard;
  945.  
  946.                 "zs3" is the B channel on the second on-board Z8530, handling
  947.                     the mouse.
  948.  
  949.         So a "zs0: silo overflow" error is for "ttya", and a "zs1: silo
  950.         overflow" error is for "ttyb", not for the keyboard or mouse.
  951.         Keyboard silo overflows are "zs2: silo overflow"; mouse silo
  952.         overflows are "zs3: silo overflow".
  953.  
  954.  
  955. 34)    How do I set up a Sun serial port both for dial-in and dial-out?
  956.  
  957.         You need to read Chapter 11 in  the "Systems and Network 
  958.     Administration" manual.
  959.  
  960. 35)    I can't get my Sun, running SunOS 4.1[.x], to establish a UUCP
  961.     connection to some non-Sun machine; it won't log in.  What's wrong?
  962.  
  963.         The 4.1[.x] UUCP normally runs in even-parity mode when logging
  964.         into another machine.  If the other machine is running in 8
  965.         bits, no parity, mode, the fact that the 8th bit is set on some
  966.         of the characters the Sun is sending to it will confuse it.
  967.  
  968.         The Sun can be made to turn the 8th bit off by putting P_ZERO in
  969.         the appropriate place in the appropriate UUCP configuration file
  970.         [I may have been the one to put P_ZERO there, but I forget the
  971.         details; it's in the send-expect sequence in the Systems file
  972.         entry for the machine, and I think you have an "expect" string
  973.         of "" - i.e., "expect nothing" - and a "send" string of P_ZERO -
  974.         i.e., make the parity bit zero.  Check the UUCP stuff in the
  975.         "Systems and Network Administration" document to make sure.]
  976.  
  977.  
  978. 36)    Do the Sun serial ports support RTS/CTS flow control?
  979.  
  980.         The serial port hardware can do CTS-based control of the flow of
  981.         data *from* the Sun *out* the serial port automatically.  The
  982.         tty driver option for that is the CRTSCTS option; it can be
  983.         specified in:
  984.  
  985.                 the "printcap" "ms" capability for a printer;
  986.  
  987.                 in the "gettytab" "ms", "m0", "m1", or "m2" capabilities
  988.                 for a dial-in port;
  989.  
  990.                 the "STTY=" option for a dial-out line for UUCP or "cu"
  991.                 [check the UUCP documentation for details];
  992.  
  993.         and can be specified with the "hf" capability in "/etc/remote"
  994.         for "tip".
  995.  
  996.         The hardware cannot directly do RTS-based control of the flow of
  997.         data *into* the Sun, and the software does not currently support
  998.         controlling the flow of data into the Sun with RTS.
  999.  
  1000.         NOTE: the EEPROM options in newer Suns do not affect the flow
  1001.  
  1002.         control performed by the OS; in fact, the OS ignores the
  1003.         "ttya-mode", "ttyb-mode", "ttya-rts-dtr-off", and
  1004.         "ttyb-rts-dtr-off" EEPROM options entirely.  You don't need to
  1005.         set them to change the way the OS handles the tty, and even if
  1006.         you do set them, it won't change the way the OS handles the tty.
  1007.  
  1008.  
  1009.  
  1010. 37)    How do I specify that a serial port should, or should not, ignore the
  1011.     state of the Carrier Detect line?
  1012.  
  1013.         Prior to SunOS 4.1, you do so either by:
  1014.  
  1015.                 changing the "flags" field for the serial port device in the
  1016.                 kernel "config" file, re-running "config", rebuilding
  1017.                 the kernel, and rebooting with the new kernel;
  1018.  
  1019.         or, on the Sun-4c machines:
  1020.  
  1021.                 changing the setting of the "ttya-ignore-cd" or
  1022.                 "ttyb-ignore-cd" EEPROM settings if the port is one of
  1023.                 the CPU serial ports.
  1024.  
  1025.         In SunOS 4.1 (and, I think, some SunOS 4.0[.x] releases for the
  1026.         Sun386i), you do so by changing the "/etc/ttytab" line for the
  1027.         port in question to have the "local" attribute if CD is to be
  1028.         ignored, or not to have it if CD is not to be ignored, and
  1029.         running the "ttysoftcar" command to tell the kernel that the
  1030.         status of the "ignore CD" flag should be changed.
  1031.  
  1032.         In 4.1, there's no need to change the EEPROM setting to change
  1033.         SunOS's behavior; it may affect the PROM's behavior, but that's
  1034.         the only reason why it'd be necessary.
  1035.  
  1036. 38)    I put in a new "termcap" entry, or updated an existing "termcap" entry,
  1037.     for a terminal, but "vi" doesn't seem to know about my change.  Why?
  1038.  
  1039.         The "vi" in SunOS 4.1[.x] is based on the System V Release 3.1
  1040.         "vi", because that version of "vi" supports 8-bit character
  1041.         sets.  That version of "vi" uses "terminfo", not "termcap"; you
  1042.         have to change the "terminfo" entry for the terminal.
  1043.  
  1044.         You may first have to convert the compiled "terminfo" entry to a
  1045.         text entry; "/usr/5bin/infocmp -I <terminal-type>" will write
  1046.         the text of the "terminfo" entry for the terminal
  1047.         <terminal-type> to its standard output.
  1048.  
  1049.         If you already have a "termcap" entry, you can convert it to a
  1050.         "terminfo" entry with "/usr/5bin/captoinfo".
  1051.  
  1052.         A text "terminfo" entry must be recompiled in order for programs
  1053.         using "terminfo" to use it; "/usr/5bin/tic" will recompile it.
  1054.  
  1055. 39)    I have a Type 5 keyboard, and find its placement of the Caps Lock,
  1056.     Control, and Esc keys inconvenient.  How do I remedy this?
  1057.  
  1058.         Well, one remedy may be to buy the "UNIX layout" version of the
  1059.         Type 5; this option seems, unfortunately, to be little-known to
  1060.         Sun customers, and Sun may not be promoting it as they should.
  1061.         That keyboard has a layout much more friendly to the traditional
  1062.         UNIX user than do the normal PC-style layouts for the Type 5.
  1063.  
  1064.         If you don't have that option, you can use the appropriate
  1065.         program to reprogram the keys; see the next question.
  1066.  
  1067. 40)    How can I move keys around on a Sun keyboard, for example exchanging the
  1068.     Caps Lock and Control keys on a Type 5 keyboard?
  1069.  
  1070.         It depends on which window system you're running, if any.
  1071.  
  1072.         If you're not using any window system, or you're using a window
  1073.         system such as SunView that uses the OS's keyboard event
  1074.         translation mechanism, you can dump the tables used by the OS's
  1075.         keyboard event translation mechanism with the "dumpkeys"
  1076.         command, and load changes to that table with the "loadkeys"
  1077.         command; see LOADKEYS(1).
  1078.  
  1079.         If you're using X11 - either in its MIT incarnation, or Sun's
  1080.         Open Windows incarnation - or some other window system that
  1081.         shuts off the OS's keyboard event translation mechanism, you
  1082.         need to use the window system's commands, if any, for that
  1083.         function.
  1084.  
  1085.         In X11, the command for that is "xmodmap"; its translation
  1086.         tables can be printed with "xmodmap -pk", and changes to that
  1087.         table can be loaded with "xmodmap" as well.
  1088.  
  1089.         NOTE: in the particular case of the Control and Caps Lock keys,
  1090.         while MIT X appears to handle interchanging those two keys
  1091.         correctly, so that the new Caps Lock key is a toggle and the new
  1092.         Control key is not, some versions of Open Windows do not - even
  1093.         though the keys have had their mappings exchanged, the window
  1094.         system server still thinks that the *old* Caps Lock key, which
  1095.         is now the Control key, should be a toggle, and that the *old*
  1096.         Control key, which is now the Caps Lock key, should not be a
  1097.         toggle.
  1098.     [Here is a work-around for this problem, provided by Mark Plotnick
  1099.     (mp@allegra.att.COM)]:
  1100.     Copy the appropriate keytable (e.g. /usr/openwin/etc/keytables/US4.kt)
  1101.     to $HOME/.keytable, and change the 2nd attribute character in a key's
  1102.     attributes field to N or P depending on whether the key should have 
  1103.     "pseudolock".
  1104.     $ diff /usr/openwin/etc/keytables/US4.kt /usr/gre/.keytable
  1105.     78,79c78,79
  1106.     < lock  119                     # CapsLock
  1107.     < control        76                     # Control
  1108.     ---
  1109.     > lock   76                     # CapsLock
  1110.     > control       119                     # Control
  1111.     226c226
  1112.     < 76    NN      XK_Control_L
  1113.     ---
  1114.     > 76    NP      XK_Caps_Lock
  1115.     278c278
  1116.     < 119   NP      XK_Caps_Lock
  1117.     ---
  1118.     > 119   NN      XK_Control_L
  1119.  
  1120.  
  1121. 41)    My Sun doesn't have an ANSI C compiler.  How can I get one?
  1122.  
  1123.         SunOS releases prior to 5.x come with a C compiler. However,
  1124.         it was an old compiler, and it didn't support ANSI C syntax or 
  1125.         ANSI C features.
  1126.  
  1127.         Many vendors offer ANSI C compilers for SunOS.  Sun sells Sun C
  1128.         1.1 for SPARC, which includes an ANSI C compiler (although not a
  1129.         full ANSI C environment, i.e. it doesn't necessarily include all
  1130.         the ANSI C include files or library routines); various other
  1131.         vendors (Lucid? Others?) sell ANSI C compilers as well.
  1132.  
  1133.         The Free Software Foundation's GCC also supports ANSI C syntax
  1134.         and ANSI C features; it can be FTP'ed in source form from many
  1135.         sites, and in binary form from some sites. 
  1136.  
  1137.     A compiled version of GCC 2.4.5 for SunOS 5.x is avaliable from 
  1138.     prep.ai.mit.edu. The directory containing these files is
  1139.  
  1140.         /pub/gnu/sparc-sun-solaris2
  1141.  
  1142.     You need to get the following files:
  1143.         
  1144.         gzip-binaries-1.2.2.tar    
  1145.         INSTALL.gcc
  1146.         gcc-binaries-2.4.5.tar.gz
  1147.  
  1148.     Note: You need the gzip binaries to ungzip the gcc binaries.
  1149.  
  1150.     After obtaining GCC, you will need to run fixincludes. 
  1151.     The INSTALL.gcc file will tell you how.
  1152.  
  1153.  
  1154.     Note: The following sites mirror the GNU software distribution
  1155.           from prep.ai.mit.edu:
  1156.  
  1157.         ASIA:         utsun.s.u-tokyo.ac.jp:/ftpsync/prep,
  1158.                     cair.kaist.ac.kr:/pub/gnu
  1159.         AUSTRALIA:     archie.oz.au:/gnu (archie.oz or archie.oz.au for ACSnet)
  1160.         AFRICA:     ftp.sun.ac.za:/pub/gnu
  1161.         MIDDLE-EAST:     ftp.technion.ac.il:/pub/unsupported/gnu
  1162.         EUROPE:     irisa.irisa.fr:/pub/gnu, grasp1.univ-lyon1.fr:pub/gnu,
  1163.               ftp.mcc.ac.uk, unix.hensa.ac.uk:/pub/uunet/systems/gnu,
  1164.               src.doc.ic.ac.uk:/gnu, ftp.win.tue.nl, ugle.unit.no,
  1165.             ftp.denet.dk, ftp.informatik.rwth-aachen.de:/pub/gnu,
  1166.             ftp.informatik.tu-muenchen.de, ftp.eunet.ch, 
  1167.             nic.switch.ch:/mirror/gnu, nic.funet.fi:/pub/gnu,
  1168.             isy.liu.se, ftp.stacken.kth.se,
  1169.             ftp.luth.se:/pub/unix/gnu, archive.eu.net
  1170.            CANADA: ftp.cs.ubc.ca:/mirror2/gnu
  1171.         USA:     wuarchive.wustl.edu:/mirrors/gnu, labrea.stanford.edu,
  1172.           ftp.kpc.com:/pub/mirror/gnu, ftp.cs.widener.edu,
  1173.           col.hp.com:/mirrors/gnu, ftp.cs.columbia.edu:/archives/gnu/prep,
  1174.           gatekeeper.dec.com:/pub/GNU, ftp.uu.net:/systems/gnu
  1175.  
  1176.  
  1177.     You should check the site close to you before ftping to
  1178.     prep.
  1179.  
  1180.  
  1181. 42)    How do I change the time zone setting on my machine?
  1182.  
  1183.         In releases prior to SunOS 4.0, you will have to reconfigure
  1184.         your kernel, recompile it, install the new kernel, and reboot.
  1185.         See the documentation on kernel configuration.
  1186.  
  1187.         In SunOS 4.0 and later releases, you will need to run the "zic"
  1188.         command with the "-l" flag, with the appropriate time zone
  1189.         setting as the argument.  For example, to set the time zone to
  1190.         US Eastern Time, do:
  1191.  
  1192.                 zic -l US/Eastern
  1193.  
  1194.         to set it to the proper setting for Great Britain and Eire, do:
  1195.  
  1196.                 zic -l GB-Eire
  1197.  
  1198.         and so on.
  1199.  
  1200.         You will then probably want to reboot your machine, in order to:
  1201.  
  1202.                 1) cause any daemons started before the time zone was
  1203.                    changed to restart, and pick up the new time zone;
  1204.  
  1205.                2) run "tzsetup" for the benefit of old pre-SunOS 4.0
  1206.                    binaries, old programs not converted to use the new
  1207.                    routines to convert local time to UNIX time, and
  1208.                    Calendar Manager.
  1209.  
  1210.         You can also manually link "/usr/share/lib/zoneinfo/localtime"
  1211.         to the appropriate time zone file, but there's really no point
  1212.         in doing so when "zic -l" will do that for you.
  1213.  
  1214.         In Solaris 2.x, you do it the same way you do it on any other
  1215.         SVR4 system - you put a line that says
  1216.  
  1217.                 TZ=<time zone name>
  1218.  
  1219.         in "/etc/TIMEZONE", or change the existing line, and reboot.
  1220.         SVR4 includes the "Arthur Olson" time zone code that SunOS 4.x
  1221.         also uses, although not all SVR4 systems supply the time zone
  1222.         files for it; Solaris 2.0 does.
  1223.  
  1224.  
  1225. 43)    I'm getting messages that say one of the following:
  1226.          proc: table is full    and/or
  1227.             file: table is full    and/or
  1228.             dquot: table is full     and/or
  1229.             inode: table is full
  1230.          What do these errors mean, and how do I fix the problem?
  1231.  
  1232.         In SunOS releases prior to 5.0, many tables in the system are
  1233.         allocated once at system startup time, with a fixed size, and do
  1234.         not grow in size.  If the system needs more entries than are
  1235.         present in that table to perform some operation, it can't
  1236.         perform the operation, and it will log a message and return a
  1237.         failure indication.
  1238.  
  1239.         The sizes of the tables in question are based on the "maxusers"
  1240.         value in the configuration file for your kernel; to increase the
  1241.         size of the table, change the configuration file for your kernel
  1242.         to have a larger "maxusers" value, re-run "config" on that file,
  1243.         rebuild the kernel, install the new kernel, and reboot.
  1244.  
  1245.         SunOS 4.1 and later shouldn't get "inode: table is full", as
  1246.         that table is dynamically allocated; SunOS 5.0 should
  1247.         dynamically allocate entries in most if not all of those tables.
  1248.  
  1249.        I did that, and I'm still getting that message.  What do I do now?
  1250.  
  1251.         Presumably, then, either:
  1252.  
  1253.                 1) you didn't increase "maxusers" enough
  1254.  
  1255.         or
  1256.  
  1257.                 2) some process is consuming resources from the table in
  1258.                    question without bound.
  1259.  
  1260.  
  1261.     Note: SunOS kernels(up to 4.1.3) by default allow the user to use 
  1262.           all available process slots(except for the last 5). 
  1263.  
  1264.           If you are running out of process slots you may want to 
  1265.           change the kernel parameter that controls the maximum number
  1266.           of per user processes. You can change this in the param.c
  1267.           in /sys/conf.common. You will need to change the following
  1268.           define:
  1269.  
  1270.             #define MAXUPRC (NPROC - 5)
  1271.  
  1272.           to something more reansable like
  1273.  
  1274.             #define MAXUPRC (NPROC - 5)/2
  1275.  
  1276.           After making this change you should re-config and re-build
  1277.           your kernel.
  1278.  
  1279.         The "proc" table has one entry for every process on the system;
  1280.         if it's overflowing, some process on the system may be creating
  1281.         new processes over and over again.  If you can, do a "ps -ax" to
  1282.         see what processes are on the system, and see if that gives any
  1283.         clues as to what process, if any, is spawning those other
  1284.         processes.
  1285.         
  1286.  
  1287.         The "file" table has one entry for every "active file
  1288.         descriptor" on the system; each time an "open", "dup", "socket",
  1289.         etc. call is made, a new "active file descriptor" is required.
  1290.         There's no way of finding out what process or processes are
  1291.         consuming file descriptors that's as convenient as "ps" can be
  1292.         for finding out what process or processes are spawning additional
  1293.         processes; "/usr/etc/pstat -f" will print the "open file table"
  1294.         of "active file descriptors", but it's tricky for the novice
  1295.         user, programmer, or administrator to interpret the output of
  1296.         "pstat -f", and that output doesn't indicate which processes are
  1297.         using a given "active file descriptor".
  1298.  
  1299. 44)     Blank at present.
  1300.  
  1301. 45)     How do I run both OpenWindows and MIT X11R5?
  1302.  
  1303.     Note: OW2 is compatible with X11R3+, OW3 is compatible with X11R4.
  1304.  
  1305.     To get X11R5(or R4) applications to run under Openwindows you will
  1306.     need to set the appropriate LD_LIBRARY_PATH. 
  1307.  
  1308.         Assuming you installed the MIT libraries in
  1309.         /usr/lib and the OpenWindows libraries are in
  1310.         /usr/openwin/lib, set the following before you start the
  1311.         windowing system:
  1312.  
  1313.         MIT X11R4 environment
  1314.  
  1315.                 set path = (/usr/bin/X11 $path)
  1316.                 setenv LD_LIBRARY_PATH /usr/lib
  1317.  
  1318.        OpenWindows
  1319.  
  1320.                 set path = (/usr/openwin/bin /usr/openwin/demo $path)
  1321.                 setenv LD_LIBRARY_PATH /usr/openwin/lib
  1322.  
  1323.         You can also run clients from one environment under a different
  1324.         server on a one command at a time basis.  This example runs a
  1325.  
  1326.          OpenWindows client under the MIT server:
  1327.  
  1328.                 (setenv LD_LIBRARY_PATH /usr/openwin/lib; x_soundtool)
  1329.  
  1330.  
  1331.     A better way to handle this(in the long run) is to re-compile 
  1332.     the X server clients to include a "hard" coded shared library
  1333.     search path. You will need to link the clients with -L
  1334.     option.  For example, if your X11 libraries are installed
  1335.     in /usr/local/lib/X11 you will link your application by
  1336.  
  1337.            cc -o app app.c -L/usr/local/lib/X11 -lX11 -lXext
  1338.  
  1339.     By doing this to all applications you can eliminate the need
  1340.     to set the LD_LIBRARY_PATH. 
  1341.  
  1342.     For applications that you do not have source for you should
  1343.     write a shell script wrapper similar to the following:
  1344.  
  1345.     #!/bin/sh
  1346.     LD_LIBRARY_PATH=/usr/local/lib/X11; export LD_LIBRARY_PATH
  1347.     /usr/local/bin/X11/xterm.bin $*
  1348.     
  1349.  
  1350.     Note: Source code for the Xview toolkit and MIT X11R5 are
  1351.           available from prep.ai.mit.edu. 
  1352.  
  1353.  
  1354.         The OpenWindows server has the ability to display PostScript that
  1355.         several of the OpenWindows applications require to run.  Sun's
  1356.         AnswerBook is an example that requires PostScript.  These clients
  1357.         will not run under the MIT server.   
  1358.  
  1359.     You can get a limited PostScript preview capability under 
  1360.     either server with GNU Ghostscript, a GNU "copyleft" package
  1361.     available from various ftp sites.  
  1362.  
  1363.     Two enhanced versions of Ghostscript are also available,
  1364.         CSPreview and Ghostview, they both offer fancier preview capabilities.
  1365.         These programs are currently available via anonymous ftp:
  1366.  
  1367.         Ghostscript is on prep.ai.mit.edu (18.71.0.38) in /pub/gnu
  1368.         GSPreview   is on export.lcs.mit.edu (18.24.0.12) in /contrib
  1369.         Ghostview   is on prep.ai.mit.edu (128.105.2.196) in /pub/gnu
  1370.  
  1371.  
  1372. 46)    Where do I find a "restricted" shell for SunOS?
  1373.  
  1374.     /usr/lib/rsh is a "restricted" Bourne shell.
  1375.  
  1376.         This "restricted" shell is easy to break out of; consider
  1377.         that most editors have a shell scape, for example. Building
  1378.         a window-dressing restricted environment is easy; building
  1379.         a real restricted environment is hard.
  1380.  
  1381.  
  1382. 47)    Will SunOS 4.1.x binaries run under SunOS 5.x?
  1383.  
  1384.         Yes they will, with some restrictions. The most significant is
  1385.         that the binary in question must have been "dynamically linked."
  1386.         Otherwise, you will get the message
  1387.  
  1388.         Bad system call (core dumped)
  1389.  
  1390.         immediately when starting the 4.1.x binary on SunOS5.
  1391.  
  1392.         Also, bear in mind that there is a performance overhead for
  1393.         this "binary emulation"; each system call happens twice,
  1394.         once to trap into the emulation mode and again to get from
  1395.         there into the UNIX kernel.
  1396.  
  1397.  
  1398. 48)    When I try to compile MITs X11R4 applications under Openwindows 3.0,
  1399.     I get the following "undefined" symbols(_get_wmShellWidgetClass, and
  1400.     _get_applicationShellWidgetClass). What is the Problem?
  1401.  
  1402.     There are problems with the Xmu shared library as shipped from Sun.
  1403.  
  1404.     There are two "fixes". One is to get the Openwindows patches
  1405.     that apply to this problem and the other is to "statically" link
  1406.     the Xmu library into the executable.
  1407.  
  1408.     The patches you will need are as follows:
  1409.  
  1410.         Patch i.d.      Bug i.d.'s      O/S     Description
  1411.         ----------      -------------------------------------------------------
  1412.         100512-02       1086793 1086912     4.1.x OpenWindows 3.0 libXt 
  1413.             1074766         Jumbo patch
  1414.  
  1415.         100573-03       1087332         4.1.x OpenWindows 3.0 undefined
  1416.                         symbols when using shared
  1417.                         libXmu.
  1418.  
  1419.     To "statically" link your executable with libXmu modify the
  1420.     compile line as follows:
  1421.  
  1422.           -Bstatic -lXmu -Bdynamic 
  1423.  
  1424.  
  1425. 49)    What is Solaris?
  1426.     
  1427.     Solaris consists of the following facilities:
  1428.  
  1429.         1) SunOS 
  1430.         2) Openwindows
  1431.         3) Openwindows deskset tools
  1432.         4) ONC networking products and services(which includes NFS
  1433.            and NIS)
  1434.  
  1435.     Solaris is not an operating system but a "complete" user
  1436.     environment.
  1437.  
  1438.     A chart of Solaris versions, and the corresponding SunOS, Open 
  1439.     Windows, and DeskSet versions:
  1440.  
  1441.           Solaris         SunOS           Open Windows    DeskSet
  1442.           1.0             4.1.1           2.0             2.0
  1443.           1.0.1           4.1.2           2.0             2.0
  1444.           1.1             4.1.3           3.0             3.0
  1445.           2.0             5.0             3.0.1           3.0.1
  1446.           2.1             5.1             3.1             3.1
  1447.           2.2             5.2             3.2             3.2
  1448.  
  1449.  
  1450. 50)     What does the "nres_gethostbyaddr !=" error mean?
  1451.  
  1452.     This message is generating by Sun's resolver libraries and
  1453.     it is caused by incorrectly configured Domain Name 
  1454.     Server(the server that the resolver libraries are querying
  1455.     not necessarly the local Domain Name Server).
  1456.  
  1457.     The Domain Name Server probably lacks a reverse map entry for 
  1458.     that particular host. 
  1459.  
  1460.     Since this "bug" is closely associated with using ypserv,
  1461.     Sun has produced a patch to "ypserv" (bug #1039839). 
  1462.     Sun supplied a patch 100141-01 to quiet it, but the 
  1463.     patched version appears to die silently at random times,
  1464.     so Sun now has a new patch, 100141-02. Do not install this
  1465.     patch unless you are really getting a lot of these messages.
  1466.  
  1467.  
  1468. 51)     How come my mouse only works in the vertical(or horizontal) direction,
  1469.     how do I repair it?
  1470.  
  1471.     One of the LEDs on the under side of the mouse has probably 
  1472.     "burnt" out.
  1473.  
  1474.     You can probably repair it yourself(if you can get a replacement 
  1475.     LED and you know how to use a Soldering Iron) by following
  1476.     a set of directions available from thor.ece.uc.edu. Get the
  1477.     file /pub/sun-faq/mouse.fix.
  1478.  
  1479.     Finally, you should try turning your mouse pad 90 degrees and
  1480.     see if that corrects the problem.
  1481.  
  1482.         Note: Also, you may have one of the bad mice that came with
  1483.           early SS-1 shipments.  The LED on the underside of the 
  1484.           mouse can fail.  Request a replacement from Sun.
  1485.     
  1486.  
  1487. 52)    What do the following undefined symbols mean(dlopen, and dlclose)?
  1488.  
  1489.     If you have just installed a new shared library under 4.1.2 or
  1490.     greater you need to modify the Makefile for the shared libraries
  1491.     and re-install. You will need to change the following line
  1492.  
  1493.         ld -assert pure-text `${OBJSORT} lorder-sparc tmp`
  1494.     to read 
  1495.         ld -assert pure-text `${OBJSORT} lorder-sparc tmp` -ldl
  1496.  
  1497.     Note: You should change both such lines.
  1498.  
  1499.     If the above problem is not the case, you may need to install
  1500.     the "Linker Jumbo Patch"(Patch id# 100257-03 or greater). 
  1501.  
  1502. 53)    What does "No network locking on host" mean after upgrading to
  1503.     Solaris 2.0?
  1504.  
  1505.     Your SunOS 4.x(or above) machines are running an old version
  1506.     of rpc.lockd. You need to get and install patch number 
  1507.     100075-09 to correct this problem.
  1508.  
  1509. 54)    Does Password Aging work with NIS(YP) ?
  1510.  
  1511.     Sun does not support password aging under NIS(OS version
  1512.     to 4.1.3). The rpc.yppasswdd needs to modified to make
  1513.     password aging work. 
  1514.  
  1515.     Password aging will only work under SunOS 5.3(Solaris2.3) 
  1516.     with NIS+.
  1517.  
  1518. 55)    What does "rpc.lockd: Cannot contact status monitor!" mean?
  1519.     
  1520.     For some reason rpc.lockd can not talk to rpc.statd. 
  1521.  
  1522.     Check to see if rpc.statd is running. If rpc.statd
  1523.     is not running re-start it. If rpc.statd is running, 
  1524.     kill it and restart it. 
  1525.  
  1526.     To get rpc.statd to re-start you may need to
  1527.     remove the /etc/sm and /etc/sm.bak directories.
  1528.  
  1529. 56)    How do I join the Sun User Group(SUG)?
  1530.  
  1531.     Here is the information on joining SUG.
  1532.  
  1533.         Sun User Group, Inc.
  1534.         1330 Beacon Street, Suite 315
  1535.         Brookline, MA 02146
  1536.         USA
  1537.         voice: +1 617 232-0514        fax: +1 617 232-1347
  1538.         office@sug.org 
  1539.  
  1540.     With your membership you get the following:
  1541.         
  1542.         *  Vendor Discounts
  1543.         *  Technical Conferences
  1544.         *  Software Distribution
  1545.         *  README Newsletter
  1546.         *  Annual Exhibits
  1547.         *  Local User Group Support
  1548.         *  Newsgroup comp.org.sug 
  1549.  
  1550.  
  1551. 57)    How do I increase the number of "pseudo" terminals(ptys) ?
  1552.  
  1553.     For SunOS4.1.x:
  1554.  
  1555.     To add more ptys you must install a new kernel. 
  1556.  
  1557.     The default number of "ptys" is  48.  To get more "ptys" 
  1558.     change the kernel config line "pseudo-device pty" to 
  1559.     "pseudo-device pty#" where '#" is the number of "ptys"
  1560.     you want. 
  1561.  
  1562.     Be warned the maximum number you can have is 255(don't use 256,
  1563.     this wraps to 0)
  1564.  
  1565.     For SunOS5.x:
  1566.  
  1567.     In /etc/system, add the line:
  1568.  
  1569.             set pt_cnt=nnn     
  1570.             -- nnn can have a value up to 255.
  1571.     touch /reconfigure
  1572.     and reboot using 'init 6'.
  1573.  
  1574.  
  1575. 58)    Where are dump and restore under Solaris 2.x?
  1576.  
  1577.     dump is now called /usr/sbin/ufsdump
  1578.     restore is now called /usr/sbin/ufsrestore
  1579.  
  1580. 59)    How do I make the numeric keypad on a type 5 keyboard work with xterm?
  1581.  
  1582.         You need to patch the /usr/lib/X11/app-defaults/XTerm and
  1583.         $OPENWINHOME/lib/app-defaults/XTerm files as described in sun
  1584.         patch 100713-01 or later.
  1585.  
  1586. 60)    How do I swap the CAPS LOCK and CONTROL keys on a type 5 keyboard 
  1587.     under Openwindows 3.0?
  1588.  
  1589.         Don't do it with xmodmap, since that won't change the locking
  1590.         behaviour of CAPS LOCK. Edit $OPENWINHOME/etc/keytables/US5.kt.
  1591.         There are two places where keys 119 (CapsLock) and 76 (Control)
  1592.         should be swapped: the MODMAP section and the KEYSYMMAP section.
  1593.         The latter is most important, because that's where the
  1594.         "Pseudo-Lock" function (which controls the locking behaviour of
  1595.         the key) is defined.
  1596.  
  1597. 61)    Which Sun models run which versions of SunOS?
  1598.  
  1599.         Sun2: SunOS 4.0.3 or earlier.
  1600.         Sun386i: SunOS 4.0, 4.0.1, 4.0.2 only.
  1601.         Sun3: SunOS 4.1.1 or earlier.
  1602.         4/100, 4/200 series: SunOS 3.2, SunOS 4.0 or later.
  1603.         4/300 series: SunOS 4.0.3 or later.
  1604.         4/400 series: SunOS 4.1PSR_A or later.
  1605.         600 models 120, 140: SunOS 4.1.2 or later.
  1606.         600 model 41, 51: SunOS 4.1.3 or later.
  1607.         600 models 412, 512, 514: SunOS 5.1 or later.
  1608.         SPARCstation 1, 1+, SLC, IPC: SunOS 4.0.3c or later.
  1609.         SPARCstation 2, ELC, IPX: SunOS 4.1.1 or later.
  1610.         SPARCstation 10 models 20, 30, 41: SunOS 4.1.3 or later.
  1611.         SPARCstation 10 models 52, 54: SunOS 5.1 or later.
  1612.         SPARCclassic, SPARCstation LX: SunOS 4.1.3C or SunOS 5.1 or later.
  1613.  
  1614.     To be able to run 4.1.3 on the SPARCclassic you need to get
  1615.     SunOS 4.1.3 rev C from Sun. 
  1616.  
  1617.     SuperSPARC multi-processor machines are not supported in SunOS 4.1.x.
  1618.     You will need SunOS 5.1 or later.
  1619.  
  1620.         SunOS 5.0 only runs on SS1,1+,2,SLC,IPC,ELC,IPX.
  1621.  
  1622.         SunOS 5.1 runs on all Sun4s and SPARCstations, but the FPU's on
  1623.         the 4/100 and 4/200 series machines are disabled.
  1624.  
  1625. 62)    My rdump is failing with a "Protocol botched" message. What do I do?
  1626.  
  1627.         The problem produces output like the following:
  1628.  
  1629.           DUMP: Date of this level 0 dump: Wed Jan  6 08:50:01 1993
  1630.           DUMP: Date of last level 0 dump: the epoch
  1631.           DUMP: Dumping /dev/rsd0a (/) to /dev/nrst8 on host foo
  1632.           DUMP: mapping (Pass I) [regular files]
  1633.           DUMP: mapping (Pass II) [directories]
  1634.           DUMP: estimated 8232 blocks (4.02MB) on 0.00 tape(s).
  1635.           DUMP: Protocol to remote tape server botched (in rmtgets).
  1636.          rdump: Lost connection to remote host.
  1637.           DUMP: Bad return code from dump: 1
  1638.  
  1639.         This occurs when something in .cshrc on the remote machine prints
  1640.         something to stdout or stderr (eg. stty, echo). The rdump command
  1641.         doesn't expect this, and chokes. Other commands which use the rsh
  1642.         protocol (eg. rdist, rtar) may also be affected.
  1643.  
  1644.         The way to get around this is to add the following line near the
  1645.         beginning of .cshrc, before any command that might send something
  1646.         to stdout or stderr:
  1647.  
  1648.         if ( ! $?prompt ) exit
  1649.  
  1650.         This causes .cshrc to exit when prompt isn't set, which
  1651.         distinguishes between remote commands (eg. rdump, rsh) where these
  1652.         variables are not set, and interactive sessions (eg. rlogin) where
  1653.         they are.
  1654.  
  1655.  
  1656. 63)     Table of Solaris2.x commands and their Solaris1.x equivalents?
  1657.         
  1658.         SunOS 4.x          SunOS 5.x             
  1659.         Command            Equivalent               
  1660.         
  1661.         add_services       pkgadd                      
  1662.         arch               uname -m                  
  1663.                    Note: This returns the kernel architecture.
  1664.         bar                Not available. Use   
  1665.                            cpio -H bar to retrieve
  1666.                    4.x archives.
  1667.         
  1668.         biff -y            chmod o+x /dev/tty
  1669.         biff -n            chmod o-x /dev/tty
  1670.         cc                 Not available
  1671.         dbxtool            debugger
  1672.         devinfo           prtconf
  1673.         df                 df -k
  1674.         dkctl              Not available
  1675.         dkinfo             prtvtoc
  1676.         du                 du -k
  1677.         dump               /usr/sbin/ufsdump
  1678.         dumpfs             Not available
  1679.         etherfind          snoop
  1680.         exportfs           share
  1681.         extract_files      Not available
  1682.         extract_patch      Not available
  1683.         extract_unbundled  pkgadd
  1684.         fastboot           reboot or init 6
  1685.         fasthalt           init O
  1686.         hostid             sysdef -h
  1687.         hostname           uname -n
  1688.         intr               Not available
  1689.         leave              Use cron and at
  1690.         lint               Not available
  1691.         load                 pkgadd
  1692.         loadc                pkgadd
  1693.         load_package         Not available
  1694.         lpc                  lpadmin
  1695.         lpd                  lpsched
  1696.         lpq                  lpstat
  1697.         lpr                  lp
  1698.         lprm                 cancel
  1699.         lptest               Not available
  1700.         mach                 uname  -p
  1701.         modstat              modinfo
  1702.         mount                mount  -F <fstype> [options]
  1703.         mountall             mount -a
  1704.         mount_tfs            mount  -F <fstype>
  1705.         pax                  cpio
  1706.         paxcpio              cpio
  1707.         portmap              rpcbind
  1708.         printenv             env
  1709.         ps -a                ps -e
  1710.         ps -aux              ps -el
  1711.          Note: when ps is  invoked without the "-f" flag, the SV
  1712.              "ps" prints  only the first N characters of the name 
  1713.              of the program being run. You have to pass the "-f" 
  1714.              flag to get the full command line. For example, try
  1715.              ps -fe.
  1716.  
  1717.         pstat                sar
  1718.         pstat -s             swap -s
  1719.         rdump                /usr/sbin/ufsdump
  1720.         restore              /usr/sbin/ufsrestore
  1721.         rm_client            admintool
  1722.         rm_services          Not available
  1723.         rpc.etherd           Not available
  1724.         rpc.lockd          /usr/lib/nfs/lockd         
  1725.         rpc.mountd         /usr/lib/nfs/mountd        
  1726.         rpc.rexd           /usr/sbin/rpc.rexd
  1727.         rpc.rquotad        /usr/sbin/rpc.rquotad
  1728.         rpc.showfhd        Not available
  1729.         rpc.statd          /usr/lib/nfs/statd         
  1730.         rpc.user_agentd    Not available 
  1731.         rpc.yppasswdd      Not available 
  1732.         rpc.ypupdated      ypupdated     
  1733.         rrestore            /usr/sbin/ufsrestore    
  1734.         rusage             Not available 
  1735.         showmount          dfmounts 
  1736.         swapon                swap -a        
  1737.         sys-config       admintool
  1738.         umount -a        umountall         
  1739.         umount_tfs       umount -F <fstype>
  1740.         unload             pkgrm
  1741.         update             fsflush
  1742.         uptime            who -b
  1743.         users              who -q
  1744.         vipw               Not available
  1745.         wall               /usr/sbin/wall
  1746.         whereis            Not available
  1747.         whoami             id
  1748.         ypbatchupd         Not available
  1749.         yppasswd           Use nispasswd for NIS+
  1750.         ypserv             Not available
  1751.  
  1752.     Notes:  A NIS server is no longer available under Solaris2.x.
  1753.         Under Solaris 2.x look in the /usr/sbin and /usr/lib/nfs 
  1754.         for useful programs and commands. Finally, some of
  1755.         missing commands are in the BSD Compatibility package.
  1756.  
  1757.     
  1758.     
  1759. 64)     How do I setup DNS on Solaris2.x?
  1760.  
  1761.     The "Setting up DNS clients" chapter of that manual is egregiously 
  1762.     out of date.  Yes, there's a bug filed against it.  
  1763.     The correct procedure is the following:
  1764.  
  1765.            Create a /etc/resolv.conf file.
  1766.  
  1767.            Change /etc/nsswitch.conf;  it's probably easiest 
  1768.     to start with the sample file "/etc/nsswitch.files" and change 
  1769.     the entry for "hosts" to the following:
  1770.  
  1771.                 hosts: files dns
  1772.  
  1773.            Processes that have already read /etc/nsswitch.conf won't see your
  1774.     changes until they're restarted.  If you care, the crude but effective
  1775.     approach is to reboot.
  1776.  
  1777. 65)     Can a SPARCclassic or LX run SunOS 4.1.3?
  1778.  
  1779.     No it won't run 4.1.3. However, Sun will provide you with
  1780.     a copy Solaris1.1C(4.1.3C) which will allow you to run
  1781.     "4.1.3" on a LX or Classic.. 
  1782.  
  1783.     The cost is around $125 for the media and $100 for the RTU
  1784.     license.
  1785.  
  1786.     4.1.3C will be available sometime in August of 1993.
  1787.  
  1788.  
  1789. 66)    I just restored my root partation and now I can not boot. What
  1790.     is wrong?
  1791.  
  1792.     You probably need to run installboot. Something like this
  1793.     should work.
  1794.  
  1795.         cd /usr/mdec 
  1796.         ./installboot -vlt /boot bootsd /dev/rsd0a
  1797.  
  1798. 67)    How do I disable/enable packet forwarding?
  1799.  
  1800.     Under 4.1 and above(does not include SunOS 5.x), 
  1801.     you can do this by using one of the following methods:
  1802.  
  1803.      adb -k -w /vmunix /dev/mem
  1804.     ip_forwarding?
  1805.     _ip_forwarding:
  1806.     _ip_forwarding: 0               = unimp         0x0
  1807.  
  1808.     ip_forwarding/w -1      <- changes in running kernel only!
  1809.     ip_forwarding?w -1      <- changes running kernel and disk image
  1810.  
  1811.     or 
  1812.  
  1813.     In your kernel configuration file, insert the following line:
  1814.  
  1815.     options "IPFORWARDING=-1"
  1816.  
  1817.     Note: The above example disables packet forwarding.
  1818.  
  1819.     Here is a list of IP forwarding options
  1820.     (from /usr/kvm/sys/netinet/in_proto.c) 
  1821.         ip_forwarding = -1  -- never forward; never change this value.
  1822.         ip_forwarding =  0  -- don't forward; set this value to 1 
  1823.                        when two interfaces are up.
  1824.             ip_forwarding =  1  -- always forward.
  1825.  
  1826.  
  1827. 68)    How do I disable the printing of banners pages?
  1828.     
  1829.     Under SunOS 4.x you need to do the following:
  1830.     
  1831.         Put :sh: in the /etc/printcap entry
  1832.         for that printer.
  1833.  
  1834.     For SPARCprinters you will need to edit the .param for that 
  1835.     printer. Under SunOS4.x you this file is located in the spool
  1836.     directory for that particular printer. Under SunOS5.x
  1837.     it is located under /etc/lp/printers/PRINTERNAME.
  1838.     Change the line BANNERPS=${DEFBANNER}; export BANNERPS
  1839.             to
  1840.             BANNERPS=; export BANNERPS
  1841.  
  1842.     Also, you may want to turn off Job Log printing. You can do
  1843.     this by changing the line PRINTJOBLOG=yes; export PRINTJOBLOG
  1844.             to
  1845.                   PRINTJOBLOG=no; export PRINTJOBLOG
  1846.  
  1847.         
  1848.  
  1849. 69)    How do I change my hostname?
  1850.  
  1851.     Under SunOS 4.x you need to do the following:
  1852.  
  1853.         Edit you /etc/hosts file and change your
  1854.         local hostname. To avoid problems during
  1855.         the transistion you may want to add this
  1856.         as an hostname alias.
  1857.  
  1858.         If you are running NIS you should change the
  1859.         /etc/hosts file on the master too.
  1860.  
  1861.         Change the hostname in /etc/hostname.xxx.
  1862.         Where xxx is the interface you want to change
  1863.         the address on.
  1864.         
  1865.  
  1866.     Under SunOS 5.x you need to the above plus
  1867.     change /etc/nodename. 
  1868.  
  1869.         Note: /etc/hostname.xxx should use the short
  1870.               name under SunOS 5.x or you will
  1871.               get warning messages when booting.
  1872.