home *** CD-ROM | disk | FTP | other *** search
/ ftp.pasteur.org/FAQ/ / ftp-pasteur-org-FAQ.zip / FAQ / aux-faq / part2 < prev    next >
Encoding:
Internet Message Format  |  1998-01-08  |  42.3 KB

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