home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1994 June / NEBULA_SE.ISO / Documents / FAQ / Comp-sys-sun-faq < prev    next >
Encoding:
Internet Message Format  |  1993-08-27  |  68.5 KB

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