home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk1.iso / answers / aux-faq / part2 < prev    next >
Internet Message Format  |  1994-09-27  |  52KB

  1. Path: bloom-beacon.mit.edu!grapevine.lcs.mit.edu!uhog.mit.edu!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!news.umbc.edu!haven.umd.edu!ames!newsfeed.gsfc.nasa.gov!jagubox!jim
  2. From: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
  3. Newsgroups: comp.unix.aux,news.answers,comp.answers
  4. Subject: Apple A/UX FAQ List (2/4)
  5. Supersedes: <3637@jagubox.gsfc.nasa.gov>
  6. Followup-To: comp.unix.aux
  7. Date: 27 Sep 94 11:32:48 GMT
  8. Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA
  9. Lines: 1059
  10. Approved: news-answers-request@MIT.Edu
  11. Expires: 12 Oct 94 00:00:00 GMT
  12. Message-ID: <3716@jagubox.gsfc.nasa.gov>
  13. References: <3714@jagubox.gsfc.nasa.gov>
  14. Reply-To: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
  15. NNTP-Posting-Host: jagubox.gsfc.nasa.gov
  16. Mime-Version: 1.0
  17. Content-Type: text/plain; charset=US-ASCII
  18. Content-Transfer-Encoding: 7bit
  19. Summary: Latest posting of FAQ for A/UX
  20. Keywords: FAQ A/UX
  21. Xref: bloom-beacon.mit.edu comp.unix.aux:9469 news.answers:26362 comp.answers:7466
  22.  
  23. Archive-name: aux-faq/part2
  24. Last-modified: Tue Sep 27 07:27:56 EDT 1994
  25.  
  26.          This is the Frequently Asked Question (FAQ) list for A/UX 3.x.x
  27.  
  28.  
  29. \\\\\\\\\\\\\\\\\\\\\\ START OF PART 2 OF 4 //////////////////////
  30.  
  31. ====================================
  32. **** Hints and Words Of Wisdom: ****
  33. ------------------------------------
  34.  
  35. o Depending on your setup, A/UX allocates either 10% or 50% of memory for disk
  36.   buffers (that is, the value of 'NBUF' is either 0 or -1... see kconfig(1M))
  37.   [The kernel for the AWS95 has, by default, a NBUF value of -1 whereas
  38.   "everyone else" has NBUF = 0]. If you have a lot of RAM and A/UX is only
  39.   allocating 10%, you can greatly increase system performance by increasing
  40.   the allotment. However, you cannot use kconfig to specify "20%" but you must
  41.   give it an actual number to use. The way to determine the number of buffers
  42.   being used, run "pstat -m". This will give you the number of buffers that
  43.   are currently allocated. For example, if the value is 1000, then you know
  44.   that to increase the number of buffers to 20%, you must use 'kconfig' to set
  45.   'NBUF' to 2000. Under 3.0.2 (and later), you can use the Memory cdev (as
  46.   root) to do this as well. In fact, this is the recommended way.
  47.  
  48.   Please note that if you change the amount of RAM you have, you'll need to
  49.   change the value of 'NBUF.' I suggest that before you add|remove RAM, you
  50.   use 'kconfig' to reset 'NBUF' to 0, then do the RAM change and see how your
  51.   system performance is. If needed, you can then use the above to increase
  52.   (or decrease) the number of disk buffers.
  53.  
  54. o You can run A/UX on the original MacII, however the PMMU chip must be
  55.   installed. You can also use one of the many 68030 upgrades for the MacII,
  56.   such as the Marathon '030, but the MacII ROMs won't recognize the PMMU
  57.   capabilities onboard the CPU. You'll need to get the MacII FDHD ROM Upgrade
  58.   Kit. This kit replaces your ROMs with IIx ROMs, thus enabling you (and
  59.   A/UX) to use the upgrade. The kit also replaces your SWIM chip (floppy
  60.   controller) enabling you to use FDHD disks (if such a drive is installed)
  61.   too... thus the name of the kit. This kit can be had for about $120 although
  62.   some dealers also include a FDHD drive as well, bumping the price up to
  63.   about $430.
  64.  
  65. o You can configure the built-in serial ports for hardware handshaking
  66.   (RTS & DTS) _or_ dialup security (DTR & CD) but not both, due to the
  67.   lack of a sufficient number of modem control lines.
  68.  
  69. o When using ftp, unless you are _sure_ that a file is, in fact, a true
  70.   Text file, set the ftp mode to Binary. This is especially true when
  71.   downloading GIFs and "true" Mac files. If it's a BINHEXed file or a
  72.   uuencoded file, then you can specify Ascii mode (in some cases, it's
  73.   required). If the file you wish to download has the ".tar" or ".Z" suffix,
  74.   then you _need_ Binary; if the suffix is ".uu" or ".hqx" then use Ascii.
  75.   If you are using a MacOS-ftp utility, then using MacBinary may confuse A/UX
  76.   (well, the Unix side of it). If the file is a tar file (for example),
  77.   compressed or not, MacBinary attaches some MacOS "information" to the file
  78.   that tar can't handle. Use 'fcnvt' to change the file to Apple Double to
  79.   "strip" this extra by separating the forks:
  80.   
  81.     $ fcnvt -v -d <input.file> <output.file>
  82.  
  83.   To avoid having A/UX attempt the CR->NL change when copying the file over to
  84.   A/UX, change the Creator to "A/UX" and Type to "BIN " before drag-copying
  85.   the file.
  86.  
  87.   So, the flow should be as follows:
  88.  
  89.     o Set the file's Creator and Type to something safe ("A/UX"
  90.       and "BIN ") to avoid CR->NL translation.
  91.     o Drag copy over to A/UX.
  92.     o Use 'fcnvt' to convert file to Apple Double format.
  93.     o Use UNIX utilties as normal.
  94.  
  95. o To download GIF files via anon-ftp, be sure to specify Binary mode. Then
  96.   use 'setfile' to create the correct Type and Creator fields (for, example,
  97.   for Giffer use 'setfile -t"GIFf" -c"Bozo"'). You can then keep this file
  98.   on your A/UX disk or transfer it over to your MacOS disk (See Q&A #M.07).
  99.  
  100. o If you want to rebuild the "/" desktop, be _sure_ to avoid circular
  101.   symbolic links (links to "." and/or "..") or else you'll be waiting a
  102.   looooong time. In a similar way, make sure that you don't have NFS volumes
  103.   mounted because they will add a LOT to the time required to rebuild the
  104.   Desktop...
  105.  
  106. o With the newest version of HDB UUCP (1.16 - see above), use the "-u"
  107.   option on 'getty' to keep /dev/tty?? settings sane. Also use the "-t" option
  108.   with a value like 60 or so to make getty hang up a hung login attempt.
  109.  
  110. o If your A/UX setup is a true multi-user system, or, at the least, has
  111.   Guest as an active account, it is a Very Good Idea to give each user their
  112.   own personal System Folder (use 'systemfolder'). This is _very_ true for
  113.   root! As root, you should also avoid using the global System Folder
  114.   (mac/sys/System Folder) as an alternate Sys. Folder... there's very little
  115.   need to do so anyway.
  116.  
  117.   Oh yeah... you can't just copy /mac/sys/System Folder to something like
  118.   $HOME/System Folder... you must use 'systemfolder' and add/change/delete
  119.   things as required.
  120.  
  121. o It's very easy to replace TextEditor as your Finder-double-click text
  122.   editor. All you need to do is copy the application to /mac/bin (make sure
  123.   that it's permissions are 755 bin|bin), edit /etc/profile and /etc/cshrc
  124.   to change FINDER_EDITOR to point to the application. Now, A/UX text files
  125.   will show up as that application's filetype. An _excellent_ replacement is
  126.   BBEdit Lite (v 2.31). It is really recommended!
  127.  
  128. o A/UX's 'login' supports additional dialup security. This is enabled by
  129.   creating|editing two files: /etc/dialups and /etc/d_passwd. The format of
  130.   /etc/dialups is a list of ports that you want to have dialup passwds. eg:
  131.  
  132.     /dev/tty0
  133.     /dev/tty10
  134.  
  135.   The format of /etc/d_passwd is a list which associates a password with
  136.   a login program (which is the last field in /etc/passwd). eg:
  137.  
  138.     /bin/sh:&nk7h7ak92j3H:
  139.     /bin/ksh:8hw$jK4ft92jx:
  140.     /bin/csh::
  141.     /usr/lib/uucp/uucico::
  142.  
  143.   In this case, if anyone attempts to login on ports tty0 or tty10 and are
  144.   using 'ksh' or 'sh', they'll get asked for a secondary (dialup) password.
  145.   Users using 'csh' or 'uucico' will not. All other logins that use login
  146.   programs not entered in /etc/d_passwd (like, for example,
  147.   /usr/local/bin/bash) will _not_ be allowed to login on the "secure" port.
  148.  
  149. o If you want to install a program that uses a "complex" installation
  150.   procedure (like for Canvas, Word, Stuffit, etc...) then you should not
  151.   try to do a fresh install under A/UX. Instead, install under the real MacOS,
  152.   reboot A/UX and then install needed files to your A/UX System Folder.
  153.   Programs that, when installed, hack around with the System (beyond things
  154.   like Fonts) itself, most probably won't work under A/UX, since you really
  155.   can't patch System (unless you are handy with ResEdit and know exactly
  156.   what resources to add|change... even then, you are taking a chance...)
  157.  
  158. o If you get an error message to the effect that you have a bad SuperBlock
  159.   when doing a 'fsck' on a disk, try having 'fsck' use another SuperBlock.
  160.   Block #16 is always an alternate SuperBlock block, so you can try:
  161.  
  162.     $ fsck -b 16 /dev/rdsk/cxxxxxxxx
  163.  
  164. o A/UX has two versions of the setpgrp() call. The first is the standard
  165.   SysV version and takes no arguments. The other is the standard BSD version
  166.   and takes 2 arguments (setpgrp(pid, gpid)). However, if, when porting
  167.   programs, you have added the 'set42sig()' call, or link with -lbsd, then
  168.   you _must_ use the 2nd form (actually, the 2nd form is required whenever
  169.   COMPAT_BSDTTY and COMPAT_BSDSIGNALS are set); the 1st form will usually
  170.   fail. A non-portable way of handling this is always calling setpgrp() as
  171.   follows:
  172.  
  173.     setpgrp(0, getpid());
  174.  
  175.   Now, no matter what the compatibility flags are, the function will work
  176.   ('cc' and 'gcc' under A/UX presently ignores the passed arguments when the
  177.   no-argument version is called).
  178.  
  179. o It's always a Good Idea to keep "original" stuff separate from locally
  180.   added or modified stuff. '/usr/local' is a very good place for this.  To
  181.   add manual pages to this location, create a '/usr/local/man' directory.
  182.   Now make a symbolic link from '/usr/catman/L_man' to '/usr/local/man'. This
  183.   does two things: (1) Allows 'man' to search down the '/usr/catman' directory
  184.   to find your local man pages while keeping the actual data under
  185.   '/usr/local'; (2) The local man-page set will be searched first (due to
  186.   the name L_man) as would be desired. If you _really_ want, you can also
  187.   make '/usr/local/catman' a link to '/usr/local/man'.
  188.  
  189. o If you've added a number of additional man pages, you may want to snag the
  190.   'man-utils' package on jagubox.gsfc.nasa.gov. It includes a collection of
  191.   programs and scripts that make viewing, installing and making man pages
  192.   easier. Also includes a replacement for '/usr/bin/man'.
  193.  
  194. o Some 'configure' scripts may fail due to some line-length and symbol-length
  195.   limitations in /bin/sh (you'll see something like a "symbol too long"
  196.   error). You can get around this by changing the script type from:
  197.  
  198.     #!/bin/sh
  199.  
  200.   to:
  201.  
  202.     #!/bin/ksh
  203.  
  204.   to run them as 'ksh' scripts... In fact, I personally think it's better
  205.   to run _all_ 'sh' scripts as 'ksh' scripts if possible ;)
  206.  
  207. o IMHO, Courier and Monaco really don't look that nice for CommandShell
  208.   windows. Monoca is too plain and Courier takes up too much room on the
  209.   window (and with both, it's hard to see "."s, hard to tell the difference
  210.   between "O" and "0", etc...). I use a font called CSFont here on jagubox.
  211.   It's a tweaked version of the old, original Courier bitmaps that Apple
  212.   used to provide. I really like it. It's available via anon-ftp here on
  213.   jagubox in /pub/aux/Misc_stuff. I'm currently working on tweaking a
  214.   Bold version of CSFont... stay tuned :)
  215.  
  216. o If you are doing any in-depth porting, then do yourself a favor and snag
  217.   a copy of libUTIL.a from jagubox. libUTIL.a is a collection of many
  218.   functions that aren't included in the standard A/UX libraries, but are
  219.   needed (or very useful) when porting (esp. BSD sources or ANSI stuff). Some
  220.   examples of included functions are memmove(), strerror(), strdup() and
  221.   more. If you have a suggested function to include, let Jim Jagielski
  222.   (jim@jagubox.gsfc.nasa.gov) know.
  223.  
  224.  
  225.  
  226. ==============
  227. **** Q&A: ****
  228. --------------
  229.  
  230. :::::::::::::::::::::::::::::
  231. ::::: GENERAL QUESTIONS :::::
  232. :::::::::::::::::::::::::::::
  233.  
  234. ===================================
  235. G.01)  What's A/UX? Is it any good?
  236. -----------------------------------
  237.  
  238. A/UX is Apple's implementation of Unix (it's Apple's UNix) for various
  239. Macintosh computers. A/UX merges two computing environments, Unix and the
  240. Macintosh Finder OS, and provides the full functionality of both.
  241.  
  242. A/UX is based on AT&T Unix System V.2.2 with numerous extensions from V.3, V.4
  243. (such as streams) and BSD 4.2/4.3 (such as networking, the Fast File System,
  244. job control, lpr, NFS with Yellow Pages, SCCS and sendmail 5.64).  It also
  245. provides full POSIX compliance. A/UX provides SYSV, BSD and POSIX compatiblity
  246. switches and libraries. A/UX is fully compiant with the System V Interface
  247. Definition (SVID).
  248.  
  249. A/UX provides all three standard shells: sh, csh and ksh. X-Windows is also
  250. provided standard.
  251.  
  252. A/UX 3.x.x incorporates System 7 for the Macintosh allowing for the use of
  253. the vast majority of Macintosh applications under A/UX. System7 and Unix
  254. and fully integrated under A/UX 3.x.x with the Unix file system being seen as
  255. a disk drive by the Finder.
  256.  
  257. There are quite a few people who feel that A/UX is a near-perfect implemen-
  258. tation of Unix. Of course, every operating system (even AIX!) has it's share
  259. of devotees, so that's not a very valid scale of whether the system is any
  260. good. A/UX _is_ Unix... it's not some form of pseudo-Unix. It insulates the
  261. user from Unix, if required, but the System Administrator will need to become
  262. Unix-aware. Furthermore, if you want straight Unix, you can get it... it's
  263. not a chore to bypass all the "gingerbread." People may also complain that
  264. A/UX is based on an "obsolete" version of AT&T Unix (V.2.2). In many ways,
  265. Apple's extensions make A/UX very V.3-like (V.3 is in many ways an enhanced
  266. V.2... it even uses the V.2 kernel)... The list of extensions to A/UX are
  267. impressive. Compare what you get standard with other systems and you'll be
  268. shocked! On some, 'cc', 'f77', NFS, etc... are costly options.
  269.  
  270. The main consideration (and opposition) to A/UX is the platform it runs on:
  271. The Macintosh. Some consider this a boon, others a bust. At present, Apple's
  272. top-level workstation is the Quadra 800, a 33MHz 68040 based system. Some
  273. consider this obsolete; others consider it overkill; others consider it, like
  274. Goldilocks, "just right."
  275.  
  276. If you need super-fast state-of-the-art number crunching capability then A/UX
  277. may not be for you... the Q800 benchmarks at maybe 10-16 SPECmarks (depending
  278. on compiler used, external cache size, etc...) and you can get lots faster
  279. with other platforms. Of course, you'll have to "settle" for their operating
  280. systems, but if you need it, then that's how you'll get it.  Of course, this
  281. doesn't mean that A/UX "crawls"...
  282.  
  283. There are very few people who need this type of performance though. If you
  284. need (or just _want_ ) a Unix workstation with the speed and power of Unix
  285. and the user interface and application selection of the Macintosh then A/UX
  286. is the way to go. In many, many ways, A/UX is the Unix "for the rest of
  287. us"... even if we are long-time Unix junkies. If you love the Mac, you'll
  288. love A/UX; if you love Unix, you'll love A/UX... and if you want a near-
  289. perfect marriage of the two, then you'll love A/UX.
  290.  
  291. Yes, A/UX is good... very, very good :)
  292.  
  293. ========================================================================
  294. G.02)  What's the minimum system I need (CPU, disk and RAM) to run A/UX?
  295. ------------------------------------------------------------------------
  296.  
  297. A/UX 3.0 works on the MacII (with PMMU _or_ 68030 upgrade with FDHD ROM's
  298. installed), IIx, IIcx, IIci, IIfx, SE/30, IIsi (with 68882 chip) and the
  299. Quadra 700|900|950 computers. A/UX 3.0.1 adds support for the Q800 and Centris
  300. Machines (the Centrises _must_ have the real 68040 w/FPU - See Q&A #G.03).
  301. A/UX does not support the ClassicII, PowerBook, Duo or LC families.  A/UX
  302. does _not_ work on the new 840av and 660av machines but will run on the new
  303. Quadra 610 and 650s (recall that A/UX requires the _real_ 68040 chip!) with
  304. a little bit of work:
  305.  
  306.   You should make a copy of the A/UX Install Boot floppy and then copy the
  307.   Enabler for the Q610|650 onto this copy. You then boot up from this floppy
  308.   and install A/UX as usual. Finally, you'll need to copy the Q610|650
  309.   Enabler onto the A/UX MacPartition (or whatever MacOS disk you will use
  310.   when starting up your Mac and booting A/UX); do this by first booting off
  311.   a boot floppy or boot CD and then copy the Enabler over. You do _not_ need
  312.   to make any changes to the A/UX System Folder (i.e. the System Folder used
  313.   under A/UX).
  314.  
  315. Recall that A/UX _is_ UNIX and thus contains some very hardware specific
  316. drivers. It's for this reason (and not Apple not doing things correctly) that
  317. A/UX won't work on newly released platforms. To support a new platform, at
  318. least _some_ work (and possibly extensive work in some cases) must be done.
  319.  
  320. If you really want to cut it close, 8MB RAM and an ENTIRE 80MB hard disk will
  321. just make it. You'll have little room for user files (unless you clear out
  322. some space by removing /games and maybe /catman) and depending on your
  323. workload, may suffer from low performance (due to swapping... you may even
  324. encounter the infamous swap messages :)
  325.  
  326. A much better system would be 16MB of RAM and about 200MB of disk space.
  327. This would give you much more room to grow as well as sufficient RAM to
  328. increase your performance (assuming that you tune some kernel parameters).
  329. All in all, more RAM is prefered: 20MB (or more) is ideal.
  330.  
  331. ===================================
  332. G.03)  What's new about A/UX 3.x.x?
  333. -----------------------------------
  334.  
  335. A/UX 3.x.x incorporates the full functionality of System7. It supports the
  336. QuickTime multimedia extension and the new Mac Quadra computers (not the AV
  337. machines, however). A/UX 3.x.x includes X11R4 in it's distribution, as well
  338. as MacX. Installation of A/UX is much easier that it was before and can be
  339. installed on any 3rd party hard disk using the "new and improved" HD Setup
  340. application (see Q&A #A.16 though).
  341.  
  342. 3.0.2 is a later version of A/UX. 3.0.1 added support for the Q800 and
  343. the Centris machines (650 and 610) as long as they have the _real_ 68040 chip
  344. (68RC040) installed (Support for the C650 is official; support for the C610,
  345. which _requires_ the 040 be replaced since none have the required one
  346. installed, is non-official but known and verified). A/UX 3.0.2 will also run
  347. on the new Quadra 610 and 650; see G.02 to see how. To get 3.0.2, you'll need
  348. to install 3.0.1 and then apply the AWS Tune-Up 1.0 to upgrade to 3.0.2. This
  349. upgrade is free.
  350.  
  351. 3.1 is the latest version of A/UX. 3.1 greatly improves performance and
  352. reliability as well as fixes some bugs. It does not, however, add support for
  353. any other Macs. 3.1 is "tweaked" for the AWS95, but can be run on other
  354. non-AWS95 Macs as well (see Q&A G:09).
  355.  
  356. 3.0.1, in addition to supporting newer Macs, provides performance boosts, bug
  357. fixes, better Finder emulation and other enhancements over 3.0. 3.0.2 does
  358. the same for 3.0.1. The upgrade from older versions of A/UX to 3.0.2 really
  359. _is_ worth the pretty small amount of money required. 3.0.2 is a better and
  360. more solid performer, both UNIX-wise and Finder-wise, than it's predecessors.
  361. 3.1 requires 3.0.1|3.0.2 and provides much better performance and should be
  362. seriously considered!
  363.  
  364. ====================================================
  365. G.04)  What's the diff between 3.0.2 and 3.0.2(wgs)?
  366. ----------------------------------------------------
  367.  
  368. 3.0.2 is an exact binary-copy of 3.0.2(wgs) (which is the version of A/UX
  369. for the WGS 95 server) except for some minor cosmetics and the exclusion of
  370. the server-related applications. This includes RetroSpect for A/UX (see Q&A
  371. #E.03). Some of the major differences between 3.0.2 and 3.0.2(wgs) include:
  372.  
  373.     o Buffer cacher size (default kconfig parameters)
  374.     o Packages installed during Easy Install
  375.     o Swap space size on Easy Install
  376.     o Autologin enabled in 3.0.2(wgs)
  377.     o lpr daemon on in 3.0.2, off in 3.0.2(wgs)
  378.     o Partition choices in HDSC SetUp
  379.  
  380. As you can see, they are all related to how the system is setup...
  381.  
  382. ============================
  383. G.05)  How can I order A/UX?
  384. ----------------------------
  385.  
  386. A/UX is available preinstalled on Mac systems or on CD-ROM. To find the
  387. nearest A/UX reseller, call 1-800-538-9696. You'll need access to a compatible
  388. CD-ROM drive to install A/UX (or a friendly dealer if you go that route).
  389. Please note that at the present, you can only order 3.0.1; you'll then need
  390. to apply the AWS Tune-Up 1.0 (available on jagubox and aux.support.apple.com)
  391. to upgrade up to 3.0.2.
  392.  
  393. The part numbers (and suggested retail price) for 3.0.1 are (US and Canada):
  394.  
  395.     M0598LL/C     A/UX 3.0.1 CD-ROM product                 ($795)
  396.                   (contains Essential Manuals)
  397.     M0597LL/B     A/UX 3.0.1 Essential Manuals              ($329)
  398.     M0430LL/B     A/UX 3.0.1 Programmers Manuals            ($329)
  399.     M0431LL/B     A/UX 3.0.1 Administrators Manuals         ($329)
  400.  
  401.     M0599LL/C     A/UX 3.0.1 Update (updates previous       ($250)
  402.                   versions to 3.0.1)
  403.     M0489LL/B     A/UX 3.0.1 Programmers Manual Update      ($285)
  404.     M0490LL/B     A/UX 3.0.1 Admin. Manual Update           ($285)
  405.  
  406. If you are interested in upgrading your Q950 to the Apple WGS-95 Server
  407. (which uses A/UX 3.0.1) here are the part numbers (with SRP):
  408.  
  409.     M6940Z/A      WGS 95 PDS Upgrade Kit                     ($2499)
  410.     M6945Z/A      WGS 95 PDS + DAT Upgrade Kit               ($4399)
  411.  
  412. By the way, MacWarehouse is now selling the A/UX 3.0.1 CD-ROM package for
  413. $619... Their phone number is 1-800-255-6227; ask for part#SYS0009.
  414.  
  415. To get 3.0.2, you need to snag the AWS Tune-Up 1.0 DiskCopy image files from
  416. aux.support.apple.com or jagubox and apply the patches. Although the Tune-Up
  417. is called AWS, it's really for _all_ A/UX users. Note that you need 3.0.1 to
  418. upgrade to 3.0.2.
  419.  
  420. If you want to upgrade to 3.1, please see Q&A G.09.
  421.  
  422. ==============================================
  423. G.06)  What's the upgrade path for A/UX 3.0.2?
  424. ----------------------------------------------
  425.  
  426. You can upgrade to 3.0.2 (from any other version of A/UX) by purchasing the
  427. A/UX 3.0.1 CD-ROM Product Upgrade (Apple part # MO599LL/C). The suggested
  428. price is $250. You then need to snag the AWS Tune-Up 1.0 disks to upgrade
  429. 3.0.1 to 3.0.2.
  430.  
  431. It's recommended that if you do upgrade, that you completely repartition
  432. your disk via the Installer for two reasons:
  433.  
  434.     1. The default (suggested) partition sizes have changed
  435.  
  436.     2. You install 3.0.1 on a "clean" system.
  437.  
  438. If you want to upgrade to 3.1, please see Q&A G.09.
  439.  
  440. ============================================================
  441. G.07)  What are Right-To-Copy and Right-To-Upgrade licenses?
  442. ------------------------------------------------------------
  443.  
  444. If you have bought at least one copy of A/UX 3.0.x and you have other Mac
  445. CPUs that you would like to install A/UX on, you don't need to reorder the
  446. entire product. You can order a Right-To-Copy license for each Mac you want
  447. to install A/UX on and then copy your A/UX to that Mac. This is cheaper than
  448. buying a whole new CD-ROM package. It's not right to copy unless you have a
  449. Right-To-Copy.
  450.  
  451. If those other Macs are already running A/UX, but an older version, then you
  452. need to order a Right-To-Upgrade license for each one you want to upgrade.
  453. As above, you then copy your 3.0.x over to that Mac.
  454.  
  455. Note that in both cases, you must have purchased at least 1 copy of A/UX
  456. 3.0.x. The Right-To-* licenses just "authorize" you to then copy that over
  457. to other Macs.
  458.  
  459. The A/UX Essential Manual Set (that comes with A/UX 3.0.x) is not provided
  460. with either license. If you need more, you'll need to order them
  461.  
  462. =========================================
  463. G.08)  How can I report bugs that I find?
  464. -----------------------------------------
  465.  
  466. The official E-mail address is reports@aux.support.apple.com. If you subscribe
  467. to the A/UX Technical AnswerLine, you can also use that method. The former
  468. isn't acknowledged although the latter is.
  469.  
  470. For completeness, also post the report to comp.unix.aux.
  471.  
  472. There is also a HyperCard stack called "Apple Bug Reporter" that Apple
  473. recommends using. I have a copy and can make it available via anon-ftp if
  474. there is a demand.
  475.  
  476. ===================================
  477. G.09)  What's the word on A/UX 3.1?
  478. -----------------------------------
  479.  
  480. The latest version of A/UX, 3.1, has signed been signed off on and is now
  481. shipping.  3.1 offers better performance than 3.0.2, fixes for various bugs,
  482. better MacOS emulation and some updated programs and applications.  3.1
  483. requires 3.0.1|3.0.2 and costs $199 (+ $5 for shipping, $10 for FedEx). You
  484. can order it directly by calling 1-800-769-2775, x7822. Ask for the A/UX 3.1
  485. WGS Upgrade Kit. If that doesn't work, try asking for part # M2885Z/A.
  486.  
  487. 3.1 has only been _fully_ tested on the AWS95 platform and not on all the
  488. other platforms that A/UX runs on; however, nothing was done to it to prevent
  489. it from working on other machines. 3.1 is "only" for the AWS95s in the same
  490. way that 3.0.2 was "only" for them ;)
  491.  
  492. Anyway, here is a short and non-official list of some 3.1 features:
  493.  
  494.    o sendmail 8.6.4 now included
  495.    o support for new Berkeley NEWDB-NDBM package
  496.    o Added support for "dynamic" use of removables, such as SyQuests
  497.    o NEC CD-ROMs now supported !!
  498.    o StyleWriter II supported
  499.    o Support for UNIX file systems up to 4GB
  500.    o Enhanced I/O performance (big improvement for fast machines and/or
  501.      disks!)
  502.    o Interupting a NFS server now works
  503.    o Solaris clients no longer crash A/UX
  504.    o Heavy UFS and NFS I/O no longer causes 'panic: freeing free inode'
  505.      errors and deadlocks
  506.    o I/O no longer causes excessive dropped kernel clock interupts
  507.    o The size of .fs_cache no longer limited to 32MB
  508.    o Death of 'catsearchd' now detected and responded to (used to crash
  509.      the MacOS)
  510.    o Desktop rebuilds no longer cause the Finder to terminate when the
  511.      rebuild is done.
  512.    o ThinkC runs under A/UX
  513.    o Much better MacOS compatibility
  514.    o 'Temporary Items' correctly handled
  515.    o Various "needed" programs (like /bin/sh) recompiled w/o shared
  516.      libs so that the system is still restorable after /shlib is munged
  517.    o Various bug fixes and improvements, including:
  518.       cpio (new option -L to follow sym-links)
  519.       df (handles longer bus names)
  520.       fsck (ignores 'noauto' and '-p'&'-y' now work correctly)
  521.       make (uses SHELL in makefile)
  522.       passwd (MAXUID now 65534)
  523.       restore (can now restore named pipes)
  524.  
  525. ====================================================
  526. G.10)  What's the future of A/UX with the PowerMacs?
  527. ----------------------------------------------------
  528.  
  529. Apple has recently (August 5th, 1994) officially committed itself to UNIX
  530. on the desktop for PowerPC-based Macs (it had always been know that Apple
  531. would have UNIX available for it's PowerPC-based servers). Of course, this
  532. will _not_ be a port of A/UX, as it now exists, over to the PowerMac. Instead,
  533. it will be based on AIX, provided by IBM; Apple will further refine AIX (as
  534. Apple did with it's base of SVR2.2 for A/UX) and add the MacOS environment
  535. on top of it in the form of MAS (Macintosh Application Services). As such,
  536. it looks like PowerOpen-A/UX (for lack of a better term) will be extremely
  537. A/UX-like (it's hoped that Apple's improvements on AIX will be at least as
  538. good as it's improvements on SVR2.2).
  539.  
  540. There _is_ a catch though... PowerOpen-A/UX will _not_ run on todays
  541. PowerMacs but will instead run only on the PCI-based PowerMacs ("Enterprise
  542. Client"), such as "TNT" or "Tsunami". Performance promises to be a _real_
  543. kicker and should blow your socks off. Apple has said that PowerOpen-A/UX
  544. will be available "the first half of 1995" but expect it a bit later than
  545. that, if past history has any validity at all :)
  546.  
  547. Another nice thing about PowerOpen-A/UX is that it will run the Taligent
  548. Application environment... Cool!
  549.  
  550. ==========================================================
  551. G.11)  I can't use A/UX. What UNIX alternatives are there?
  552. ----------------------------------------------------------
  553.  
  554. If you can't or *gasp* won't run A/UX on your Mac, then you should consider
  555. A/UX's only real contender: MachTen by Tenon.
  556.  
  557. MachTen approaches UNIX on a Mac from a different viewpoint. Whereas A/UX
  558. is the MacOS running on-top of UNIX, MachTen is UNIX running on top of the
  559. MacOS. This means that compatibilty problems aren't an issue, since the
  560. MacOS isn't being "emulated" ala A/UX. You also avoid needing to create
  561. separate UNIX file systems since MachTen uses the MacHFS file system.  Also,
  562. MacOS programs run at "top speed" although UNIX processes are slower than on
  563. A/UX.  However, since it runs on-top of the MacOS, MachTen is limited to the
  564. inherent limitations and constraints of the MacOS. For example, MachTen's
  565. "kernel" isn't truly preemptive multitasking, although the UNIX processes
  566. are multitasked via MachTen. Also, local users can easily bypass MachTen's
  567. file-level security. As the MacOS evolves, these "short-comings" will no
  568. doubt be removed from the lower layer of the OS. Finally, MachTen runs on
  569. the PowerMacs under emulation, with a native version promised later this
  570. year.
  571.  
  572. MachTen is based on the Mach kernel and the BSD-Reno/Net2 version of BSD.
  573. It's a very good alternative to A/UX for those machines that can't run A/UX
  574. or for those interested in having UNIX run on their Macs (say for learning
  575. UNIX or doing some UNIX development) but don't want their Macs to run UNIX :)
  576.  
  577. There are also some ports "in the works" for MacBSD and Linux for Macs,
  578. but they still have _quite_ a ways to go...
  579.  
  580. %%% For more info, contact info@tenon.com %%%
  581.  
  582.  
  583.  
  584. :::::::::::::::::::::::::::::::::
  585. ::::: ADMINISTRATION ISSUES :::::
  586. :::::::::::::::::::::::::::::::::
  587.  
  588. ==================================================
  589. A.01) How come my Login screen is gray, not color?
  590. --------------------------------------------------
  591.  
  592. Because that's the way Apple wanted it :) Actually, the reason why is because
  593. the 'scrn' resource is missing from 'System' in /mac/sys/Login System Folder.
  594. If you're handy, you can copy 'scrn' from some other System and paste it in
  595. Login's using ResEdit. Make sure the "Is Color" field in 'scrn' is "1".
  596.  
  597. =================================================================
  598. A.02) How come my Login ScreenSaver doesn't see both my monitors?
  599. -----------------------------------------------------------------
  600.  
  601. This is also due to the fact (see Q&A #A.01) that the System file in
  602. /mac/sys/Login System Folder lacks a 'scrn' resource. If you copy this
  603. resource from a System to knows about your monitor setup into Login's System,
  604. then the screensaver will knows about all your monitors.
  605.  
  606. ================================
  607. A.03)  Swap space error messages
  608. --------------------------------
  609.  
  610. A.03)  Even though I have lot's of swap space and only a little bit is
  611.        being used, I STILL get a lot of messages saying that my swap
  612.        space is running low. What's the buzz?
  613.  
  614. Unix is justifyably concerned about having adequate swap space. A system
  615. crash caused by this beast is a sight to behold. However, A/UX seems EXTREMELY
  616. nervous about the amount needed before it starts getting fidgety.  If you do
  617. a "/etc/swap -l" and see that you're only using a small portion of your swap
  618. space and have a "lot" left, then you can safely ignore the messages (just
  619. how much is a "lot" is hard to say, but if you have 25000 blocks and are only
  620. using 1000 or 2000, then I'd say you were fine). If you DO need more swap
  621. space, then you have a few options:
  622.  
  623.     a. Using 'kconfig', reduce the number and size of buffers.
  624.        This isn't really a good idea since it could really degrade
  625.        performance as well as possibly causing more panics.
  626.  
  627.     b. Add more swap space.
  628.        Fine, if you have it. You could either add another disk
  629.        as swap (nice) or repartition your present disk to create
  630.        a larger Swap partition (Ack!).
  631.  
  632.     c. Add more memory.
  633.        If you have more memory, then this will reduce the need to
  634.        augment it with swap space... RAM's cheap too! There is an
  635.        old rule of thumb that the size of Swap should be about
  636.        2 to 3 times the amount of RAM, which would seem to contradict
  637.        the above. The thing is that if with the _present_ workload
  638.        you are swapping like crazy, then adding RAM will reduce
  639.        tha swapping. If, however, you start increasing the work-
  640.        load, then swapping will start again, and you better have
  641.        enough of it! This was the original intent of the Rule-Of-
  642.        Thumb. At the very least, Swap should always be at least
  643.        as big as the amount of RAM you have.
  644.  
  645. ================================================
  646. A.04)  How can I copy a complete file system...
  647. ------------------------------------------------
  648.  
  649.   ...from one disk|partition to another?
  650.  
  651. You have three options: dd, dump.bsd and cpio (pax MAY work but tar won't
  652. since it won't handle special-type files). If the two partitions are the same
  653. size, you can use 'dd' (to copy c0d0s0 to c5d0s3, e.g.):
  654.  
  655.     $ dd < /dev/rdsk/c0d0s0 > /dev/rdsk/c5d0s3
  656.  
  657. To use dump.bsd, you can use the following command (this assumes that the
  658. destination disk in mounted on /mnt and you want to copy the root file system
  659. which is on SCSI 0... of course, you must be root and it would be MUCH better
  660. to do this in single-user mode):
  661.  
  662.     $ dump.bsd 0f - /dev/rdsk/c0d0s0 | (cd /mnt; restore xf -)
  663.  
  664. To use cpio, you must use it in a pipe with find. For example, to copy /usr
  665. (let's assume it's on it's own file system) to another disk|partition (assume
  666. it's mounted on /mnt) then you can use (you can add the "-depth" flag to
  667. 'find' if you want):
  668.  
  669.     $ cd /usr
  670.     $ find . -print | cpio -pdmuva /mnt
  671.  
  672. The problem with this is that if the mount point of the destination disk
  673. falls under the file system's directory you're trying to copy, you'll load
  674. up your destination disk. For example, the following would NOT work:
  675.  
  676.     $ cd /
  677.     $ find . -print | cpio -pdmuva /mnt
  678.  
  679. because 'find' would see the stuff in /mnt (which you just put in there) and
  680. try to copy in back to /mnt! To way to avoid this is by adding a little
  681. filter:
  682.  
  683.     $ cd /
  684.     $ find . -print | grep -v '^./mnt*' | cpio -pdmuva /mnt
  685.  
  686. If you have GNU find, then you can use it with it's '-xdev' option, which
  687. prevents find from walking through other file systems:
  688.  
  689.     $ cd /
  690.     $ find . -xdev -print | cpio -pdmuva /mnt
  691.  
  692. dump.bsd creates a "truer" copy of your file system (the access and
  693. modification dates aren't mucked with... with the find/cpio pipe, at the
  694. least the directory dates are touched) but pre-3.1 versions of restore
  695. couldn't restore named pipes. These are easy to creat though using
  696. 'mknod'. The only named pipes included in the default A/UX distribution are:
  697.  
  698.     /usr/lib/cron/FIFO
  699.         prw-------   1 root     sys            0 Oct 18 16:08
  700.  
  701.     /usr/spool/lpd/AppleTalk/pipe
  702.         prw-rw----   1 daemon   daemon         0 Oct 19 06:11
  703.  
  704. ========================
  705. A.05)  What's with UUCP?
  706. ------------------------
  707.  
  708. UUCP under 3.x.x is very improved over it's previous "incarnation" under 2.0.1.
  709. 3.x.x uses HDB (for HoneyDanBer) UUCP instead of standard UUCP. Some nice
  710. things are bidirectional getty (also known as uugetty in other Unixs) which
  711. allows both incoming and outgoing communication over serial lines as well as
  712. better performance and reliability. I hear that setting it up is _much_ easier
  713. as well.
  714.  
  715. You may seriously consider getting Alexis Rosen's "sendmail.cf" file for use
  716. under UUCP sendmail. This config file has been modified to allow UUCP and
  717. sendmail to work beautifully together. You may also want to consider simply
  718. installing smail to replace sendmail.
  719.  
  720. Under 3.0., be sure that you are running the latest version: 1.16. It can be
  721. found on aux.support.apple.com in aux.patches/supported/3.0. Be sure that you
  722. get the new dial.o on ftp.apple.com (pub/earlw/dial) to avoid breaking syslog.
  723. Under 3.0.1 (and later) all is OK.
  724.  
  725. ==============================================
  726. A.06)  How can I log anonymous ftp entries?...
  727. ----------------------------------------------
  728.  
  729.   ...in.ftpd has a -l option, but it doesn't work.
  730.  
  731. Jim Jagielski (jim@jagubox.gsfc.nasa.gov) has hacked in.ftpd to enable logging
  732. via the syslogd daemon. It also pays extra close attention to anonymous ftp
  733. logins. It's available (as well as other ports|hacks) on jagubox. Also
  734. available on jagubox is a port of the latest version of wuarchive's ftpd
  735. server for A/UX. wu-ftpd is a super-nice ftp server with lots of extras
  736. and neat features!
  737.  
  738. The real reason why '-l' doesn't work with in.ftpd is that there's no real
  739. way to send this option to the daemon. A/UX 'inetd' doesn't allow you to add
  740. options to '/etc/servers'. John Coolidge (coolidge@apple.com) has ported the
  741. BSD-reno version of 'inetd' to overcome this limitation. Jim Jagielski has
  742. since been updating and maintaining 'inetd'. This version of 'inetd' also has
  743. some nice features, such as rereading /etc/servers when sent SIGHUP. It's
  744. available on jagubox. This version of 'inetd' has also been modified to log
  745. whenever it spawns a background daemon as well as logging which host requested
  746. the daemon.
  747.  
  748. %%% For more info, contact Jim %%%
  749.  
  750. ============================================
  751. A.07)  'df' shows different results for root
  752. --------------------------------------------
  753.  
  754. A.07)  How come when I do a 'df' as a regular user, it shows me a different
  755.        number of free blocks compared to when I run it as 'root'?
  756.  
  757. One of the details about the BSD Fast File System is that it sets aside
  758. some amount of the available disk space (if the file system was created by
  759. HD SC Setup, then %5 is set aside; if created by 'newfs' then 10% is set
  760. aside... this value can be changed by using the 'tunefs' command) and makes
  761. it unavailable to regular users. This prevents 2 things: filling up a file
  762. system and destroying performance by having a "too full" file system. 'root',
  763. however, does have access to this "extra" disk space, hence the difference in
  764. the numbers reported by df between 'root' and "regular joe".
  765.  
  766. As mentioned above, if you used HD Setup to create the partitions (or your
  767. A/UX came preinstalled), then the "set aside" value for these file systems
  768. is 5%, not the "default" of 10%... This was simply to give users more space.
  769. Reducing this value beyond 5% is Not A Good Idea.
  770.  
  771. ======================================
  772. A.08)  Does A/UX LocalTalk support IP?
  773. --------------------------------------
  774.  
  775. Nope... not at all.
  776.  
  777. ==========================================================
  778. A.09)  How do I get MPW 3.1 to work? It hangs my system...
  779. ----------------------------------------------------------
  780.  
  781. MPW 3.1 doesn't work under A/UX although 3.2 does. In the meantime, you
  782. can make 3.1 work by breaking into MacsBug when it's hung and entering:
  783.  
  784.     pc=pc+2;g
  785.  
  786. See Q&A #M.04 for info about entering MacsBug...
  787.  
  788. ===============================================================
  789. A.10)  Can I refer to a file on my Mac system from within A/UX?
  790. ---------------------------------------------------------------
  791.  
  792. A/UX's 'Finder' mode is the only way (currently) to access both file systems.
  793. You could write a hybrid application that could attach to the Finder world
  794. (a la, CommandShell and cmdo which can "see" both file systems), but you
  795. can't access HFS volumes from the A/UX kernel directly.  In a similar vein,
  796. you can't 'mount' an HFS volume on an A/UX inode.
  797.  
  798. =================================================================
  799. A.11)  How can I adjust the amount of virtual memory Finder uses?
  800. -----------------------------------------------------------------
  801.  
  802. There are three ways to do this. The first is very easy: you simply use the
  803. Memory cdev to adjust the "memory" size, logout and then log back in. You
  804. must be 'root' to do it this way.
  805.  
  806. The 2nd way is to use the 'TBMEMORY' environment variable. You can set it's
  807. "value" equal to the amount of memory you wish to use. For example:
  808.  
  809.     set TBMEMORY=10m         (in .profile for ksh or sh or /etc/profile)
  810.        -or-
  811.     setenv TBMEMORY 10m      (in .login for csh)
  812.  
  813. configures Finder for 10M.
  814.  
  815. You can also edit /mac/bin/mac32|mac24 (or .mac32|.mac24 if you are using
  816. this method) to call 'startmac' with the memory size you want using the
  817. "-m" option. For example:
  818.  
  819.     /mac/bin/startmac -m 8m > $SMLOGFILE 2>&1 &
  820.                      -------
  821.  
  822. in (.)mac32|(.)mac24 will configure an 8M environment.
  823.  
  824. Please note that under the 24-bit mode (mac24), you can only access a maximum
  825. of 8MB of RAM. It won't complain if you try to setup more, it just won't do
  826. it. Furthermore, if you actually have more than 8MB (say 12), the "About This
  827. Macintosh" window will show "Built-in Memory: 12,288 K; Total Memory: 8,192K".
  828.  
  829. The default behavior of 3.0 (and earlier) was to allocate all the RAM to the
  830. MacOS. Thus, if you had 20MB, A/UX would, unless told otherwise, allocate
  831. 20MB for the MacOS-emulation. Under 3.0.1 (and later), this is slightly
  832. changed: A/UX will usually not allocate all RAM to the MacOS but will instead
  833. impose a 16MB maximum (this can be changed via Memory or TBMEMORY). Whatever
  834. version of A/UX you are running, it's a Good Idea not to allocate _all_ RAM
  835. for the Finder. This is because A/UX allocates itself a chunk, so if you give
  836. the Finder "all" of it, you can cause swapping and paging which can seriously
  837. degrade performance at times.
  838.  
  839. If the value set in 'Memory' and TBMEMORY disagree, the value determined by
  840. TBMEMORY is used.
  841.  
  842. ================================================================
  843. A.12)  Is there an archive of comp.unix.aux out there somewhere?
  844. ----------------------------------------------------------------
  845.  
  846. Yes, it's located on aux.support.apple.com under archives/comp.unix.aux.
  847.  
  848. ==========================================
  849. A.13)  How come I can't use color under X?
  850. ------------------------------------------
  851.  
  852. Apple's X (R4), and Thomas Eberhardt's X11R5 all support color. However, you
  853. must start the server with the "-screen 0 -depth 8" option (similar command
  854. with other screens if you have them). You can add these options to the command
  855. line or to your server's defaults file. You can also create a ".X11" file in
  856. your home directory which includes the line:
  857.  
  858.     X -screen 0 -depth 8
  859.  
  860. to get the same effect. Make sure that ".X11" is executable for this to work
  861. ("chmod 755 .X11").
  862.  
  863. ===========================================
  864. A.14)  Accessing MacOS filenames under A/UX
  865. -------------------------------------------
  866.  
  867. A.14)  Using the command shell interface, I'm trying to access some Mac files
  868.        (that have strange names) but I can't; the program returns an error and
  869.        I can't access the file. What's going on?
  870.  
  871. The problem is that sh and csh don't understand the Mac "special" characters
  872. that are in the filenames. They don't expect filenames with characters that
  873. are represented by 8-bits. ksh is "8-bit clean" and thus would be able to
  874. access the file. For example, to remove Moire, just type:
  875.  
  876.     $ ksh           #this creates a Korn shell child
  877.     % rm M?ire      #match the weird 'o'
  878.     % exit          #get back in your old shell
  879.  
  880. You could also use emacs' DIRED or the Gnu File utilities to do this, but
  881. ksh is right here on the system so it's a bit easier. Of course, another very
  882. easy way is to use the MacOS interface and do the deletion|rename|whatever
  883. the "Mac" way. Please note that if what you are MacOS deleting is a symbolic
  884. link to a directory, what gets Trashed is actually the contents of the
  885. directory as well as the link! This is due to the fact that to the Finder,
  886. the link looks like a folder, and the entire thing gets deleted.
  887.  
  888. ============================================
  889. A.15)  Installer problems on 3rd party disks
  890. --------------------------------------------
  891.  
  892. A.15)  I heard the the Installer for 3.x.x works on "any" 3rd party
  893.        hard disk. Well, it doesn't on mine!
  894.  
  895. Well, the Installer will work with any 3rd party disk but there are a few
  896. wrinkles... The HD Setup application in the 3.x.x Installer is unique in that
  897. not only does it create A/UX partitions but it also creates the actual file
  898. systems in those partitions (basically it runs 'newfs'). Now if you have used
  899. some other HD utility program (such as SilverLining or FWB HDT) to create
  900. the partitions and then attempt to install A/UX on that disk, the Installer
  901. sees that the partitions are there and then _assumes_ that they were created
  902. by HD Setup and therefore have the file systems already created.  Of course,
  903. the file systems don't exist yet, just the partitions, so the installation
  904. fails.
  905.  
  906. You have a few options:
  907.  
  908.  a. Run the Installer on a newly formatted disk. This means that HD Setup
  909.     will do all the partitioning (etc...) and the installation will proceed.
  910.     Note that this means you will be "stuck" with the Apple drivers whenever
  911.     you are in the _real_ MacOS Finder.
  912.  
  913.  b. If you want to use the drivers on your HD utility (for stuff like,
  914.     maybe, password protection of partitions) then you have two (maybe three)
  915.     additional options:
  916.  
  917.    i. Use 'a' above to install A/UX. Then use your HD utility program to
  918.       "take over" the disk, disabling (or even removing) the Apple drivers
  919.       and installing it's own. Note that if there isn't enough space to
  920.       install it's drivers, most will attempt to "shrink" the MacOS partition
  921.       to make room. Most can do this with no problem, but why take the risk...
  922.       when you partition the disk, leave about 64K available as free space.
  923.  
  924.   ii. Use your HD utility to create the partitions. Then, before you
  925.       run the Installer, run 'newfs' "by hand" to create the file systems so
  926.       that the installation can proceed.
  927.  
  928.  iii. Use your HD utility to format (etc...) your disk and create
  929.       _only_ the MacOS partition. Now run the Installer. In most cases HD
  930.       Setup will work fine with the driver installed on the disk.  You can
  931.       now use it to create the A/UX partitions.
  932.  
  933.       <<ED: I _know_ this (iii) works with FWB HDT>>
  934.  
  935. Please note that HD SC Setup will only create the file systems if run under
  936. A/UX. If you run it under the MacOS, it can only partition...
  937.  
  938. ==========================
  939. A.16)  RetroSpect for A/UX
  940. --------------------------
  941.  
  942. A.16)  Since RetroSpect will no longer be bundled with A/UX 3.0.2,
  943.        how can I get it?
  944.  
  945. Very early reports indicated that RetroSpect for A/UX might be bundled with
  946. A/UX 3.0.2 as it is with the AWS95 version of 3.0.2. This is no longer the
  947. case (if it ever _was_ ). However, if you are a registered owner of RetroSpect
  948. 2.0, you can order an upgrade to RetroSpect A/UX. The cost is around $200
  949. and to order (or more info) you can call 1-800-225-4880 (have your
  950. registration number handy). International customers should call 510-849-0293.
  951.  
  952. Please note that if you have the Pisces card installed (with the WGS95), then
  953. _only_ RetroSpect A/UX will work and _only_ under the A/UX environment.  You
  954. will not be able to access your DAT under the real MacOS!
  955.  
  956. ==========================================
  957. A.17)  How can I configure CAP under A/UX?
  958. ------------------------------------------
  959.  
  960. For the answer, snag a copy of CAP.txt which is available on jagubox (in
  961. /pub/aux/Info for anon-ftp).
  962.  
  963. ===========================================
  964. A.18)  What are some good books about A/UX?
  965. -------------------------------------------
  966.  
  967. Except for Apple's complete manual set, there are no books specifically about
  968. A/UX. (Well, there's one but it's most probably out of print.  It is most
  969. definately out of date. It's called "The A/UX Handbook" by Jan Harrington
  970. and it's written for A/UX 2.0).
  971.  
  972. There are some _very_ good books about UNIX in general however. The best of
  973. the pack (IHMO) is "UNIX Administration Guide for System V" by Thomas and
  974. Farrow. Another good book is the "UNIX System Administration Handbook" by
  975. Nemeth, Snyder and Seebass. Since A/UX is a mix of SystemV and BSD both books
  976. are worthwhile ("UNIX Sys. Ad. Handbook" deals "mostly" with BSD systems).
  977. Another must-have is "UNIX Power Tools" from O'Reilly and Associates.
  978.  
  979. For general information about shells and programming there's no better book
  980. than "The UNIX Programming Environment" by Kernighan and Pike. For the 'ksh'
  981. shell, the best book I've encountered is "Learning the Korn Shell" by Bill
  982. Rosenblatt.
  983.  
  984. O'Reilly and Associates has a wide selection of UNIX-based books. You're
  985. bound to find what you're looking for from them. You can contact them either
  986. via Email (nuts@ora.com) or Phone (1-800-998-9938).
  987.  
  988. There is also a list (with over 160 entries) of UNIX books (and mini-reviews)
  989. located on ftp.rahul.net in 'pub/mitch/YABL/yabl'.
  990.  
  991. ========================================
  992. A.19)  'panic ialloc' error when booting
  993. ----------------------------------------
  994.  
  995. A.19)  When booting up, I get a "panic ialloc, dup alloc" (or other)
  996.        error message and A/UX won't boot. What can I do?
  997.  
  998. This is due to the fact that some file system damage exists on the Root file
  999. system. By default, A/UX Startup will only run 'fsck' on the root file system
  1000. if the system is marked as "dirty." So even if damage exists, as long as the
  1001. disk was cleanly 'umount'ed, 'fsck' won't check it out and fix it.
  1002.  
  1003. I recommend always having A/UX Startup fully check out the disk before booting
  1004. A/UX. It takes a while, but it's worth it. To do this, choose Booting from
  1005. the Preferences menu. Now change the command under "AutoRecovery" to "fsck
  1006. /dev/default" (it was "fsck -y -p /dev/default").  When you do this, you'll
  1007. notice that the radio button changes from "Check root file system" to "Custom
  1008. command"... that's OK. After that, A/UX will always run 'fsck' on Root. If
  1009. you are doing this, you might as well have A/UX run a full 'fsck' on all
  1010. file-systems too. Check out fsck(1m) and fstab(4) for how to do this... one
  1011. way is to just edit /etc/bcheckrc and remove the options to the "/etc/fsck"
  1012. command.
  1013.  
  1014. If you don't want to do this but you do have some damage that prevents A/UX
  1015. from booting, then you can cancel the boot-up process (either select "Exit"
  1016. or hit "Command-."). Then type "fsck /dev/default" and then, when 'fsck' is
  1017. done, type "boot" (or "launch"). Sometimes you must run 'fsck' a coupla times
  1018. to fully fix the file system if there was extensive damage.
  1019.  
  1020. ========================================
  1021. A.20)  Is traceroute available for A/UX?
  1022. ========================================
  1023.  
  1024. This is kinda a trick question. The actual source for traceroute is readily
  1025. available and compilable for A/UX. However, traceroute makes use of raw
  1026. sockets. The original implementation of sockets by Berkeley contained a bug
  1027. in raw sockets that prevented traceroute from working correctly. This bug was
  1028. subsequently fixed in later versions of most UNIXes out there, but not in
  1029. A/UX. However, Apple _does_ know about the fix, since they included a fixed
  1030. 'bnet' driver with their distribution of traceroute for 2.0.1/3.0.  Even so,
  1031. for some strange reason, they never incorporated this fix in later versions
  1032. of the 'bnet' driver. Thus, the short answer is, except for 3.0, traceroute
  1033. will not work under A/UX, due to the fact that Apple has neglected to fix
  1034. a "buggy" 'bnet' driver, even though the know about the problem and the fix.
  1035.  
  1036. ==============================================
  1037. A.21)  What is KEEPALIVE and how can I use it?
  1038. ==============================================
  1039.  
  1040. KEEPALIVE is a method implemented in Berkeley sockets and TCP/IP (and in
  1041. A/UX) that periodically polls a connected socket to determine if it's
  1042. still "alive" or whether the client on the other end has dropped off.
  1043. If the connected client doesn't respond, A/UX will consider the connection
  1044. broken and send SIGPIPE to all connected processes. For this feature to
  1045. be actually used, programs must set the SO_KEEPALIVE option on the
  1046. socket.
  1047.  
  1048. One particular of A/UX is that although it supports KEEPALIVE, it doesn't
  1049. send the first probe for _2 hours_! It's been suggested that it would be
  1050. much better to shorten this value to something more realistic to take
  1051. better advantage of this capability. However, to do this, you'll need to
  1052. use 'adb' and adjust the kernel.
  1053.  
  1054. You can either patch the kernel itself (which requires that the patch be
  1055. reapplied everytime the kernel is rebuilt) or patch /etc/install.d/boot.d/bnet
  1056. to keep the patches. To patch the kernel, do:
  1057.  
  1058.     adb -w -k /unix  << Foo
  1059.     tcp_keepidle?D
  1060.     tcp_keepidle?W 258
  1061.     tcp_keepidle?D
  1062.     $q
  1063.     Foo
  1064.  
  1065. To patch the 'bnet' driver instead, do:
  1066.  
  1067.     adb -w /etc/boot.d/bnet << Foo
  1068.     tcp_keepidle?D
  1069.     tcp_keepidle?W 258
  1070.     tcp_keepidle?D
  1071.     $q
  1072.     Foo
  1073.  
  1074. Now run 'newconfig -v' and reboot.
  1075.  
  1076. //////////////////////  END OF PART 2 OF 4  \\\\\\\\\\\\\\\\\\\\\\
  1077. -- 
  1078. #include <std/disclaimer.h>
  1079.   |     Jim Jagielski      |  jim@jagubox.gsfc.nasa.gov  |  V: 301 286-5964  |
  1080.   | NASA/GSFC, Code 734.4  |     Greenbelt, MD 20771     |  F: 301 286-1719  |
  1081.                 <<  Hey! Your karma just ran over my dogma!  >>
  1082.