home *** CD-ROM | disk | FTP | other *** search
/ ftp.pasteur.org/FAQ/ / ftp-pasteur-org-FAQ.zip / FAQ / aux-faq / part4 < prev   
Encoding:
Internet Message Format  |  1998-01-08  |  29.5 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 (4/4)
  5. Followup-To: comp.unix.aux
  6. Date: 6 Jan 98 17:24:44 GMT
  7. Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA
  8. Lines: 657
  9. Approved: news-answers-request@MIT.Edu
  10. Message-ID: <4770@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:25035 news.answers:120353 comp.answers:29571
  17.  
  18. Archive-name: aux-faq/part4
  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 4 OF 4 //////////////////////
  25.  
  26. ============================================================
  27. D.15)  What 3rd party accelerators are compatible with A/UX?
  28. ------------------------------------------------------------
  29.  
  30. For the most part, all DayStar Digital accelerators are compatible with A/UX
  31. 3.0 even if their controlling CDEVs don't work under A/UX (the accelerator
  32. must be enabled with the CDEV before booting A/UX). However, their 040
  33. accelerators do NOT work under A/UX. In fact, except for Apple's own Quadra
  34. 700 Logic Board Upgrade, there are no 040 accelerators that work (i.e. don't
  35. crash) under A/UX.
  36.  
  37. There has been at least 1 report of the DayStar-accelerated MacII not working
  38. under 3.0.2... it's possible that 3.0.2 is more sensitive to timing than 3.0
  39. was... If in doubt, be _sure_ that you can return the accelerator if you
  40. can't run it under A/UX.
  41.  
  42. According to Daystar Digital, the DayStar QuadraCache is _not_ compatible
  43. with A/UX. DayStar is working on a fix... Nonetheless, there are a number of
  44. people (including people at Apple) who are using these cache cards with no
  45. problems at all and with very nice (~25%) performance boosts.
  46.  
  47. << ED: This is kinda skimpy, but I'd thought I'd start it up. EMail me
  48.        your list >>
  49.  
  50. ==============================================================
  51. D.16)  Will the old serial HP DeskWriter work under A/UX?
  52. --------------------------------------------------------------
  53.  
  54. No, it won't... You need to use AppleTalk to use it under A/UX.
  55.  
  56. ================================================
  57. D.17)  How can I use a HP DeskWriter under A/UX?
  58. ------------------------------------------------
  59.  
  60. For the answer, snag a copy of DeskWriter.txt which is available via anon-
  61. ftp on jagubox in /pub/aux/Info.
  62.  
  63. ======================================
  64. D.18)  Does A/UX support 24-bit color?
  65. --------------------------------------
  66.  
  67. Yes.
  68.  
  69. There is one major caveat, that will hopefully be addressed in future
  70. versions. On startup, A/UX reinitializes all hardware drivers, including
  71. the video-drivers; as a result, most accelerated 24-bit cards (all third-
  72. party cards known to date, as well as Apple's old 8*24 GC card) will be
  73. reinitialized to run in non-accelerated mode. You'll still get 24-bit video,
  74. but depending on your hardware, it may be painfully slow.
  75.  
  76. This could be solved by better driver support from the vendors of accelerated
  77. video cards. Certain vendors have been promising such support for awhile now.
  78.  
  79. The best hardware to run A/UX with 24-bit video enabled are currently
  80. the Quadra 700, 900, and 950, whose internal video can be populated with
  81. enough VRAM to support 24-bit color (note that the Q800 cannot do this !).
  82. Performance is considered good under A/UX by many users.
  83.  
  84. The following is a list of 24-bit cards that readers have reported work with
  85. A/UX from personal experience. It is NOT a complete list; there have been no
  86. reports of cards that work under MacOS but not A/UX (excepting the caveat
  87. detailed above):
  88.  
  89.     Apple 8*24, 8*24GC
  90.     Quadra 700, 900, 950 internal video
  91.     PrecisionColor PRO 24xp
  92.     RasterOps 24STV, Paintboard li
  93.     Radius 24XP, 24XK
  94.  
  95. =================================================
  96. D.19)  What's the specifics on the AWS95 PDS Card?
  97. -------------------------------------------------
  98.  
  99. The AWS95 PDS Card (known as "Pisces") has two main functional additions to
  100. the Q950. The first is that it includes an external level-2 cache for the
  101. Quadra's 68040. The cache size is 128K, but this can be increased with Apple
  102. provided SRAM upgrade kits. The use of a L2 cache increases the base perfor-
  103. mance of the Q950.
  104.  
  105. The second capability that Pisces includes is the addition of two additional
  106. upgraded SCSI buses. Pisces fully supports Direct Memory Access (DMA) on these
  107. SCSI buses. This can greatly increase SCSI throughput by offloading SCSI
  108. operations to the PDS card. The card supports active termination and negation
  109. on the 2 SCSI DMA buses, improving signal quality and integrity.
  110.  
  111. =================================================
  112. D.20)  What are the specifics of SCSI under A/UX?
  113. -------------------------------------------------
  114.  
  115. SCSI under A/UX is SCSI-1/CCS and not SCSI-2. However, A/UX can use most
  116. SCSI-2 devices. Problems will arise on some SCSI-2 disks if their Error
  117. Correction Mode Pages are incorrect (See Q&A D.04). A/UX supports SCSI
  118. connect/disconnect which results in more efficient use of the SCSI bus.
  119. Finally, A/UX provides asynchronous I/O as well.
  120.  
  121. =========================================================
  122. D.21)  I can't get my LaserJet 4M to work reliably. Help!
  123. ---------------------------------------------------------
  124.  
  125. Bad news... for some reason, if the LaserJet is connected _directly_ to a
  126. Q700 running A/UX via AppleTalk then it won't work. If you have a router or
  127. something similar between the two it'll work like a hose. It looks like it's
  128. most probably a 4M ROM bug and I hear that HP is "working" on a fix.
  129.  
  130. ==========================================================
  131. D.22)  Does the Apple Adjustable Keyboard work under A/UX?
  132. ----------------------------------------------------------
  133.  
  134. No it doesn't... This is due to the way the Adjustable keyboard actually
  135. works and the fact that A/UX doesn't fully support the ADB Manager. :(
  136.  
  137. ===============================================================================
  138. D.23)  How can I increase the number of inodes when creating a new file system?
  139. -------------------------------------------------------------------------------
  140.  
  141. There is a limit on the number of inodes per cylinder group (2048). Large
  142. disks (2-4GB) are setup so that each cylinder group is quite large (>5MB)
  143. so that when 'newfs' creates the file system, it hits the limit quickly
  144. and you end up with a disk with a "small" amount of inodes.
  145.  
  146. The trick is to use the '-c' option to 'newfs' to make each cylinder
  147. smaller by reducing the number of cylinders per group. In many cases,
  148. 'newfs -c 8' works well. Of course, you should use this in combination
  149. with the '-i' option as well.
  150.  
  151. =========================================
  152. D.24)  Can I use my Zip Drive under A/UX?
  153. -----------------------------------------
  154.  
  155. You certainly can. There are some tricks in getting it to work and be
  156. usable under the MacOS environment, but they are pretty easy.
  157.  
  158. First of all, the device-files (slice31) for the Zip drive needs to be readable
  159. and writable by the person using the MacOS. If you are the sole user of the
  160. A/UX machine, then it's easy:
  161.  
  162.     % chown <yourname> /dev/rdsk/cXd0s31 /dev/dsk/cXd0s31
  163.  
  164. where 'X' is the SCSI ID of the Zip. If your system is multi-user, then you'll
  165. need to:
  166.  
  167.     % chmod 666 /dev/rdsk/cXd0s31 /dev/dsk/cXd0s31
  168.  
  169. You need to have the Zip catridge in the drive while the MacOS-A/UX environ-
  170. ment is booting for the disk to be mounted.
  171.  
  172. If you will be using the Zip only as a UNIX file system, here are some hints:
  173.  
  174.     o Use HD SC Setup (the A/UX version) to create the Partition and
  175.       file system. Don't bother with 'newfs' unless you need to alter
  176.       the number of inodes created; Use the 'Generic|other' entry in
  177.       /etc/disktab
  178.  
  179.     o You'll need to manually eject the disk when done with it and after
  180.       it's 'umount'ed
  181.  
  182.     o DON'T eject the disk if it's still mounted !!
  183.  
  184.  
  185. :::::::::::::::::::::::::::::::::::
  186. ::::: PORTING AND PROGRAMMING :::::
  187. :::::::::::::::::::::::::::::::::::
  188.  
  189. ================================================================
  190. P.01)  How come rn|elm|less|etc... act weird concerning signals?
  191. ----------------------------------------------------------------
  192.  
  193. Well, it's not really them at all. Many people have found that more than a
  194. few ports require the addition of the 'set42sig()' call to enable BSD 4.2
  195. signal delivery. The best place to add this is as the 1st executable statement
  196. under
  197.  
  198.     "main() {"
  199.  
  200. Another point about porting applications: A/UX's 'cc' does provide "strict"
  201. BSD, SystemV and Posix libraries. If you are porting a BSD program, you can
  202. enable BSD "emulation" by adding the "-ZB -lbsd" options to your 'cc' command
  203. line. In fact, using just the '-lbsd' option alleviates the need for adding
  204. the 'set42sig()' call mentioned above and is, in many cases, the suggested
  205. option. Compiling with gcc also helps out a great deal.
  206.  
  207. ===================================
  208. P.02)  Is X11R5 available for A/UX?
  209. -----------------------------------
  210.  
  211. Not anymore :-(
  212.  
  213. =====================================================================
  214. P.03)  I've noticed that FSF GNU doesn't support A/UX. Does that mean
  215.        I'll miss out on all the neat Gnu-stuff like gcc?
  216. ---------------------------------------------------------------------
  217.  
  218. Although it's true that FSF is "boycotting" Apple and A/UX (FSF doesn't like
  219. Apple's predisposition of suing to protect "look and feel"), ports of most Gnu
  220. applications are available. Of particular interest is gcc version 2.7.2 which
  221. has been ported by Jim Jagielski (based on previous ports by John Coolidge
  222. and is available via anon-ftp on wuarchive.wustl.edu in systems/aux/gnu. The
  223. binaries, sources and diffs are all available.
  224.  
  225. GCC version 2.7.2 for A/UX has been ported and is available... Highly
  226. recommended!
  227.  
  228. As a nice compliment to using GCC, gdb (4.9) is also available.
  229.  
  230. %%% For more info about gcc for A/UX, please contact Jim via E-mail %%%
  231.  
  232. ==========================================================================
  233. P.04)  I've ported Elm (or other mail reader) and it doesn't seem to work.
  234.        Why?
  235. --------------------------------------------------------------------------
  236.  
  237. It seems most likely that the reason is because they attempt to use a
  238. different file locking scheme that /bin/mail does. Pre-3.0 versions of mail
  239. used 'flock' style file locking. 3.x.x now uses the '.lock' scheme for mail
  240. file locking. Elm 2.4.X requires that both flock and .lock be enabled. Elm
  241. 2.3.X requires _only_ .lock locking.
  242.  
  243. =============================================
  244. P.05)  What languages are available for A/UX?
  245. ---------------------------------------------
  246.  
  247. A/UX comes with a C compiler ('cc'), a FORTRAN-77 compiler ('f77') as well
  248. as an assembler ('as'), SNOBOL ('sno') and a kinda-basic interpreter ('bs').
  249. 'cc' is a nice, stable, if not-too-quick compiler. 'f77' is a true FORTRAN-77
  250. compiler and appears quite workable. I've not used 'sno' (I couldn't recall
  251. how to program in SNOBOL if my life depended on it :) or 'bs'.
  252.  
  253. If you are doing any work in C, then it would be well worth it to get a copy
  254. of the GNU C compiler ('gcc') (see Q&A #P.03). gcc is K&R and ANSI compatible
  255. so if you are doing ANSI work you'll need it. Apple also has an ANSI C
  256. compiler ('c89') that you can buy. It's available on the "A/UX Developer's
  257. Toolkit CD" from APDA. There is also at least one other 3rd-party C compiler
  258. out there, but I can't recall it's name right now. gcc is free; c89 runs
  259. about $800. Both include C++ capabilities.
  260.  
  261. There are also 2 very good 3rd-party FORTRAN compilers: NKR FORTRAN and Absoft
  262. MacFORTRAN II. In my opinion, MacFORTRAN II is the better product...  it has
  263. finer compiler control, a wide number of compatibility options (such as VAX
  264. FORTRAN) and excellent speed. If you do order MFII, be _sure_ to get the A/UX
  265. version. They also sell an MPW version that will work under A/UX but it's
  266. run under, you guessed it, MPW. The A/UX version is a true "Unix" compiler
  267. and it's optimized for A/UX. Both MFII and NKR FORTRAN run about $500-$600.
  268.  
  269. Oasys sells 3 compiler packages: C, C++ and FORTRAN. All the compilers are
  270. based on the GreenHills compilers which are known to be robust and fast.
  271. However, the Oasys packages are expensive, running about $2000 per language
  272. (although you do get assemblers and linker/loaders with the package).  Unisoft
  273. used to distribute their "Optimizing Compilers" (FORTRAN and C) for A/UX,
  274. but they are no longer available... Pity, because they also were based on
  275. GreenHills and were quite nice.
  276.  
  277. At present, I know of no true Pascal compilers for A/UX.
  278.  
  279. Finally, if you are doing program development, then you'll need a good
  280. debugger. As described above in "List of ports...", gdb has been ported if
  281. you would prefer using something other than sdb or dbx, which are included
  282. with A/UX. If you are using FORTRAN, then Absoft also makes an excellent
  283. debugger which has been fine-tuned to work with MFII (it also does quite well
  284. with C); it's called FX. It has two interfaces, character and Motif, and is
  285. quite powerful.
  286.  
  287. =======================================
  288. P.06)  Is OSF/Motif available for A/UX?
  289. ---------------------------------------
  290.  
  291. The only source for OSF/Motif (1.1.4) for A/UX that I know of is:
  292.  
  293.    Integrated Computer Solutions
  294.    201 Broadway
  295.    Cambridge, MA 02139
  296.    617-547-0510
  297.  
  298. However, they have stopped producing this and have since stopped support for
  299. A/UX OSF/Motif. They may still have a few copies of it available, so if you
  300. don't mind using unsupported software, give them a call.
  301.  
  302. If you have, or can get, the actual source code for Motif then the following
  303. will be of some help: 1.1.4 compiles with minimal changes to the source using
  304. 'cc' and works "great." However, the source for 1.2.2 makes calls to various
  305. XIM multi-character routines, leaving many unresolved externals when linking.
  306. Now, if someone ported X11R5 and left the XIM routines intact, then maybe
  307. compiling and linking 1.2.2 would go off without a hitch... Any takers??
  308.  
  309. =============================================================
  310. P.07)  While trying to port some software, the Makefile looks
  311.        for a program called 'ranlib' and dies when it can't
  312.        find it. What is it and where can I get it.
  313. -------------------------------------------------------------
  314.  
  315. 'ranlib' is a program that increases the efficiency of accessing and using
  316. archives (*.a files). A/UX's 'ar' already does this, so it isn't needed.
  317. To get around this, do something like:
  318.  
  319.     ln /bin/true /bin/ranlib
  320.  
  321. You could also use '/bin/touch' but the above will (hopefully) take care of
  322. cases when ranlib is called with options. If you want to put 'ranlib'
  323. somewhere else, then that's OK. If the location is a different file system,
  324. then you'll need to use a symbolic link:
  325.  
  326.     ln -s /bin/true /usr2/local/bin/ranlib
  327.  
  328. ============================================================
  329. P.08)  When compiling, I get the message that 'setlocale' is
  330.        an "undefined symbol"... what's going on?
  331. ------------------------------------------------------------
  332.  
  333. The 'locale' suite can be found in /lib/libposix.a. To avoid linking to
  334. libposix.a you can do the following to create a separate locale library:
  335.  
  336.    $ ar xv /lib/libposix.a locale.o
  337.    $ ar rv /usr/lib/liblocale.a locale.o
  338.  
  339. Now you can simply link to '-llocale' to add it in.
  340.  
  341. A better fix would be to grab and use libUTIL, a collection of useful and
  342. needed functions for any serious porting effort (see Hints&WOW, above).
  343. libUTIL is maintained by Jim Jagielski and can be found on jagubox.
  344.  
  345. =========================================
  346. P.09)  How in the world do I use nlist()?
  347. -----------------------------------------
  348.  
  349. The nlist structure used by nlist() is a very weird beast. The structure
  350. itself contains a union, which can cause problems with automatic initialization
  351. of nlist. In particular, there are specific times when you need to use
  352. "n_name" and other times when you must use "n_nptr".
  353.  
  354. Here's the deal:
  355.  
  356.    o If the variable name is less than 8 characters in length (as defined
  357.      by strlen()), then the NULL-terminated string should be copied into
  358.      'n_name'.
  359.  
  360.      EG: var = "timbuf"; strcpy(nl.n_name, var);
  361.  
  362.    o If the variable name is exactly 8 characters in length, _only_
  363.      those 8 characters should be copied into the 'n_name' field; The
  364.      '/0' character should _NOT_ be copied as well.
  365.  
  366.      EG: var = "longlook"; strncpy(nl.n_name, var, 8);
  367.  
  368.    o If the variable name is greater than 8 characters in length, 'n_ptr'
  369.      should be set to the pointer to that string and 'n_zeroes' be set to
  370.      0.
  371.  
  372.      EG: var = "clock_offset"; nl.n_ptr = var;
  373.  
  374.  
  375.  
  376. :::::::::::::::::::::::::
  377. ::::: COMMUNICATION :::::
  378. :::::::::::::::::::::::::
  379.  
  380. ===========================================================================
  381. C.01)  I'm unable to start a getty process on a built-in serial port. When
  382.        I use 'setport' to enable the port, I get a "no such device" error.
  383.        Configuring /etc/inittab to respawn getty on the port has no effect.
  384. ---------------------------------------------------------------------------
  385.  
  386. AppleTalk is probably enabled for the port. The getty process can be started
  387. temporarily by turning off AppleTalk via A/UX's Finder Chooser and THEN
  388. using the 'setport' command.
  389.  
  390. You can permanently disable AppleTalk by reconfiguring the kernel with
  391. "newconfig noappletalk". If you wish to keep the drivers installed in the
  392. kernel but still want to "permanently" disable AppleTalk, you can edit
  393. /etc/startup to prevent AppleTalk from initializing and /etc/inittab can be
  394. editted to start getty. (NOTE: /etc/startup is regenerated by newconfig so
  395. you'll have to redo this if you reconfigure the kernel).
  396.  
  397. If you don't have an EtherTalk card installed, then you can also modify
  398. /etc/appletalkrc to point to "ethertalk0" instead of "localtalk0". Doing
  399. this stops AppleTalk from bothering the serial port because it tries to use
  400. the non-existant card.
  401.  
  402. =============================================================================
  403. C.02)  I am using and depending on /etc/hosts to do all my hostname resolving
  404.        (i.e. not using named or /etc/resolv.conf). How come I can't mail
  405.        to other hosts, but I can ping|ftp|etc... them?
  406. -----------------------------------------------------------------------------
  407.  
  408. Well, the problem is actually with sendmail (in /usr/lib). sendmail (under
  409. A/UX 2.0 and later) assumes the use of a nameserver. Pre-2.0 versions were
  410. "adjusted" to look in /etc/hosts if any nameserver call failed (which it
  411. would if it wasn't running, of course :).
  412.  
  413. Jim Jagielski (jim@jagubox.gsfc.nasa.gov) has hacked sendmail 5.65 for A/UX
  414. to have it also check /etc/hosts. The source code is available on jagubox.
  415.  
  416. You may also want to upgrade to smail 3.1.28. smail is a very powerful yet
  417. easy to configure (and maintain) replacement for sendmail. It can both query
  418. the NameServer as well as look in /etc/hosts to "interpret" hostnames. The
  419. required A/UX-related diffs and patches, which were written by Bob Denny
  420. (denny@alisa.com) are available on jagubox.
  421.  
  422. %%% For more info, contact Jim %%%
  423.  
  424. ========================================================================
  425. C.03)  When I try to mail something, I get the following error message:
  426.        "Cannot read frozen config file: not a typewriter". What's wrong?
  427. ------------------------------------------------------------------------
  428.  
  429. This message is produced by sendmail (/usr/lib/sendmail) when it's frozen
  430. configuration file (/usr/lib/sendmail.fc) is unusable (as it is in the A/UX
  431. distribution which has it as a 0-byte file). To create a "new" frozen file
  432. of your present sendmail.cf file (assuming that it's good), type:
  433.  
  434.     $ /usr/lib/sendmail -bz
  435.  
  436. (the sendmail daemon, if it exists, must be killed 1st).
  437.  
  438. ==========================================================================
  439. C.04)  How do I set up my Mac and A/UX to enable remote logins via a modem
  440.        on tty0?
  441. --------------------------------------------------------------------------
  442.  
  443. First of all, you must edit /etc/inittab to start getty on tty0 using mo_2400
  444. (or whatever speed you want, such as mo_9600):
  445.  
  446.     00:2:respawn:/etc/getty -u -t 60 tty0 mo_2400
  447.  
  448. Make sure that your modem is set to be quiet, to not return result codes and
  449. to not echo back. It must also reset on DTR being dropped ("atq1e0&d3" will
  450. achieve this for most Hayes-compatible modems except certain (all) USR
  451. modems). Your modem must also raise DCD on connection ("at&c1") in order to
  452. have Dialup security (i.e. when the line is closed, HangUp the process.  This
  453. means that MODEM flow control must be specified in gettydefs). You then save
  454. these changes using the "at&w" sequence. Finally, to make it autoanswer, be
  455. sure to add "ats0=1&w".
  456.  
  457. Make sure that the modem cable is correctly configured (NOTE: This is for
  458. Dialup Security!):
  459.  
  460.     Mac       Modem
  461.     --------------------
  462.     1 (HskO)  20 (DTR)
  463.               4  (RTS)  <- yep... it gets sent to Pin 20 & 4
  464.     2 (HskI)  8  (DCD)
  465.     3 (TxD-)  2  (TxD)
  466.     4 (GDN)   7  (Sgnd)
  467.     5 (RxD-)  3  (RxD)
  468.     6 NO CONNECT
  469.     7 NO CONNECT
  470.     8 (RxD+)  7  (Sgnd)  <- this is right, it gets tied to Mac pin 4 too.
  471.  
  472. If you mess up pin 8 things can get so flaky that you'll never figure out
  473. what's going on. You see, by grounding pin 8, you make the modem port truly
  474. RS-232 compatible. If not grounded, the port will use the RS-422 standard,
  475. which can cause lots of problems. For more info about pinouts and cable
  476. pinouts, check out "/usr/lib/uucp/README".
  477.  
  478. Please note that getty is the bidirectional version of getty, which is
  479. sometimes known as uugetty. Thus, you can have dial in and dial out at the
  480. same time on the same port. You should be using at least version 1.16 of HDB
  481. (see above: "known bugs" and Q&A #A.16)
  482.  
  483. As mentioned above, the cable described provides for Dialup Security and
  484. prevents the use of hardware flow control... If, however, the exact same
  485. baudrate is used throughout the phone link, the need for hardware flow
  486. control is greatly reduced.
  487.  
  488. ========================================================================
  489. C.05)  How come I can't use 'talk' with some of the other Unix boxes out
  490.        there, and they can't talk to me?
  491. ------------------------------------------------------------------------
  492.  
  493. The reason why is because there are two versions of talk (and it's daemon
  494. talkd) out there. A/UX uses the BSD 4.2 version. Others use the 4.3 version.
  495. The two aren't compatible and don't even talk on the same port. If you try
  496. to talk to someone and all you get is a "Checking for invitation..." message
  497. then it's because the machine you're trying to access is using 4.3.
  498.  
  499. Steve Green (xrsbg@dirac.gsfc.nasa.gov) has ported the 4.3 versions of talk
  500. and talkd (now renamed ntalk and ntalkd for A/UX) to overcome this snag. You
  501. can have both versions available and running with no problems. The port is
  502. available on jagubox.gsfc.nasa.gov.
  503.  
  504. =====================================================
  505. C.06)  How can I convince A/UX to forward IP packets?
  506. -----------------------------------------------------
  507.  
  508. You will need to use 'adb' to adjust the A/UX kernel to enable IP forwarding.
  509. This is done by changing the value of the 'ipforwarding' "variable" from
  510. 0 (no forwarding) to 1 (enable forwarding).
  511.  
  512. As root, and in single-user mode, apply this patch:
  513.  
  514.     # Enable fowarding: just the kernel
  515.     adb -w -k /unix << Foo
  516.     ipforwarding?D
  517.     ipforwarding?W 1
  518.     $w
  519.     $q
  520.     Foo
  521.  
  522. And reboot.
  523.  
  524. You'll need to redo this whenever the kernel is rebuilt (like via 'newunix')
  525. unless you apply the patch to /etc/install.d/boot.d/bnet as follows:
  526.  
  527.     # Enable fowarding: keep it that way
  528.     adb -w /etc/install.d/boot.d/bnet << Foo
  529.     ipforwarding?D
  530.     ipforwarding?W 1
  531.     $w
  532.     $q
  533.     Foo
  534.  
  535. =================================
  536. C.07)  Is PPP available for A/UX?
  537. ---------------------------------
  538.  
  539. Unfortunately, I know of no port of PPP for A/UX :(
  540.  
  541. ================================================
  542. C.08)  How can I change the MTU value for CSlip?
  543. ------------------------------------------------
  544.  
  545. You will need to use 'adb' to adjust either the kernel or the CSlip driver to
  546. change this value (slip_mtu).  As root, and in single-user mode, apply this
  547. patch (please replace $THE_VALUE with the actual HEX value you want MTU to be):
  548.  
  549.     # Change SLIP MTU value to $THE_VALUE: just the kernel
  550.     adb -w -k /unix << Foo
  551.     slip_mtu?d
  552.     slip_mtu?w $THE_VALUE
  553.     $w
  554.     $q
  555.     Foo
  556.  
  557. And reboot.
  558.  
  559. You'll need to redo this whenever the kernel is rebuilt (like via 'newunix')
  560. unless you apply the patch to /etc/install.d/boot.d/cslip as follows:
  561.  
  562.     # Change SLIP MTU value to $THE_VALUE: keep it that way
  563.     adb -w /etc/install.d/boot.d/cslip << Foo
  564.     slip_mtu?d
  565.     slip_mtu?w $THE_VALUE
  566.     $w
  567.     $q
  568.     Foo
  569.  
  570. Now run 'newconfig -v' and reboot.
  571.  
  572. ==================================================================
  573. C.09)  I'm having trouble having Solaris 2.4 NFS clients access my
  574.        NFS server!
  575. ------------------------------------------------------------------
  576.  
  577. On your Solaris client, you need to add the 'rsize=1024 wsize=1024' parameters
  578. to your mount option.
  579.  
  580. ====================================================================
  581. C.10)  I'm running a busy web-server and clients are getting lots of
  582.        'Connection Refused' messages... Why?
  583. --------------------------------------------------------------------
  584.  
  585. This may be due, most probably, by the small size of A/UX's listen()
  586. backlog queue. This queue is basically the number of pending connections
  587. listen will allow. Under A/UX, this value (known as SOMAXCONN) is a measly
  588. 5. Since Netscape, for example, send 4 connection-requests per connect, you
  589. can see how you would over-reach the queue quickly if your server is busy.
  590.  
  591. Jim Jagielski (jim@jaguNET.com) has written a small shell-script that uses
  592. 'adb' to patch the kernel 'bnet' module to increase the queue limit from
  593. 5 to 32. It's available on jagubox.gsfc.nasa.gov in /pub/aux/Sys_stuff
  594.  
  595.  
  596. ::::::::::::::::::::::::::::
  597. ::::: ERRORS EXPLAINED :::::
  598. ::::::::::::::::::::::::::::
  599.  
  600. ============================================================================
  601. E.01)  How do I keep command lines that I edit with "backspace" from erasing
  602.        the prompt?
  603. ----------------------------------------------------------------------------
  604.  
  605. This behavior is due to the tty driver under A/UX. The BSD tty driver (which
  606. A/UX doesn't use) handles this, whereas the SysV driver doesn't. If you are
  607. running 'ksh' then you can "set -o viraw" to prevent this from happening.
  608. As far as I know, there are no work-arounds for 'sh' or 'csh'. ('tcsh' and
  609. 'bash' do not suffer from this problem... )
  610.  
  611.  
  612. ==========================================================================
  613. E.02)  Whenever I try to run xinit (or startx) from the CommandShell I get
  614.        a fatal server error. Why?
  615. --------------------------------------------------------------------------
  616.  
  617. The reason why is because both X and the CommandShell want _complete_ control
  618. over your Mac (display, keyboard and mouse). So, when you try to start one
  619. while running the other, you'll get into trouble. You need to start X either
  620. from the Console Emulator Mode or by choosing it as your "session type" from
  621. the Login screen (This session type will be available only if your installed
  622. Apple's X).
  623.  
  624. ====================================================================
  625. E.03)  I keep on getting the following error message on the Console:
  626.        "fcntl: local lock manager not registered". What's going on?
  627. --------------------------------------------------------------------
  628.  
  629. This is printed out whenever your kernel is configured for NFS and a file-
  630. lock is attempted (as when sending Email) but the NFS lock daemon (rpc.lockd)
  631. isn't running. This is most probably due to the fact that it wasn't started
  632. in /etc/inittab. The fix is simple: enable rpc.lockd (and it's companion
  633. rpc.statd) in /etc/inittab as follows:
  634.  
  635.    nfs5:2:wait:/etc/rpc.statd   # set to "wait" for NFS status monitor
  636.    nfs6:2:once:/etc/rpc.lockd   # set to "once" for NFS lock manager
  637.  
  638. and either Restart A/UX or simply type 'init q'.
  639.  
  640. ===============================================================
  641. E.04)  When I try to startup 'xterm', I get the following error
  642.        message: "xterm: no available ptys"... What gives?
  643. ---------------------------------------------------------------
  644.  
  645. There are three possible solutions:
  646.  
  647.     1. Make sure that there are ptys configured into the
  648.        kernel... Use 'kconfig' to check that NPTY is non-0
  649.     2. For at least one user, copying the /usr/lib/X11/xterm*.tic files
  650.        to /usr/lib/terminfo/x/xterm(s) worked...
  651.     3. One final possible solution is to start 'xterm' from 'sh'.
  652.  
  653. ========================================================================
  654. E.05)  'ps' and 'pstat' only seem to work for root. If anyone else tries
  655.        these commands, they get a "no mem" error message. What's wrong?
  656. -------------------------------------------------------------------------
  657.  
  658. Both these commands require read access to /dev/kmem, which is not allowed
  659. for regular users. Thus, the programs require that they be suid or sgid to
  660. the user or group that can read /dev/kmem. See if this is true and fix if
  661. not.
  662.  
  663. //////////////////////  END OF PART 4 OF 4  \\\\\\\\\\\\\\\\\\\\\\
  664.  
  665. =====================================
  666. **** Author's/Editor's Signature ****
  667. -------------------------------------
  668.  
  669.  
  670. -- 
  671. #include <std/disclaimer.h>
  672.   |     Jim Jagielski      |  jim@jagubox.gsfc.nasa.gov  |  V: 301 286-5964  |
  673.   | NASA/GSFC, Code 734.4  |     Greenbelt, MD 20771     |  F: 301 286-1737  |
  674.           << "Suspicion is the sure sign of a little mind" >>
  675.