home *** CD-ROM | disk | FTP | other *** search
/ Chaos Computer Club 1997 February / cccd_beta_feb_97.iso / contrib / faq / sunfaq / admin.txt next >
Encoding:
Internet Message Format  |  1997-02-28  |  123.5 KB

  1. Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!news-peer.gsl.net!news.gsl.net!news.mathworks.com!news.kei.com!news.ececs.uc.edu!montjoy
  2. From: montjoy@ececs.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. Supersedes: <comp-sys-sun-admin_836759063@news.ececs.uc.edu>
  6. Followup-To: poster
  7. Date: 18 Dec 1996 22:47:07 GMT
  8. Organization: University of Cincinnati
  9. Lines: 3455
  10. Sender: montjoy@ececs.uc.edu (Rob Montjoy)
  11. Approved: news-answers-request@MIT.Edu
  12. Distribution: inet
  13. Expires: 15 Jan 1997 22:47:05 GMT
  14. Message-ID: <comp-sys-sun-admin_850949225@news.ececs.uc.edu>
  15. Reply-To: Rob_Montjoy@ECECS.UC.EDU
  16. NNTP-Posting-Host: ra.ece.uc.edu
  17. Summary: Answers to questions which appear in comp.sys.sun.*
  18. Keywords: Sun Computer Admin FAQ
  19. Originator: montjoy@ra.ece.uc.edu
  20. Xref: senator-bedfellow.mit.edu comp.sys.sun.admin:90664 comp.sys.sun.misc:31485 comp.unix.solaris:104177 comp.answers:23183 news.answers:90000
  21.  
  22. Archive-name: comp-sys-sun-faq
  23. Last-modified: 1996/12/18
  24. Version: 1.9.23
  25.  
  26. Frequently Asked Questions for Comp.sys.sun.admin
  27.  
  28. Last update December 18 1996
  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@ececs.uc.edu". 
  34. Mark the Subject as Sun FAQ. Remember lets make this a better FAQ and
  35. that requires submissions and corrections so if you have
  36. an answer to a nontrival question send it to me.
  37.  
  38. This FAQ is available from ftp.ececs.uc.edu (129.137.8.4)
  39. in the /pub/sun-faq/FAQs. Get the file sun-faq.general. The sun-faq
  40. directory is also available from gopher.ececs.uc.edu (129.137.8.4).
  41. Many other related FAQ's are in this directory too.
  42.  
  43. Also, ftp.ececs.uc.edu mirrors the FSF/GNU stuff from prep.ai.mit.edu
  44. and is available as ftp.ececs.uc.edu:/pub/gnu
  45.  
  46. Finally, ftp.ececs.uc.edu mirrors the security directory off ftp.uu.net
  47. as ftp.ececs.uc.edu:/pub/security
  48.  
  49.  
  50. Other FAQ's that you should check are as follows:
  51.  
  52.  
  53.     Sun Hardware FAQ edited by James W. Birdsall <jwbirdsa@picarefy.com>
  54.             ftp://ftp.ececs.uc.edu/pub/sun-faq/FAQs/Hardware/
  55.  
  56.     Sun Managers FAQ edited by John DiMarco  <jdd@cdf.toronto.edu>
  57.         Here is the URL for downloading this FAQ
  58.             ftp://ftp.cdf.toronto.edu/pub/sun-managers/faq
  59.  
  60.     Solaris2.x FAQ edited by Casper Dik <casper@fwi.uva.nl>
  61.            An HTML version is available from
  62.             http://www.fwi.uva.nl/pub/solaris/solaris2.html
  63.         A mirror of Casper's directory is available from
  64.             ftp.ececs.uc.edu:/pub/sun-faq/FAQs/mirrors/Solaris2
  65.         which includes the autoinstall pieces.
  66.  
  67.     Solaris2.x Porting FAQ by David Meyer <meyer@ns.uoregon.edu>
  68.     ftp://ftp.ececs.uc.edu/pub/sun-faq/FAQs/Solaris2.x-Porting-Hints
  69.  
  70.     Solbourne Computer information available provided 
  71.         by Stephen Dowdy dowdy@cs.colorado.edu  via
  72.             http://www.cs.colorado.edu/~dowdy/Solbourne
  73.          
  74.     Finally, you can check at my "alpha" version of a Sun
  75.     related Web page at http://www.ececs.uc.edu/SunInfo/sun-tips.html
  76.  
  77. I try to keep these up to date copies of all these files in 
  78.     ~ftp/pub/sun-faq/FAQs on ftp.ececs.uc.edu (129.137.8.4)
  79.  
  80.  
  81.  
  82.  
  83. Notes:    As of this writing almost all of these questions apply
  84.           to SunOS versions up to 4.1.4. SunOS 5.x questions
  85.           will start appearing gradually as more people start
  86.           installing SunOS 5.x (Solaris 2.x). 
  87.  
  88.     I am looking for suggestions on how to split this FAQ into
  89.     sections. These sections should follow the comp.sys.sun.* 
  90.     newsgroups(app, hardware, admin, misc, and wanted) and
  91.     section on bettering Sun Security. Basically, what
  92.     will end up with is a FAQ on each subject. Each
  93.     FAQ will have a Solaris1.x Section, a Solaris2x section,
  94.     and a section common to both.
  95.  
  96.     I will probably need some volunteers to help coordinate
  97.     this undertaking.. Send suggestion to the usual address.
  98.  
  99.     Some of these questions are out of date and need updating
  100.     when I get the time (or maybe a little birdie will do it for
  101.     me) I will update them. Thanks.
  102.  
  103.  
  104. This article includes answers to the following questions, which are loosely
  105. grouped into categories. Questions marked with a '+' indicate questions
  106. new to this issue; those with significant changes of content since the 
  107. last issue are marked by '!'.
  108.  
  109.  
  110.                 Questions
  111.  
  112.  1)!     How to get DNS working when not running NIS ?
  113.  2)       How to get DNS to be used when running NIS ?
  114.  3)     How to properly setup NFS mounting of /var/spool/mail ?
  115.  4)       Can I use AnswerBook under X11R5?
  116.  5)     What does "NFS write error X" mean?
  117.  6)!     How do I find the amount of memory installed or other
  118.     system configuration information?
  119.  7)     Where can I get a version of ftp that does logging?
  120.  8)     Where can one get SunOS patches? Where can I get patch 10xxxx-xx?
  121.  9)        How to setup Openwindows Calendar Manager in a distributed
  122.     environment?
  123. 10)      Why does the talk command fail between SunOS
  124.     and any other manufacturer's equipment (like DEC)? 
  125. 11)       How do I setup "anonymous" ftp?
  126. 12)     How come yppasswdd does not automatically update the yp maps?
  127. 13)     What does NFS getattr failed/RPC: Authentication error mean?
  128. 14)     Why did my Quantum 105 megabyte hard disk stop working?
  129. 15)     Can I replace the 105 megabyte internal drive with a higher capacity
  130.         model?
  131. 16)     How can I turn my Sun3 into an X-Terminal?
  132. 17)    Why is my console login prompt garbled or in some strange 
  133.     alphabet after upgrading to 4.1.3?
  134. 18)      Why are the "random" missing services at boot time or any other time
  135.     (even though the services are in the /etc/services file or NIS map)?
  136. 19)     Where can I get Data Certified tapes for 4-mm or 8-mm tape drives 
  137.     (at reasonable price)?
  138. 20)       What is "archie"?
  139. 21)     How do I synchronize time on my Network?
  140. 22)      What is the phone number for Sun Express and other numbers of importance
  141.     to Sun Users? 
  142. 23)!      How do I join sun related  mailing lists?
  143. 24)      How do I use Mac floppies in a SUN drive?
  144. 25)     How can I transfer floppies back and forth between MS-DOS and Sparc?
  145. 26)    Why is my biff not "biffing" when using biff in a networked
  146.     environment?
  147. 27)     How do I disable L1-A(STOP-A) or re-map it?
  148. 28)      Why are all the local users "unknown" when using sendmail under 4.1.2?
  149. 29)!     What are the dump parameters for an exabyte 8200 or 8500?
  150. 30)!     What are the guidelines for setting up swap space ?
  151. 31)    What are the general guidelines for maxusers to be set to on machine X?
  152. 32)    What does "zsN: silo overflow" mean?
  153. 33)    What does the "N" in "zsN: silo overflow", and other "zsN" messages,
  154.     signify?
  155. 34)    How do I set up a Sun serial port both for dial-in and dial-out?
  156. 35)    I can't get my Sun, running SunOS 4.1[.x], to establish a UUCP
  157.     connection to some non-Sun machine; it won't log in.  What's wrong?
  158. 36)!     Do the Sun serial ports support RTS/CTS flow control?
  159. 37)    How do I specify that a serial port should, or should not, ignore the
  160.     state of the Carrier Detect line?
  161. 38)    I put in a new "termcap" entry, or updated an existing "termcap" entry,
  162.     for a terminal, but "vi" doesn't seem to know about my change.  Why?
  163. 39)    I have a Type 5 keyboard, and find its placement of the Caps Lock,
  164.     Control, and Esc keys inconvenient.  How do I remedy this?
  165. 40)      How can I move keys around on a Sun keyboard, for example exchanging the
  166.     Caps Lock and Control keys on a Type 5 keyboard?
  167. 41)       My Sun doesn't have an ANSI C compiler.  How can I get one?
  168. 42)      How do I change the time zone setting on my machine?
  169. 43)    I'm getting messages that say one of the following:
  170.          proc: table is full    and/or
  171.             file: table is full    and/or
  172.             dquot: table is full     and/or
  173.             inode: table is full
  174.          What do these errors mean, and how do I fix the problem?
  175. 44)      Blank at present.
  176. 45)!      How do I run X11R5 applications under Openwindows or Openwindows 
  177.     applications under X11R5?
  178. 46)      Where do I find a "restricted" shell for SunOS?
  179. 47)!       Will SunOS 4.1.x binaries run under SunOS 5.x?
  180. 48)     When I try to compile MITs X11R4 applications under Openwindows 3.0,
  181.     I get the following "undefined" symbols(_get_wmShellWidgetClass, and
  182.     _get_applicationShellWidgetClass). What is the Problem?
  183. 49)!       What is Solaris?
  184. 50)     What does the "nres_gethostbyaddr !=" error mean?
  185. 51)!     How come my mouse only works in the vertical(or horizontal) direction,
  186.         how do I repair it?
  187. 52)     After rebuilding the shared library libc it get some or all the 
  188.     following undefined symbols: dlsym, dlopen, dlclose mbstowcs_xccs,
  189.             mbtowc_xccs,wcstombs_xccs, or wctomb_xccs.
  190. 53)     What does "No network locking on host" mean after upgrading to
  191.     Solaris 2.0?
  192. 54)     Does Password Aging work with NIS(YP) ?
  193. 55)     What does "rpc.lockd: Cannot contact status monitor!" mean?
  194. 56)    How do I join the Sun User Group(SUG)?
  195. 57)        How do I increase the number of "pseudo" terminals(ptys) ?
  196. 58)      Where are dump and restore under Solaris 2.x?
  197. 59)      How do I make the numeric keypad on a type 5 keyboard work with xterm?
  198. 60)       How do I swap the CAPS LOCK and CONTROL keys on a type 5 keyboard 
  199.     under Openwindows 3.0?
  200. 61)!       Which Sun models run which versions of SunOS?
  201. 62)      My rdump is failing with a "Protocol botched" message. What do I do?
  202. 63)     Table of Solaris2.x commands and their Solaris1.x equivalents?
  203. 64)     How do I setup DNS on Solaris2.x?
  204. 65)        Can a SPARCclassic or LX run SunOS 4.1.3?
  205. 66)      I just restored my root partation and now I can not boot. What
  206.     is wrong?
  207. 67)      How do I disable/enable packet forwarding?
  208. 68)      How do I disable the printing of banners pages?
  209. 69)      How do I change my hostname?
  210. 70)     Table of Solaris2.x files and their Solaris1.x equivalents?
  211. 71)!     Where can I get the BSD print spooler for Solaris2.x?     
  212. 72)!    Where is the Solaris2.x screenblank?
  213. 73)!      Is there a command to display the configuration of 
  214.     currently attached SCSI devices?
  215. 74)     My printer will not print large files(over 1-megabyte), I 
  216.     keep getting "file to big" errors. What do I do?
  217. 75)!      I keep getting "data corruption" when using NFS over a wan,
  218.     or slip/ppp link. What do I do? 
  219. 76)     Does anybody know how to enable UDP checksum on NFS?
  220. 77)      Is there a mailing list for Wabi?
  221. 78)      Are there any public domain Multi-Vendor backup management
  222.         systems?
  223. 79)     How to determine the revision of SuperSPARC processor.
  224. 80)     How do I install SunOS4.1.x by hand (off a CD)?
  225. 81)    Why won't my SUN207 (Maxtor LXT213) hard drive work in
  226.         my SPARCstation 10/xx?
  227. 82)!     I'm running SunOS/4.1.x and every time I try to format my
  228.         new 9GB SCSI disk I get "format failed" messages -- what's
  229.         broke, and how can I fix it?
  230. 83)!       I can not get my new Exabyte 8505 (or others) working under
  231.          SunOS (or Solaris) What to do ?
  232. 84)      The keyboard keeps stop working after exiting X or Openwin.
  233.     What to do?
  234. 85)!      How do I re-build the kernel under SunOS4.x?
  235. 86)      How do I hook up a HP(or other) Desktop SCANNER?
  236. 87)!      How do I find which process has a file open?
  237. 88)       How do I create a partition greater than 2-gig on SunOS4.1.x?
  238. 89)       Why do I keep having to answer the question 
  239.     "CLEAN FLAG IN SUPERBLOCK IS WRONG; Fix?" when running fsck on
  240.     an active filesystem?
  241. 90)     Are dynamically linked setuid executables insecure?
  242. 91)     How do I change the default router under Solaris1.x or Solaris2.x?
  243. 92)     What is the difference between the Domestic vs International version
  244.     of SunOS 4.1.x?
  245. 93)     Where can I get the latest version of TOP?
  246. 94)     Can I run the SX card in a Sun running SunOS4.1.x?
  247. 95)     I just changed my shell to tcsh(or pick a favorite) and
  248.     get  "530 User xyzz access denied" when ftping into this 
  249.     machine. What is the problem?
  250. 96)    How do I put several dump images on one tape?
  251. 97)     Can I "dump" the whole disk to tape in one command?
  252.     (even with several slices/partitions)
  253. 98)!     Where do I get software for my HP JetDirect Ethernet Card?
  254. 99)     I do not know the root password, What do I do?
  255. 100)      Where do I find a POP server for Solaris or SunOS?
  256. 101)     How do I clear Stale NFS Filehandles?
  257. 102)!     How can I use the same ethernet interface for two different IP networks?
  258. 103)!     Where do I get CAP for Solaris (or SunOS 4.1.x)?
  259. 104)     Where do I get DOOM for Solaris (or SunOS 4.1.x)?
  260. 105)    Why does "dump/ufsdump" tell me it is rewinding the tape even
  261.     when I specified the "no rewind" device?
  262. 106)    How can you I speed up filesystem restores and/or copies?
  263. 107)+    I just added a new device (ie harddisk) to Solaris I have rebooted
  264.     but the system still can not find it. What do I do?
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.                 Answers
  273.  
  274.  1)     How to get DNS working when not running NIS ?
  275.  
  276.     Note: Solaris2.x users should see question 64..
  277.     
  278.         The "normal" behavior of a hostname lookup under NIS is to
  279.         consult the NIS hosts map and then DNS (if configured). If
  280.     you are not running NIS the system will only look in 
  281.     the /etc/hosts file. 
  282.  
  283.     You have two options to correct this situation:
  284.  
  285.         A) Re-build the shared library version of libc with replacement
  286.            resolver routines which understand DNS. Resolv+ provides one
  287.                of the best sets of replacement routines and it is easy
  288.            to install. Resolv+ can be obtained from
  289.  
  290.                ftp.ececs.uc.edu:/pub/sun-faq/Source/resolv+2.1.1.tar.Z
  291.  
  292.            If you install resolv+ make sure that you setup your
  293.            /etc/hosts.conf . /etc/hosts.conf should contain something
  294.            like this:
  295.               order    bind hosts
  296.               multi    off
  297.               nospoof  on
  298.  
  299.            Another option to use is bind-4.9.3 or later
  300.            which is available from
  301.  
  302.             ftp://ftp.vix.com/pub/bind/release/
  303.  
  304.            However, the bind shared libraries will ignore /etc/hosts
  305.            and do all lookups via DNS.
  306.  
  307.  
  308.            Rebuilding the shared library will not allow  statically
  309.            linked binaries to do name resolving and these binaries
  310.            will only use /etc/hosts. "Dynamically linked"
  311.            replacements for mount and rcp are available from
  312.  
  313.                ftp.ececs.uc.edu:/pub/sun-faq/Source/rcp-mount.dyn.tar.Z
  314.  
  315.            This file only contains sun4 binaries. A Sun 3 binary
  316.            for mount can be retrieved from
  317.  
  318.                ftp.ececs.uc.edu:/pub/sun-faq/Source/mount.sun3.Z
  319.         
  320.            To be able to rebuild shared libraries you need to 
  321.            install the "shlib custom" option which is available
  322.            with SunOS version 4.1 or greater. 
  323.  
  324.                You can still use NIS for other things in environment,
  325.                such as passwd, and group maps.
  326.  
  327.         B) Run NIS with the "hosts" maps only. If you 
  328.            only need DNS capability than change the "all"
  329.            line /var/yp/Makefile to "all:  hosts".  
  330.  
  331.            It does not require any changes to shared libraries.
  332.         
  333.            See question 2 for complete directions on how to setup
  334.            DNS with NIS.
  335.  
  336.     Last Updated:  July 3, 1996.
  337.  
  338.  2)     How to get DNS to be used when running NIS ?
  339.  
  340.     First setup your /etc/resolv.conf file.
  341.  
  342.     Use this file as a template.
  343.  
  344.     ;
  345.     ; Data file for a client.
  346.     ;
  347.     domain        ececs.uc.edu        ; local domain 
  348.     nameserver    129.137.8.118        ; primary domain nameserver
  349.     nameserver    129.137.32.101        ; secondary domain nameserver 
  350.  
  351.     Where:    "local domain" is the domain part of the hostnames.
  352.          For example, if your hostname is "ftp.ececs.uc.edu"
  353.          your "local domain" is "ececs.uc.edu" or you could use
  354.         "uc.edu". 
  355.  
  356.     Verify using nslookup that you are now resolving names
  357.     via DNS. Try something like "nslookup ftp.uu.net" and
  358.     see if you get back the IP address.
  359.  
  360.     You will need to put a copy of this resolv.conf on
  361.     all NIS servers including slaves.
  362.  
  363.     After you have the /etc/resolv.conf setup and working do 
  364.     the following:
  365.  
  366.     Under SunOS 4.1 and greater, at the top of the /var/yp/Makefile
  367.      uncomment the "B=-b" line and comment using the "#" sign the "B=" 
  368.  
  369.     If you are running 4.0.x you will need to edit the
  370.     /var/yp/Makefile or apply the following "diff":
  371.  
  372. *** Makefile.orig       Wed Jan 10 13:22:11 1990
  373. --- Makefile    Wed Jan 10 13:22:01 1990
  374. ***************
  375. *** 63 ****
  376. !                   | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/hosts.byname; \
  377. --- 63 ----
  378. !                   | $(MAKEDBM) -b - $(YPDBDIR)/$(DOM)/hosts.byname; \
  379. ***************
  380. *** 66 ****
  381. !                   | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/hosts.byaddr; \
  382. --- 66 ----
  383. !                   | $(MAKEDBM) -b - $(YPDBDIR)/$(DOM)/hosts.byaddr; \
  384.  
  385.     Now setup NIS in the usual fashion (ypinit -m ) or if your "brave"
  386.     and have already setup NIS just re-make the hosts map. Something
  387.     like this should work remove /var/yp/hosts.time, cd /var/yp, 
  388.     and type make (i.e. cd /var/yp; /bin/rm -f hosts.time ; make).
  389.  
  390.     You will need reboot the machine or restart ypserv for these changes
  391.     to take affect.
  392.  
  393.     The manpage for ypserv incorrectly states that you need to
  394.     start ypserv with the -d option to get DNS to work with NIS.
  395.     The manpage is incorrect -d option is for debugging.
  396.  
  397.     If you need a copy of the NIS Makefile look in /usr/lib (NIS.Makefile).
  398.     Or grab the Makefile from ftp.ececs.uc.edu:/pub/sun-faq/Makefile.nis
  399.  
  400.     Last Updated:  July 20, 1995.
  401.  
  402.  
  403.  3)    How to properly setup NFS mounting of /var/spool/mail ?
  404.  
  405.     On the Client machines:
  406.  
  407.         A) mount /var/spool/mail with the no attribute caching
  408.            option.
  409.         
  410.            An example, fstab line would be the following:
  411.  
  412.            mailhost:/var/spool/mail /var/spool/mail nfs rw,noac 0 0
  413.  
  414.         B) Use a sendmail.cf that forces all mail to be delivered
  415.            by the mailhost. 
  416.  
  417.            One such file is available via anonymous ftp to 
  418.            ftp.ececs.uc.edu. Get the file 
  419.  
  420.                 /pub/sun-faq/sendmail.client.cf
  421.  
  422.            Do not use the OR option that Sun provides. It is broken
  423.            in many ways.
  424.  
  425.     On the server machine:
  426.     
  427.         A) Setup DNS MX records pointing to the mailhost for
  428.            all client machines.
  429.  
  430.         B) Edit the /etc/exports file to export /var/spool/mail
  431.            to the mail client machines. You may want
  432.            to use a netgroup for this purpose.
  433.  
  434.         C) Setup the /etc/sendmail.cf on the server recognize
  435.            that mail to/from a client is "local".
  436.  
  437.            One such file is available via anonymous ftp to 
  438.            ftp.ececs.uc.edu. Get the file 
  439.  
  440.                 /pub/sun-faq/sendmail.server.cf
  441.         
  442.     Note:     You may want to install Berkeley sendmail instead of Suns
  443.         stock sendmail. 
  444.  
  445.  
  446.  
  447.  4)     Can I use AnswerBook under X11R5(6)?
  448.  
  449.     AnswerBook in its current form requires the Openwindows
  450.     server. It uses the NeWS/Display Postscript extensions
  451.     to this server to display the Answerbook files.
  452.  
  453.     To use AnswerBook under X11R5 you will need to replace the 
  454.     docviewer program with program that calls Ghostscript to view
  455.     these pages.  A replacement docviewer can downloaded from
  456.     ftp.ececs.uc.edu (129.137.8.99) as /pub/sun-faq/Source/docviewer.tar.gz
  457.     This kit contains more than one  docviewer. Try using
  458.     the one in the toplevel docviewer directory.
  459.  
  460.     This replacement docviewer does not support all the options that
  461.      the "real" docviewer supports such as "hypertext" links.
  462.  
  463.     To install the replacement "docviewer" you will also need 
  464.     Ghostscript 2.4 or above and Ghostview 1.3 or above both of
  465.      which are available from prep.ai.mit.edu in the /pub/gnu directory.
  466.  
  467.     This replacement docviewer is reported to work with all versions
  468.     of AnswerBook but not as well as the original :).
  469.     
  470.  
  471.  5)     What does "NFS write error X" mean?
  472.  
  473.         You can lookup the error codes in /usr/include/sys/errno.h.
  474.  
  475.         Two common NFS error codes are 13 - "permission denied" and 70 -
  476.         "stale file handle".
  477.  
  478.     Error code 13 can occur from incorrect /etc/exports entry. Also,
  479.     it can occur because someone has changed the /etc/exports
  480.     entry to disallow the client after the client has already
  481.     been granted permission to perform this operation.
  482.  
  483.         Error code 70 occurs when the file handle on the
  484.     NFS server changes for a particular filesystem.
  485.     The "file handle" can be changed under the following
  486.     circumstances:
  487.         
  488.         A) Installing a new drive in place of an old.
  489.  
  490.         B) Moving a filesystem from one devices to
  491.            another.
  492.  
  493.         C) Performing a format, newfs, dump, and restore
  494.            cycle. Even if to the same device.
  495.  
  496.         D) Unmounting a file system without remounting it.
  497.  
  498.         E) Unmounting a High Sierra/ISO 9660 CD-ROM and
  499.                mounting a different CD.
  500.  
  501.         You can usually get rid of the error by unmounting and
  502.         remounting the filesystem in question. 
  503.  
  504.     Also, error code 70 can occur when someone removes a file 
  505.     that a process is actively writing from a NFS client machine.
  506.  
  507.         Under SunOS 4.1, you can run "showfh" to translate the NFS
  508.         "file handle" given in the error message into a Unix pathname.
  509.         Beware that showfhd does a "find" on your server to get the
  510.         filename.  "man 2 intro" will give you some more general
  511.         information on what error codes could mean.
  512.  
  513.     You will need a patch to get "showfh" to work correctly. The patch
  514.     id is 100371 and this patch is required for 4.1, 4.1.1, and 4.1.2.
  515.     This patch has been integrated into 4.1.3.
  516.  
  517.  6)    How do I find the amount of memory installed or other
  518.     system configuration information?
  519.  
  520.     You can use the "devinfo" command to find out general information 
  521.     about the hardware attached to your Sun. The "devinfo" command is 
  522.         only available on desktop SPARCsystems, SPARCengine 1E (although not
  523.         in the version used in Auspex systems), or 600MP series server only.
  524.  
  525.     Also, most sparc clones should support devinfo.  Any machine that has
  526.     an SBus will probably support "devinfo" but any machine that doesn't 
  527.     have an SBus probably won't support "devinfo".
  528.  
  529.     Note in Solaris "devinfo" is called "prtconf" and all options
  530.     are the same. 
  531.     
  532.     The "best" command for determining system information is  
  533.     "sysinfo". Sysinfo is available from
  534.  
  535.         ftp://usc.edu/pub/sysinfo/
  536.  
  537.     Sysinfo works on all Sun architectures (including Sun-3s) and all
  538.     SunOS and Solaris releases as well as many other UNIX boxes such
  539.     as Ultrix, and Next. 
  540.  
  541.     Also, you can use the sundiag to find out configuration information
  542.     as follows:
  543.  
  544.         /usr/diag/sundiag/sundiag -wv 
  545.         /bin/cat /usr/adm/sundiaglog/sundiag.conf | /bin/sort
  546.  
  547.     Finally, the "dmesg" command can be used to get memory information.
  548.     Try something like "dmesg | grep -i memory". It may not return
  549.     any memory information if the system has been up for a while.
  550.  
  551.     Note:  "wc -l /dev/mem" and "dd if=/dev/mem of=/dev/null" and 
  552.                the like will *not* give the correct answer on machines 
  553.            where physical memory is not contiguous, such as many Suns.
  554.  
  555.     OpenWindows 3.3 and above also support the "wsinfo" command, which
  556.     provides some of this information, in particular memory size.
  557.  
  558.     Last Updated:  May 23, 1996.
  559.  
  560.  
  561.  7)     Where can I get a version of ftp that does logging?
  562.  
  563.     Get the wuarchive ftp daemon from
  564.  
  565.             ftp://wuarchive.wustl.edu/packages/wuarchive-ftpd
  566.  
  567.     A version of the wuarchive ftpd daemon that compiles right out
  568.     of the box for Solaris2.x machines can be had from
  569.     ftp.ececs.uc.edu (129.137.8.4) in the /pub/sun-faq directory.
  570.     Remember to specify your own paths in the src/pathnames.h file.
  571.  
  572.     The stock Sun ftpd will log some information if you add the "-l"
  573.            flag in /etc/inetd.conf:
  574.  
  575.             ftp stream tcp nowait root /usr/etc/in.ftpd in.ftpd -l
  576.  
  577.         Also enable syslogd by adding:
  578.  
  579.         daemon.info      /var/adm/syslog
  580.  
  581.         to "/etc/syslog.conf".
  582.  
  583.     Last Updated:  Oct 25, 1995.
  584.  
  585.  
  586.  8)     Where can one get SunOS patches? Where can I get patch 10xxxx-xx?
  587.  
  588.         Many anonymous ftp sites have partial collections of patches.
  589.         These sites include the following:
  590.     
  591.     Sun sanctioned sites:
  592.         sunsolve1.sun.com:/pub/patches/
  593.                 via WWW http://sunsolve1.sun.com/
  594.         sunsite.unc.edu:/pub/sun-info/sun-patches/
  595.             sunsite.unc.edu:/pub/sun-info/sun-patches/
  596.             sunsite.sut.ac.jp:/pub/sun-info/sun-us/sun-patches/
  597.             sunsite.doc.ic.ac.uk:/sun/sunsite-sun-info/sun-patches/
  598.  
  599.     Note: You should always attempt to find a local site before
  600.           using the above.
  601.  
  602.     sunsolve1.sun.com contains a collection of recommended and 
  603.     security patches. Be sure to check out the 2.x_Recommended.tar.Z
  604.     files which contain all the Recommended patches in  one file.
  605.     The "Sunsites" are essentially mirrors of sunsolve.
  606.  
  607.     Support Customers:
  608.  
  609.         Starting with SunSolve CD 2.1.2 ALL Sun patches are shipped
  610.         on the SunSolve CD.
  611.  
  612.         Support customers can get all patches via ftp from Sunsolve
  613.         or by e-mail and query one of the online sunsolve-databases
  614.         on the internet.
  615.  
  616.     Some notes:    
  617.  
  618.     Do install the Recommended patches. 
  619.  
  620.     If you find a bug report it to Sun. This is the only way
  621.     it will get fixed.
  622.  
  623.     Do not "blindly" install all patches. Sun does not always
  624.     have time to test for possible interactions between patches.
  625.  
  626.     Do not install patches for applications that you to do use.
  627.  
  628.     Do install patches for "bugs" that are actually affecting you.
  629.  
  630.     Last Updated:  January 30, 1995.
  631.  
  632.  
  633.  9)    How to setup Openwindows Calendar Manager in a distributed
  634.     environment?
  635.  
  636.     Sun's original assumption that each user has a permanent machine 
  637.     allocated to them is not applicable in most environments. Just as 
  638.     users send mail to 'user' rather than 'user@machine', users want 
  639.     to browse others user's calendars and do not care or want to know
  640.     where the calendar is actually stored.
  641.  
  642.     Here is procedure to accomplish our goal. All calendars
  643.     will be stored on a central server. The initial setup
  644.     must be done on the server.
  645.  
  646.         A) Have the user login to the calendar host(calhost)
  647.            machine.
  648.         
  649.         B) Change everyone's .cm.rc file so that 
  650.            Calendar.DefaultCal points to user@calhost
  651.  
  652.            calhost can be an hostname alias or an actual
  653.            hostname. You may want to use the alias
  654.            just in case you change the "calhost" later.
  655.     
  656.         C) Change their Access List and Permissions (under
  657.                Edit/Properties) to show user@client with BID (browse,
  658.                insert, delete) permissions for any client machine the
  659.            user wanted to access their calendar from.
  660.  
  661.     Notes: If you use the scheme you should not NFS mount 
  662.            /var/spool/calendar on the client machines.
  663.  
  664.     or
  665.  
  666.     You can install the "Proxy OpenWindows Calendar Manager", which
  667.     is available via anonymous FTP from ftp.ececs.uc.edu in
  668.     /pub/sun-faq/proxy-cmsd.tar.Z.
  669.  
  670.     or
  671.     
  672.     You can install the "new cm daemon" which allows you to access
  673.     several Calendar hosts at once. It implements the "original"
  674.     rpc.cmsd daemon semantics(unlike proxy-cmsd) and thus all
  675.     the features(of CM) will work as documented.  The latest source
  676.     for this daemon was available via anonymous FTP from
  677.     ftp.amdahl.com (129.212.11.1) in the  /pub/newcm_d directory
  678.     but alas it is no longer but you can still get a copy from
  679.     from ftp.ececs.uc.edu as /pub/sun-faq/newcm_d-1.3.tar.Z
  680.  
  681.     As of this writing newcm is being ported to Solaris2.x.
  682.  
  683. 10)     Why does the talk command fail between SunOS
  684.     and any other manufacturer's equipment(like DEC)? 
  685.  
  686.     SunOS and Solaris use the old BSD 4.2 version of talk. 
  687.     The old talk uses "machine dependent" byte ordering. Since
  688.     DEC has different byte order the two talks can not
  689.     communicate (even if you use "otalk" on the DEC
  690.     machines).
  691.     
  692.     Also, most vendors have the newer version of 
  693.     talk from BSD-4.3 and this version is not compatible
  694.     with the Sun Version which is BSD-4.2.
  695.  
  696.     The solution is to get and install the new version
  697.     of talk because it uses "network" byte ordering and
  698.     it is compatible with most Vendors current talk 
  699.     implementations.
  700.     
  701.     "New Talk" is available via anonymous ftp from 
  702.  
  703.         ftp.ececs.uc.edu:/pub/sun-faq/Source/ntalk.tar.gz
  704.  
  705.     This contains a version of new talk that compiles on
  706.     both Solaris and SunOS. The Solaris version does not
  707.     require the Berkeley compatability libraries.
  708.     
  709.     Finally, a program called Ytalk can be used with either
  710.     "New talk" or "Old talk" and compiles on all versions
  711.     of SunOS (including 5.x).
  712.  
  713.     Ytalk can be obtained from 
  714.  
  715.         ftp.ececs.uc.edu:/pub/sun-faq/Source/ytalk-3.2.tar.gz
  716.  
  717.     Last Updated:  November 12, 1995
  718.  
  719. 11)    How do I setup "anonymous" ftp?
  720.     
  721.         Read the man page ftpd(8) in the SunOS 4.x documentation, as 
  722.         the procedure differs from vanilla BSD and most examples in 
  723.         system administration books. 
  724.  
  725.     The "ls" binary is dynamically linked, requiring you to 
  726.     duplicate ld.so, libc.so.* and /dev/zero in the ftp area.
  727.     The permissions and ownership of the files within the 
  728.         ftp area are critical to having a secure configuration.
  729.     
  730.     Note: For SunOS versions 4.1.2 and 4.1.3 you will need
  731.           to copy /usr/lib/libdl.so.* to the ftp area as well.
  732.  
  733.     You can use a "statically" linked binary from the GNU
  734.     fileutils instead of the "dynamically" linked SunOS
  735.     version. You can get the GNU fileutils from prep.ai.mit.edu
  736.     in the directory /pub/gnu
  737.  
  738.     There is also a statically linked version of ls for Suns
  739.     running SunOS 4.1.x, available via anonymous ftp from
  740.     ftp.ececs.uc.edu.  Get the file /pub/sun-faq/ls.statically-linked
  741.     or get it from the SunOS install CD in the "tools" directory.
  742.  
  743.     A complete procedure to setup anonymous under SunOS is
  744.     available via anonymous ftp to ftp.ececs.uc.edu. Get
  745.     the file /pub/sun-faq/anon-ftp.how-to.
  746.  
  747.     There is an _excellent_ script written by Peter N. Lewis
  748.     (peter.lewis@info.curtin.edu.au) for setting up anonymous ftp
  749.     located on ftp.ececs.uc.edu, in the file /pub/sun-faq/anon-ftp.scrpt
  750.  
  751. 12)     How come yppasswdd does not automatically update the yp maps?
  752.  
  753.         There is a bug in 4.1 rpc.yppasswdd that causes it misinterpret
  754.         the command line arguments.  A work-around is to add the
  755.         "-nosingle" flag (which is the default), this shifts the
  756.         arguments over one, so "passwd" is read instead of "-m".
  757.     Also, you should use the complete path to rpc.yppasswdd
  758.  
  759.         For example:
  760.  
  761.         /usr/etc/rpc.yppasswdd /var/yp/passwd -nosingle -m passwd DIR=/var/yp
  762.  
  763.     Note: Only use the DIR=/var/yp if your source files for passwd, group,
  764.           etc are in /var/yp. If they are in /etc you do not need
  765.               to and should not specify the DIR= parameter.
  766.  
  767.     Also, you can modify the NIS Makefile to change to the location
  768.     of the maps (ie modify DIR= in /var/yp/Makefile). Than you
  769.     could use something like this instead of the above line:
  770.  
  771.         /usr/etc/yppasswdd /var/yp/maps/passwd -noshell -m passwd
  772.  
  773.     This assumes that all NIS text/source files are in 
  774.         /var/yp/maps
  775.             
  776.         If you are running the C2 security package, you should apply
  777.         the C2 Jumbo patch, as it fixes several problems with rpc.yppasswdd
  778.     and rpc.pwdauthd. The patch number is
  779.  
  780.     100201-04 or greater for SunOS 4.1 and 4.1.1
  781.     100564-06 or greater for SunOS 4.1.2 and 4.1.3
  782.  
  783.     Last Updated:  April 27, 1995.
  784.  
  785. 13)     What does NFS getattr failed/RPC: Authentication error mean?
  786.  
  787.         You are probably running a pre-4.0 version of NFS and your
  788.         username is in more than 8 groups.  There is a limit on the
  789.         number of groups that could be represented in the rpc service
  790.         (called NGRPS).  On pre-4.0 systems this was 8, now it is 16.
  791.         Since many vendors other than Sun are still running old versions
  792.         of NFS, you might see this error even if your SunOS is recent.
  793.  
  794.         Authentication errors are also caused by having secure RPC
  795.         enabled on the client but not on the server, or by having a
  796.         misconfigured secure RPC configuration for the user name
  797.         generating the errors.  Beware of this problem when you are
  798.         using the automounter, as programs (such as Sendmail) may
  799.         silently fail when when they try to mount a directory
  800.         and get this error.
  801.  
  802.  
  803. 14)     Why did my Quantum 105 megabyte hard disk stop working?
  804.  
  805.     This the now infamous Quantum drive "stickation" problem.
  806.  
  807.     If the drive is allowed to cool down(even for a short period 
  808.     of time) the drive lubricant will congeal and prevent the disks
  809.     platters from rotating. 
  810.  
  811.     Before you get a replacement, try lightly tapping
  812.         the drive to loosen the lubricant. If this does not work try
  813.     shaking and twisting the drive at the same time. One last
  814.     thing to try is to lift the system up a couple of inches
  815.     and drop it.
  816.  
  817. 15)     Can I replace the 105 megabyte internal drive with a higher capacity
  818.         model?
  819.  
  820.     The newer disk drives can be used without worrying about heat
  821.     or power supply capacity problems. 
  822.  
  823.     However, older technology drives drives create more heat and draw
  824.     more power than the 105S.  The case cooling ability and power supply
  825.         in the SS-1 and SS-1+ are not adequate for the 210 megabyte or higher
  826.         capacity drives possible in the SS-2.
  827.  
  828.     As long as you make sure that the drive draws no more power
  829.     than the 105-Meg drive you should have no problems.
  830.  
  831.     Only the SPARCstation 1 and 1+ have these limitations.
  832.  
  833. 16)     How can I turn my Sun3 into an X-Terminal?
  834.  
  835.         You can use Seth Robertson's Xkernel package.  It is available
  836.         via anonymous ftp from ftp.ctr.columbia.edu (128.59.64.40) in
  837.         /Xkernel.  The package describes how to configure a minimal kernel
  838.         that runs the X server and offloads all the clients onto another,
  839.         hopefully more powerful host on the network. 
  840.  
  841.     As of this writing the current version of Xkernel is 2.0 and
  842.     it should work on both SPARC and Sun3 platforms.
  843.  
  844.     Xkernel is attractive to some sites that have a large investment in 
  845.         sun3 platforms, as moving  most of the processing off the sun3 
  846.         cpu makes it tolerable to use.  
  847.  
  848.     Finally, a used 3/50 is competitive with low-end X Terminal and 
  849.         you get a 19" monitor with an optical mouse.  
  850.  
  851.  
  852. 17)    Why is my console login prompt garbled or in some strange
  853.     alphabet after upgrading to 4.1.3?
  854.  
  855.         The problem is /etc/ttytab, with 4.1.3, the console is now
  856.     able to display 8 bits characters and getty must take this 
  857.     into account.
  858.  
  859.     The solution is easy, replace your console entry in /etc/ttytab 
  860.     by the following, the important part is 'cons8':
  861.  
  862.     console "/usr/etc/getty cons8"  sun             on local secure
  863.  
  864.     Also, if you did an upgrade(instead of a full install) you may 
  865.     need to add the following to your /etc/gettytab.
  866.  
  867.     # This is a new entry to internationalize the console.  It needs to be
  868.     # 8 bit clean so that ISO 8859 characters can be displayed without
  869.     # the window system.
  870.     #
  871.     cons8:\
  872.             :p8:lm=\r\n%h login\72 :sp#9600:
  873.  
  874.  
  875. 18)      Why are the "random" missing services at boot time or any other time
  876.     (even though the services are in the /etc/services file or NIS map)?
  877.  
  878.     The three primary causes for "random" missing services are
  879.     as follows:
  880.  
  881.         A) "Blank" lines in /etc/services on the YP/NIS Master.
  882.            Delete the blank line and remake the services map.
  883.  
  884.         B) Check the permissions on /etc/services. Non-root
  885.            processes need read permissions so /etc/services
  886.            should be mode 644.
  887.  
  888.         C) NIS/YP server not responding quickly enough
  889.            to the "getservbyname" call because each getservbyname
  890.            call reads the whole map.  One fix is to replace the 
  891.            systems version of inetd with a version that re-tries the
  892.            "unknown" service.
  893.  
  894.            I have "hacked" a version of munetd(public domain
  895.            replacement for inetd) to do this. It is available
  896.            from ftp.ececs.uc.edu. Get the file 
  897.             /pub/sun-faq/Source/munetd.tar.Z
  898.  
  899.            Another solution to this problem is outlined in part C below.
  900.  
  901.         D) Sun's implementation of the services map is incorrect. To
  902.                correct this problem you will need to replace some library
  903.            routines in libc and rebuild the shared library.
  904.            These routines and directions on installing them are
  905.            available from ftp.ececs.uc.edu.  Get the file 
  906.            /pub/sun-faq/Source/getservent.tar.Z.
  907.  
  908.         E) Another fix(if you do not want to modify your libc's) is
  909.            to just remove the services map from NIS. However,
  910.            you will need to update the services file by hand on
  911.            all clients. We are running all NIS hosts this way and
  912.                it seems to work quite well.
  913.  
  914.         
  915.  
  916. 19)    Where can I get Data Certified tapes for 4-mm or 8-mm tape drives 
  917.     (at reasonable price)?
  918.  
  919.     Here is an incomplete list of vendors how have "data certified"
  920.     tapes for the exabyte.
  921.  
  922.     Misco               800-876-1726   $12 - 15 each.    
  923.     TecBridge          800-972-7405   $9 - 15 each.
  924.     R-Squared          800-777-3478     Sony 112m 120@8.00 Each
  925.     K and K Systems          612-475-1527     $10 Each
  926.     SCR              314-739-0808     $10.95 for Memorex
  927.     CPI                 800-522-4274      Sony 112m 120@7.00 Each
  928.  
  929.     Last Updated:  July 22, 1995.
  930.  
  931. 20)    What is "archie"?
  932.  
  933.     Archie is a database of what is on several thousand anonymous 
  934.     ftp sites. 
  935.  
  936.     To use archie get one of the three archie clients which
  937.     are as follows:
  938.  
  939.         xarchie        -    For use under X11
  940.         c-archie    -     Curses version of Archie
  941.         archie        -     Perl Version of Archie
  942.     
  943.     Theses are available from archie.ans.net in the directory 
  944.     /pub/archie.
  945.  
  946.     List of other publicly available archie servers:
  947.  
  948.     archie.rutgers.edu   128.6.18.15     (Rutgers University)
  949.     archie.unl.edu       129.93.1.14     (University of Nebraska 
  950.                                           in Lincoln)
  951.     archie.sura.net      128.167.254.179 (SURAnet archie server)
  952.     archie.ans.net       147.225.1.2     (ANS archie server)
  953.     archie.au            139.130.4.6     (Australian server)
  954.     archie.funet.fi      128.214.6.100   (European server in Finland)
  955.     archie.doc.ic.ac.uk  146.169.11.3    (UK/England server)
  956.     archie.cs.huji.ac.il 132.65.6.15     (Israel server)
  957.     archie.wide.ad.jp    133.4.3.6       (Japanese server)
  958.     archie.th-darmstadt.de 130.83.128.111 (German server)
  959.  
  960.     
  961. 21)    How do I synchronize time on my Network?
  962.  
  963.     You should use xntp version 3 to synchronize your time. Xntp 
  964.     synchronizes to "atomic" and/or Radio Frequency clocks. Using
  965.     xntp time should always be within a few "milliseconds" of the
  966.     actual time. Xntp does not require a "atomic" clock, any
  967.     stable UNIX host clock will do.
  968.  
  969.     You can get XNTP version 3 from
  970.     
  971.         ftp://louie.udel.edu/pub/ntp/
  972.  
  973.  
  974.     XNTP works with all versions of SunOS(4.x and 5.x).
  975.  
  976.     A web page for is also available at  http://www.eecis.udel.edu/~ntp 
  977.  
  978.     Note: There is a Mac Control version of XNTP now available.
  979.  
  980.     Last Updated:  July 26, 1995.
  981.  
  982. 22)    What is the phone number for Sun Express and other numbers of importance
  983.     to Sun Users? 
  984.  
  985.     Sun Express:         1-800-USE-SUNX (1-800-873-7869)
  986.     Main Sun Helpline:     1-800-USA-4SUN (1-800-872-4786)
  987.  
  988.     Auspex Systems Inc. :   2952 Bunker Hill Lane
  989.                             Santa Clara, CA 95054
  990.                             (800) 735-3177 or (408) 492-0900
  991.                                 Fax: (408) 492-0909
  992.     
  993.  
  994. 23)     How do I join sun related  mailing lists?
  995.  
  996.     Mailing Lists:
  997.  
  998.     Sun Managers:    Used for "emergency" information only. The
  999.             users of this list are "very" knowledgeable.
  1000.         sun-managers-request@eecs.nwu.edu    add requests
  1001.         sun-managers@eecs.nwu.edu        submissions
  1002.  
  1003.         Sun-386i:   discussion about the Sun 386i product
  1004.             sun-386i-request@ssg.com        add requests
  1005.             sun-386i@ssg.com                    submissions
  1006.  
  1007.  
  1008.     Suns-at-Home is a mailing list devoted to folks who have Sun
  1009.     Workstations at home.  We hope to cover topics such as:
  1010.  
  1011.         - Maintenance and parts
  1012.         - Software
  1013.         - dial-up access (SLIP, modems)
  1014.         - Uses of Suns at Home (Home control, UUCP, BBS systems)
  1015.  
  1016.     You can reach Suns-at-home through the following addresses:
  1017.  
  1018.         Article submissions go to:
  1019.                 Suns-at-Home@net-kitchen.com
  1020.  
  1021.         Administrative requests go to:
  1022.                 Suns-at-Home-Request@net-kitchen.com
  1023.  
  1024.  
  1025.         Auspex:  managers of Auspex NFS file servers
  1026.             auspex-request@princeton.edu                    add requests
  1027.             auspex@princeton.edu                            submissions
  1028.  
  1029.         Epoch:  managers of Epoch NFS file servers       
  1030.             EPoch Users Forum  (EPUF)             
  1031.             epuf-request@mcs.anl.gov                        add requests 
  1032.             epuf@mcs.anl.gov                                submissions
  1033.  
  1034.     Various SunFlash Mailing Lists:
  1035.  
  1036.     SunFlash: 
  1037.           Articles about Sun from Sun. Includes Press Releases,
  1038.           detailed intros, Sun e-newsletters, sunergy announcements
  1039.           
  1040.           John J. McLaughlin Editor/Publisher (flash@sun.com)
  1041.           
  1042.           Available in a variety of formats:
  1043.           List name      Description
  1044.            
  1045.           sunflash      daily sunflash. Many articles will have just
  1046.                     summaries for the articles posted.
  1047.                     use the autoresponder to get the full text
  1048.           sunflash-f      full list - all articles - no summaries
  1049.           sunflash-w      weekly list - one summary article per week
  1050.           sunflash-m      monthly list - one summary article per week
  1051.           mt-sunflash      summary article in the message body, and
  1052.                     all articles included as MailTool style
  1053.                     attachemensts
  1054.           mime-sunflash   like mt-sunflash, but with MIME attachements
  1055.           mt-sunflash-w   like mt-sunflash but once per week
  1056.           mime-sunflash-w like mime-sunflash but once per week
  1057.           
  1058.           Subscribe by sending email to majordomo@flashback.com
  1059.           The message body should contain the word subscribe
  1060.           followed by one of above lists names. E.g.
  1061.               subscribe mt-sunflash
  1062.           
  1063.           
  1064.     The Sun FlashBack:
  1065.           Articles of interest to the Sun community from
  1066.           vendors other than Sun. Includes Press Releases,
  1067.           Sun User Group announcements, Product announcements,
  1068.           Company newsletters, newsletter table of contents
  1069.           (e.g. "HPCwire", "WEBster', "SPARCFlash"), 
  1070.           trade magazine table of contents (e.g. "Advanced Systems",
  1071.           "Open Computing", "Sun Onserver"), Conference/Seminar/
  1072.           Trade-Show announcements, Text Book announcements,
  1073.           Sponsored technical articles.
  1074.           
  1075.           John J. McLaughlin Editor/Publisher (flash@flashback.com)
  1076.           
  1077.           Available in a variety of formats:
  1078.           List name      Description
  1079.            
  1080.           flashback      daily flashback. Many articles will have just
  1081.                     summaries for the articles posted.
  1082.                     use the autoresponder to get the full text
  1083.           flashback-f      full list - all articles - no summaries
  1084.           flashback-w     weekly list - one summary article per week
  1085.           flashback-m     monthly list - one summary article per week
  1086.           mt-flashback      summary article in the message body, and
  1087.                     all articles included as MailTool style
  1088.                     attachemensts
  1089.           mime-flashback   like mt-flashback, but with MIME attachements
  1090.           mt-flashback-w   like mt-flashback but once per week
  1091.           mime-flashback-w like mime-flashback but once per week
  1092.           
  1093.           Subscribe by sending email to majordomo@flashback.com
  1094.           The message body should contain the word subscribe
  1095.           followed by one of above lists names. E.g.
  1096.               subscribe mt-flashback
  1097.           
  1098.           Send for intro (article 9001), help, index or fullindex
  1099.           to flashback@flashback.com.
  1100.           ftp archives on draco.nova.edu pub/sunflash
  1101.           WWW files on draco.nova.edu pub/sunflash/www
  1102.           URL ftp://draco.nova.edu/pub/sunflash/www/index.html
  1103.  
  1104.  
  1105.     NOTE!!!  if you wish to be added to one of the above mailing lists,
  1106.              send mail to the REQUEST address!  Do not send add requests 
  1107.          to the main address!
  1108.  
  1109.     Last Updated:  Sept 25, 1995.
  1110.  
  1111. 24)    How do I use Mac floppies in a SUN drive?
  1112.     
  1113.     You can not use "real" Mac floppies without buying either
  1114.     one of the emulator packages like Liken from Andataco(?) or
  1115.     Mae from Apple (only runs on Solaris2.3 or above). They
  1116.     is another product or two that just allows you to mount
  1117.     Macintosh floppies onto your Sun but the vendors
  1118.     and product names escape me now.
  1119.  
  1120.     That said if all you want to do is exchange files
  1121.     the easiest way is to use suntar on the Macintosh to
  1122.     copy files to a "high density" floppy.  Then you can use 
  1123.     "tar" or "bar" on the Sun to get the files off this floppy.
  1124.     It is available from ftp.ececs.uc.edu (129.137.8.99)
  1125.     as /pub/sun-faq/Source/suntar-203.hqx or visit
  1126.     the Info Mac archives at wuarchive.wustl.edu.
  1127.  
  1128.     or
  1129.  
  1130.     You could use the Apple File Exchanger to translate
  1131.     the files to MS-DOS format. Then use one of the many 
  1132.     methods for transferring MS-DOS disks to Sun. System 7.5 now
  1133.     mounts dos floppies automatically no need for Apple File
  1134.     Exchanger.
  1135.  
  1136.     These methods should only be used with files like ascii files,
  1137.     wordprocessor files, and  spreadsheet data files. Mac
  1138.     application programs should not be transfered.
  1139.     
  1140.     Finally, low density Mac floppies are not compatable
  1141.     with Sun floppy drives. 
  1142.     
  1143.     Last Updated:  January 27, 1995.
  1144.  
  1145.  
  1146. 25)    How can I transfer floppies back and forth between MS-DOS and Sparc?
  1147.  
  1148.     For Solaris2.2 and above you can use the Volume Manager to
  1149.     control your disks and CD-ROM's. Under SunOS 4.0 there are two 
  1150.     packages which allow you to do mount floppies (mtools and mntdisk).
  1151.     Both of these packages use the 3-1/2inch floppy drive available
  1152.         on most SPARCstations.  Mntdisk can be used to manage CD-ROMS
  1153.     and other removable media types as well.
  1154.  
  1155.     With the advent of the Volume manager in Solaris2.2 these programs
  1156.     have been rendered somewhat obsolete. Under Solaris2.x use
  1157.     volcheck -v to check in a floppy. Than you can use normal UNIX
  1158.     commands on this floppy like cd, mkdir, cp, mv, and ls. It usually 
  1159.     gets mounted on /vol/floppy0
  1160.  
  1161.     Mtools writes directly to the floppy device and it does not
  1162.     require any special privileges. It is faster than mntdisk
  1163.     but it requires the user to learn a new set of commands.
  1164.     A copy of mtools can be found at 
  1165.  
  1166.         ftp.ececs.uc.edu:/pub/sun-faq/Source/mtools-2.0.7.tar.Z
  1167.  
  1168.     With the proper changes to the source code mtools can even
  1169.     be made to work with the Solaris2.x Volume Manager. All 
  1170.     you need to do is make mtools look in /vol/dev/diskette/...
  1171.     for the floppy devices. 
  1172.  
  1173.     mntdisk "mounts" the floppy using the "pcfs" filesystem type. Once
  1174.     mounted you can use regular UNIX commands(cp,mv,and rm)
  1175.     to access it. The pcfs filesystem is quite slow compared
  1176.     to using mtools above.  Mntdisk is available in your local 
  1177.     comp.sources.misc archive, Volume 22, Issues 31-33. 
  1178.     Mntdsk can be used to mount CD-ROMS and even UFS floppies.
  1179.  
  1180.     You should never use "setuid" shell scripts for mounting floppies.
  1181.     Also, C programs that use the system() function call should
  1182.     not be used either. Both can open up huge security holes
  1183.     which hackers can be used to break into your system.
  1184.  
  1185.     
  1186.     Last Updated:  January 27, 1995.
  1187.  
  1188.  
  1189. 26)    Why is my biff not "biffing" when using biff in a networked
  1190.     environment?
  1191.  
  1192.     In its current form comsat/biff are only usable on the mail
  1193.     server. You need to replace them network capable programs.
  1194.  
  1195.     A shar file containing network capable versions of comsat
  1196.     and biff is available from ftp.ececs.uc.edu. Get the
  1197.     file /pub/sun-faq/Source/biff-comsat.
  1198.  
  1199. 27)    How do I disable L1-A(STOP-A) or re-map it?
  1200.  
  1201.     You need to get one of the many re-mapping programs. You
  1202.     can get it from:
  1203.  
  1204.         ftp.ececs.uc.edu:/pub/sun-faq/Source/disable-L1-A.tar.Z
  1205.  
  1206.     Always password protect your NVRAM. Set the security 
  1207.     to command otherwise anyone can set this password
  1208.     to anything they want. Of course you can get it back
  1209.     as root by doing a strings /dev/eeprom and it should
  1210.     show up in plain text. This assumes you have root
  1211.     access.
  1212.  
  1213. 28)     Why are all the local users "unknown" when using sendmail under 4.1.2?
  1214.  
  1215.     There is a known problem with sendmail and frozen config
  1216.     files under 4.1.2.
  1217.  
  1218.     The fix is to remove /etc/sendmail.fc. Also, You could 
  1219.     try moving it to the end of /etc/rc.local.
  1220.     
  1221.     However, the best "fix" may be to install the new Berkeley 
  1222.     Sendmail it has a number of enhancements, performance
  1223.     improvements, and security enhancements.
  1224.     
  1225.     You can get Berkeley sendmail from ftp.cs.berkeley.edu(128.32.149.78).
  1226.     Get the following files: /ucb/sendmail/*8*6*9*
  1227.                  /ucb/4bsd/db.tar.Z
  1228.     Also, you will need bind 4.9 and it can be found on
  1229.     gatekeeper.dec.com(16.1.0.2) in the /pub/BSD/bind/4.9
  1230.     directory.
  1231.  
  1232.     Finally, if you do not want to build the Berkeley sendmail for
  1233.     yourself I will be willing to mail you a copy.
  1234.  
  1235. 29)    What are the dump parameters for an exabyte 8200 or 8500?
  1236.  
  1237.     8200 -- dump 0budfs 126 54000 /dev/rst0 6000    /filesystem
  1238.     8500 -- dump 0budfs 126 54000 /dev/rst0 13000   /filesystem
  1239.  
  1240.     Under 4.1.2 and above you should use rst8. Previous SunOS versions
  1241.     did not do anything special for the 8500.
  1242.  
  1243.     These parameters are not needed for Solaris 2.x because it can 
  1244.     do the right thing if it reaches EOT (end of tape).
  1245.  
  1246.     Sept 20, 1995
  1247.  
  1248. 30)    What are the guidelines for setting up swap space ?
  1249.  
  1250.     In SunOS 4.x the amount of swap space and Virutal memory 
  1251.     are one and the same so you need at least as much swap
  1252.     as real memory.
  1253.  
  1254.     In SunOS 5.x the amount of Virutal memory is equal
  1255.     swap space plus real memory. Under SunOS 5.x you
  1256.     can actually get away with having no swap space at
  1257.     all. We are running a SPARCserver 1000 with no swap
  1258.     and 192-Meg of real memory.  Of course you will
  1259.     end up wasting some space because things that really
  1260.     could be swapped out can not be.
  1261.  
  1262.     The old rule of thumb is 1.5 to 2 times real memory. This
  1263.     can lead to wasted disk space (by having too much swap
  1264.     space) or to not having enough. What you need to do
  1265.     is to estimate your swap space needs.
  1266.  
  1267.     Of course if you under-estimate your swap needs or periodically
  1268.     need additonal swap space you can use mkfile to create 
  1269.     a swapfile (ie mkfile 25m swapfile). Do not use the "-n"
  1270.     option on local swap files. This option should be only
  1271.     used for NFS mounted swap space.
  1272.  
  1273.     To use you new swap space  you can use the following
  1274.     commands:
  1275.  
  1276.         swapon /fullpath/to/file    -- SunOS 4.x
  1277.     or
  1278.         swap  -a /fullpath/to/file    -- SunOS 5.x
  1279.  
  1280.     To delete the swap space under SunOS 4.x you have
  1281.     to reboot.  In SunOS 5.x you can delete swap space 
  1282.     using swap -d .
  1283.  
  1284.     You can also turn swap space into filesystem space by mounting a
  1285.     tmpfs filesystem in swap.  A tmpfs file is not completely
  1286.     equivalent to a disk file, since file and record locking is not
  1287.     supported.  However tmpfs is nice since you now have one block of
  1288.     disk being shared by the swap space and the filesystem, with the
  1289.     split being dynamically changed depending on usage.
  1290.  
  1291.     Finally, if you use X and tend to leave many applications in core
  1292.     in various windows, you'll need much more swap space.
  1293.  
  1294.     Last Updated: July  7, 1995.
  1295.  
  1296. 31)    What are the general guidelines for maxusers to be set to on machine X?
  1297.  
  1298.     This question is being written.
  1299.  
  1300. 32)    What does "zsN: silo overflow" mean?
  1301.  
  1302.         The CPU serial ports - both ordinary serial ports A and B, and
  1303.         the port for the keyboard and mouse - use the Zilog Z8530 SCC
  1304.         chip.  That chip has a 3-character on-board buffer called the
  1305.         "silo".  If a character arrives in the silo, the chip interrupts
  1306.         the CPU at a high priority, and the interrupt service routine
  1307.         reads the character out of the silo.
  1308.  
  1309.         If the interrupt isn't serviced in time, more than 3 characters
  1310.         can be placed in the silo by the chip; if so, the chip notes
  1311.         that the silo "overflowed", and the interrupt service routine,
  1312.         when called, will note that a "silo overflow" occurred.
  1313.  
  1314.         If the machine is printing a message from the kernel, interrupts
  1315.         from the chip will be held off; if the message takes long enough
  1316.         to print, and characters are coming in quickly enough on the
  1317.         serial port, more than 3 can arrive, and a "silo overflow" will
  1318.         occur.
  1319.  
  1320.         It is possible that a machine that's sufficiently busy in other
  1321.         code that runs with interrupts held off could get a silo
  1322.         overflow as well.
  1323.  
  1324. 33)    What does the "N" in "zsN: silo overflow", and other "zsN" messages,
  1325.     signify?
  1326.  
  1327.         The name "zsN" is ambiguous.
  1328.  
  1329.         In kernel "config" files, and in the boot-time autoconfig
  1330.         messages, "zs0" is the first on-board Z8530 chip, the two
  1331.         channels of which handle "ttya" and "ttyb", respectively, and
  1332.         "zs1" is the second on-board Z8530 chip, the two channels of
  1333.         which handle the keyboard and mouse ports, respectively.
  1334.  
  1335.         In "zsN: silo overflow" messages and the like:
  1336.  
  1337.                 "zs0" is the A channel on the first on-board Z8530, handling
  1338.                     "ttya";
  1339.  
  1340.                 "zs1" is the B channel on the first on-board Z8530, handling
  1341.                     "ttyb";
  1342.  
  1343.                 "zs2" is the A channel on the second on-board Z8530, handling
  1344.                     the keyboard;
  1345.  
  1346.                 "zs3" is the B channel on the second on-board Z8530, handling
  1347.                     the mouse.
  1348.  
  1349.         So a "zs0: silo overflow" error is for "ttya", and a "zs1: silo
  1350.         overflow" error is for "ttyb", not for the keyboard or mouse.
  1351.         Keyboard silo overflows are "zs2: silo overflow"; mouse silo
  1352.         overflows are "zs3: silo overflow".
  1353.  
  1354.  
  1355. 34)    How do I set up a Sun serial port both for dial-in and dial-out?
  1356.  
  1357.         You need to read Chapter 11 in  the "Systems and Network 
  1358.     Administration" manual.
  1359.  
  1360.  
  1361. 35)    I can't get my Sun, running SunOS 4.1[.x], to establish a UUCP
  1362.     connection to some non-Sun machine; it won't log in.  What's wrong?
  1363.  
  1364.         The 4.1[.x] UUCP normally runs in even-parity mode when logging
  1365.         into another machine.  If the other machine is running in 8
  1366.         bits, no parity, mode, the fact that the 8th bit is set on some
  1367.         of the characters the Sun is sending to it will confuse it.
  1368.  
  1369.         The Sun can be made to turn the 8th bit off by putting
  1370.         P_ZERO into the "expect / send" sequence for dialing.
  1371.         Good places are /etc/uucp/Systems or /etc/uucp/Dialers.
  1372.         Putting it into the Dialers file has the advantage, that
  1373.         it's compatible with Taylor UUCP 1.04 and 1.05. You might
  1374.         want Taylor UUCP for better UUCP throughput using Taylor
  1375.         UUCP's bidirectional i-proto. Here is an example for the
  1376.         /etc/uucp/Dialers file, it introduces additionally the
  1377.         option of using Hardware Handshaking between modem and
  1378.         computer:
  1379.  
  1380.         zyxel =,-, "" P_ZERO "" \dA\pTM1S42.6=1\r\c OK\r
  1381.                        \EATDT\T\r\c CONNECT STTY=crtscts
  1382.  
  1383.         Note: this has to be _ONE_ line !!!
  1384.  
  1385.  
  1386.     Last Updated: April  27, 1995.
  1387.  
  1388. 36)    Do the Sun serial ports support RTS/CTS flow control?
  1389.  
  1390.         The serial port hardware can do CTS-based control of the flow of
  1391.         data *from* the Sun *out* the serial port automatically.  The
  1392.         tty driver option for that is the CRTSCTS option; it can be
  1393.         specified in:
  1394.  
  1395.                 the "printcap" "ms" capability for a printer;
  1396.  
  1397.                 in the "gettytab" "ms", "m0", "m1", or "m2" capabilities
  1398.                 for a dial-in port;
  1399.  
  1400.                 the "STTY=" option for a dial-out line for UUCP or "cu"
  1401.                 [check the UUCP documentation for details];
  1402.  
  1403.         and can be specified with the "hf" capability in "/etc/remote"
  1404.         for "tip".
  1405.  
  1406.         The hardware cannot directly do RTS-based control of the flow of
  1407.         data *into* the Sun, and the software does not currently support
  1408.         controlling the flow of data into the Sun with RTS.
  1409.  
  1410.         NOTE: the EEPROM options in newer Suns do not affect the flow
  1411.  
  1412.         control performed by the OS; in fact, the OS ignores the
  1413.         "ttya-mode", "ttyb-mode", "ttya-rts-dtr-off", and
  1414.         "ttyb-rts-dtr-off" EEPROM options entirely.  You don't need to
  1415.         set them to change the way the OS handles the tty, and even if
  1416.         you do set them, it won't change the way the OS handles the tty.
  1417.  
  1418.     Sun has released a new jumbo tty patch 100513-04 for SunOS 4.1.2 
  1419.     and 4.1.3 that incorporates changes to the tty driver to
  1420.     support RTS/CTS handshaking. Anyone trying to get RTS/CTS
  1421.     handshaking to work should get this patch.
  1422.  
  1423.  
  1424. 37)    How do I specify that a serial port should, or should not, ignore the
  1425.     state of the Carrier Detect line?
  1426.  
  1427.         Prior to SunOS 4.1, you do so either by:
  1428.  
  1429.                 changing the "flags" field for the serial port device in the
  1430.                 kernel "config" file, re-running "config", rebuilding
  1431.                 the kernel, and rebooting with the new kernel;
  1432.  
  1433.         or, on the Sun-4c machines:
  1434.  
  1435.                 changing the setting of the "ttya-ignore-cd" or
  1436.                 "ttyb-ignore-cd" EEPROM settings if the port is one of
  1437.                 the CPU serial ports.
  1438.  
  1439.         In SunOS 4.1 (and, I think, some SunOS 4.0[.x] releases for the
  1440.         Sun386i), you do so by changing the "/etc/ttytab" line for the
  1441.         port in question to have the "local" attribute if CD is to be
  1442.         ignored, or not to have it if CD is not to be ignored, and
  1443.         running the "ttysoftcar" command to tell the kernel that the
  1444.         status of the "ignore CD" flag should be changed.
  1445.  
  1446.         In 4.1, there's no need to change the EEPROM setting to change
  1447.         SunOS's behavior; it may affect the PROM's behavior, but that's
  1448.         the only reason why it'd be necessary.
  1449.  
  1450. 38)    I put in a new "termcap" entry, or updated an existing "termcap" entry,
  1451.     for a terminal, but "vi" doesn't seem to know about my change.  Why?
  1452.  
  1453.         The "vi" in SunOS 4.1[.x] is based on the System V Release 3.1
  1454.         "vi", because that version of "vi" supports 8-bit character
  1455.         sets.  That version of "vi" uses "terminfo", not "termcap"; you
  1456.         have to change the "terminfo" entry for the terminal.
  1457.  
  1458.         You may first have to convert the compiled "terminfo" entry to a
  1459.         text entry; "/usr/5bin/infocmp -I <terminal-type>" will write
  1460.         the text of the "terminfo" entry for the terminal
  1461.         <terminal-type> to its standard output.
  1462.  
  1463.         If you already have a "termcap" entry, you can convert it to a
  1464.         "terminfo" entry with "/usr/5bin/captoinfo".
  1465.  
  1466.         A text "terminfo" entry must be recompiled in order for programs
  1467.         using "terminfo" to use it; "/usr/5bin/tic" will recompile it.
  1468.  
  1469. 39)    I have a Type 5 keyboard, and find its placement of the Caps Lock,
  1470.     Control, and Esc keys inconvenient.  How do I remedy this?
  1471.  
  1472.         Well, one remedy may be to buy the "UNIX layout" version of the
  1473.         Type 5; this option seems, unfortunately, to be little-known to
  1474.         Sun customers, and Sun may not be promoting it as they should.
  1475.         That keyboard has a layout much more friendly to the traditional
  1476.         UNIX user than do the normal PC-style layouts for the Type 5.
  1477.  
  1478.         If you don't have that option, you can use the appropriate
  1479.         program to reprogram the keys; see the next question.
  1480.  
  1481. 40)    How can I move keys around on a Sun keyboard, for example exchanging the
  1482.     Caps Lock and Control keys on a Type 5 keyboard?
  1483.  
  1484.         It depends on which window system you're running, if any.
  1485.  
  1486.         If you're not using any window system, or you're using a window
  1487.         system such as SunView that uses the OS's keyboard event
  1488.         translation mechanism, you can dump the tables used by the OS's
  1489.         keyboard event translation mechanism with the "dumpkeys"
  1490.         command, and load changes to that table with the "loadkeys"
  1491.         command; see LOADKEYS(1).
  1492.  
  1493.         If you're using X11 - either in its MIT incarnation, or Sun's
  1494.         Open Windows incarnation - or some other window system that
  1495.         shuts off the OS's keyboard event translation mechanism, you
  1496.         need to use the window system's commands, if any, for that
  1497.         function.
  1498.  
  1499.         In X11, the command for that is "xmodmap"; its translation
  1500.         tables can be printed with "xmodmap -pk", and changes to that
  1501.         table can be loaded with "xmodmap" as well.
  1502.  
  1503.         NOTE: in the particular case of the Control and Caps Lock keys,
  1504.         while MIT X appears to handle interchanging those two keys
  1505.         correctly, so that the new Caps Lock key is a toggle and the new
  1506.         Control key is not, some versions of Open Windows do not - even
  1507.         though the keys have had their mappings exchanged, the window
  1508.         system server still thinks that the *old* Caps Lock key, which
  1509.         is now the Control key, should be a toggle, and that the *old*
  1510.         Control key, which is now the Caps Lock key, should not be a
  1511.         toggle.
  1512.     [Here is a work-around for this problem, provided by Mark Plotnick
  1513.     (mp@allegra.att.COM)]:
  1514.     Copy the appropriate keytable (e.g. /usr/openwin/etc/keytables/US4.kt)
  1515.     to $HOME/.keytable, and change the 2nd attribute character in a key's
  1516.     attributes field to N or P depending on whether the key should have 
  1517.     "pseudolock".
  1518.     $ diff /usr/openwin/etc/keytables/US4.kt /usr/gre/.keytable
  1519.     78,79c78,79
  1520.     < lock  119                     # CapsLock
  1521.     < control        76                     # Control
  1522.     ---
  1523.     > lock   76                     # CapsLock
  1524.     > control       119                     # Control
  1525.     226c226
  1526.     < 76    NN      XK_Control_L
  1527.     ---
  1528.     > 76    NP      XK_Caps_Lock
  1529.     278c278
  1530.     < 119   NP      XK_Caps_Lock
  1531.     ---
  1532.     > 119   NN      XK_Control_L
  1533.  
  1534.  
  1535. 41)    My Sun doesn't have an ANSI C compiler.  How can I get one?
  1536.  
  1537.         SunOS releases prior to 5.x come with a C compiler. However,
  1538.         it was an old compiler, and it didn't support ANSI C syntax or 
  1539.         ANSI C features.
  1540.  
  1541.     The SunSoft Catalyst CD #5 contains the binaries for the GNU C 
  1542.     compiler for Solaris 1.x and 2.x. You should get the latest
  1543.     version of GCC and compile it using this compiler. 
  1544.  
  1545.         Many vendors offer ANSI C compilers for SunOS.  Sun sells Sun C
  1546.         1.1 for SPARC, which includes an ANSI C compiler (although not a
  1547.         full ANSI C environment, i.e. it doesn't necessarily include all
  1548.         the ANSI C include files or library routines); various other
  1549.         vendors (Lucid? Others?) sell ANSI C compilers as well.
  1550.  
  1551.         The Free Software Foundation's GCC also supports ANSI C syntax
  1552.         and ANSI C features. It can be FTP'ed in source form from many
  1553.         sites, and in binary form from some sites. 
  1554.  
  1555.     A compiled version of the latest GCC for SunOS 5.x is available from 
  1556.     prep.ai.mit.edu. The directory containing these files is
  1557.  
  1558.         /pub/gnu/sparc-sun-solaris2
  1559.  
  1560.     You need to get the following files:
  1561.         
  1562.         gzip-binaries-1.x.x.tar    
  1563.         INSTALL.gcc
  1564.         gcc-binaries-2.x.x.tar.gz
  1565.  
  1566.     Note: You need the gzip binaries to ungzip the gcc binaries.
  1567.  
  1568.     After obtaining GCC, you will need to run fixincludes. 
  1569.     The INSTALL.gcc file will tell you how.
  1570.  
  1571.     Note: The following sites mirror the GNU software distribution
  1572.           from prep.ai.mit.edu:
  1573.  
  1574.         ASIA:         utsun.s.u-tokyo.ac.jp:/ftpsync/prep,
  1575.                     cair.kaist.ac.kr:/pub/gnu
  1576.         AUSTRALIA:     archie.oz.au:/gnu (archie.oz or archie.oz.au for ACSnet)
  1577.         AFRICA:     ftp.sun.ac.za:/pub/gnu
  1578.         MIDDLE-EAST:     ftp.technion.ac.il:/pub/unsupported/gnu
  1579.         EUROPE:     irisa.irisa.fr:/pub/gnu, grasp1.univ-lyon1.fr:pub/gnu,
  1580.               ftp.mcc.ac.uk, unix.hensa.ac.uk:/pub/uunet/systems/gnu,
  1581.               src.doc.ic.ac.uk:/gnu, ftp.win.tue.nl, ugle.unit.no,
  1582.             ftp.denet.dk, ftp.informatik.rwth-aachen.de:/pub/gnu,
  1583.             ftp.informatik.tu-muenchen.de, ftp.eunet.ch, 
  1584.             nic.switch.ch:/mirror/gnu, nic.funet.fi:/pub/gnu,
  1585.             isy.liu.se, ftp.stacken.kth.se,
  1586.             ftp.luth.se:/pub/unix/gnu, archive.eu.net
  1587.            CANADA: ftp.cs.ubc.ca:/mirror2/gnu
  1588.         USA:     wuarchive.wustl.edu:/mirrors/gnu, labrea.stanford.edu,
  1589.           ftp.kpc.com:/pub/mirror/gnu, ftp.cs.widener.edu,
  1590.           col.hp.com:/mirrors/gnu, ftp.cs.columbia.edu:/archives/gnu/prep,
  1591.           gatekeeper.dec.com:/pub/GNU, ftp.uu.net:/systems/gnu
  1592.  
  1593.  
  1594.     You should check the site close to you before ftping to
  1595.     prep.
  1596.  
  1597.  
  1598. 42)    How do I change the time zone setting on my machine?
  1599.  
  1600.         In releases prior to SunOS 4.0, you will have to reconfigure
  1601.         your kernel, recompile it, install the new kernel, and reboot.
  1602.         See the documentation on kernel configuration.
  1603.  
  1604.         In SunOS 4.0 and later releases, you will need to run the "zic"
  1605.         command with the "-l" flag, with the appropriate time zone
  1606.         setting as the argument.  For example, to set the time zone to
  1607.         US Eastern Time, do:
  1608.  
  1609.                 zic -l US/Eastern
  1610.  
  1611.         to set it to the proper setting for Great Britain and Eire, do:
  1612.  
  1613.                 zic -l GB-Eire
  1614.  
  1615.         and so on.
  1616.  
  1617.         You will then probably want to reboot your machine, in order to:
  1618.  
  1619.                 1) cause any daemons started before the time zone was
  1620.                    changed to restart, and pick up the new time zone;
  1621.  
  1622.                2) run "tzsetup" for the benefit of old pre-SunOS 4.0
  1623.                    binaries, old programs not converted to use the new
  1624.                    routines to convert local time to UNIX time, and
  1625.                    Calendar Manager.
  1626.  
  1627.         You can also manually link "/usr/share/lib/zoneinfo/localtime"
  1628.         to the appropriate time zone file, but there's really no point
  1629.         in doing so when "zic -l" will do that for you.
  1630.  
  1631.         In Solaris 2.x, you do it the same way you do it on any other
  1632.         SVR4 system - you put a line that says
  1633.  
  1634.                 TZ=<time zone name>
  1635.  
  1636.         in "/etc/TIMEZONE", or change the existing line, and reboot.
  1637.         SVR4 includes the "Arthur Olson" time zone code that SunOS 4.x
  1638.         also uses, although not all SVR4 systems supply the time zone
  1639.         files for it; Solaris 2.0 does.
  1640.  
  1641.  
  1642. 43)    I'm getting messages that say one of the following:
  1643.          proc: table is full    and/or
  1644.             file: table is full    and/or
  1645.             dquot: table is full     and/or
  1646.             inode: table is full
  1647.          What do these errors mean, and how do I fix the problem?
  1648.  
  1649.         In SunOS releases prior to 5.0, many tables in the system are
  1650.         allocated once at system startup time, with a fixed size, and do
  1651.         not grow in size.  If the system needs more entries than are
  1652.         present in that table to perform some operation, it can't
  1653.         perform the operation, and it will log a message and return a
  1654.         failure indication.
  1655.  
  1656.         The sizes of the tables in question are based on the "maxusers"
  1657.         value in the configuration file for your kernel; to increase the
  1658.         size of the table, change the configuration file for your kernel
  1659.         to have a larger "maxusers" value, re-run "config" on that file,
  1660.         rebuild the kernel, install the new kernel, and reboot.
  1661.  
  1662.         SunOS 4.1 and later shouldn't get "inode: table is full", as
  1663.         that table is dynamically allocated; SunOS 5.0 should
  1664.         dynamically allocate entries in most if not all of those tables.
  1665.  
  1666.        I did that, and I'm still getting that message.  What do I do now?
  1667.  
  1668.         Presumably, then, either:
  1669.  
  1670.                 1) you didn't increase "maxusers" enough
  1671.  
  1672.         or
  1673.  
  1674.                 2) some process is consuming resources from the table in
  1675.                    question without bound.
  1676.  
  1677.  
  1678.     Note: SunOS kernels(up to 4.1.3) by default allow the user to use 
  1679.           all available process slots(except for the last 5). 
  1680.  
  1681.           If you are running out of process slots you may want to 
  1682.           change the kernel parameter that controls the maximum number
  1683.           of per user processes. You can change this in the param.c
  1684.           in /sys/conf.common. You will need to change the following
  1685.           define:
  1686.  
  1687.             #define MAXUPRC (NPROC - 5)
  1688.  
  1689.           to something more reasonable like
  1690.  
  1691.             #define MAXUPRC (NPROC - 5)/2
  1692.  
  1693.           After making this change you should re-config and re-build
  1694.           your kernel.
  1695.  
  1696.         The "proc" table has one entry for every process on the system;
  1697.         if it's overflowing, some process on the system may be creating
  1698.         new processes over and over again.  If you can, do a "ps -ax" to
  1699.         see what processes are on the system, and see if that gives any
  1700.         clues as to what process, if any, is spawning those other
  1701.         processes.
  1702.         
  1703.  
  1704.         The "file" table has one entry for every "active file
  1705.         descriptor" on the system; each time an "open", "dup", "socket",
  1706.         etc. call is made, a new "active file descriptor" is required.
  1707.         There's no way of finding out what process or processes are
  1708.         consuming file descriptors that's as convenient as "ps" can be
  1709.         for finding out what process or processes are spawning additional
  1710.         processes; "/usr/etc/pstat -f" will print the "open file table"
  1711.         of "active file descriptors", but it's tricky for the novice
  1712.         user, programmer, or administrator to interpret the output of
  1713.         "pstat -f", and that output doesn't indicate which processes are
  1714.         using a given "active file descriptor".
  1715.  
  1716.  
  1717. 44)     Blank at present.
  1718.  
  1719. 45)     How do I run both OpenWindows and MIT X11R5?
  1720.  
  1721.     OpenWindows 2.0 is compatible with X11R3 plus some extensions,
  1722.     OpenWindows 3.0 is compatible with X11R4, and  OpenWindows 3.3 
  1723.     is completely standard X11R5 with Display Postscript extensions
  1724.     added and many Sun hardware-specific performance improvements.
  1725.  
  1726.     To get X11R5(or R4) applications to run under Openwindows you will
  1727.     need to set the appropriate LD_LIBRARY_PATH. 
  1728.  
  1729.         Assuming you installed the MIT libraries in
  1730.         /usr/lib and the OpenWindows libraries are in
  1731.         /usr/openwin/lib, set the following before you start the
  1732.         windowing system:
  1733.  
  1734.         MIT X11R4 environment
  1735.  
  1736.                 set path = (/usr/bin/X11 $path)
  1737.                 setenv LD_LIBRARY_PATH /usr/lib
  1738.  
  1739.        OpenWindows
  1740.  
  1741.                 set path = (/usr/openwin/bin /usr/openwin/demo $path)
  1742.                 setenv LD_LIBRARY_PATH /usr/openwin/lib
  1743.  
  1744.         You can also run clients from one environment under a different
  1745.         server on a one command at a time basis.  This example runs a
  1746.  
  1747.          OpenWindows client under the MIT server:
  1748.  
  1749.                 (setenv LD_LIBRARY_PATH /usr/openwin/lib; x_soundtool)
  1750.  
  1751.  
  1752.     A better way to handle this(in the long run) is to re-compile 
  1753.     the X server clients to include a "hard" coded shared library
  1754.     search path. You will need to link the clients with -L
  1755.     option.  For example, if your X11 libraries are installed
  1756.     in /usr/local/lib/X11 you will link your application by
  1757.  
  1758.            cc -o app app.c -L/usr/local/lib/X11 -lX11 -lXext
  1759.  
  1760.     By doing this to all applications you can eliminate the need
  1761.     to set the LD_LIBRARY_PATH. 
  1762.  
  1763.     For applications that you do not have source for you should
  1764.     write a shell script wrapper similar to the following:
  1765.  
  1766.     #!/bin/sh
  1767.     LD_LIBRARY_PATH=/usr/local/lib/X11; export LD_LIBRARY_PATH
  1768.     /usr/local/bin/X11/xterm.bin $*
  1769.     
  1770.  
  1771.     Note: Source code for the Xview toolkit and MIT X11R5 are
  1772.           available from prep.ai.mit.edu. 
  1773.  
  1774.  
  1775.         The OpenWindows server has the ability to display PostScript that
  1776.         several of the OpenWindows applications require to run.  Sun's
  1777.         AnswerBook is an example that requires PostScript.  These clients
  1778.         will not run under the MIT server.   
  1779.  
  1780.     You can get a limited PostScript preview capability under 
  1781.     either server with GNU Ghostscript, a GNU "copyleft" package
  1782.     available from various ftp sites.  
  1783.  
  1784.     Two enhanced versions of Ghostscript are also available,
  1785.         CSPreview and Ghostview, they both offer fancier preview capabilities.
  1786.         These programs are currently available via anonymous ftp:
  1787.  
  1788.         Ghostscript is on prep.ai.mit.edu (18.71.0.38) in /pub/gnu
  1789.         GSPreview   is on ftp.x.org (18.24.0.12) in /contrib
  1790.         Ghostview   is on prep.ai.mit.edu (128.105.2.196) in /pub/gnu
  1791.  
  1792.  
  1793. 46)    Where do I find a "restricted" shell for SunOS?
  1794.  
  1795.     /usr/lib/rsh is a "restricted" Bourne shell.
  1796.  
  1797.         This "restricted" shell is easy to break out of; consider
  1798.         that most editors have a shell escape, for example. Building
  1799.         a window-dressing restricted environment is easy; building
  1800.         a real restricted environment is hard.
  1801.  
  1802.  
  1803. 47)    Will SunOS 4.1.x binaries run under SunOS 5.x?
  1804.  
  1805.         Yes they will, with some restrictions. The most significant is
  1806.         that the binary in question must have been "dynamically linked."
  1807.         Otherwise, you will get the message
  1808.  
  1809.         Bad system call (core dumped)
  1810.  
  1811.         immediately when starting the 4.1.x binary on SunOS5.
  1812.  
  1813.     As of SunOS 5.3 "statically" linked binaries will now run
  1814.     in binary compatabilty mode.
  1815.  
  1816.         Finally, bear in mind that there may be a performance  penalty
  1817.     for using  binary compatabilty mode applications.
  1818.  
  1819.     Last Updated:  August 2, 1995.
  1820.  
  1821.  
  1822. 48)    When I try to compile MITs X11R4 applications under Openwindows 3.0,
  1823.     I get the following "undefined" symbols(_get_wmShellWidgetClass, and
  1824.     _get_applicationShellWidgetClass). What is the Problem?
  1825.  
  1826.     There are problems with the Xmu shared library as shipped from Sun.
  1827.  
  1828.     There are two "fixes". One is to get the Openwindows patches
  1829.     that apply to this problem and the other is to "statically" link
  1830.     the Xmu library into the executable.
  1831.  
  1832.     The patches you will need are as follows:
  1833.  
  1834.         Patch i.d.      Bug i.d.'s      O/S     Description
  1835.         ----------      -------------------------------------------------------
  1836.         100512-04       1086793 1086912     4.1.x OpenWindows 3.0 libXt 
  1837.             1074766         Jumbo patch
  1838.  
  1839.         100573-04       1087332         4.1.x OpenWindows 3.0 undefined
  1840.                         symbols when using shared
  1841.                         libXmu.
  1842.  
  1843.     Note: Always use the latest version of the above patch that you can 
  1844.           find.
  1845.  
  1846.     To "statically" link your executable with libXmu modify the
  1847.     compile line as follows:
  1848.  
  1849.           -Bstatic -lXmu -Bdynamic 
  1850.  
  1851.  
  1852. 49)    What is Solaris?
  1853.     
  1854.     Solaris consists of the following facilities:
  1855.  
  1856.         1) SunOS 
  1857.         2) Openwindows
  1858.         3) Openwindows deskset tools
  1859.         4) ONC networking products and services(which includes NFS
  1860.            and NIS)
  1861.  
  1862.     Solaris is not an operating system but a "complete" user
  1863.     environment.
  1864.  
  1865.     A chart of Solaris versions, and the corresponding SunOS, Open 
  1866.     Windows, and DeskSet versions:
  1867.  
  1868.           Solaris         SunOS           Open Windows    DeskSet
  1869.           1.0             4.1.1           2.0             2.0
  1870.           1.0.1           4.1.2           2.0             2.0
  1871.           1.1             4.1.3           3.0             3.0
  1872.           1.1.1(a)        4.1.3_U1        3.0_U1*         3.0_U1*
  1873.           1.1.1(b)        4.1.3_U1_B      3.0_U1*         3.0_U1*
  1874.  
  1875.     Note: The "uname" output for 4.1.3_U1_B may only not contain
  1876.           the '_B' information.
  1877.  
  1878.           2.0             5.0             3.0.1           3.0.1
  1879.           2.1             5.1             3.1             3.1
  1880.           2.2             5.2             3.2             3.2
  1881.       2.3             5.3             3.3             3.3
  1882.       2.4             5.4             3.4             3.4
  1883.  
  1884.     *when patched with the patches on the 4.1.3_U1 CD.
  1885.  
  1886.  
  1887.     Last Updated: April  27, 1995.
  1888.  
  1889.  
  1890. 50)     What does the "nres_gethostbyaddr !=" error mean?
  1891.  
  1892.     This message is generating by Sun's resolver libraries and
  1893.     it is caused by incorrectly configured Domain Name 
  1894.     Server(the server that the resolver libraries are querying
  1895.     not necessarily the local Domain Name Server).
  1896.  
  1897.     The Domain Name Server probably lacks a reverse map entry for 
  1898.     that particular host. 
  1899.  
  1900.     Since this "bug" is closely associated with using ypserv,
  1901.     Sun has produced a patch to "ypserv" (bug #1039839). 
  1902.     Sun supplied a patch 100141-01 to quiet it, but the 
  1903.     patched version appears to die silently at random times,
  1904.     so Sun now has a new patch, 100141-02. Do not install this
  1905.     patch unless you are really getting a lot of these messages.
  1906.  
  1907.  
  1908. 51)     How come my mouse only works in the vertical(or horizontal) direction,
  1909.     how do I repair it?
  1910.  
  1911.  
  1912.     Check the rotation of the PAD. Turn it 90 degrees and see if it
  1913.     works any better. The mouse will only work properly
  1914.     if the mouse pad is oriented properly. Make sure that the long 
  1915.     side of the pad along the horizontal and the short side
  1916.     the vertical.
  1917.  
  1918.     Also, check to make sure that you have the right mouse pad. The
  1919.     newer the mouse the smaller the pad. 
  1920.  
  1921.     Finally, if that does not work one of the LEDs on the under
  1922.      side of the mouse has probably "burnt" out.  Do not fooled
  1923.     by the fact that one of them is an infrared led (light that 
  1924.     is invisable to naked eye) and the other visible. 
  1925.  
  1926.     You can probably repair it yourself(if you can get a replacement 
  1927.     LED and you know how to use a Soldering Iron) by following
  1928.     a set of directions available from 
  1929.  
  1930.         ftp.ececs.uc.edu:/pub/sun-faq/Docs/FixingASunMouse
  1931.  
  1932.     Note: This discussion only applys to Type 4 optical mice and not
  1933.           the newer Type 5 mice.
  1934.     
  1935.     Last Updated: June  10, 1996.
  1936.  
  1937. 52)    After rebuilding the shared library libc it get some or all the 
  1938.     following undefined symbols: dlsym, dlopen, dlclose, mbstowcs_xccs,
  1939.             mbtowc_xccs,wcstombs_xccs, or wctomb_xccs.
  1940.  
  1941.  
  1942.     If you have just installed a new shared library under 4.1.2 or
  1943.     greater you need to modify the Makefile for the shared libraries
  1944.     and re-install. You will need to change the following line
  1945.  
  1946.         ld -assert pure-text `${OBJSORT} lorder-sparc tmp`
  1947.     to read 
  1948.         ld -assert pure-text `${OBJSORT} lorder-sparc tmp` -ldl
  1949.  
  1950.     Note: You should change both such lines.
  1951.  
  1952.      Also, you may need to do a mv xccs.multibyte. xccs.multibyte.o
  1953.     to eliminate the  mbstowcs_xccs, mbtowc_xccs, wcstombs_xccs,
  1954.     or wctomb_xccs symbols errors.
  1955.  
  1956.     The above can occur under SunOS 4.1.1 if you have installed 
  1957.     the "Linker Jumbo Patch"(Patch id# 100257-03 or greater). 
  1958.  
  1959.  
  1960. 53)    What does "No network locking on host" mean after upgrading to
  1961.     Solaris 2.0?
  1962.  
  1963.     Your SunOS 4.x(or above) machines are running an old version
  1964.     of rpc.lockd. You need to get and install patch number 
  1965.     100075-11 or greater to correct this problem.
  1966.  
  1967. 54)    Does Password Aging work with NIS(YP) ?
  1968.  
  1969.     Sun does not support password aging under NIS(OS version
  1970.     to 4.1.3). The rpc.yppasswdd needs to modified to make
  1971.     password aging work. 
  1972.  
  1973.     Password aging will only work under SunOS 5.3(Solaris2.3) 
  1974.     with NIS+.
  1975.  
  1976. 55)    What does "rpc.lockd: Cannot contact status monitor!" mean?
  1977.  
  1978.     For some reason rpc.lockd can not talk to rpc.statd. 
  1979.  
  1980.     Check to see if rpc.statd is running. If rpc.statd
  1981.     is not running re-start it. If rpc.statd is running, 
  1982.     kill it and restart it. You will need to kill and restart
  1983.     rpc.lockd too. 
  1984.  
  1985.     Use this procedure to restart rpc.lockd and rpc.statd.
  1986.  
  1987.         kill rpc.statd and rpc.lockd
  1988.         start rpc.statd
  1989.         wait a 10 seconds or so
  1990.         start rpc.lockd
  1991.  
  1992.     If this does not work kill rpc.statd and rpc.lockd 
  1993.     remove /etc/sm /etc/sm.bak directories and re-start the
  1994.     daemons using the above procedure..
  1995.  
  1996.  
  1997. 56)    How do I join the Sun User Group(SUG)?
  1998.  
  1999.     Here is the information on joining SUG.
  2000.  
  2001.         Sun User Group, Inc.
  2002.         1330 Beacon Street, Suite 315
  2003.         Brookline, MA 02146
  2004.         USA
  2005.         voice: +1 617 232-0514        fax: +1 617 232-1347
  2006.         office@sug.org 
  2007.  
  2008.     With your membership you get the following:
  2009.         
  2010.         *  Vendor Discounts
  2011.         *  Technical Conferences
  2012.         *  Software Distribution
  2013.         *  README Newsletter
  2014.         *  Annual Exhibits
  2015.         *  Local User Group Support
  2016.         *  Newsgroup comp.org.sug 
  2017.  
  2018.  
  2019. 57)    How do I increase the number of "pseudo" terminals(ptys) ?
  2020.  
  2021.     For SunOS4.1.x:
  2022.  
  2023.     To add more ptys you must install a new kernel. 
  2024.  
  2025.     The default number of "ptys" is  48.  To get more "ptys" 
  2026.     change the kernel config line "pseudo-device pty" to 
  2027.     "pseudo-device pty#" where '#" is the number of "ptys"
  2028.     you want. 
  2029.  
  2030.     Be warned the maximum number you can have is 256.
  2031.  
  2032.     You will need to run /dev/MAKEDEV pty[0-5] to create the
  2033.     /dev/ entries.
  2034.  
  2035.     For SunOS5.x:
  2036.  
  2037.     In /etc/system, add the line:
  2038.  
  2039.             set pt_cnt=nnn     -- nnn can have a value up to 3000.
  2040.     touch /reconfigure
  2041.     and reboot using 'init 6'.
  2042.  
  2043.     For BSD style ptys set npty in /etc/system to the desired 
  2044.     value(ie set npty=64).  You may need to make the ptys by
  2045.     hand and you will need to make likes from /dev to /devices for 
  2046.     these devices.  Finally, you will need to edit /etc/iu.ap to
  2047.     automatically push the appropriate streams compatibility modules
  2048.         onto the new devices. You need to replace the line reading
  2049.             "ptsl 0 15 ldterm ttcompat"
  2050.     with
  2051.             "ptsl 0 <NUM> ldterm ttcompat"
  2052.     where <NUM> was one less than the number of compatibility ptys you
  2053.     need.
  2054.  
  2055.  
  2056. 58)    Where are dump and restore under Solaris 2.x?
  2057.  
  2058.     dump is now called /usr/sbin/ufsdump
  2059.     restore is now called /usr/sbin/ufsrestore
  2060.  
  2061. 59)    How do I make the numeric keypad on a type 5 keyboard work with xterm?
  2062.  
  2063.         You need to patch the /usr/lib/X11/app-defaults/XTerm and
  2064.         $OPENWINHOME/lib/app-defaults/XTerm files as described in sun
  2065.         patch 100713-01 or later.
  2066.  
  2067. 60)    How do I swap the CAPS LOCK and CONTROL keys on a type 5 keyboard 
  2068.     under Openwindows 3.0?
  2069.  
  2070.         Don't do it with xmodmap, since that won't change the locking
  2071.         behavior of CAPS LOCK. Edit $OPENWINHOME/etc/keytables/US5.kt.
  2072.         There are two places where keys 119 (CapsLock) and 76 (Control)
  2073.         should be swapped: the MODMAP section and the KEYSYMMAP section.
  2074.         The latter is most important, because that's where the
  2075.         "Pseudo-Lock" function (which controls the locking behaviour of
  2076.         the key) is defined.
  2077.  
  2078. 61)    Which Sun models run which versions of SunOS?
  2079.  
  2080.       Sun-supported configurations:
  2081.  
  2082.       Sun2: SunOS 4.0.3 or earlier.
  2083.       Sun386i: SunOS 4.0, 4.0.1, 4.0.2 only.
  2084.       Sun3: SunOS 4.1.1_U1 or earlier.
  2085.       4/100, 4/200 series: SunOS 3.2, SunOS 4.0 or later.
  2086.       4/300 series: SunOS 4.0.3 or later.
  2087.       4/400 series: SunOS 4.1PSR_A or later.
  2088.       600 models 120, 140: SunOS 4.1.2 or later.
  2089.       600 model 41, 51: SunOS 4.1.3 or later.
  2090.       600 models 412, 512: Solaris 2.2 or later.
  2091.       600 model 514: Solaris 2.3 HW 8/94 or later.
  2092.       SPARCstation 1, 1+, SLC, IPC: SunOS 4.0.3 or later.
  2093.       SPARCstation 2, ELC, IPX: SunOS 4.1.1 or later.
  2094.       SPARCstation 10 models 20, 30, 40, 41, 51: SunOS 4.1.3 or later.
  2095.       SPARCstation 10 models 412, 512: Solaris 2.2 or later.
  2096.       SPARCstation 10 model 402: Solaris 2.2 or later.
  2097.       SPARCstation 10 model 514: Solaris 2.3 Hardware 8/94 or later.
  2098.       SPARCstation 20 models 50, 51, 61: SunOS 4.1.3_U1 revision B or later.
  2099.       SPARCstation 20 models 502, 514,612: Solaris 2.3 Hardware 8/94 or later.
  2100.       SPARCclassic, SPARCstation LX: SunOS 4.1.3C or later.
  2101.     SPARCstation Voyager: Solaris 2.3 HW 8/94 or later.
  2102.     SPARCstation 5: Solaris 1.1.1 Rev B or later.
  2103.     SPARCstation 20 model 71: Solaris 1.1.2 and Solaris 2.4 HW 11/94 or
  2104.             later.
  2105.     SPARCstation 20 model HS11: Solaris 1.1.2 and Solaris 2.4 HW 11/94 or
  2106.             later
  2107.     SPARCstation 20 model 712: Solaris 2.3 HW 8/94 or later.
  2108.     SPARCstation 4: Solaris 1.1.2 and Solaris 2.4 HW 11/94 or later
  2109.     SPARCserver 1000 and SPARCcenter 2000 : Solaris 2.2 or later and
  2110.          should really use at least 2.3.
  2111.  
  2112.     Some notes:
  2113.  
  2114.     Sun4 machines (4/1xx, 4/2xx, 4/3xx, and 4/4xx) will not be supported
  2115.     after Solaris2.4.
  2116.  
  2117.     The audio device on the SS5/SS20 has does not work under Solaris 1.1.1b
  2118.     without installing the ms2 patch found on the 1.1.1B CDROM or get
  2119.     the current Audio Patch from Sun. You will need patches to get the
  2120.     Audio to work properly under Solaris2.3 as well.
  2121.  
  2122.     Also, the SX Graphics card is only supported under Solaris2.3 HW 8/94
  2123.     or later. The Card will not run work under SunOS 4.1.x and unless
  2124.     some one other than Sun writes a driver it will never work.
  2125.  
  2126.     If you are running Solaris 1.x and newer versions of the SuperSPARC CPU 
  2127.     (rev 3.5 and higher) require Solaris 1.1.1B.  See question 79 for
  2128.     the procedure used for determining SuperSPARC revision.
  2129.  
  2130.     When installing any compatable version of SunOS 4.1.x on any
  2131.     of the following: SPARCstation 5, LX, Classic, or SPARC 20 you
  2132.     must buy a RTU because these machines came with RTU's for
  2133.     Solaris2.x only.
  2134.  
  2135.       SunOS 4.1.3 has been reported to run on the SPARCstation 10 model
  2136.       412/512 and the 600 model 412/512, but this configuration is not
  2137.       supported by Sun. Anyone who tries this is on their own.  The
  2138.       (unofficial) word from inside Sun about whether or not it actually 
  2139.     works is as follows:
  2140.  
  2141.             Little testing of the SuperSPARC MP configurations under 4.1.3
  2142.             have been done by Sun.  What little was done showed that under
  2143.             heavy loads the system was prone to crash (What it really did 
  2144.         was hang, so badly that even an L1-A would not work).
  2145.             ...
  2146.             We suspect, but do not know, that as the SuperSPARC chips get
  2147.             faster that the problems will manifest themselves more quickly.
  2148.  
  2149.       Solaris 2.0 runs only on SS1,1+,2,SLC,IPC,ELC,IPX.
  2150.  
  2151.       Solaris 2.1 and later runs on all Sun4s and SPARCstations, but the 
  2152.     FPU's on the 4/100 and 4/200 series machines are disabled and will
  2153.     be under all versions of Solaris2.x.
  2154.  
  2155.       Not all peripherals supported under SunOS 4.x are supported under SunOS
  2156.       5.x. Check with Sun or the peripheral manufacturer. Most of the 
  2157.     the non-supported cards under SunOS 5.x are VME or Multi Bus based.
  2158.  
  2159.       Explanatory note:
  2160.  
  2161.       In general, Solaris = SunOS + OpenWindows.
  2162.  
  2163.       Solaris 1.0     = SunOS 4.1.1      + OpenWindows 2.0
  2164.       Solaris 1.0.1     = SunOS 4.1.2      + OpenWindows 2.0
  2165.       Solaris 1.1     = SunOS 4.1.3      + OpenWindows 3.0
  2166.       Solaris 1.1.1    = SunOS 4.1.3_U1 + OpenWindows 3.0_U1
  2167.       Solaris 1.1.2     = SunOS 4.1.4    + OpenWindows 3.414     
  2168.       Solaris 2.0     = SunOS 5.0      + OpenWindows 3.0.1
  2169.       Solaris 2.1     = SunOS 5.1      + OpenWindows 3.1
  2170.       Solaris 2.2     = SunOS 5.2      + OpenWindows 3.2
  2171.       Solaris 2.3     = SunOS 5.3      + OpenWindows 3.3
  2172.       Solaris 2.4     = SunOS 5.4      + OpenWindows 3.4
  2173.  
  2174.     Open Windows versions before 3.3 used the X11/NeWS server
  2175.     all versions since use a MIT style server with Display
  2176.     Postscript Extensions.
  2177.     
  2178.     Last Updated: March  3, 1995.
  2179.  
  2180. 62)    My rdump is failing with a "Protocol botched" message. What do I do?
  2181.  
  2182.         The problem produces output like the following:
  2183.  
  2184.           DUMP: Date of this level 0 dump: Wed Jan  6 08:50:01 1993
  2185.           DUMP: Date of last level 0 dump: the epoch
  2186.           DUMP: Dumping /dev/rsd0a (/) to /dev/nrst8 on host foo
  2187.           DUMP: mapping (Pass I) [regular files]
  2188.           DUMP: mapping (Pass II) [directories]
  2189.           DUMP: estimated 8232 blocks (4.02MB) on 0.00 tape(s).
  2190.           DUMP: Protocol to remote tape server botched (in rmtgets).
  2191.          rdump: Lost connection to remote host.
  2192.           DUMP: Bad return code from dump: 1
  2193.  
  2194.         This occurs when something in .cshrc on the remote machine prints
  2195.         something to stdout or stderr (eg. stty, echo). The rdump command
  2196.         doesn't expect this, and chokes. Other commands which use the rsh
  2197.         protocol (eg. rdist, rtar) may also be affected.
  2198.  
  2199.         The way to get around this is to add the following line near the
  2200.         beginning of .cshrc, before any command that might send something
  2201.         to stdout or stderr:
  2202.  
  2203.         if ( ! $?prompt ) exit
  2204.  
  2205.         This causes .cshrc to exit when prompt isn't set, which
  2206.         distinguishes between remote commands (eg. rdump, rsh) where these
  2207.         variables are not set, and interactive sessions (eg. rlogin) where
  2208.         they are.
  2209.  
  2210.  
  2211. 63)     Table of Solaris2.x commands and their Solaris1.x equivalents?
  2212.         
  2213.         SunOS 4.x          SunOS 5.x             
  2214.         Command            Equivalent               
  2215.         
  2216.         add_services       pkgadd                      
  2217.         arch               uname -m                  
  2218.                    Note: This returns the kernel architecture.
  2219.         bar                Not available. Use   
  2220.                            cpio -H bar to retrieve
  2221.                    4.x archives.
  2222.         
  2223.         biff -y            chmod o+x /dev/tty
  2224.         biff -n            chmod o-x /dev/tty
  2225.         cc                 Not available
  2226.         dbxtool            debugger
  2227.         devinfo           prtconf
  2228.         df                 df -k
  2229.         dkctl              Not available
  2230.         dkinfo             prtvtoc
  2231.         du                 du -k
  2232.         dump               /usr/sbin/ufsdump
  2233.         dumpfs             Not available
  2234.         etherfind          snoop
  2235.         exportfs           share
  2236.         extract_files      Not available
  2237.         extract_patch      Not available
  2238.         extract_unbundled  pkgadd
  2239.         fastboot           reboot or init 6
  2240.         fasthalt           init O
  2241.         hostid             sysdef -h
  2242.         hostname           uname -n
  2243.         intr               Not available
  2244.         leave              Use cron and at
  2245.         lint               Not available
  2246.         load                 pkgadd
  2247.         loadc                pkgadd
  2248.         load_package         Not available
  2249.         lpc                  lpadmin
  2250.         lpd                  lpsched
  2251.         lpq                  lpstat
  2252.         lpr                  lp
  2253.         lprm                 cancel
  2254.         lptest               Not available
  2255.         mach                 uname  -p
  2256.         modstat              modinfo
  2257.         mount                mount  -F <fstype> [options]
  2258.         mount -a       mountall
  2259.         mount_tfs            mount  -F <fstype>
  2260.         pax                  cpio
  2261.         paxcpio              cpio
  2262.         portmap              rpcbind
  2263.         printenv             env
  2264.         ps -a                ps -e
  2265.         ps -aux              ps -el
  2266.          Note: when ps is  invoked without the "-f" flag, the SV
  2267.              "ps" prints  only the first N characters of the name 
  2268.              of the program being run. You have to pass the "-f" 
  2269.              flag to get the full command line. For example, try
  2270.              ps -fe.
  2271.  
  2272.         pstat                sar
  2273.         pstat -s             swap -s
  2274.         rdump                /usr/sbin/ufsdump
  2275.         restore              /usr/sbin/ufsrestore
  2276.         rm_client            admintool
  2277.         rm_services          Not available
  2278.         rpc.etherd           Not available
  2279.         rpc.lockd          /usr/lib/nfs/lockd         
  2280.         rpc.mountd         /usr/lib/nfs/mountd        
  2281.         rpc.rexd           /usr/sbin/rpc.rexd
  2282.         rpc.rquotad        /usr/sbin/rpc.rquotad
  2283.         rpc.showfhd        Not available
  2284.         rpc.statd          /usr/lib/nfs/statd         
  2285.         rpc.user_agentd    Not available 
  2286.         rpc.yppasswdd      Not available 
  2287.         rpc.ypupdated      ypupdated     
  2288.         rrestore            /usr/sbin/ufsrestore    
  2289.         rusage             Not available 
  2290.         trace           truss
  2291.         showmount          dfmounts 
  2292.         swapon                swap -a        
  2293.         sys-config       admintool
  2294.         umount -a        umountall         
  2295.         umount_tfs       umount -F <fstype>
  2296.         unload             pkgrm
  2297.         update             fsflush
  2298.         uptime            who -b
  2299.         users              who -q
  2300.         vipw               Not available
  2301.         wall               /usr/sbin/wall
  2302.         whereis            Not available
  2303.         whoami             id
  2304.         ypbatchupd         Not available
  2305.         yppasswd           Use nispasswd for NIS+
  2306.         ypserv             Not available
  2307.  
  2308.     Notes:  A NIS server is no longer available under Solaris2.x
  2309.         without purchasing the NSKIT from Sun.
  2310.  
  2311.         Under Solaris 2.x look in the /usr/sbin and /usr/lib/nfs 
  2312.         for useful programs and commands. Finally, some of
  2313.         missing commands are in the BSD Compatibility package.
  2314.  
  2315.     
  2316. 64)     How do I setup DNS on Solaris2.x?
  2317.  
  2318.     The "Setting up DNS clients" chapter of that manual is egregiously 
  2319.     out of date.  Yes, there's a bug filed against it.  
  2320.     The correct procedure is the following:
  2321.  
  2322.            Create a /etc/resolv.conf file.
  2323.  
  2324.            Change /etc/nsswitch.conf;  it's probably easiest 
  2325.     to start with the sample file "/etc/nsswitch.files" and change 
  2326.     the entry for "hosts" to the following:
  2327.  
  2328.                 hosts: files dns
  2329.  
  2330.            Processes that have already read /etc/nsswitch.conf won't see your
  2331.     changes until they're restarted.  If you care, the crude but effective
  2332.     approach is to reboot.
  2333.  
  2334.  
  2335.     Last Updated:  July 3, 1996.
  2336.     
  2337.  
  2338. 65)     Can a SPARCclassic or LX run SunOS 4.1.3?
  2339.  
  2340.     No it won't run 4.1.3. However, Sun will provide you with
  2341.     a copy Solaris1.1C(4.1.3C) which will allow you to run
  2342.     "4.1.3" on a LX or Classic. These machines can also run
  2343.     4.1.3_U1 and 4.1.4. See Question 61 for more details.
  2344.  
  2345.     The cost is around $125 for the media and $100 for the RTU
  2346.     license.
  2347.  
  2348.     Users of 4.1.3C should get the DBRI patch if you don't have a
  2349.     speaker box!
  2350.  
  2351.  
  2352. 66)     I just restored my root partation and now I cannot boot.
  2353.         What is wrong?
  2354.  
  2355.  
  2356.         You probably need to run installboot.  Under Solaris 1, boot
  2357.         from cdrom, boot the miniroot, mount the root filesystem on
  2358.         /mnt, and reinstall the boot block:
  2359.  
  2360.             cd /usr/kvm/mdec    # note - miniroot's usr, not sd0's
  2361.             installboot -vlt /mnt/boot bootsd /dev/rsd0a
  2362.  
  2363.         For Solaris 2, the equivalent command, which may also live
  2364.         outside the miniroot, would be:
  2365.  
  2366.             /usr/sbin/installboot /usr/lib/fs/ufs/bootblk \
  2367.             /dev/rdsk/c0t0d0s0
  2368.  
  2369.         Under Solaris 1, if only your /vmunix is bad, you may not need
  2370.         to restore anything from tape.  Before running installboot:
  2371.  
  2372.             cp /mnt/usr/kvm/sys/<arch>/<kernel>/vmunix /mnt/vmunix
  2373.  
  2374.  
  2375.  
  2376. 67)    How do I disable/enable packet forwarding?
  2377.  
  2378.     For 4.1.x:
  2379.     Pick one of the following methods:
  2380.  
  2381.      adb -k -w /vmunix /dev/mem
  2382.     ip_forwarding?
  2383.     _ip_forwarding:
  2384.     _ip_forwarding: 0               = unimp         0x0
  2385.  
  2386.     ip_forwarding/w -1      <- changes in running kernel only!
  2387.     ip_forwarding?w -1      <- changes running kernel and disk image
  2388.  
  2389.     or 
  2390.  
  2391.     In your kernel configuration file, insert the following line:
  2392.  
  2393.     options "IPFORWARDING=-1"
  2394.  
  2395.     Note: The above example disables packet forwarding.
  2396.  
  2397.     Here is a list of IP forwarding options
  2398.     (from /usr/kvm/sys/netinet/in_proto.c) 
  2399.         ip_forwarding = -1  -- never forward; never change this value.
  2400.         ip_forwarding =  0  -- don't forward; set this value to 1 
  2401.                        when two interfaces are up.
  2402.             ip_forwarding =  1  -- always forward.
  2403.  
  2404.     For Solaris2.3:
  2405.  
  2406.     To disable ip_forwarding:
  2407.  
  2408.          % ndd -set /dev/ip ip_forwarding 0
  2409.  
  2410.     To enable ip_forwarding:
  2411.  
  2412.          % ndd -set /dev/ip ip_forwarding 1
  2413.  
  2414.     To reset it back to defaults:
  2415.  
  2416.          % ndd -set /dev/ip ip_forwarding 2
  2417.     
  2418.  
  2419. 68)    How do I disable the printing of banners pages?
  2420.     
  2421.     Under SunOS 4.x you need to do the following:
  2422.     
  2423.         Put :sh: in the /etc/printcap entry
  2424.         for that printer.
  2425.  
  2426.     For SPARCprinters you will need to edit the .param for that 
  2427.     printer. Under SunOS4.x you this file is located in the spool
  2428.     directory for that particular printer. Under SunOS5.x
  2429.     it is located under /etc/lp/printers/PRINTERNAME.
  2430.     Change the line BANNERPS=${DEFBANNER}; export BANNERPS
  2431.             to
  2432.             BANNERPS=; export BANNERPS
  2433.  
  2434.     Also, you may want to turn off Job Log printing. You can do
  2435.     this by changing the line PRINTJOBLOG=yes; export PRINTJOBLOG
  2436.             to
  2437.                   PRINTJOBLOG=no; export PRINTJOBLOG
  2438.  
  2439.  
  2440.     If you want to disable the banner pages permanently you
  2441.     will need to perform the following steps:
  2442.  
  2443.         1. cd /usr/lib/lp/model
  2444.         2. cp standard standard-nobanner
  2445.         3. Use your favorite editor to edit standard-nobanner.
  2446.            Change line 332 from:
  2447.                 nobanner="no"
  2448.            to:
  2449.                 nobanner="yes"
  2450.         4. lpadmin -p PRINTERNAME -m standard-nobanner
  2451.  
  2452.     For a large network you can make this easier by copying a 
  2453.     custom interface script at install time and doing the appropriate 
  2454.     lpadmin command.
  2455.  
  2456.         
  2457.  
  2458. 69)    How do I change my hostname?
  2459.  
  2460.     Under SunOS 4.x you need to do the following:
  2461.  
  2462.         Edit you /etc/hosts file and change your
  2463.         local hostname. To avoid problems during
  2464.         the transition you may want to add this
  2465.         as an hostname alias.
  2466.  
  2467.         If you are running NIS you should change the
  2468.         /etc/hosts file on the master too.
  2469.  
  2470.         Change the hostname in /etc/hostname.xxx.
  2471.         Where xxx is the interface you want to change
  2472.         the address on.
  2473.         
  2474.  
  2475.     Under SunOS 5.x you need to the above plus
  2476.     change /etc/nodename, and the entries in /etc/net/*/hosts
  2477.  
  2478.  
  2479.     Both OS's also support the sys-unconfig program which can
  2480.     be used indirectly to change your hostname and any number
  2481.     of other things. This program is over kill if all you want
  2482.     to do is change your hostname. See the manpage for more details.
  2483.     
  2484.  
  2485. 70)     Table of Solaris2.x files and their Solaris1.x equivalents?
  2486.  
  2487.     SunOS 4.x file        SunOS 5.x file
  2488.     /etc/fstab        /etc/vfstab
  2489.     /etc/exports        /etc/dfs/dfstab
  2490.     /etc/printcap        None
  2491.     /etc/fbtab         /etc/logindevperm   -- available in SunOS 5.3
  2492.     /etc/rc.local        /etc/rc3.d/S99local -- See note 1.
  2493.  
  2494.  
  2495.     Note 1:  Here is a template file for /etc/rc3.d/S99local.
  2496.  
  2497.     #!/bin/sh
  2498.  
  2499.     state=$1
  2500.     case $state in
  2501.     
  2502.     # Any applications or daemons you want to start.
  2503.     'start')
  2504.         echo "starting local apps"
  2505.         ;;
  2506.     # Any applications or daemons that need to be shutdown gracefully.
  2507.     'stop')
  2508.         echo "Stopping local apps"
  2509.         ;;
  2510.     esac
  2511.  
  2512.  
  2513.     You may need to put the "kill" script in /etc/rc2.d/K99local but it
  2514.     is not really required.
  2515.  
  2516.  
  2517. 71)    Where can I get the BSD print spooler for Solaris2.x?     
  2518.  
  2519.     You can try LPLITE from Sun it is available from the following
  2520.     location:
  2521.  
  2522.     http://www.sun.com/cgi-bin/show?smcc/solaris-migration/tools/lplite
  2523.  
  2524.     You can get the 4.3BSD-reno lpr system from the following site:
  2525.  
  2526.             ftp.nus.sg:/pub/NUS/ISCS/misc/lpr-sol2-p4.tar.gz
  2527.  
  2528.     Or another port from
  2529.  
  2530.         ftp.eng.auburn.edu:/pub/doug/lpr-sol2-p5.02.tar.gz
  2531.  
  2532.     Version's of this distribution prior to 5.0.2 have a security
  2533.     hole. Please upgrade to this version ASAP.
  2534.     
  2535.  
  2536.  
  2537.      Or get  PLP from 
  2538.  
  2539.             ftp://ftp.iona.ie/pub/plp               (main site, but slooow)
  2540.             ftp://ftp.informatik.uni-hamburg.de/pub/utils/plp
  2541.             ftp://ftp.beckman.uiuc.edu/pub/plp
  2542.             ftp://ftp.zod.wau.nl/pub/mirror/plp
  2543.             ftp://ftp.lps.ens.fr/pub/software/plp
  2544.  
  2545.     PLP has vastly enhanced features, like paths for printcaps, NIS and
  2546.     Hesiod support, configurable permissons for printers, ability to
  2547.     move jobs between printers and compiles out of the box on HPUX, 
  2548.     Solaris, and SunOS. Version 4 of PLP has elminated a large
  2549.     number of security holes in the LPD protocol. To subscribe
  2550.     to the PLP mailing list send mail to majordomo@iona.ie with
  2551.     subscribe plp
  2552.     as the message body.
  2553.  
  2554.     Last Updated:  Sept 18 , 1995.
  2555.  
  2556. 72)     Where is the Solaris2.x screenblank?
  2557.  
  2558.     You have three choices:
  2559.  
  2560.     Run XDM on the console and use the X servers builtin screenblank.
  2561.  
  2562.     Or you can run the 4.1.x screenblank in compatabilty mode.
  2563.  
  2564.     Or you can compile you own screenblank from sources available from
  2565.  
  2566.        ftp://ftp.ececs.uc.edu/pub/sun-faq/Source/screenblank_27dec94.tar.Z
  2567.  
  2568.     You can always get the current screenblank from
  2569.  
  2570.        ftp://ftp.ee.lbl.gov/  or  ftp://ftp.netcom.com/pub/je/jef/
  2571.  
  2572.     Last Updated:  Sept 18, 1995.
  2573.  
  2574. 73)     Is there a command to display the configuration of 
  2575.     currently attached SCSI devices?
  2576.     
  2577.     Get scsiinfo from 
  2578.         ftp://ftp.ececs.uc.edu/pub/sun-faq/Source/scsiinfo-4.1.shar.gz
  2579.  
  2580.     Or
  2581.  
  2582.     Get scsiping from 
  2583.         ftp://ftp.ececs.uc.edu/pub/sun-faq/Source/scsiping-2.0.shar.gz
  2584.  
  2585.  
  2586.     These commands are copied periodically from
  2587.         ftp://ftp.cdf.toronto.edu/pub/
  2588.  
  2589.     These commands work under both SunOS 4.x and Solaris2.x.
  2590.  
  2591.     Last Updated:  Sept 18, 1995.
  2592.  
  2593. 74)     My printer will not print large files(over 1-megabyte), I 
  2594.     keep getting "file to big" errors. What do I do?
  2595.  
  2596.     Put the following line in your /etc/printcap file
  2597.     for the printer that has the problem.
  2598.  
  2599.     :mx#0:
  2600.  
  2601.     This basically allows for unlimited sizes of print jobs.
  2602.     Of course you are still limited by your amount of
  2603.     spool space.
  2604.  
  2605.     If you do not have access to /etc/printcap you can
  2606.     use the -s switch to lpr to use a "symlink" of the    
  2607.     file instead of copying the "real" file to the spool 
  2608.     directory.
  2609.     
  2610. 75)     I keep getting "data corruption" when using NFS over a wan,
  2611.     or slip/ppp link. What do I do?  or
  2612.     Does anybody know how to enable UDP checksum on NFS?
  2613.  
  2614.     The usually cause for this(at least for SunOS4.x) is not
  2615.     having udp checksumming turned on. 
  2616.  
  2617.     You can turn it at boot and while the machine is running 
  2618.     by using the following adb script:
  2619.     
  2620.     echo "udp_cksum/W1" | adb -w -k /vmunix /dev/mem 
  2621.  
  2622.     Install or call this script from rc.local.
  2623.  
  2624.     Or you could modify the disk image and the core image
  2625.     by doing udp_cksum?W1. Remember to do this everytime
  2626.     a new kernel is built.
  2627.  
  2628.     Or edit /usr/kvm/sys/netinet/in_proto.c and change the
  2629.     udp_cksum line (near the end from  udp_cksum = 0 to udp_cksum =1
  2630.     and reconfigure your kernel and reboot)
  2631.  
  2632.     For Solaris2.3:
  2633.  
  2634.     udp checksumming is turned on by default under SunOS5.x.
  2635.     
  2636.     If you want to verify the value use the following:
  2637.  
  2638.         ndd /dev/udp udp_do_checksum
  2639.  
  2640.     See ndd (1M) and ip (7) manual pages for more details.
  2641.  
  2642.  
  2643.     Last Updated: December  18, 1996.
  2644.  
  2645. 76)     Does anybody know how to enable UDP checksum on NFS?
  2646.  
  2647.     See the answer to question 75.
  2648.  
  2649. 77)     Is there a mailing list for Wabi?
  2650.  
  2651.     No. Currently, Sun has the following E-mail addresses that
  2652.     you can get information about Wabi and the Windows
  2653.     Apps that Wabi supports. These addresses are as follows:
  2654.  
  2655.     For Wabi version 1:
  2656.          wabi1.0-questions@east.sun.com    - FAQ List
  2657.         wabi1.0-apps@east.sun.com    - Supported Applications list
  2658.     For Wabi version 2:
  2659.          wabi2.0-questions@east.sun.com    - FAQ List
  2660.         wabi2.0-apps@East.Sun.COM    - Supported Applications list
  2661.  
  2662.  
  2663.  
  2664.  
  2665. 78)     Are there any public domain Multi-Vendor backup management
  2666.         systems?
  2667.  
  2668.     There are at least two such programs which are as follows:
  2669.  
  2670.     Amanda from the University of Maryland which is written in
  2671.     C and built on top of standard UNIX backup software
  2672.     such as dump/restore. The current source is available from
  2673.     ftp.cs.umd.edu in the /pub/amanda directory.
  2674.  
  2675.     OSU Backup from Ohio State University which is written in perl
  2676.     and built on top of standard UNIX backup software such as
  2677.     dump/restore, cpio, and GNU tar. It has the ability to backup
  2678.     some database systems(like ORACLE). Finally, it is evolving to
  2679.     support the backup of PCs via a proxy service. The current 
  2680.     source is available from ftp.cis.ohio-state.edu in /pub/backup.
  2681.  
  2682. 79)     How to determine the revision of SuperSPARC processor.
  2683.  
  2684.     There are 2 methods to identify SuperSPARC revision - by physical 
  2685.     inspection and by using the system PROM.
  2686.  
  2687.     To determine SuperSPARC revision by physical inspection:
  2688.  
  2689.         - Open system chassis (as needed)
  2690.         - Locate the SuperSPARC processor on the CPU module. The processor
  2691.           has a heat sink mounted on its top surface.  The heat sink
  2692.           may be round or of "pin fin" design.  On modules with
  2693.           External cache, the processor is the farthest from mbus
  2694.           connector.
  2695.         - 4 lines of alpha-numeric text are written on the top 
  2696.           right corner of the processor. The second line contains the 
  2697.  
  2698.          processor revision.  The format is 
  2699.                 alpha character, 2 revision digits, 8 other alpha/digits
  2700.           Examples of processor revisions are:
  2701.                 H283915478C             H313020233C             H3503027203
  2702.                  ^^                      ^^                      ^^
  2703.                  ||                      ||                      ||
  2704.                 Indicates a 2.8, 3.1, and 3.5 SuperSPARC revisions respectively
  2705.  
  2706.     To determine SuperSPARC revision using the system PROM:
  2707.  
  2708.         - On a powered on system, in single user mode, press 
  2709.                 'L1'  and 'A'
  2710.           keys simultaneously.  On some keyboards the keycaps will be labeled
  2711.                 'Stop' and 'A'
  2712.  
  2713.         - On your monitor the following will be displayed
  2714.                 Type 'go' to resume
  2715.                 ok
  2716.         - Type
  2717.                 .psr <Return>
  2718.           Your monitor will display a line of data.  Look for VER and
  2719.           IMPL fields and note their values.
  2720.  
  2721.         - Type
  2722.                 .mcr <Return>
  2723.           Your monitor will display a line of data.  Look for VER and
  2724.           IMPL fields and note their values.
  2725.  
  2726.         - Type
  2727.                 go <Return>
  2728.         - You now may continue to use your system normally.
  2729.  
  2730.         - Using the PSR and MCR IMPL/VER values you noted above,
  2731.           match them with the values in the table below to identify
  2732.           the SuperSPARC revision.  Future processors will have 
  2733.           values different than those in the table.
  2734.         
  2735.                 | SuperSPARC    (2.x)   |(3.0,1,2,3) |   (3.5)    |
  2736.                 +-----------+-----------+------------+------------+
  2737.                 | PSR VER   |       1   |        0   |         0  |         
  2738.                 | PSR IMPL  |       4   |        4   |         4  |
  2739.                 | MCR VER   |       0   |        1   |         4  |         
  2740.                 | MCR IMPL  |       0   |        0   |         0  |  
  2741.  
  2742. 80)    How do I install SunOS4.1.x by hand(off a CD)?
  2743.  
  2744.     Installing SunOS-4.1.X from mounted cdrom:
  2745.     
  2746.     Note, these commands are examples; filenames may need to be adjusted 
  2747.     for your OS version or architecture.  You can perform this from a Sun3 
  2748.     or Sun4 running any SunOS-4.1.X, provided you take care to run the 
  2749.     right version of "installboot".  The man page includes details about 
  2750.     which systems require bootblocks with a.out format executables with
  2751.     headers, and which versions of installboot provide such.
  2752.     
  2753.     You need to change all occurances of /dev/rsd?a etc with
  2754.     the proper disk and partition information. For most SCSI
  2755.     disk configurations this device is /dev/rsd0a but check
  2756.     the boot messages to be sure.
  2757.  
  2758.     The example below assumes a SunOS 4.1.3_U1 distribution
  2759.     CD-ROM. Change sunos_4_1_3_u1 to the proper value for your
  2760.     distribution. 
  2761.  
  2762.  
  2763.     1) Label, format, and partition your new hard disk.
  2764.        be sure sd?b is bigger then your physical RAM will be
  2765.            (else system dump may overwrite /usr)
  2766.        Use the device name you are installing to.
  2767.        You may want to also make a /dev/rsd?d /var partition
  2768.        
  2769.        newfs /dev/rsd?a ; newfs /dev/rsd?d ; newfs /dev/rsd?f
  2770.        mount /dev/rsd?a /mnt
  2771.        mkdir /mnt/var ; mount /dev/sd?d /mnt/var    # if you made one
  2772.        mkdir /mnt/usr ; mount /dev/sd?f /mnt/usr
  2773.     
  2774.     2) mount -t hsfs -o ro /dev/sr0 /cdrom
  2775.        cd /mnt
  2776.        tar xpf /cdrom/export/exec/proto_root_sunos_4_1_3_u1
  2777.     
  2778.     3) Install kernel specific sys files, pick correct directory
  2779.        for your 'arch -k'
  2780.        
  2781.        mkdir /mnt/usr/kvm
  2782.        cd /mnt/usr/kvm
  2783.        tar xpf /cdrom/export/exec/kvm/sun4c_sunos_4_1_3_u1/kvm
  2784.        tar xpf /cdrom/export/exec/kvm/sun4c_sunos_4_1_3_u1/sys
  2785.     
  2786.     4) pick packages you want, but you must install usr
  2787.  
  2788.        cd /mnt/usr
  2789.        tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/usr
  2790.        tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/debugging
  2791.              tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/demo
  2792.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/games
  2793.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/graphics
  2794.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/install
  2795.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/networking
  2796.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/openwindows_demo
  2797.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/openwindows_fonts
  2798.         tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/openwindows_programmers
  2799.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/openwindows_users
  2800.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/rfs
  2801.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/security
  2802.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/shlib_custom
  2803.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/sunview_demo
  2804.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/sunview_programmers
  2805.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/sunview_users
  2806.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/system_v
  2807.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/text
  2808.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/tli
  2809.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/user_diag
  2810.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/uucp
  2811.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/versatec
  2812.        
  2813.     
  2814.         5) Install man pages if you want
  2815.          cd /mnt/usr
  2816.          tar xpf /cdrom/export/share/sunos_4_1_3_u1/manual    
  2817.   
  2818.         6) set up /sbin
  2819.          
  2820.          cp /mnt/usr/etc/hostconfig /mnt/sbin
  2821.          cp /mnt/usr/etc/ifconfig /mnt/sbin
  2822.          cp /mnt/usr/etc/init /mnt/sbin
  2823.          cp /mnt/usr/etc/intr /mnt/sbin
  2824.          cp /mnt/usr/etc/mount /mnt/sbin
  2825.          cp /mnt/usr/bin/sh /mnt/sbin
  2826.          cp /mnt/usr/bin/hostname /mnt/sbin
  2827.      
  2828.         7)  make new device nodes, you may do as needed
  2829.          
  2830.          cd /mnt/dev
  2831.          ./MAKEDEV std pty0 pty pty2 pty3 win0 win1
  2832.   
  2833.         8) additional root setup
  2834.  
  2835.          cp /mnt/usr/kvm/stand/vmunix /mnt
  2836.          chmod go-x /mnt/vmunix
  2837.          cp /mnt/usr/kvm/stand/boot.sun4 /mnt/boot
  2838.   
  2839.         9) run installboot
  2840.          I suggest reading the man page, note paths below, take care
  2841.          to run operating installboot binary, but specify device and
  2842.          paths for new boot disk.  You can even do this from a Sun3.
  2843.  
  2844.          /usr/kvm/mdec/installboot -ltv /mnt/boot \
  2845.                /mnt/usr/kvm/mdec/bootsd /dev/rsd?a
  2846.   
  2847.          if you are making a sun4c boot disk and running on a 4 or 4m
  2848.          machine:
  2849.  
  2850.          /usr/kvm/mdec/installboot -ltvh /mnt/boot \
  2851.               /mnt/usr/kvm/mdec/bootsd /dev/rsd?a
  2852.   
  2853.          if you are making a sun4 boot disk on a 4c machine, you need
  2854.          to use a 4c installboot, not the one on your sun4.
  2855.   
  2856.        10) if it will have a Lance interface
  2857.           echo newhostname > /mnt/etc/hostname.le0
  2858.          or if will have an Intel interface
  2859.           echo newhostname > /mnt/etc/hostname.ie0
  2860.   
  2861.        11) create /mnt/etc/fstab, /mnt/etc/defaultrouter, 
  2862.          /mnt/etc/resolv.conf
  2863.          /mnt/etc/hosts  (must have own entry here)
  2864.          I also create /mnt/etc/shells, /mnt/etc/ftpusers
  2865.          Depending on your timezone:
  2866.          don't forget to 'rm /usr/lib/zoneinfo/localtime', then
  2867.  
  2868.             'ln /usr/lib/zoneinfo/EST5EDT /usr/lib/zoneinfo/localtime'
  2869.   
  2870.        12) Perform sanity check
  2871.        umount and fsck he newly installed filesystems 
  2872.  
  2873.          umount /mnt/usr
  2874.          umount /mnt/var
  2875.          umount /mnt
  2876.             for the really paranoid:
  2877.          fsck /dev/rsd?f
  2878.          fsck /dev/rsd?d
  2879.          fsck /dev/rsd?a
  2880.   
  2881.     I suggest booting single user the first time ( from the '>'
  2882.     prompt  b sd() -s or from the ok prompt boot disk -s ).
  2883.     
  2884.     Knowing the above may save you from doing total re-installs just
  2885.     because of a messed up root partition or similar.  
  2886.     
  2887.     If you are copying an existing OS, instead of extracting distribution
  2888.     tar files, you may use the following before running installboot etc...: 
  2889.     
  2890.         dump 0dsf 6250 200000 - <directories and files to include> |
  2891.              (cd /mnt/<area> ; restore -rf - )
  2892.     or
  2893.         find . -depth -print | cpio -pdlm newdir
  2894.  
  2895.     You  use find command rules to limit to a device or skip/include
  2896.     specific files.
  2897.  
  2898.     You could use tar to copy these directories too but
  2899.     you will have to recreate all the devices using in MAKEDEV
  2900.     which can take a long time.
  2901.     
  2902.     Last Updated:  January 27, 1995.
  2903.  
  2904. 81)     There is a problem with the firmware on older SUN207 drives
  2905.         that makes them incompatible with the SPARCstation 10 series.
  2906.         Sun has been known to replace these at no charge, although
  2907.         there may not be an "official" return policy.  Your drive 
  2908.         must have firmware revision 19 or higher to be functional
  2909.         in a SPARCstation 10.
  2910.  
  2911. 82)    I'm running SunOS/4.1.x and every time I try to format my
  2912.         new 9GB SCSI disk I get "format failed" messages -- what's
  2913.         broke, and how can I fix it?
  2914.  
  2915.     The SunOS kernel has a default timeout of two hours for SCSI
  2916.         formatting -- if the time required to perform the format is
  2917.         longer, the format fails.
  2918.  
  2919.         Edit /usr/sys/scsi/targets/sddef.h and apply the following "diff",
  2920.         then rebuild the kernel:
  2921.  
  2922. *** sddef.h.orig  Tue Nov 29 07:52:53 1994
  2923. --- sddef.h  Tue Nov 29 07:52:53 1994
  2924. ***************
  2925. *** 396 ****
  2926. ! #define SD_FMT_TIME     120*60
  2927. *** 396 ****
  2928. ! #define SD_FMT_TIME     240*60
  2929.  
  2930.     Or you can use this small adb script to modify the SCSI
  2931.     format timeout in the running kernel.
  2932.     
  2933.     #!/bin/sh
  2934.     adb -k -w /vmunix /dev/mem  << EOF
  2935.     sd_fmt_time /W 0t9600
  2936.     EOF
  2937.  
  2938.  
  2939.     Last Updated:  April 14, 1995.
  2940.  
  2941. 83)       I can not get my new Exabyte 8505(or others) working under
  2942.          SunOS(or Solaris) What to do ?
  2943.  
  2944.     Out of the box this drive and other Exabytes are not supported
  2945.     under Solaris2.3 or SunOS4.1.x.
  2946.  
  2947.     Here is what to do under SunOS
  2948.     Modify /sys/scsi/targets/st_conf.c before, after, or between the 8200 
  2949.     insert the following:
  2950.  
  2951.     /* Exabyte 8mm 5GB cartridge  w/compression*/ 
  2952.     {
  2953.      "Exabyte EXB8505", 16, "EXABYTE EXB-8505", ST_TYPE_EXB8500, 
  2954.      1024, (ST_VARIABLE | ST_BSF | ST_BSR | ST_LONG_ERASE | ST_KNOWS_EOD), 
  2955.          5000, 5000,
  2956.          { 0x14, 0x15, 0x90, 0x8c },
  2957.          { 0, 0, 0, 0 } 
  2958.     },
  2959.  
  2960.     Once you've remade your kernel it appears as 4 different devices:
  2961.  
  2962.     /dev/rst0     - 2.3Gb             (8200 mode)
  2963.     /dev/rst8    - 5Gb               (8500 mode)
  2964.     /dev/rst16    - 2.3Gb compressed  (8200c mode)
  2965.     /dev/rst24    - 5Gb compressed    (8500c mode)
  2966.     
  2967.            The above assumes tape drive is installed at the default SCSI id.
  2968.  
  2969.     Under Solaris2.x do the following:
  2970.  
  2971.     Edit /kernel/drv/st.conf and add
  2972.  
  2973.     tape-config-list=
  2974.         "EXABYTE EXB-8505", "Exabyte 8505  8mm Helical Scan", "Exa8500c_sol2_3";
  2975.         Exa8500c_sol2_3 = 1,0x29,1024,0xCE39,4,0x14,0x15,0x90,0x8C,3;
  2976.  
  2977.     Once the device driver is re-loaded, the following densities will be
  2978.     accessible:
  2979.  
  2980.     /dev/rmt/0l   - 2.3Gb             (8200 mode)
  2981.     /dev/rmt/0m   - 5Gb               (8500 mode)
  2982.     /dev/rmt/0h   - 2.3Gb compressed  (8200c mode)
  2983.     /dev/rmt/0c   - 5Gb compressed    (8500c mode)
  2984.  
  2985.        The above assumes tape drive is installed at the default SCSI id.
  2986.  
  2987.        Since the default density specified above is 3 (last number in entry),
  2988.     when /dev/rmt/0 is specified, device /dev/rmt/0c (5Gb compressed) will
  2989.     be used.
  2990.  
  2991.     For SunOS and a 10-Gigibyte Exabyte the settings are as follows:
  2992.  
  2993.     /* Exabyte 8mm 10GB cartridge */
  2994.     {
  2995.             "Exabyte EXB-8500 8mm Helical Scan", 15, "EXABYTE EXB-8500",
  2996.             ST_TYPE_EXB8500, 1024,
  2997.             (ST_VARIABLE | ST_BSF | ST_BSR | ST_LONG_ERASE),
  2998.             5000, 5000,
  2999.             { 0x14, 0x15, 0x8C, 0x8C },
  3000.             {  0, 0, 0, 0 }
  3001.  
  3002.     The device is accessed via a +16 offset from the normal 
  3003.     tape devices ie /dev/rst{16,17}. Dump parameters are 
  3004.     dsb 54000 26000 126.
  3005.  
  3006.     For SunOS and the new SUN 14GB 8mm Drive:
  3007.  
  3008.     /* Exabyte 8mm 14GB TRI-DENSITY cartridge */
  3009.     {
  3010.             "Exabyte EXB-8505 8mm Helical Scan", 16, "EXABYTE EXB-8505",
  3011.             ST_TYPE_EXB8500, 1024,
  3012.             (ST_VARIABLE | ST_BSF | ST_BSR | ST_LONG_ERASE),
  3013.             5000, 5000,
  3014.             { 0x14, 0x15, 0x8C, 0x8C },
  3015.             {  0, 0, 0, 0 }
  3016.     }
  3017.  
  3018.  
  3019.     Note: Be sure to check out Exabytes web page at http://www.exabyte.com
  3020.  
  3021.  
  3022.     Last Updated:  May 22, 1996.
  3023.  
  3024.  
  3025.  
  3026. 84)     The keyboard keeps stop working after exiting X or Openwin.
  3027.     What to do?
  3028.  
  3029.     For the general case all you need to do is log in remotely
  3030.     and reset the keyboard using /usr/openwin/bin/kbd_mode -a
  3031.  
  3032.     If this does not work I have modified kbd_mode to do a full keyboard
  3033.      power on reset (ftp.ececs.uc.edu:/pub/sun-faq/Source/reset_keyboard.c)
  3034.  
  3035.     If that does not seem to help you may have a white on white
  3036.     screen so try to clear the colormap using clear_colormap.
  3037.  
  3038.     Make sure that you add kbd_mode -a  to all you X11 startup scripts.
  3039.  
  3040.     Last Updated:  April 14, 1995.
  3041.  
  3042.  
  3043. 85)     How do I re-build the kernel under SunOS4.x?
  3044.  
  3045.     Here is the procedure.
  3046.  
  3047.      1) cd /sys/`arch -k`/conf
  3048.      2) Read the README.
  3049.      3) Make a copy of the proper template file(ie cp GENERIC MYKERNEL)
  3050.      4) Edit MYKERNEL  - Remove any unneeded drivers. These are memory
  3051.                  wasters. Also, probably want to increase
  3052.                  MAXUSERS to at least 50.
  3053.      5) config MYKERNEL
  3054.      6) cd ../MYKERNEL
  3055.      7) make
  3056.      8) cp /vmunix /vmunix.save
  3057.      9) cp vmunix /vmunix
  3058.     10) Reboot machine to make the new kernel active. 
  3059.     
  3060.     Last Updated:  April 14, 1995.
  3061.     
  3062. 86)     How do I hook up a HP(or other) Desktop SCANNER?
  3063.  
  3064.     You need PINT which available from uniwa.uwa.edu.au (130.95.128.1)
  3065.      in /pub/pint.
  3066.  
  3067.     Last Updated:  March 31, 1995.
  3068.  
  3069. 87)     How do I find which process has a file open?
  3070.  
  3071.     Fuser and the the Public domain/Freeware utility lsof can be used
  3072.     to find processes that have files open and much more.
  3073.  
  3074.     Note: fuser on SunOS4.1.x is located in /usr/kvm.
  3075.  
  3076.     lsof can be ftped from vic.cc.purdue.edu:/pub/tools/unix/lsof/
  3077.  
  3078.     lsof and fuser are available for both Solaris 2.x and SunOS 4.1.x.
  3079.  
  3080.     Last Updated:  April 14, 1995.
  3081.  
  3082.  
  3083.     
  3084. 88)      How do I create a partition greater than 2-gig on SunOS4.1.x?
  3085.  
  3086.     The max size without any additional software is 2-gig under
  3087.     SunOS.  The only way to get larger partitions is to purchase
  3088.     Online: Disksuite for SunOS4.1.x from Sun. Not only can you create
  3089.     partitions of up to 1 TB, but you can grow partitions on the fly,
  3090.     mirror, and hotswap with ODS. However, you are still limited to
  3091.     2-Gig files.
  3092.  
  3093.     Note: Solaris2.3 or higher can have 1-Terabyte partitions.
  3094.  
  3095.  
  3096. 89)      Why do I keep having to answer the question 
  3097.     "CLEAN FLAG IN SUPERBLOCK IS WRONG; Fix?" when running fsck on
  3098.     an active filesystem?
  3099.  
  3100.     You are not supposed to under any circumstances run fsck on 
  3101.     a mounted filesystem. Under these cirumstances Fsck can itself
  3102.      cause inconsistencies to the filesystem and you should always
  3103.     you umount the filesystem frist.
  3104.     
  3105.  
  3106. 90)     Are dynamically linked setuid executables insecure?
  3107.  
  3108.     Not particularly.
  3109.  
  3110.     From the "ld" man page from SunOS 4.1.3:
  3111.  
  3112.           NOTE: when running a set-user- or set-group-ID program, ld.so
  3113.         will only search for libraries in directories it "trusts",
  3114.         which are /usr/lib, /usr/5lib, /usr/local/lib, and any
  3115.             directories specified within the executable as a result of
  3116.          -L options given when the executable was constructed.
  3117.  
  3118.     Of course you do always want to link with absolute pathnames
  3119.     when using the -L linker option and probably destroy any
  3120.     LD_* variables when running(just a little paranoia). 
  3121.  
  3122.  
  3123. 91)    How do I change the default router under Solaris1.x or Solaris2.x?
  3124.  
  3125.     Just create or edit the file /etc/defaultrouter and put the hostname
  3126.     or ip address of the router that you want to use.
  3127.  
  3128.     If you are not running NIS(yp), then add the router entry in the
  3129.     local /etc/hosts table.
  3130.  
  3131.     If you are running NIS(yp), then add the router entry in the NIS
  3132.     hosts map on the NIS master and run make which will build the NIS
  3133.     maps and push them to the other slave servers.
  3134.  
  3135.  
  3136. 92)    What is the difference between the Domestic vs International version
  3137.     of SunOS 4.1.x?
  3138.  
  3139.     There is no "domestic" vs "international" version of SunOS 4.1.x.
  3140.     There is only one version the "international".
  3141.  
  3142.     What makes a  "domestic" version of the SunOS is a the purchase
  3143.     and installation of US Encryption Kit available from with the
  3144.     United States and Canada(?).
  3145.  
  3146.     If you have installed this kit you must use the libc jumbo patch
  3147.     for the "domestic" version. Otherwise always install the 
  3148.     "international" version.
  3149.  
  3150.     If you have the symbols des_encrypt etc in your shared library,
  3151.      and vi -x works, and you the commands crypt(1) and des(1) you
  3152.     have the "domestic" version of the library and associated commands.
  3153.  
  3154.     Do an nm /lib/libc.a | grep des_encrypt | grep T
  3155.     if this cames back with anything you have the "domestic"
  3156.     libraries.
  3157.  
  3158.     Last Updated:  January 27, 1995.
  3159.  
  3160. 93)    Where can I get the latest version of TOP? 
  3161.  
  3162.     The latest version of "top" is always available via anonymous FTP
  3163.     from the host "eecs.nwu.edu" in the directory "/pub/top".  Additional
  3164.     modules will be made available in the directory "/pub/top/m".
  3165.  
  3166.     The current version supports both SunOS4.1.x and Solaris2.x 
  3167.     machines including full Multiprocessor support (even on machines
  3168.     with CPU labeled 0 and 2 and not 0 and 1).
  3169.  
  3170.     Last Updated:  January 27, 1995.
  3171.  
  3172. 94)    Can I run the SX card in a Sun running SunOS4.1.x?
  3173.  
  3174.     THEY DO NOT EXIST NOR WILL THEY(unless one of the Clone makers
  3175.     writes one). If you want to use the SX, YOU MUST USE Solaris 2.3 or
  3176.     above.
  3177.  
  3178.     If you MUST run Solaris 1.x then get your salesperson to exchange it
  3179.     for a TGX/TGX+(or other 8-bit card) or go with a 3rd party framebuffer
  3180.     such as the RasterFlex-24.
  3181.  
  3182. 95)    I just changed my shell to tcsh(or pick a favorite) and
  3183.     get  "530 User xyzz access denied" when ftping into this 
  3184.     machine. What is the problem?
  3185.  
  3186.     You need to list all "valid" shells in /etc/shells. An example
  3187.     of this file might be as follows:
  3188.  
  3189.         /bin/sh
  3190.         /bin/ksh
  3191.         /bin/csh
  3192.         /local/bin/tcsh
  3193.         /local/bin/zsh
  3194.         /local/bin/bash
  3195.         /local/bin/rc
  3196.  
  3197.     This files does not normally exist and the default members are
  3198.     /bin/csh and /bin/sh(and /bin/ksh on Solaris2.x).
  3199.  
  3200.     Last Updated:  January 10, 1995.
  3201.  
  3202. 96)    How do I put several dump images on one tape?
  3203.  
  3204.     All you need to do is use the No rewind devices. For example,
  3205.     to backup /, /usr, /var, and /home to one tape(assuming all
  3206.     will fit) you could do something like this:
  3207.  
  3208.     mt -f /dev/rst8 rew        # Rewind the tape to the beginning
  3209.     dump 0budfs 126 54000 /dev/nrst8 6000    /
  3210.     dump 0budfs 126 54000 /dev/nrst8 6000    /usr
  3211.     dump 0budfs 126 54000 /dev/nrst8 6000    /var
  3212.     dump 0budfs 126 54000 /dev/nrst8 6000    /home
  3213.  
  3214.     Where /dev/nrst8 is a no rewind device under SunOS. Any
  3215.     of the valid tape devices in /dev that start with a 'n' are
  3216.     no rewind devices.    
  3217.  
  3218.     Under Solaris change dump to ufsdump and /dev/nrst8 to /dev/rmt/0n
  3219.     All devices in /dev/rmt/ ending in a 'n' are no rewind devices.
  3220.  
  3221.     You can safely ignore any messages about dump rewinding the tape.
  3222.     To restore files off the tape use the following command:
  3223.  
  3224.         restore -ifs /dev/nrewinddevice filenumber  -- SunOS
  3225.         ufsrestore -ifs /dev/rmt/nrewinddevice filenumber  -- Solaris
  3226.  
  3227.         -ifs is for interactive restore  or use
  3228.             -rfs to restore entire dump file.
  3229.  
  3230.     It is a good idea to try restore something off this tape
  3231.     to verify that the dump worked. Of course you do not have to do
  3232.     this for ever tape just the first few and maybe spot check some
  3233.     after that.
  3234.     
  3235.     Note: the above method can be adopted to other backup commands
  3236.           like tar and cpio.
  3237.  
  3238.     Last Updated:  January 27, 1995.
  3239.  
  3240. 97)    Can I "dump" the whole disk to tape in one command?
  3241.     (even with several slices/partitions)
  3242.  
  3243.     No, you have to back up each slice separately because
  3244.     dump does not do "image" backups. See question  96 for
  3245.     the proper procedure.
  3246.  
  3247.     You could use the command dd to make an "image" backup of the
  3248.     entire disk but all you could do is restore the entire
  3249.     backup and not bits and pieces.
  3250.  
  3251.     Last Updated:  January 27, 1995.
  3252.  
  3253. 98)    Where do I get software for my HP JetDirect Ethernet Card?
  3254.  
  3255.     Software for both SunOS4.1.x and Solaris2.x is available.
  3256.  
  3257.     You can get it via WWW using the following:
  3258.  
  3259.         http://www.hp.com/Misc/Peripherals.html
  3260.  
  3261.     Last Updated:  December 5, 1995.
  3262.  
  3263. 99)    I do not know the root password, What do I do?
  3264.  
  3265.     First thing to try: (SunOS 4.x.x)
  3266.     
  3267.     Get to the boot monitor prompt by holding down the stop and
  3268.     A. Type sync to help ensure that you have no filesystem
  3269.     corruption on booting. You will need to hit STOP-A again to
  3270.     interrupt the boot process.
  3271.  
  3272.     Now at the '>' prompt type 
  3273.     
  3274.         b  -s 
  3275.  
  3276.     Or at the 'ok' prompt type 
  3277.  
  3278.         boot -s
  3279.  
  3280.     This should give you a root prompt as long as the console
  3281.     entry in /etc/ttytab is marked secure.
  3282.  
  3283.     If you get the '#' you should be able to edit the 
  3284.     the /etc/passwd file and remove the encrypted string for
  3285.     root's passwd or set it to what you want using the passwd
  3286.     command. 
  3287.  
  3288.     Once you are done type reboot to bring the machine back up.
  3289.  
  3290.     Second thing to try: (SunOS 4.1.x and Solaris2.x)
  3291.  
  3292.     Boot off the network or CD-ROM and mount the root device
  3293.     and edit the passwd file.
  3294.  
  3295.     Note: both of these assume no eeprom password.
  3296.  
  3297.     Last Updated:  January 17, 1995.
  3298.  
  3299. 100)    Where do I find a POP server for Solaris or SunOS?
  3300.  
  3301.     You can get qpop from the following location
  3302.  
  3303.         ftp://ftp.qualcomm.com/quest/unix/servers/popper/
  3304.  
  3305.     Or you can get the IMAP distribution which contains a IMAP server,
  3306.     a POP 2 server, and a POP 3 server from the University of Washington
  3307.     from
  3308.  
  3309.         ftp://pine.cac.washington.edu/mail/imap.tar.Z
  3310.  
  3311.     This site also contains a list of IMAP client software.
  3312.  
  3313.     You should avoid the old Berkeley popper because of
  3314.     its many bugs and it is no longer well supported.
  3315.     Both of the above popper programs are well supported.
  3316.  
  3317.     Last Updated: February 9, 1995.
  3318.  
  3319. 101)    How do I clear Stale NFS Filehandles?
  3320.  
  3321.     You have to umount the offending filesystem and remount.
  3322.     You may able to do something like this:
  3323.  
  3324.     mount -o remount /offending-filesystem
  3325.  
  3326.     If this does not work try:
  3327.  
  3328.     umount /offending-filesystem
  3329.     mount /offending-filesystem
  3330.  
  3331.     Finally, if none of the above works reboot.
  3332.  
  3333.     Last Updated:  January 17, 1995.
  3334.  
  3335. 102)    How can I use the same ethernet interface for two different IP networks?
  3336.  
  3337.     The Solaris kernel supports the concept of IP aliases and you
  3338.     can do something like this 
  3339.  
  3340.         ifconfig le0:1     ipaddr netmask ....
  3341.  
  3342.     Only 254 (1-255) virutal addresses per physical ethernet are supported.
  3343.     If you need more you will have to get another ethernet card.
  3344.     
  3345.     You can do the same under SunOS4.1.x if you install the VIF code.
  3346.     Can be picked up via anonymous FTP from:
  3347.  
  3348.             ftp://ftp.nethelp.no/pub/net/vif-1.11.tar.gz
  3349.  
  3350.     or one of the mirror sites in the US:
  3351.  
  3352.             ftp://ftp.netcom.com/pub/he/henderso/vif-1.11.tar.gz
  3353.             ftp://ftp.wimsey.com/pub/crypto/sun-stuff/vif-1.11.tar.gz          
  3354.     See the VIF README at
  3355.  
  3356.             http://www.nethelp.no/net/vif/readme.html
  3357.  
  3358.     or its FAQ at
  3359.  
  3360.             http://www.nethelp.no/net/vif/faq.html
  3361.     
  3362.     for more details.
  3363.  
  3364.     Last Updated:  July 8, 1996.
  3365.  
  3366.  
  3367. 103)     Where do I get CAP for Solaris (or SunOS 4.1.x)?
  3368.  
  3369.     Here is a list of ftp sites for CAP.
  3370.  
  3371.         munnari.OZ.AU           /mac/{cap60.tar.Z,cap.patches/*
  3372.         rutgers.EDU             /src/{cap60.tar.Z,cap60.patches/*
  3373.         ftp.kuis.kyoto-u.AC.JP  /net/cap/{cap60.tar.Z,cap60.patches/*.Z
  3374.         src.doc.ic.AC.UK        /mac/multigate/{cap60.tar.Z,cap.patches/*
  3375.  
  3376.     CAP is now at patch level 195.  Note that now, the main cap file
  3377.     is cap60.pl100.tar.Z, which has patches 1-100 applied.  The user
  3378.     should then get from cap.patches/
  3379.         patches.101-126.tar.Z
  3380.         patches.127-143.tar.Z
  3381.         patches.144-154.tar.Z
  3382.         patches.155-162.tar.Z
  3383.         patches.163-182.tar.Z
  3384.         patches.183-192.tar.Z
  3385.  
  3386.     and any more recent patches (193 through 195).
  3387.  
  3388.     Under Solaris make sure that you are using gcc or /opt/SUNWspro/bin/cc
  3389.     to compile. Do not use /usr/ucb/cc.
  3390.  
  3391.     Last Updated:  July 22, 1995.
  3392.  
  3393. 104)     Where do I get DOOM for Solaris (or SunOS 4.1.x)?
  3394.  
  3395.     Doom for SunOS 4.1.x is not available at this time and it
  3396.     is unlikely that it will be.
  3397.  
  3398.     Doom for Solaris2.4 is available and can be retrieved
  3399.     from playground.sun.com:/pub/doom/sundgadoomv1.8.tar.Z
  3400.     The X version of doom in this tar file works fine 
  3401.     under Solaris2.3. The DGA version does not.
  3402.  
  3403.     This is the SPARC version. There are no plans for
  3404.     an x86 version at this time.
  3405.  
  3406.     Last Updated:  January 25, 1995.
  3407.  
  3408.  
  3409. 105)    Why does "dump/ufsdump" tell me it is rewinding the tape even
  3410.     when I specified the "no rewind" device?
  3411.  
  3412.     Dump can not tell the difference between a "rewind device"
  3413.     and a "non rewind device". However, "dump" does
  3414.     not rewind the tape even though it says it is rewinding
  3415.     the tape.
  3416.  
  3417.     So you can safely ignore the "the tape rewinding" messages
  3418.     from dump when using "no rewind devices".
  3419.  
  3420.     Last Updated:  April 14, 1995.
  3421.  
  3422. 106)    How can you I speed up filesystem restores and/or copies?
  3423.  
  3424.     In all versions of SunOS 4.1.2 and later (including Solaris2.x) 
  3425.     you can use special filesystem level ioctl. A program written
  3426.     by Caspar Dik that uses this ioctl can be downloaded as
  3427.  
  3428.     ftp.ececs.uc.edu:/pub/sun-faq/Source/fastfs.c
  3429.  
  3430.     Please remember that using this program will in many
  3431.     cases cause fsck to be completely unable to fix your disk in
  3432.     the case of unexpected system shutdown.  Yes, it goes faster -
  3433.     at a very significant risk of losing the entire filesystem.
  3434.  
  3435.     When is using this appropriate?
  3436.     When:
  3437.  
  3438.     1) You're creating a new filesystem via a copy from somewhere else.
  3439.     2) You're removing all the files from a partition.
  3440.     3) You're updating a partition with files from elsewhere, and the
  3441.            entire contents are restorable.
  3442.  
  3443.     Remember, this doesn't make IO go any faster, it just allows metadata
  3444.     to be written asynchronously.  If you are creating a 100 M file, this
  3445.     won't help much.  If, on the other hand, you are writing 100000 1k
  3446.     files, this will help enormously.
  3447.  
  3448.     Remember to restore the safe mode before shutting the system down!
  3449.  
  3450.     Think of this as a large chainsaw; it can be useful but has significant
  3451.     chance of unintended side effects when used by the inexperienced.
  3452.  
  3453.     Last Updated:  April 14, 1995.
  3454.  
  3455. 107)     I just added a new device (ie harddisk) to Solaris I have rebooted
  3456.     but the system still can not find it. What do I do?
  3457.  
  3458.     You need to do a reconfigure reboot which requires
  3459.     you to do the following:
  3460.  
  3461.     Either:
  3462.          touch /reconfigure 
  3463.         reboot
  3464.     Or  
  3465.         reboot -- -r
  3466.     Or
  3467.  
  3468.     If you are at the prom prompt you can do: 
  3469.  
  3470.         ok boot -r
  3471.     or
  3472.          > b -r 
  3473.  
  3474.  
  3475.     Last Updated:  Sept 18, 1995.
  3476.