home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / 3b1 / 4226 < prev    next >
Encoding:
Text File  |  1993-01-09  |  72.6 KB  |  1,665 lines

  1. Newsgroups: comp.sys.3b1
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!n8emr!colnet!res
  3. From: res@colnet.cmhnet.org (Rob Stampfli)
  4. Subject: Re: New 3b1'er (FAQ request)
  5. Message-ID: <1993Jan9.153356.16739@colnet.cmhnet.org>
  6. Organization: Little to None
  7. References: <C0Hpvr.4x4@news.cso.uiuc.edu> <1993Jan8.014847.10019@nwnexus.WA.COM> <1993Jan8.143420.16449@gnosys.svle.ma.us>
  8. Date: Sat, 9 Jan 1993 15:33:56 GMT
  9. Lines: 1654
  10.  
  11. Well, since no one else seems to want to do it...
  12. ----------------------------------------------------------------------
  13. | Answers to some frequently asked questions about the AT&T UNIX PC, |
  14. |     as well as some frequent problems, hints, and solutions.         |
  15. ----------------------------------------------------------------------
  16. [$Revision: 2.1 $]
  17. Send updates to 3b1-faq@glyph.kingston.ny.us.
  18.  
  19.         Part 1 of 2
  20.  
  21. This article contains answers to the following questions:
  22. 1)  What exactly are the AT&T UNIX PC, PC7300, and 3B1?
  23. 2)  What is the operating system?  Its origins?
  24. 3)  What are the "OSU Archives"?
  25. 4)  Who supports these machines?  Are there any user groups?
  26. 5)  Where can I get my machine serviced or fixed?
  27. 6)  How do I get my free Personal Calendar program?
  28. 7)  What is "THE STORE!" and how can I access it?
  29. 8)  Is there any GNU software available?
  30. 9)  Is the X Window system available for the UNIX PC?
  31. 10) What's MGR?
  32. 11) How can I get a full 360kB when I format a MS-DOS floppy on the UNIX PC?
  33. 12) Are there any other utilities for fiddling with MS-DOS floppies?
  34. 13) Can I use the GNU C compiler in place of the hard-to-find development set?
  35. 14) What do I with old archives?
  36. 15) How do I restore from a backup when one of the floppies is bad?
  37. 16) How can I make a floppy-disk-based UNIX for fsck'ing the hard drive?
  38. 17) How can I get the machine to ask the device and program to boot from?
  39. 18) How do I get multiple login windows? 
  40. 19) What the heck is a +IN suffix on a file?
  41. 20) What do the HDERR (FDERR, or TPERR) messages in /usr/adm/unix.log mean?
  42. 21) Why are the header files missing after an install of the Development Set?
  43. 22) Why is the machine is booting over and over?
  44. 23) Is HoneyDanBer UUCP available to replace the stock uucp software?
  45. 24) Why doesn't the On-Board Modem (OBM) work with some other modems?
  46. 25) How do I get my on-board modem to be a dial-out-only modem?
  47. 26) Does the on-board modem support 2400 bps?
  48. 27) Why aren't the lpadmin, accept, and reject commands working right?
  49. 28) Why are all the jobs on the printer always followed by a formfeed?
  50. 29) Why can't I send bitmapped images to the printer correctly?
  51. 30) How do I configure a Hayes compatible external modem on the UNIX PC?
  52. 31) Any tips on building Cnews?
  53. 32) What are lipc and nipc, and how can I use nipc instead of lipc?
  54. 33) What third-party hardware is available?
  55. 34) Can I put a 68881 math coprocessor in my machine?
  56. 35) Can I really get 4MB of memory, even with a 1.5MB combo card, 512K RAM 
  57.     card, and 2MB of RAM on the motherboard?
  58. 36) Can I hook up a 3.5" 720K floppy drive to my UNIX PC?  How about
  59.     a 1.2MB or 1.44MB floppy drive?   Can I run both the 3.5" drive and 
  60.     the 5.25" drive on my machine somehow?
  61. 37) Can I put a larger hard disk drive in the UNIX PC?
  62. 38) How do I park the hard disk heads before moving the machine?
  63. 39) How do I open the case and get to the motherboard?
  64. 40) Why does my fan sometimes speed up and slow down?  Should I replace it?
  65. 41) Why has my clock stopped?
  66. 42) What can I do when I turn on my UNIX PC and all I see is a "green screen"?
  67. 43) What can I do when I turn on my UNIX PC and I have no video?
  68. 44) What can I do when I get lots of FDERRs when writing/formatting a floppy?
  69. 45) Why does rn fail with "Can't open /dev/tty" from the built-in modem?
  70. 46) Can I connect my Starlan board to an Ethernet?
  71. 47) Can I run SLIP (Serial Line Internet Protocol) on my UNIX PC?
  72. 48) What are the consequences of "fsck -s" (salvaging the freelist)?
  73. 49) What does the "-s" option to dismount do?
  74. 50) How do I identify what motherboard revision I have?
  75. 51) How can the monitor fail?
  76. 52) What are the LED's left side of the machine for?
  77. 53) What's /etc/update?  What does it do? 
  78. 54) Why did the time display at the top of the screen go away?
  79. 55) How do I stop that darn double-ESC mode on console windows?
  80. 56) What do I do when the machine hangs at the boot message?
  81. 57) How can the UNIX PC be made more secure?
  82. 58) How do I access the expert menus in the diagnostics?
  83. 59) Where is Elvis?
  84.  
  85.  
  86. ------------------------------------------------------------------------
  87. -- General -------------------------------------------------------------
  88.  
  89. ------------------------------------------------------------------------
  90. 1)  What exactly are the AT&T UNIX PC, PC7300, and 3B1?
  91.  
  92.     The name "UNIX PC" is a catch-all name for a set of machines
  93. developed by Convergent Technologies (now part of Unisys) and sold by
  94. AT&T in the mid to late 80's, all having the same basic configuration:
  95.  
  96.     o 10MHz 68010 with custom MMU
  97.     o demand paged, virtual memory UNIX (max. process size 2.5M)
  98.     o 10/20/40/67MB disk
  99.     o 512k/1M/2MB RAM
  100.     o monochrome, quasi-Hercules display
  101.  
  102.     As marketing strategies changed and basic features were added,
  103. the original offering (the PC7300) became known as the 3B1.  The 7300
  104. machines featured 512k RAM on the motherboard with a 10 or 20MB disk.
  105. The later 3B1 machines had 1M or 2M on the motherboard, and came with
  106. a 40 or 67MB disk.  Accommodating the larger, full-height drives in the
  107. 3B1 required that a hump be added to the sloping, wedge-shaped case
  108. top.  The 3B1 also has a heftier power supply.
  109.  
  110. ------------------------------------------------------------------------
  111. 2)  What is the operating system?  Its origins?
  112.  
  113.     The operating system is based on UNIX System V Release 2, with
  114. extensions from BSD 4.1, BSD 4.2, System V Release 3 and Convergent
  115. Technologies.  The most recent version is 3.51, with a 3.51m FIXDISK
  116. (2.0) available.  The FIXDISK can be gotten from AT&T directly, they
  117. will send it out to you free of charge.  Just call the Hotline Support
  118. line at 1-800-922-0354, and tell them you want the free FIXDISK 2.0
  119. for the UNIX PC.  The FIXDISK is also available on OSU Archives as
  120. FIXDISK2.0+IN.
  121.  
  122. ------------------------------------------------------------------------
  123. 3)  What are the "OSU Archives"?
  124.  
  125.     OSU-CIS is an Ohio State University computer system which
  126. holds a very large selection of UNIX-PC-related programs and files.
  127. David Brierley (dave@galaxia.newport.ri.us) is the current maintainer
  128. of the archives.  Ohio State graciously allows both anonymous FTP and
  129. UUCP access to this archive.  For FTP from the Internet, access is via
  130. the machine archive.cis.ohio-state.edu (IP address: 128.146.8.52).
  131.  
  132. They recommend the following L.sys (Systems) entries:
  133.  
  134.     #
  135.     # Direct Trailblazer
  136.     # dead, dead, dead...sigh.  for the 3rd time in as many months.
  137.     #
  138.     #osu-cis Any ACU 19200 1-614-292-5112 in:--in:--in: Uanon
  139.     #
  140.     # Direct V.32 (MNP 4)
  141.     # dead, dead, dead...sigh.
  142.     #
  143.     #osu-cis Any ACU 9600 1-614-292-1153 in:--in:--in: Uanon
  144.     #
  145.     # Micom port selector, at 1200, 2400, or 9600 bps.
  146.     # Replace ##'s below with 12, 24, or 96 (both speed and phone number).
  147.     # Can't use MNP with V.32 on -3196
  148.     #
  149.     osu-cis Any ACU ##00 1-614-292-31## "" \r\c Name? osu-cis nected \c GO \d\r\d\r\d\r\d\r\d\r\d\r\d\r in:--in:--in: Uanon
  150.  
  151.     The file ~/att7300/README.Z contains a detailed list of the
  152. archive's contents and should be the first thing to get.
  153.  
  154.     Another source of software for Internet-connected sites is the
  155. anonymous FTP area on ftp.cs.caltech.edu.  Andy Fyfe
  156. (andy@cs.caltech.edu) maintains new versions of TeX and GNU utilities
  157. in the pub/3b1 directory.
  158.  
  159. ------------------------------------------------------------------------
  160. 4)  Who supports these machines?  Are there any user groups?
  161.  
  162.     The primary support for the machine is the Usenet newsgroup,
  163. comp.sys.3b1.  There are a lot of dedicated people who enjoy these
  164. machines and post a wealth of information to the network.
  165.  
  166.     If you are in the Silicon Valley area, contact Thad Floryan
  167. (thad@btr.com) for information on how to go to the "AT&T UNIX User's
  168. Group" meeting on the fourth Wednesday of every month.  Although it's
  169. a generic AT&T UNIX group, a large number of the members (including
  170. Thad) own UNIX PC's.
  171.  
  172. ------------------------------------------------------------------------
  173. 5)  Where can I get my machine serviced or fixed?
  174.  
  175.     AT&T will still support the machine for another year or so,
  176. they have to by law [this may be obsolete now, and sounds suspiciously
  177. like an urban legend].  Their prices are a bit high, but they will
  178. come on site or you can bring your machine to a local depot to replace
  179. or repair anything that is wrong with your UNIX PC.  Call
  180. 1-800-922-0353 (AT&T Hotline support) -- consulting fees will be
  181. required to talk to an engineer, but if it's diagnosed to be a
  182. hardware problem the consulting fees will be waived.  Caveat Emptor
  183. (let the buyer beware).  They tend to like to replace lots of parts.
  184. For a $3.00 battery, they'll replace the motherboard (not cheap!)
  185.  
  186.     A better solution, at least a cheaper one, is the ``A Small
  187. Computer Repair Company'' (ASCRC).  They will diagnose your problem,
  188. and repair or replace the part that is broken.  They will try their
  189. hardest to repair the item first.  Their prices are much more
  190. reasonable than AT&T's, but the catch is that you need to send the
  191. computer (or just the component in question) to them.  They will
  192. repair/replace it and ship it back.  Their turn-around time is usually
  193. 48-72 hours.  They repair AT&T's 6300, 6300+, 7300, 3B1 and UNIX PC
  194. computers. For more information and/or to arrange servicing, contact:
  195.  
  196.         A Small Computer Repair Company
  197.         5762 Dichondra Place
  198.         Newark, CA  94560
  199.         (415) 430-9226 or (415) 793-6980
  200.  
  201. ------------------------------------------------------------------------
  202. -- Software ------------------------------------------------------------
  203.  
  204. ------------------------------------------------------------------------
  205. 6)  How do I get my free Personal Calendar program?
  206.  
  207.     Enclosed with the documentation of many or all UNIX PC's was a
  208. card which you could send in the receive a free copy of the Personal
  209. Calendar program.  The machine is discontinued, so sending in the card
  210. now won't accomplish anything; that doesn't mean that you're out of
  211. luck, however.  Many machines were shipped with the calendar program
  212. in /etc/fixes.  Install it as follows (the name of the program is
  213. "pcal"):
  214.  
  215.     Append this to your /usr/lib/ua/Office file:
  216.  
  217.         Name=Calendar
  218.         Default = Open
  219.         Open=EXEC -d /usr/bin/pcal -c
  220.         Help=EXEC -d /usr/bin/uahelp -h /usr/lib/ua/ua.hlp -t Calendar
  221.  
  222.     Append this to your /usr/lib/ua/Preferences file:
  223.  
  224.         Name=Calendar
  225.         Default = Open
  226.         Open=EXEC -d /usr/bin/pcal -p
  227.         Help=EXEC -d /usr/bin/uahelp -h /usr/lib/ua/ua.hlp -t Calendar
  228.  
  229.     If you are using the pcal that is located in /etc/fixes:
  230.  
  231.         $ su
  232.         Password:
  233.         # mv /etc/fixes/pcal /usr/bin
  234.         # mv /etc/fixes/pcal.hlp /usr/lib/ua
  235.         # chown bin /usr/bin/pcal /usr/lib/ua/pcal.hlp
  236.         # chgrp bin /usr/bin/pcal /usr/lib/ua/pcal.hlp
  237.         # chmod 755 /usr/bin/pcal 
  238.         # chmod 644 /usr/lib/ua/pcal.hlp
  239.  
  240. ------------------------------------------------------------------------
  241. 7)  What is "THE STORE!" and how can I access it?
  242.  
  243.     THE STORE! was owned and operated by AT&T, but is no longer
  244. available for dialup uucp.  All publicly accessible software that was
  245. formerly available there has been moved and archived on the OSU
  246. archives (see below).
  247.  
  248. ------------------------------------------------------------------------
  249. 8)  Is there any GNU software available?
  250.  
  251.     There are fairly recent versions of gcc, g++, gas, gdb, and
  252. emacs as binary-only cpio archives on OSU.
  253.  
  254. ------------------------------------------------------------------------
  255. 9)  Is the X Window system available for the UNIX PC?
  256.  
  257.     No, X has not been ported, and probably won't ever be ported
  258. to the UNIX PC.  X is quite large, and there have been several
  259. discussions about porting it in comp.sys.3b1, but it's probably not
  260. worth the effort.
  261.  
  262. ------------------------------------------------------------------------
  263. 10) What's MGR?
  264.  
  265.     MGR is an alternative windowing environment developed by Steve
  266. Uhler at Bellcore and ported to the UNIX PC by Brad Bosch and Brian
  267. Botton.  The MGR windowing environment can replace the standard
  268. /dev/window environment on the UNIX PC quite nicely (it does prevent
  269. some UNIX PC specific programs from being run in this phase, without
  270. the wind.o loadable device driver loaded).  MGR's user interface is
  271. quite similar to a SunWindows environment, and raster operations are
  272. quite fast.  MGR is a user program, not a driver (besides the pty
  273. driver), so it doesn't take up precious kernel space.  It does require
  274. a hardware modification called the VIDPAL.  The VIDPAL (developed by
  275. Brian Botton [...!att!iexist!botton]) is a daughterboard that sits
  276. sandwiched between the 68010 CPU and the motherboard and allows direct
  277. access to video memory from a user process.
  278.  
  279.     At one time, Brian had provided VIDPAL kits but no longer does
  280. so.  If you want to try out MGR, but can't get a VIDPAL board, you may
  281. want to try out John Milton's VIDPAL emulator -- a software-only
  282. solution to video memory access.  It is certainly slower than a real
  283. VIDPAL, but is interesting none the less.  The VIDPAL emulator was
  284. posted to comp.sources.3b1 and so should be archived at standard
  285. archive sites like uunet.uu.net.
  286.  
  287.     A beta source distribution of MGR is on OSU, and can also be
  288. gotten via anonymous ftp from max.physics.sunysb.edu (129.49.21.100).
  289.  
  290. ------------------------------------------------------------------------
  291. 11) How can I get a full 360kB when I format a MS-DOS floppy on the UNIX PC?
  292.  
  293.     The md_format program defaults to formatting floppies with 8
  294. tracks per sector (320kB).  Use the "-9" option to get 9 tracks per
  295. sector (360kB).
  296.  
  297.     A further suggestion is to get "windy.cpio.Z" from the OSU
  298. Archives to run the md_format program since it is one of those which
  299. tends to turn your full-screen UNIX window into a little, horrible-
  300. looking window.  Windy fixes this by running the command in its own
  301. window.
  302.  
  303. ------------------------------------------------------------------------
  304. 12) Are there any other utilities for fiddling with MS-DOS floppies?
  305.  
  306.     The best of the bunch is Emmet P. Gray's Mtools package, which
  307. is available on OSU.  The utilities in this package allow one to copy
  308. files, delete files, rename files, make directories, format disks,
  309. etc.  The 2.0 version of Mtools also supports the C:, D:, etc. drive
  310. partitions of the DOS-73 emulator.
  311.  
  312. ------------------------------------------------------------------------
  313. -- Software development ------------------------------------------------
  314.  
  315. ------------------------------------------------------------------------
  316. 13) Can I use the GNU C compiler in place of the hard-to-find development set?
  317.  
  318.     In theory, anyway, most of what you need can be obtained
  319. elsewhere.  There are at least five things that you need to do C
  320. programming on the UNIX PC:
  321.     o a C compiler
  322.         Use GCC (binary available in languages/gcc-gas.tar.Z
  323.         on OSU-CIS)
  324.     o an assembler
  325.         Use GAS (binary available in languages/gcc-gas.tar.Z
  326.         on OSU-CIS)
  327.     o a linker/loader (/bin/ld)
  328.         This is included in the Foundation Set.
  329.     o system header files
  330.         Alex Crain (alex@umbc3.umbc.edu) has created a set of
  331.         ANSI header files which appeared in Volume 1, Issue 49
  332.         of comp.sources.3b1, with one patch.
  333.     o libraries
  334.         This is the tough one.  There are a bunch of libraries
  335.         that come the Development Set that would be difficult
  336.         to replace.  One of the most important (/lib/libc.a)
  337.         is on the Encryption Set disks in the Foundation Set.
  338.         Supposedly FIXDISK2.0 contains one or more updated
  339.         libraries.  The network and OSU remain good sources
  340.         for strings, POSIX, dirent, etc. libraries.  Of
  341.         course, there are other libraries like /lib/libm.a
  342.         (math), and /lib/libld.a (COFF access) which might be
  343.         more difficult to replace.
  344.  
  345.     This writer hasn't actually heard of anyone actually pulling
  346. this feat off, but sometimes he has trouble paying attention. ("Eh?")
  347.  
  348.     (Thanks to Glenn Thobe for providing up-to-date information.)
  349.  
  350. ------------------------------------------------------------------------
  351. 14) What do I with old archives?
  352.  
  353.     The archive format was changed from release 3.0 to 3.5 of the
  354. operating system.  There is a utility to convert the archives to the
  355. new format.
  356.  
  357.         # convert oldarchive.a newarchive.a
  358.  
  359.     Or you can run:
  360.  
  361.         # arconvert
  362.         # file oldarchive.a newarchive.a
  363.         oldarchive.a: 5.0 archive
  364.         newarchive.a: 5.2 archive
  365.  
  366.     That will convert all the archives in /usr/lib and /lib that
  367. are in the old 5.0 archive format to the new 5.2 archive format.
  368.  
  369. ------------------------------------------------------------------------
  370. -- Administration ------------------------------------------------------
  371.  
  372. ------------------------------------------------------------------------
  373. 15) How do I restore from a backup when one of the floppies is bad?
  374.  
  375.     Get the public domain program called "afio".  It's available
  376. in the OSU archives.  It supports reading the floppy disk backup set,
  377. and will ignore errors and recover when it finds the next cpio ASCII
  378. header if you use the "-k" option.  The backup set must be written
  379. using cpio and the "-c" option must have been used during the writing
  380. of the diskettes.
  381.  
  382.     The syntax for afio to restore is:
  383.         # cd /
  384.         # afio -ivk /dev/rfp021
  385.               ^ use the k option to allow dealing with
  386.                 corrupted archives
  387.  
  388. ------------------------------------------------------------------------
  389. 16) How can I make a floppy-disk-based UNIX for fsck'ing the hard drive?
  390.  
  391.     Make a copy of the "Floppy Filesystem Disk" (Disk 3 of ##) of
  392. the Foundation Set as follows.  Insert the original floppy filesystem
  393. diskette, and have a formatted, 10 sectors/track diskette ready.  Type
  394. the "fpcp" command and copy it.
  395.  
  396.     Now that you have a copy, place a copy of /etc/fsck on it.
  397. While you're at it, save your /etc/inittab in case it gets destroyed
  398. in the future and you can't get the machine to boot.
  399.  
  400.         # mount /dev/fp021 /mnt
  401.         # cp /etc/fsck /mnt/etc/fsck
  402.         # cp /etc/inittab /mnt/etc/inittab.save
  403.         # sync
  404.         # umount /dev/fp021
  405.  
  406.     Now you have a disk that will help you do a standalone
  407. filesystem check.
  408.  
  409.     To use this, first boot the system using the "Floppy Boot
  410. Disk" (Disk 2 of ##).  It will stop and ask you to insert the Floppy
  411. Filesystem Disk.  Insert your copy instead.  When it comes to the
  412. first question, interrupt the script with <DEL> to get a "#" prompt.
  413.  
  414.     The disk is already mounted as /mnt, so unmount it:
  415.         # umount /dev/fp002
  416.         warning: /dev/fp002 not in mount table
  417.     Do your filesystem check:
  418.         # /etc/fsck -D -S /dev/rfp002
  419.     Reboot the system:
  420.         # sync
  421.         # sync
  422.         # reboot
  423.  
  424.     NOTE: the root filesystem is the floppy filesystem, so the
  425. "-s" option to fsck salvages the floppy root filesystem, not the root
  426. filesystem on the hard drive.  This is why "-s" is not used above.
  427.  
  428.     *** THE FOLLOWING IS NOT FOR THE UNINHIBITED OR CASUAL USER ***
  429.  
  430.     For the real UNIX hacker out there (who is fortunate enough to
  431. have a tape drive on your machine) you could grab the fp_unix.sh.Z,
  432. conf.sh.Z and kern.cpio.Z files from the OSU Archives.  This is a set
  433. of tools, along with the kernel object files for 3.51m, that will let
  434. you link in the tape driver (tp.o) to your floppy UNIX kernel and give
  435. you full control of the tape device from the floppy UNIX.  This is
  436. very handy for doing full backups or restores from the floppy!
  437.  
  438. ------------------------------------------------------------------------
  439. 17) How can I get the machine to ask the device and program to boot from?
  440.  
  441.     By default the UNIX PC is set up with the non-verbose system
  442. loader.  This can be changed to the "verbose" loader which will ask
  443. what program and device to load from.
  444.  
  445.     *** WARNING *** Any time you write to the disk device like the
  446. following, be extra careful that you type the correct device name.  A
  447. backup is always recommended.
  448.  
  449.     Insert a blank diskette in the floppy drive.
  450.         # fdfmt.vl
  451.         # /etc/ldrcpy /dev/rfp020 /dev/rfp000
  452.  
  453.     Reboot your machine and you'll be able to load from the floppy
  454. or the hard disk whatever program you desire (not that there is too
  455. much you can load).  It may be useful to copy the several diagnostic
  456. utilities to the hard disk (for easy retrieval).
  457.  
  458.     Insert your diagnostic disk ...
  459.         # mount /dev/fp021 /mnt -r
  460.         # mkdir /dgn
  461.         # cp /mnt/s4diag /dgn/s4diag
  462.         # umount /dev/fp021
  463.  
  464.     This can be repeated for diagnostics like, STARLAN, Voice
  465. Power, DOS-73, Floppy Tape, etc.  Name the diagnostic programs
  466. something unique (slndiag, vpdiag, dosdiag, etc.)  Now you can load
  467. from the hard disk /dgn/s4diag, /dgn/vpdiag, etc.. and have that
  468. diagnostic utility handy when needed.
  469.  
  470.     NOTE: After you do this procedure your system will not reboot
  471. automatically (after power failures) without some user input.
  472.  
  473. ------------------------------------------------------------------------
  474. 18) How do I get multiple login windows? 
  475.  
  476.     It is fairly easy to start up several windows with logins on
  477. them: all you need to do is add additional getty commands to the
  478. /etc/inittab file.  Don't be afraid to edit your /etc/inittab, even
  479. though there is a big warning at the top of the file -- nothing will
  480. happen if you are careful.
  481.  
  482.          vid:2:respawn:/etc/getty window 9600
  483.          vd2:2:respawn:/etc/getty window 9600
  484.          vd3:2:respawn:/etc/getty window 9600
  485.         ^ NOTE: in all cases there is a space character there.
  486.  
  487.     This will start up 3 windows with logins.  Using the
  488. <Shift><Suspd> key, you can cycle through all of them.
  489.  
  490.     Another option is to get the Boyd Ostroff's "wlogin" package,
  491. posted to comp.sources.3b1 and available from the archives.  This
  492. program can either replace or work with /etc/getty on the console and
  493. lets you have multiple overlapping 24 line x 80 character windows
  494. using a smaller font.  It will work with or without wmgr, smgr, ph and
  495. ua.  The number of windows and their position is fully configurable by
  496. the user.  If desired, it can provide a simple alternative windowing
  497. environment to the UA, allowing you to remove ua and all its
  498. associated files, thus freeing up over 1 MB of disk space.
  499.  
  500. ------------------------------------------------------------------------
  501. 19) What the heck is a +IN suffix on a file?
  502.  
  503.     On the UNIX PC, "+IN" denotes an "Installable File".  If you
  504. were to use the UA it would show that it's an Installable File.  The
  505. Installable format is just a normal cpio archive.  The file can be
  506. installed by hand by doing:
  507.  
  508.         # mkdir /tmp/install
  509.         # mv FILE+IN /tmp
  510.         # cd /tmp/install
  511.         # cpio -icduvmB < ../FILE+IN
  512.         [...]
  513.         # ./Install
  514.  
  515.     A list of other Suffixes appears in the file
  516. /usr/lib/ua/Suffixes.
  517.  
  518. ------------------------------------------------------------------------
  519. 20) What do the HDERR (FDERR, or TPERR) messages in /usr/adm/unix.log mean?
  520.  
  521.     There are several possible causes for these.  One of course is
  522. a bad disk, or a disk that has gone bad.  But one should check the
  523. other options before determining the disk is really bad.
  524.  
  525.     Dirty power supply contacts have been known to cause these
  526. problems.  Open the machine and clean the power supply contacts on the
  527. ribbon-type cable that goes from the supply to the motherboard.
  528.  
  529.     A weak or faulty power supply could also be your problem.
  530. Test the power supply voltages (with the hard drive and motherboard
  531. connected as a load), using some sort of Y-connector off the power
  532. cable to the hard drive.  Test the +12VDC and +5VDC supplies with a
  533. meter, and make sure they are within acceptable tolerances.  If they
  534. are too low, intermittent HDERRs will occur.  There are several
  535. adjustment screws on the power supply (marked +5, +12, -12) that can
  536. adjust these values.  Turning clockwise will increase the value, and
  537. counterclockwise will decrease it.  Faulty power can make a good hard
  538. disk or motherboard appear to be bad.
  539.  
  540.     More commonly you'll find FDERRs in your /usr/adm/unix.log
  541. file.  Every time you format a new floppy disk, you'll get at least
  542. one.  Floppy disks are prone to more errors, especially if you get
  543. those bargain basement brand types.
  544.  
  545.     TPERRs might appear if you have a bad or defective cartridge
  546. tape block.  If you start seeing a lot of these during your backup or
  547. verify phases, it would be a good idea to re-format the tape and run
  548. another surface check (to check for possibly bad streams, or good
  549. streams that have gone bad).
  550.  
  551. ------------------------------------------------------------------------
  552. 21) Why are the header files missing after an install of the Development Set?
  553.  
  554.     One of the packages' Install scripts (apparently that of
  555. "Curses/Terminfo Programmers Package"), copies curses.h to
  556. /usr/include anticipating that the directory has already been created
  557. by a previous package's Install script.  If /usr/include doesn't exist
  558. yet because the packages weren't installed in the right order, the
  559. Install script will make a *file* called /usr/include, which is really
  560. curses.h.
  561.  
  562.     To prevent this from happening, install the packages in this
  563. order:
  564.  
  565.         Curses/Terminfo End User Package
  566.         Development Set 3.5x
  567.         Curses/Terminfo Programmers Package
  568.  
  569. ---------------------------------------------------------------------
  570. 22) Why is the machine is booting over and over?
  571.  
  572.     The stock /etc/rc that called when the machine boots up writes
  573. the output of the fsck(1M) to the hard disk (/etc/.lastfsck).  This is
  574. definitely a problem.  Many people prefer having control over what
  575. fsck does rather than running fsck with the "-y" option and having it
  576. do all the work.  A lot of times fsck will delete files or clear them
  577. and you have no control over what it's doing.
  578.  
  579.     Check out the fsokay.cpio.Z package on OSU, it contains some
  580. enhanced /etc/rc scripts and tools to make the booting phase of the
  581. UNIX PC a lot cleaner and more reliable.
  582.  
  583. ------------------------------------------------------------------------
  584. 23) Is HoneyDanBer UUCP available to replace the stock uucp software?
  585.  
  586.     HDB binaries and documentation are available on OSU as the
  587. following files:
  588.         ~/att7300/STORE/HDB3.5+IN.Z
  589.         ~/att7300/STORE/HONEYDOCS+IN.Z
  590.  
  591. ------------------------------------------------------------------------
  592. 24) Why doesn't the On-Board Modem (OBM) work with some other modems?
  593.  
  594.     The OBM creates answerback tones which identifies itself (for
  595. some reason) as an MNP reliable modem (!).  This confuses some MNP
  596. modems and the Telebit Trailblazer (only if set in MNP reliable mode).
  597. These cannot be altered in the OBM, but often a system which cannot
  598. call the UNIX PC OBM can be called by the UNIX PC OBM.
  599.  
  600. ------------------------------------------------------------------------
  601. 25) How do I get my on-board modem to be a dial-out-only modem?
  602.  
  603.     The easiest way to do this is to edit (with your favorite
  604. editor) the /etc/inittab file.  Change the line:
  605.  
  606.          ph0:2:respawn:/etc/getty ph0 1200
  607.     to:
  608.          ph0:2:off:/etc/getty ph0 1200
  609.         ^
  610.     NOTE: There is a space character in front of the first "ph0"
  611. in the lines above.  ph0 may be ph1 if you are using line 2 for the
  612. on-board modem.
  613.  
  614. ------------------------------------------------------------------------
  615. 26) Does the on-board modem support 2400 bps?
  616.  
  617.     In what Convergent considered future releases of the UNIX PC
  618. (P6), there was to be a 2400 bps modem.  This machine was never fully
  619. developed to production levels, and therefore there is no 2400 bps
  620. modem.  Interesting trivia: The machine was to have a color video,
  621. 60MB QIC tape, as well as a 68020 CPU paired with a 68881 FPU.
  622.  
  623. ------------------------------------------------------------------------
  624. 27) Why aren't the lpadmin, accept, and reject commands working right?
  625.  
  626.     The lpadmin(1M), accept(1M), and reject(1M) commands require
  627. the user to be logged in as (or su'd to) user "lp".  Being root will
  628. not work.
  629.  
  630.         # su lp
  631.         $ disable lp1
  632.         $ /usr/lib/lpadmin -plp1 -mdumb -v/dev/lp
  633.         $ enable lp1
  634.  
  635. ------------------------------------------------------------------------
  636. 28) Why are all the jobs on the printer always followed by a formfeed?
  637.  
  638.     The line printer driver follows each close(2) of /dev/lp with
  639. a formfeed.  There is no way to disable this, except by avoiding the
  640. driver altogether and going straight to the raw printer device.
  641.  
  642.         # su lp
  643.         $ /usr/lib/lpadmin -plp1 -mdumb -v/dev/rawlp
  644.  
  645. ------------------------------------------------------------------------
  646. 29) Why can't I send bitmapped images to the printer correctly?
  647.  
  648.     8-bit, bitmapped images need to go to the raw printer device,
  649. /dev/rawlp.
  650.  
  651. ------------------------------------------------------------------------
  652. 30) How do I configure a Hayes compatible external modem on the UNIX PC?
  653.  
  654.     Thanks to Jim Adams, included in the OSU Archives is an
  655. informational posting (posted to unix-pc.uucp and comp.sys.att) on how
  656. to set up your external modem under HDB uucp.  The file is named
  657. HDB_Modem.Z.
  658.  
  659.     The file uses the "hayes" modem as the example, although
  660. information could probably be extracted for uses with other modems.
  661. If you want information on how to set up your Telebit Trailblazer
  662. modem, get the file tb-setup.sh.Z on OSU.
  663.  
  664.     This posting was too large to include in its entirety here, so
  665. a completely separate posting was made.  He goes into how to set up
  666. the modem, proper cabling, proper Devices and Dialers entries, and a
  667. discussion on HFC (hardware flow control).
  668.  
  669.     Additionally, the "modemon" package by Boyd Ostroff provides a
  670. simple way to configure external modems.  It consists of a small
  671. program executed via inittab which can reset your modem and execute
  672. any desired AT commands each time a getty is spawned on the serial
  673. port.  This allows you to configure the modem differently for incoming
  674. and outgoing calls and is especially handy if your modem doesn't have
  675. nonvolatile parameter RAM.  The package includes complete
  676. documentation and examples of how to set up an external modem.  It was
  677. posted to comp.sources.3b1 and is available in the archives.
  678.  
  679. ------------------------------------------------------------------------
  680. 31) Any tips on building Cnews?
  681.  
  682.     A sample build.def from Jan Isley (jan@bagend.uucp) follows
  683. with the following interesting characteristics noted:
  684.     - news account is uid=20, gid=20
  685.     - bin owns the executables
  686.     - using Doug Gwyn's dirent library (available on OSU)
  687.     - using a mailer that understands @ addressing (like smail 2.5)
  688.     - UNIX PC kernel does not support setuid(geteuid())
  689.     - other site-specific stuff (machine name and organization)
  690.  
  691. newsuid="news"
  692. newsgid="news"
  693. binuid="bin"
  694. bingid="bin"
  695. binsrc="no"
  696. mess="no"
  697. unmess="no"
  698. newsarts="/usr/spool/news"
  699. newsctl="/usr/lib/news"
  700. newsbin="/usr/lib/newsbin"
  701. newsumask="002"
  702. newsmaster="usenet"
  703. newsconfig="/usr/lib/news/bin/config"
  704. chown="/bin/chown"
  705. chboth="yes"
  706. chgrp="/bin/chgrp"
  707. unixkind="usg"
  708. addrsize="big"
  709. dbmopt=""
  710. faststdio="no"
  711. storeval="yes"
  712. faststrchr="yes"
  713. sete="no"
  714. ranlib="no"
  715. symdef="yes"
  716. cc="ccc"
  717. copts="-O"
  718. ldopts="-s"
  719. postlibs="-ldirent"
  720. hostname="no"
  721. uname="yes"
  722. uucptype="hdb"
  723. dftype="ustat"
  724. dfdirs="no"
  725. archive="yes"
  726. spacelow="yes"
  727. nfsgroup="no"
  728. server="newsie"
  729. manpages="/usr/man"
  730. manmess="no"
  731. rbin="/usr/bin"
  732. doui="no"
  733. bin="/usr/bin"
  734. atok="yes"
  735. postdefltdist=""
  736. paranoid="no"
  737. whoami="bagend"
  738. mailname="bagend.uucp"
  739. organization="1 Bagshot Row, the Shire"
  740. postdefltgroup=""
  741. newspath="/bin:/usr/bin:/usr/local/bin"
  742. fake=" fsync.o mkdir.o symlink.o strerror.o"
  743. fakehdrs=" ../include/string.h ../include/sys/timeb.h"
  744. immediate="no"
  745. inputstall="yes"
  746. defsub=""
  747. mustsub=""
  748.  
  749. ------------------------------------------------------------------------
  750. 32) What are lipc and nipc, and how can I use nipc instead of lipc?
  751.  
  752.     /etc/lddrv/lipc is the loadable device driver that implements
  753. System V inter-process communications on the UNIX PC (semget(), etc.).
  754. /etc/lddrv/nipc is a newer implementation of this driver which fixes
  755. an IPC bug, but was never fully tested.  The default driver loaded by
  756. /etc/lddrv/drivers is lipc, and in fact, this is the driver which the
  757. program ipcs looks for when it reports on IPC usage.  No bugs with nipc
  758. have been uncovered since it was made available (87?), and many people
  759. would rather run the "better" driver than stick with the old lipc.
  760.  
  761.     There are two approaches for replacing lipc with nipc.  The
  762. most obvious way is to edit /etc/lddrv/drivers to replace lipc with
  763. nipc for when the system is next booted, then replacing the in-core
  764. lipc with nipc with the following sequence:
  765.  
  766.         # cd /etc/lddrv
  767.         # ./lddrv -dv lipc
  768.         # ./lddrv -av nipc
  769.  
  770.     Unfortunately, ipcs will not find the lipc driver, and so
  771. won't give any IPC status.  This can be overcome by wielding a binary
  772. editor in the general direction of /usr/bin/ipcs, replacing the
  773. hard-coded instances of "lipc" with "nipc".
  774.  
  775.     Another method is to remove lipc from core (./lddrv -dv lipc),
  776. rename its files to something benign (lipc -> lipc.old, lipc.o ->
  777. lipc.o.old, ifile.lipc -> ifile.lipc.old), rename the nipc files to be
  778. lipc (nipc -> lipc, nipc.o -> lipc.o, ifile.nipc -> ifile.lipc), and
  779. finally reload the new lipc (./lddrv -av lipc).
  780.  
  781. ------------------------------------------------------------------------
  782. -- Upgrading -----------------------------------------------------------
  783.  
  784. ------------------------------------------------------------------------
  785. 33) What third-party hardware is available?
  786.  
  787.     Presently there are no known distributors that have a
  788. selection of UNIX PC hardware.  The best source for hardware is the
  789. network, reading comp.sys.3b1 and misc.forsale.  There is always
  790. someone selling UNIX PCs and the appropriate hardware expansion.
  791.  
  792. ------------------------------------------------------------------------
  793. 34) Can I put a 68881 math coprocessor in my machine?
  794.  
  795.     AT&T had listed a 68881 feature as being available for the
  796. UNIX PC, but it was never fully developed.
  797.  
  798. ------------------------------------------------------------------------
  799. 35) Can I really get 4MB of memory, even with a 1.5MB combo card, 512K RAM 
  800.     card, and 2MB of RAM on the motherboard?
  801.  
  802.     The answer is yes.  It does require a simple pin-ectomy.  You
  803. need to fool the hardware to think the 512K RAM card is in a slot that
  804. doesn't physically exist on the UNIX PC.  For more information on how
  805. to do this, grab John Milton's HwNote06 from the archive sites.
  806.  
  807. ------------------------------------------------------------------------
  808. 36) Can I hook up a 3.5" 720K floppy drive to my UNIX PC?  How about
  809.     a 1.2MB or 1.44MB floppy drive?   Can I run both the 3.5" drive and 
  810.     the 5.25" drive on my machine somehow?
  811.  
  812.     Yes, to the 720K.  No, to the 1.2MB and 1.44MB.
  813.  
  814.     Putting a 720K 3.5" floppy drive is rather simple if you are
  815. just replacing the existing 360K 5.25" drive completely.  In most
  816. cases it's a one-to-one swap, providing you can get the jumper setting
  817. set correctly on the 3.5" drive.
  818.  
  819.     You can run both drives, provided you make a mechanical switch
  820. (SPDT) to change the drive select between the 5.25" 360K internal
  821. drive and the 3.5" 720K (run externally).  You need to make a cable to
  822. switch the pin 10 (FDRIVE0*) from one drive to the other.  Drilling a
  823. hole in the case above the left fan grate is a suitable spot.
  824.  
  825.     When you use the 720K drive, all you need to do is create an
  826. iv description file that has 80 cylinders instead of 40, and you get
  827. the full 800K (80 tracks, 10 sec/trk).  Makes backups go faster!
  828.  
  829. ------------------------------------------------------------------------
  830. 37) Can I put a larger hard disk drive in the UNIX PC?
  831.  
  832.     Upgrading from a 10MB, 20MB, or 40MB to a 67MB drive requires
  833. a 3B1 power supply and a 3B1 case top (the 40MB and 67MB drive is
  834. full-height).  There are other solutions to this -- you can get
  835. half-height drives that have seek times faster than the 80ms of the
  836. old 10MB and 20MB drives, and which have more disk space.  So long as
  837. the drive has a ST506/MFM interface, has less than or equal to 1024
  838. cylinders and less than or equal to 8 heads, the drive will work
  839. without *any* hardware modifications.
  840.  
  841.     To upgrade to a disk with more than 8 heads and more than 1024
  842. cylinders there are several approaches one can take.  Gaining more
  843. cylinders is the easiest of upgrades: all you need to do is replace
  844. the WD1010 disk controller (which is socketed on the motherboard at
  845. location 21H) with the pin-for-pin compatible disk controller, WD2010.
  846. The WD2010 comes in several varieties, and all seem to work for the
  847. most part (WD2010A, WD2010B, etc.).  The WD2010 is a very difficult
  848. part to come by -- Intel makes (or made) a pin-compatible version of
  849. the WD2010, the Intel 82064.  There has been some discussion on Usenet
  850. that people haven't been able to get the WD2010 to work in their older
  851. revision motherboard UNIX PC or PC7300.  These machines have a
  852. daughterboard that handles the disk circuitry, instead of the
  853. all-in-one chip that was replaced in the later models.
  854.  
  855.     The operating system, from at least release 3.0, supported an
  856. unreleased motherboard revision, P5.1.  The P5.1 revision level (like
  857. the P3...P5 that you see during the boot phase) includes some extra
  858. features such as an extra disk head select (expanding to 16 read/write
  859. disk heads) and extra drive select (allowing expansion to two
  860. simultaneous hard disks).  With the appropriate hardware modifications
  861. (all requiring some expertise in soldering and reading schematics),
  862. one could upgrade his motherboard to emulate this undocumented
  863. motherboard revision.  These upgrades weren't released to the public
  864. by either CT or AT&T during the life-cycle of the product, but were
  865. later released and made public by several people in several different
  866. forms.
  867.  
  868.     o   John Milton <...!cis.ohio-state.edu!n8emr!uncle!jbm> has a prebuilt
  869.         circuit board that offers up to 4 hard disks and 2 floppy drives, but
  870.         be forewarned that the operating system only supports the two
  871.         hard disks and one floppy drive.  If the operating system patches
  872.         could be made, John's hardware would support it.  He's offering a
  873.         prebuilt and pretested board that can be wired into the motherboard.
  874.         The motherboard wiring (jumpers) and soldering will have to be done 
  875.         as well before you can use John's board (this is not a plug in and
  876.         go situation -- it requires some time to wire).  The board and
  877.         instructions currently cost $75, but contact John for pricing.
  878.  
  879.     o   SSDL/ICUS Hard Disk Upgrade Version 2.0.
  880.     Gil Kloepfer, Jr (gil@limbic.ssdl.com) is currently (10Jan92)
  881.     offering the second version of the popular ICUS do-it-yourself
  882.     hard-disk upgrade kit.  From the announcement, answering the
  883.     question "What is it?" --
  884.     "It is a single-chip upgrade to the 3B1 that allows a second
  885.     hard disk to be added and a 4th head select line to allow
  886.     disks with more than 8 heads to be used.  It is a superset of
  887.     the functionality of the P5.1 PAL (ie. you don't need P5.1 to
  888.     use the V2.0 PAL), and completely emulates all the
  889.     functionality of the earlier ICUS V1.0 upgrade.
  890.  
  891.     "This upgrade *DOES NOT* extend the number of cylinders
  892.     (>1024).  You must purchase a WD2010 to replace the WD1010
  893.     chip on the motherboard if you wish to do this."
  894.  
  895.     Full information about availability and pricing can be
  896.     obtained from v2upgrade@limbic.ssdl.com.
  897.  
  898.     o   FIELD P5.1 PAL upgrade.  The P5.1 instructions were posted to 
  899.         unix-pc.general a long time ago, and are now archived on OSU in
  900.         the P5.1.Z file.  This requires a preprogrammed PAL chip to be made.
  901.  
  902.     The largest disk which can be handled by the UNIX PC/3B1 is:
  903.  
  904.     o   Motherboard revision P3...P5 (WD1010 disk controller)
  905.     8 heads x 1024 cyls x 16 sectors/track x 512 bytes/sector  =  67.1MB
  906.  
  907.     o   Motherboard revision P3...P5 (WD2010 disk controller)
  908.     8 heads x 1400 cyls x 16 sectors/track x 512 bytes/sector  =  91.7MB
  909.  
  910.     o   Motherboard revision P5.1 (modified) (WD1010 disk controller) 
  911.     16 heads x 1024 cyls x 16 sectors/track x 512 bytes/sector = 134.2MB
  912.  
  913.     o   Motherboard revision P5.1 (modified) (WD2010 disk controller)
  914.     16 heads x 1400 cyls x 16 sectors/track x 512 bytes/sector = 183.5MB
  915.  
  916.     NOTE: 1400 cylinders is the #define HDMAXCYL in
  917. /usr/include/sys/gdisk.h -- although the WD2010 can support up to 2048
  918. cylinders, the operating system cannot.  Also, with the multiple hard
  919. disk upgrades you can have two disks that can be as large as the above
  920. sizes for the P5.1 modified motherboard revision.
  921.  
  922.     FINAL NOTE ON THE WD2010: Some folks have reported troubles
  923. with their systems after installing the WD2010, far too many to
  924. discount as due to bad chips.  Thad Floryan was irritated enough by
  925. this to take time away from sheep-herding and solve the problem.  This
  926. problems occurs only on certain versions of the 3b1 motherboard.
  927. Short and sweet, quoting from Thad here:
  928.  
  929.     "So, in overview, the complete and correct "DRUN patch" modification 
  930.     to a 3B1 motherboard which does function with a WD1010 but does not 
  931.     function with a WD2010 is:
  932.         1. separate and lift [13N] 74123's pins 1 and 2 
  933.            from the motherboard
  934.         2. run a wire from the lifted [13N] pin 1 
  935.            to [13M] 74F10 pin 7 (ground)
  936.         3. run a wire from the lifted [13N] pin 2 
  937.            to [13K] 26LS32 pin 3
  938.         4. replace R63 per:
  939.             original:  6.81K,  1%, 1/4W
  940.             new value: 4.75K, 1%, 1/4W
  941.     Parts list:
  942.         1. new 74123 (reason for this is described below)
  943.         2. 4.75K, 1%, 1/4 W precision resistor
  944.         3. less than one foot of 30ga "wire-wrap" wire 
  945.            for the two patches"
  946.  
  947.     And additionally:
  948.  
  949.     "If your system is one that DOESN'T have the "DRUN Patch"
  950.     then putting the WD2010 in your system will cause you a LOT
  951.     of grief.  From my observations on MANY systems, it's not
  952.     always obvious whether the patch exists on one's system;
  953.     some factory runs implemented the patch along the lines
  954.     of what I described in my posting last December [excerpted
  955.     above], and some runs had the patch integrated into
  956.     (presumably) new motherboard layouts where the legs of the
  957.     74123 chip are NOT sticking up in the air.  If the resistor at
  958.     R63 has the color code bands, then the presence of 4.75K 1%
  959.     means the patch is already applied (the value of 6.81K 1%
  960.     means you have the old data separator circuit which will NOT
  961.     function properly with a WD2010); if the resistor is the RN05
  962.     type (no color bands) then you probably won't be able to read
  963.     the value and you'll either have to remove it (to read the
  964.     value) or forget the whole thing.
  965.  
  966.     The ABSENCE of a capacitor at C252 is also a good clue one's
  967.     motherboard has the DRUN patch already applied."
  968.  
  969. ------------------------------------------------------------------------
  970. -- Maintenance ---------------------------------------------------------
  971.  
  972. ------------------------------------------------------------------------
  973. 38) How do I park the hard disk heads before moving the machine?
  974.  
  975.     The Miniscribe and Hitachi disks used in the 40MB and 67MB
  976. machines parks the heads automatically (and loudly when the power is
  977. turned off.  (That's that *clunk* sound you hear when you hit the
  978. power switch.)  Also note that many newer drives have auto-parking
  979. mechanisms -- check with your specific manufacturers for more
  980. information.
  981.  
  982.     If your drive doesn't auto-park (many Seagates don't), or you
  983. want to make extra sure that the heads are in the parked position,
  984. then after the machine is shutdown insert the Diagnostics floppy disk
  985. and boot from it.  Select "Park Disk Heads" from the Diagnostics menu.
  986.  
  987.     Note that the older 7300 machines have 10 or 20MB disks which
  988. do not auto-park.  If you're buying one used (especially at an auction
  989. or a fair), you may want to bring along a diagnostics diskette to make
  990. sure the disk is okay.
  991.  
  992. ------------------------------------------------------------------------
  993. 39) How do I open the case and get to the motherboard?
  994.  
  995.     [Courtesy of Norman Yarvin:]
  996.  
  997.     Three sets of screws hold the case together.  The first set
  998. consists of two screws underneath the keyboard retainer posts, and
  999. three screws in the rear panel.  (The keyboard retainer posts hold the
  1000. keyboard to the base -- one is next to the socket for the keyboard
  1001. plug.  Note the seam around the top of the retainer posts.  Remove the
  1002. covers from the posts, and you'll find a screw inside each.)
  1003.  
  1004.     When this set of screws is removed, the top (plastic) part of
  1005. the case is attached to the bottom only by some cables, which have
  1006. enough slack to let you take the top of the case off, tilt it
  1007. backward, and rest it on its rear behind the machine.  However, this
  1008. is quite a difficult task.  This is because it is hard to get the very
  1009. front of the case up; the plastic is shaped in such a way as to catch
  1010. on to the metal bottom somewhere.  A bit of wrestling with the case is
  1011. usually necessary here, and some people prefer to take the top part of
  1012. the top part off (the next paragraph) before taking off the bottom
  1013. part of the top part.
  1014.  
  1015.     The second set of screws holds the top part of the case
  1016. together.  It consists of six screws, pointing upwards, which are
  1017. found under the overhang of the case.  The only time they really need
  1018. to be removed is when replacing the fan.  In addition to these screws,
  1019. two or three plastic hook-and-tab latches in the front of the machine
  1020. need to be released.  The top of the case must be moved outward
  1021. slightly (usually with a screwdriver or finger pressure) along the
  1022. joint to the right of the floppy drive in order to release the
  1023. catches.  [The three plastic catches in the front are in the middle,
  1024. and at about the 7th-to-10th louvers from the left and right of the
  1025. case.]
  1026.  
  1027.     Taking off the top of the case exposes only the floppy drive,
  1028. the hard disk (underneath shielding) and the power supply.  To get to
  1029. the motherboard, you then have to unscrew the third set of screws --
  1030. three screws at the very front of the machine.  The two latches on
  1031. either side of the motherboard cover become obvious when one tries to
  1032. lift up the panel, and are easily released.  The motherboard cover
  1033. pivots at the rear; it can be lifted up.  To lift it up more than an
  1034. inch, the power supply cable and the 10-pin video cable must be
  1035. unplugged.  After that the metal shielding can be lifted and slid
  1036. along the tracks and then flipped up or removed.  This exposes the
  1037. motherboard.  If you need to remove the motherboard shielding
  1038. completely and the monitor assembly, you need to disconnect the floppy
  1039. and hard disk cables from the motherboard (note the direction of the
  1040. connectors, and when replacing them be very sure that the 20-pin and
  1041. 34-pin connectors are seated correctly on the associated pins).  If
  1042. you have a PC7300 power supply and motherboard, your floppy drive
  1043. power cable might also be connected to the motherboard.  To remove the
  1044. whole assembly, in that case, you'll need to remove the power
  1045. connector from the back of the floppy drive as well.
  1046.  
  1047.     Be careful when putting the top of the Unix PC/3B1 back on; a
  1048. common cause for the machine not powering up after the cover is
  1049. replaced is the 120VAC connectors (brown and blue wires crimped on)
  1050. falling off the power input, or being pulled off by the hard drive as
  1051. the case is closed.  The green ground wire has a tendency to get
  1052. caught in the fan blades (causing the fan not to start spinning when
  1053. the machine is turned on) or caught in the case itself.  Check that
  1054. the fan is working after closing the case.
  1055.  
  1056.     As always, use your head.  Be careful when exposing any
  1057. component of the Unix PC.  There are many static sensitive components;
  1058. ground yourself before poking around inside.
  1059.  
  1060. ------------------------------------------------------------------------
  1061. 40) Why does my fan sometimes speed up and slow down?  Should I replace it?
  1062.  
  1063.     The fans have been a problem with the UNIX PC in a lot of
  1064. cases.  What happens is the 12VDC fan is connected to a thermal switch
  1065. that will run the fan motor faster when the machine is hot, and then
  1066. slow it down when the machine cools.  There have been occasions,
  1067. however, when a fan goes from fast to slow, and then slows all the way
  1068. to a dead stop.  The fan tends to collect a lot of dust and dirt, and
  1069. sometimes when switching to the slow speed it goes so slow that it
  1070. stops and doesn't have enough "umph" to start up again.
  1071.  
  1072.     Gil Kloepfer theorizes the reason for this happening is that
  1073. the 12VDC fan is constantly running with too little current due to a
  1074. resistor wired in series with the power supply when the thermal switch
  1075. is in its normally open position.  When the fan is beginning to
  1076. malfunction, it will run subtly slower, but not enough to keep enough
  1077. air moving through the machine.  The thermal switch kicks-up the
  1078. power, which causes the fan to move faster and cool the machine down
  1079. until the switch kicks-out again.  This cycling effect keeps going
  1080. until the fan become excessively weak and clogged with dirt to where
  1081. it eventually stops working permanently.  But he goes on to add that,
  1082. in any case, "I don't think it's just dirt."
  1083.  
  1084.     The next stage is the machine overheats, the power supply cuts
  1085. out, and the machine powers down, then it powers up, and down, and up.
  1086. If you are lucky, you catch this before major damage occurs or you
  1087. take preventive measures beforehand.  Most of the time the power
  1088. supply gets so hot, it warps the plastic case above it.  This is a
  1089. sure sign that a UNIX PC has had a "meltdown" before.
  1090.  
  1091.     What can you do?  Well, you can replace the 12VDC fan with a
  1092. 3" 120VAC fan.  The 120VAC fans are more robust, they produce more air
  1093. current (~34CFM normally) and don't draw on the power supply any.  One
  1094. drawback is that they are noisier.  Radio Shack has an appropriate
  1095. 120VAC fan for $16.95, cat. no. 273-242.
  1096.  
  1097.     Some people can go years or forever without ever having a
  1098. problem, but it just takes that one day that you aren't around and the
  1099. machine goes into "meltdown" and then you'll be assured some damage
  1100. somewhere.
  1101.  
  1102. ---------------------------------------------------------------------
  1103. 41) Why has my clock stopped?
  1104.  
  1105.     Your battery is dead.  On the UNIX PC motherboard there is a
  1106. 3.0 VDC lithium battery which keeps the real-time clock operating.
  1107. Unfortunately, the battery is soldered to the motherboard in most
  1108. cases.  It's either the round cylindrical canister type, or more
  1109. commonly the flat disc shaped battery.  A suitable replacement can be
  1110. purchased at Radio Shack, but you'll need to get the disc battery
  1111. holder.  If you desolder the battery from the motherboard, solder in
  1112. the holder, future replacing of this battery will be much simpler.  If
  1113. you are nervous about touching a soldering iron to your precious
  1114. machine, ASCRC will do it for you (see above).
  1115.  
  1116. ------------------------------------------------------------------------
  1117. -- Failures ------------------------------------------------------------
  1118.  
  1119. ------------------------------------------------------------------------
  1120. 42) What can I do when I turn on my UNIX PC and all I see is a "green screen"?
  1121.  
  1122.     This symptom crops up in a lot of UNIX PC's.  Generally, the
  1123. machine can be revived with only little fuss.  Open the machine down
  1124. to the motherboard.  Carefully reseat all the socketed chips,
  1125. especially the 68010 CPU.  Blow all of the accumulated dust out of the
  1126. machine (vacuuming is not recommended due to the possibility of static
  1127. discharge).  7 times out of 10 the machine will boot afterwards.  If
  1128. the machine still doesn't boot, it could be something more serious.
  1129. Check with the ASCRC on how you can go about getting the machine
  1130. repaired.
  1131.  
  1132. --------------------------------------------------------------------
  1133. 43) What can I do when I turn on my UNIX PC and I have no video?
  1134.  
  1135.     The first thing you could do is check the brightness control.
  1136. After you are sure that it's not that, the problem generally goes away
  1137. by replacing the power supply.  If you don't have a spare one, try
  1138. asking on Usenet, or deal with either AT&T or ASCRC.
  1139.  
  1140. ------------------------------------------------------------------------
  1141. 44) What can I do when I get lots of FDERRs when writing/formatting a floppy?
  1142.  
  1143. Jon H. LaBadie, Boyd Ostroff, and Perry Miller have suggested that
  1144. there could be accumulated dust blocking the write protect apparatus
  1145. on the floppy drive.  The easiest solution for this is to get a can of
  1146. compressed air, or blow real hard into the floppy aperture several
  1147. times.  This generally will remove the dust or dirt from the area, and
  1148. hopefully will solve the problem.  (With the light being blocked, the
  1149. floppy drive is considered permanently write protected!)
  1150.  
  1151.     If the problem persists after you follow the simple solution,
  1152. you might have to open the machine, remove the floppy drive, and
  1153. perform a closer examination.  If all else fails, a standard TEAC 360K
  1154. floppy drive is a one-for-one replacement.
  1155.  
  1156. ------------------------------------------------------------------------
  1157. 45) Why does rn fail with "Can't open /dev/tty" from the built-in modem?
  1158.  
  1159.     The problem is a line in the term.c file.  The lines that have
  1160. to be changed for rn to work are:
  1161.  
  1162.     Before change:
  1163.  
  1164.         [...]
  1165.             devtty = open("/dev/tty",O_RDONLY);
  1166.             if (devtty < 0) {
  1167.             printf(cantopen,"/dev/tty") FLUSH;
  1168.             finalize(1);
  1169.             }
  1170.             fcntl(devtty,F_SETFL,O_NDELAY);
  1171.         [...]
  1172.  
  1173.     After change:
  1174.  
  1175.         [...]
  1176.             devtty = open("/dev/tty",O_RDWR);    /* changed for UNIX PC */
  1177.             if (devtty < 0) {
  1178.             printf(cantopen,"/dev/tty") FLUSH;
  1179.             finalize(1);
  1180.             }
  1181.             /* fcntl(devtty,F_SETFL,O_NDELAY);   /* changed for UNIX PC */
  1182.         [...]
  1183.  
  1184.     This change is required because the /dev/ph* devices require
  1185. DATA connections to be opened with O_RDWR, so changing the O_RDONLY
  1186. (or, in some versions of rn, the constant 0) to O_RDWR will solve your
  1187. problems.  Note that these changes are also required for rn-derived
  1188. programs like trn.
  1189.  
  1190. ------------------------------------------------------------------------
  1191. 46) Can I connect my Starlan board to an Ethernet?
  1192.  
  1193.     No, you cannot connect Starlan to an Ethernet network, at
  1194. least not directly.  Starlan, or in the case of the UNIX PC, Starlan-1
  1195. (1BASE5) is a 1Mbps (megabits/sec) network over twisted pair wire.
  1196. The URP protocol is used to communicate over Starlan-1 on the UNIX PC.
  1197. The newer Starlan standard is Starlan-10 (10BASE2) and is 10Mbps which
  1198. is more *like* Ethernet.  The protocol used is the ISO/OSI standard,
  1199. and therefore its interconnectability is increased.  However, this is
  1200. not compatible with the UNIX PC version.  There is an expensive item
  1201. that AT&T sells, called the Starlan 1:10 Bridge, which connects the
  1202. two networks together if this is a necessity, but plan to spend around
  1203. $4,500 for the convenience.  (AT&T PEC Code: STARLAN 1:10 BRIDGE
  1204. 2611-005.) According to AT&T Stargroup documentation, there is
  1205. software available to interconnect Starlan-10 hardware to Ethernet
  1206. using IEEE 802.3, TCP/IP protocol, this of course in conjunction with
  1207. the Bridge could connect Starlan-1 via the Starlan 1:10 Bridge to
  1208. Starlan-10, and then to Ethernet, a roundabout way, but presumably
  1209. possible.
  1210.  
  1211.     If you want to connect your UNIX PC to a *real* Ethernet,
  1212. you'll need to hunt down the AT&T UNIX PC Ethernet board.  This board
  1213. runs a version of the TCP/IP drivers developed by Wollogong.  The
  1214. board will require the proper cables, as well as a transceiver.  This
  1215. increases the cost of Ethernet interconnectability.  The Wollogong
  1216. TCP/IP drivers are an older version not supported by Wollogong
  1217. anymore.  It's generally acknowledged that there are many bugs, and
  1218. the throughput of the board is nowhere near what Ethernet should be
  1219. getting.  (People report that throughput with the Starlan-1 board was
  1220. better than the TCP/IP Ethernet board, which shouldn't be the case.)
  1221.  
  1222.     Thanks to the hard work of Roger Florkowski
  1223. (cs.utexas.edu!taliesin!roger), UNIX PC Starlan users don't have to be
  1224. limited with just uucp'ing and cu'ing over the network.  He has ported
  1225. and created a bunch of BSD network utilities (r* commands).  His
  1226. package, (bsdslan.cpio.Z on OSU-CIS) allows one to do remote tape
  1227. operations, remote copies, and remote shell commands.
  1228.  
  1229. ------------------------------------------------------------------------
  1230. 47) Can I run SLIP (Serial Line Internet Protocol) on my UNIX PC?
  1231.  
  1232.     So far there hasn't been anyone who has ported a SLIP device
  1233. driver. That would be the optimal solution, but in the interim we do
  1234. have an answer for those who want to run SLIP.
  1235.  
  1236.     There is the KA9Q/W9NK TCP/IP Version 890421.1 available for
  1237. the UNIX PC.  Thanks to Phil Karn (the original developer), Gary
  1238. Sanders, and Rob Stampfli, the package supports SLIP which in theory,
  1239. over a modem or direct serial line (preferably 9600 baud or higher)
  1240. one could use to connect to an Internet machine allowing Dialup/Direct
  1241. SLIP logins.  With the pseudo-tty driver (pty) you can have multiple
  1242. TELNET sessions (even on the UNIX PC side).  Built into the "net"
  1243. package is FTP, TELNET, FINGER, SMTP, and others.
  1244.  
  1245.     KA9Q is available from OSU-CIS, Gary Sander's BBS or via
  1246. anonymous uucp login on Rob's UNIX PC:
  1247.  
  1248.         kd8wk Any ACU 2400 16147598597 in:--in: uucp word: anonymous
  1249.  
  1250.     To obtain the net source, issue the following uucp command:
  1251.  
  1252.         $ uucp kd8wk!~/pub/netsrc.cpio.Z /usr/spool/uucppublic
  1253.  
  1254.     To obtain an executable for the AT&T 7300, enter the following:
  1255.  
  1256.         $ uucp kd8wk!~/pub/netexe.7300.Z /usr/spool/uucppublic
  1257.  
  1258.     System Name:     N8EMR
  1259.     Phone:        614-895-2553 (19.2K Trailblazer, 2400, 1200)
  1260.     Login:        hbbs 
  1261.     Data Settings:    8 Bits, NO Parity, 1 Stop Bit
  1262.     Times:         24hrs
  1263.  
  1264. ------------------------------------------------------------------------
  1265. 48) What are the consequences of "fsck -s" (salvaging the freelist)?
  1266.  
  1267.     Jim Adams sent some information regarding the uses (and
  1268. dangers) of salvaging the freelist using the fsck(1M) command.
  1269.  
  1270.     fsck(1M) provides a method of salvaging and reconstructing the
  1271. freelist maintained by the UNIX filesystem.  It is dangerous to
  1272. haphazardly do anything with the filesystem, as well as just
  1273. reconstructing the freelist.  If the filesystem isn't in a good state,
  1274. it's possible that the freelist could be further damaged by just
  1275. salvaging it.  fsck(1M) will salvage the freelist when necessary, or
  1276. when the question "SALVAGE (Y/N)?" is answered "yes".
  1277.  
  1278.     Jim has said that the alternative method, fsck -S, should be
  1279. used if you wish to salvage the freelist.  The salvage will only be
  1280. done if the filesystem is properly constructed, and nothing damaging
  1281. could occur by its reconstruction.  If errors are found during the
  1282. fsck phases, other than errors like "POSSIBLE FILE SIZE ERROR I=nnn"
  1283. (which occurs from sparse files, also known as files with holes in
  1284. them) the salvage will not be done.
  1285.  
  1286.     fsck(1M) is designed to be run on a mounted root filesystem,
  1287. so long as the block device is used and the system is in a quiet
  1288. state.  fsck(1M) can be run on the raw/character device when
  1289. the filesystem isn't mounted, and this is generally much faster.
  1290. fsck(1M) will automatically reboot the system without sync'ing, if the
  1291. "mounted" root filesystem was modified, just as you should (since the
  1292. in-core image of the filesystem would be different).  There is no
  1293. "re-mount" facility on the UNIX PC, otherwise the root filesystem
  1294. could just be remounted.
  1295.  
  1296.     Another suggestion made was to run "fsck -D" to check
  1297. directories for bad blocks.  This takes longer, but is considered
  1298. worth it.  (fsck -D is similar to the MSDOS CHKDSK facility.)
  1299.  
  1300. ------------------------------------------------------------------------
  1301. 49) What does the "-s" option to dismount do?
  1302.  
  1303.     It should never be used.  It's an historical option (as the
  1304. manual notes), used to un-mount the "Syquest" external drive.  This
  1305. unfortunately causes the first hard disk to RECAL if you don't have
  1306. the second disk upgrade.  With the second disk upgrade it improperly
  1307. un-mounts all the filesystems, apparently not handling the /etc/mnttab
  1308. file correctly for all the partitions on the second disk.
  1309.  
  1310.     In many people's opinions, it's much safer to use multiple
  1311. /etc/umount commands to unmount multiple partitions.  This works for
  1312. all cases, and there is no second guessing on what the command is
  1313. actually doing.  If you want to mimic the operation of dismount, you
  1314. can easily issue the "sync" command before the "umount" command.  As
  1315. far as clearing the "pulled-flag" as the manual indicates, many have
  1316. never had any problem just using the /etc/umount command (on floppies
  1317. as well as my other partitions and hard disk)
  1318.  
  1319. ------------------------------------------------------------------------
  1320. 50) How do I identify what motherboard revision I have?
  1321.  
  1322.     [Courtesy of Thad Floryan:]
  1323.  
  1324.     The board "schematic" number (in copper) near the left rear
  1325. corner is quite useful when referencing one of the three sets of
  1326. schematics in the Reference Manual.  Often the copper number is
  1327. obscured by a white sticker bearing a different number.  BOTH sets of
  1328. numbers "almost" uniquely identify your machine.  Peel the white
  1329. sticker off and reapply it flanking the copper number.
  1330.  
  1331.     The copper board number will (usually) be one of 60-00222-00,
  1332. 60-00225-00 or 60-00230-00.  If yours is 60-00216-00 you have my
  1333. sympathy (the connector to the floppy drive may be pin-for-pin
  1334. reversed from that found on all other motherboards, and you probably
  1335. have the daughterboard above the motherboard).  The white paper
  1336. sticker will bear a printed number something like "60-00237".
  1337.  
  1338.     The OTHER "number" to write down for future reference is the
  1339. "REV.n" value on the white sticker normally found near the volume
  1340. control sliding pot; this will be something like "REV.C", "REV.F",
  1341. "REV.J", etc.
  1342.  
  1343.     The combination of the two sets of reference designators seems
  1344. to uniquely identify all 3B1 systems I've seen.  And note that a
  1345. "REV.C" on a "225" board is NOT the same as a "REV.C" on a "230"
  1346. board.  And, before you ask, I have NOT been able to determine
  1347. precisely what each "REV.n" represents and I doubt that information
  1348. still exists even at CT (now UNISYS/NCG).
  1349.  
  1350. ------------------------------------------------------------------------
  1351. 51) How can the monitor fail?
  1352.  
  1353.     [Courtesy of Rob Stampfli:]
  1354.  
  1355.     I have witnessed the loss of more than a few Unix-PC monitors
  1356. to a phenomenon where the right side of the screen becomes
  1357. increasingly compressed (nonlinear), at an exponentially increasing
  1358. rate, until the monitor fails completely.  Usually, this occurs over a
  1359. period of months, and it usually is observed after the monitor has
  1360. been removed from service, stored, then placed back into service.
  1361.  
  1362.     [Rob notes a particular case which was diagnosed by his
  1363. colleague, Harry Maddox, BEFORE the monitor failed completely.  He
  1364. writes, "We believe that an actual failed monitor would take out an
  1365. associated transistor and the flyback transformer, unless the monitor
  1366. is fused, presenting a much more difficult problem to fix."  The
  1367. particulars:]
  1368.  
  1369.     A 4.7 uF 25V non-polarizing electrolytic capacitor (C411) is
  1370. bad.  C411 develops a high internal resistance and gets quite hot,
  1371. which further causes it to deteriorate.  It may explode -- use
  1372. caution.  C411 is located between L402 and T401 inside the monitor
  1373. proper.  The value and voltage rating of this capacitor is not
  1374. critical, "ESR" [equivalent series resistance] is however.
  1375.  
  1376.     Replace C411 with a mylar capacitor, 4-6 uF @ 25V or more,
  1377. such as AT&T 535GA (4.22 uF @ 100V) or equivalent.  Mount on end with
  1378. insulation on top lead.  Dress away from adjacent parts.
  1379.  
  1380.     Replace CAP ASAP before further damage is done.  Replace fuse
  1381. if blown.  Check TR402 for Collector to Base shorts if set was not
  1382. working.  Also D403 for short.
  1383.  
  1384.     Procedure:
  1385.  
  1386.     1. Remove CRT Cover (2 screws in back).
  1387.     2. Remove Speaker Assembly (2 screws).
  1388.     3. Remove RF Tape from bottom cover (shield).  One tape is
  1389.        hidden at front of bottom shield.
  1390.     4. Remove bottom shield.
  1391.     5. A small part (I think a thermal sensor) is found on the
  1392.        bottom of the PC board just under C411.  It is covered with
  1393.        black tape.  Remove the tape and bend sensor out of the
  1394.        way.
  1395.     6. Remove C411 and replace with Mylar capacitor, 4-6 uF, 100V.
  1396.     7. Replace sensor and tape.
  1397.     8. Reassemble monitor.
  1398.  
  1399.     Note: the bottom shield is tricky to remove and replace if you
  1400. don't unmount the monitor from its swivel mount, but it can be done.
  1401. If monitor has failed completely, then check fuse (if present), TR402
  1402. (C-B short), and D403 for a short.
  1403.  
  1404. ------------------------------------------------------------------------
  1405. -- Mysteries -----------------------------------------------------------
  1406.  
  1407. ------------------------------------------------------------------------
  1408. 52) What are the LED's left side of the machine for?
  1409.  
  1410.     This is from John Milton's HwNotes series #1.
  1411.  
  1412.     0 RED:      This is the "user LED". It can be turned on and off
  1413.           with the syslocal(2) call. It is not used by any
  1414.           existing applications.
  1415.     1 GREEN:  This is the one most people get wrong. This LED
  1416.           toggles every time there is a process context
  1417.           change, and is cleared on the whole second.
  1418.     2 YELLOW: This is the idle LED. When it is on, there are no
  1419.           processes in the ready to run state.
  1420.     3 RED:    Heart beat LED. This is toggled on the whole second.
  1421.  
  1422.     This and other interesting information is available in the
  1423. HwNote series 1-15 that are archived on OSU.
  1424.  
  1425. ------------------------------------------------------------------------
  1426. 53) What's /etc/update?  What does it do? 
  1427.  
  1428.     /etc/update is an antiquated command which is no longer
  1429. necessary to be used.  It is not a shell script, but could easily be
  1430. one.  The executable basically takes one argument, the number of
  1431. seconds to sleep, or defaults to 30 (I believe).  It then sleeps that
  1432. interval and then issues a sync(2) system call.  This is a continuous
  1433. process -- it detaches itself from the current tty with the setpgrp(2)
  1434. call, and closes all file descriptors 0, 1, and 2 (stdin, stdout, and
  1435. stderr).  It was to be run by /etc/init, as a boot-time process, and
  1436. was to remain there for the duration of the machine's uptime.
  1437.  
  1438. ------------------------------------------------------------------------
  1439. 54) Why did the time display at the top of the screen go away?
  1440.  
  1441.     The time at the top of the display is provided by the program
  1442. /etc/smgr, which combines the functionality of cron, /etc/update, a
  1443. time display, plus maybe a few other mysterious things.  Equally
  1444. mysterious is its propensity to occasionally die, leaving a stipple
  1445. pattern in its place.  Some people see a correlation with the weekly
  1446. run of /etc/cleanup.wk, others point to intermittent power or thermal
  1447. problems.
  1448.  
  1449.     Restarting smgr is thankfully unmysterious; become root and
  1450. type "/etc/smgr".
  1451.  
  1452. ------------------------------------------------------------------------
  1453. 55) How do I stop that darn double-ESC mode on console windows?
  1454.  
  1455.     Some programs that use the TAM (Terminal Access Method)
  1456. library can leave the keyboard (really the shell window) in a strange
  1457. state after leaving.  This state is characterized by each press of the
  1458. ESC key injecting two 0x1b characters into the input stream.  This
  1459. generally doesn't help anybody -- vi beeps too much, emacs is
  1460. unusable, etc.  The fix is to issue the following ioctl from a C program:
  1461.  
  1462.         #include <sys/window.h>
  1463.         ioctl(0, WIOCSESC, 0);    /* to turn off double-esc mode */
  1464.  
  1465.     If you really want it back again, do the following:
  1466.  
  1467.         ioctl(0, WIOCSESC, 1);    /* to turn on double-esc mode */
  1468.  
  1469. ------------------------------------------------------------------------
  1470. 56) What do I do when the machine hangs at the boot message?
  1471.  
  1472.         Version #.##x
  1473.         Real memory      = #######
  1474.         Available memory = #######
  1475.         Main board is ####
  1476.  
  1477.     9 times out of 10 the /etc/inittab file is either deleted,
  1478. corrupted, or truncated because of some filesystem damage during a
  1479. system crash.
  1480.  
  1481.     The machine will hang there at that Main board prompt forever
  1482. since /etc/init is looking for the inittab file.  This is where it is
  1483. handy to have a floppy filesystem disk with saved copy of /etc/inittab
  1484. on it.  Boot the system using the "Floppy Boot Disk" (Disk 2 of ##),
  1485. then insert your copy when it asks for the Floppy Filesystem Disk.
  1486. Interrupt the script with <DEL> to get a "#" prompt when the first
  1487. question appears.  On your floppy, if you followed the previous
  1488. advice, is /etc/inittab.save, which can be happily copied to the
  1489. /mnt/etc/inittab file when the hard disk root filesystem (/dev/fp002)
  1490. is mounted from the floppy as /mnt.
  1491.  
  1492.         # umount /dev/fp002
  1493.         # fsck -s /dev/rfp002
  1494.         # mount /dev/fp002 /mnt
  1495.         # ls -l /mnt/etc/inittab
  1496.     If the file isn't there, or is corrupted:
  1497.         # cp /etc/inittab.save /mnt/etc/inittab
  1498.         # sync
  1499.         # umount /dev/fp002
  1500.         # sync
  1501.         # sync
  1502.         # reboot
  1503.  
  1504.     The other one time (out of 10), the /etc/inittab file is okay
  1505. but there is a /etc/utmp.lck file on the system.  This happens in very
  1506. rare race conditions involving the pututent(3C) routines.  Removing
  1507. this file and rebooting will generally recover the system.
  1508.  
  1509. ------------------------------------------------------------------------
  1510. 57) How can the UNIX PC be made more secure?
  1511.  
  1512.     The best way to not worry about security is to not allow users
  1513. on your machine that aren't trusted.  Especially users that have shell
  1514. access.
  1515.  
  1516.     There are several serious problems with the UNIX PC's
  1517. software, specifically the User Agent (UA).  The UA (the windowing
  1518. environment, also known as the Office environment) has some serious
  1519. security problems.  The best solution, of course, would be to remove
  1520. the entire UA system from your machine.  This isn't the easiest
  1521. procedure (since there are lots of programs scattered all around the
  1522. disk that are tied into the UA) and probably not the most desirable
  1523. for some novice users.  What's so wrong with it?  Well, look in your
  1524. trusty manuals, in section 4.  The manual UA(4) states (talking about
  1525. UA configuration files):
  1526.  
  1527.     [...] (page 4)
  1528.     EXEC and SH have a number of variations, which are used depending
  1529.     on the intelligence of the process being invoked. 
  1530.     [...]
  1531.     The variations are specified via option characters as follows:
  1532.  
  1533.         -n    Run the process without a window
  1534.         -w    Run the process without waiting
  1535.         -d    Run the process in a dimensionless window
  1536.         -p    Run the process with superuser privileges
  1537.     [...]
  1538.  
  1539.     The "-p" option being the problem.  For a little experiment to
  1540. show to a security conscious user (who still likes the UA), start out
  1541. in a non-privileged user account.
  1542.  
  1543.     First create a file in your home directory called "Office"
  1544. with the following lines:
  1545.  
  1546.         Name=Super User UNIX
  1547.         Default = Run
  1548.         Run=EXEC -pwd $SHELL
  1549.  
  1550.     Then type:
  1551.  
  1552.         $ exec /usr/bin/ua
  1553.  
  1554.     Select the new object that you just created ("Super User
  1555. UNIX") and then at the "#" prompt type "id" for the effect.
  1556.  
  1557.         # id
  1558.         uid=0(root) gid=0(root)
  1559.  
  1560.     OK, convinced?
  1561.  
  1562.     If you really *LOVE* the UA, you can do something about this.
  1563. Protect the programs /usr/lib/ua/uasetx and /usr/lib/ua/uasig so they
  1564. are not executable by "other" and only executable by a "trusted" group.
  1565.  
  1566.     -rwsr-x---  1 root    trusted    4268 Jan  1  1970 /usr/lib/ua/uasetx
  1567.     -rwsr-x---  1 root    trusted    2068 Jan  1  1970 /usr/lib/ua/uasig
  1568.  
  1569.     Another problem involves UA mail-handling.  Send yourself some
  1570. electronic mail.  Nothing elaborate is necessary.
  1571.  
  1572.         $ mail myself < /dev/null
  1573.  
  1574.     Select the [mailbox] icon when it comes up, and then when
  1575. you're in /bin/mail, at the "?" prompt type "! /bin/sh".  Poof!  Root
  1576. shell.
  1577.  
  1578.         # id
  1579.         uid=0(root) gid=0(root)
  1580.         # pwd
  1581.         /etc/lddrv
  1582.  
  1583.     This last problem can easily be corrected with Lenny
  1584. Tropiano's "email" program that is archived on OSU as "email.sh.Z".
  1585. That program sets the correct user id, group id, and home directory.
  1586.  
  1587.     The other things to look for are covered in lots of books on
  1588. UNIX security: directories with 777 permissions (world writable),
  1589. setuid programs that aren't very security conscious, etc.
  1590.  
  1591. ------------------------------------------------------------------------
  1592. 58) How do I access the expert menus in the diagnostics?
  1593.  
  1594.     The diagnostic floppy has a mode in it for the more
  1595. experienced system tester.  This mode allows the user to skip the
  1596. menus and just specify the test to run.  The diagnostic tests can be
  1597. run repeatedly for testing intermittent hardware.  The diagnostic
  1598. output can be sent to a parallel printer for review later, and also
  1599. for unattended testing (since the output can scroll off the screen
  1600. rather easily).
  1601.  
  1602.     To enter the expert mode, boot the diagnostic disk and type in
  1603. "s4test" at the first menu prompt.  The result is the following
  1604. prompt:
  1605.  
  1606.         expert>
  1607.  
  1608.     From there you can type "?" for a "semi-verbose" command
  1609. syntax, and a list of many of the tests.  For more detail on what
  1610. tests and subtest you can do, grab a nice file by Craig Votava
  1611. (cmv@ihlpf.att.com), "s4test.info.Z" from the OSU Archives.
  1612.  
  1613. ------------------------------------------------------------------------
  1614. 59) Where is Elvis?
  1615.  
  1616.     Eating Doritos under the sink in my spare bathroom.
  1617.  
  1618. ------------------------------------------------------------------------
  1619. -- Credits -------------------------------------------------------------
  1620.  
  1621.     The following are just a few of the folks who made this list possible.
  1622.     Apologies to those who may have been missed.
  1623.  
  1624.     James Warner Adams    <adams@ucunix.san.uc.edu>
  1625.         Brad Bosch        <brad@i88.isc.com>
  1626.         Brian Botton        <botton@iexist.att.com>
  1627.         David Brierley        <dave@Galaxia.Newport.RI.US> 
  1628.         Brant Cheikes        <brant@manta.pha.pa.us>
  1629.         Alex S. Crain        <alex@umbc3.umbc.edu>
  1630.         Mark Dapoz        <...!cs.utoronto.edu!hybrid!mdapoz>
  1631.         Mike "Ford" Ditto    <ditto@amix.commodore.com>
  1632.         Roger Florkowski    <...!cs.utexas.edu!taliesin!roger>
  1633.         Thad Floryan        <thad@btr.com>
  1634.         Darren Friedlien    <darren@bacchus.bacchus.com>
  1635.         Mark Galassi        <rosalia@max.physics.sunysb.edu>
  1636.         Robert Granvin        <rjg@sialis.mn.org>
  1637.         Emmet P. Gray        <...!uunet!uiucuxc!fthood!egray>
  1638.         Jan Isley        <...!gatech!bagend!jan>
  1639.         Karl Kleinpaste        <karl@cis.ohio-state.edu>
  1640.         Gil Kloepfer, Jr    <gil@limbic.ssdl.com>
  1641.     Jon H. LaBadie        <...!princeton!jonlab!jon>
  1642.         John McMillian        <jcm@pegasus.att.com>
  1643.     Perry Miller        <pbm@cup.portal.com>
  1644.         John Milton        <...!cis.ohio-state.edu!n8emr!uncle!jcm>
  1645.         Scott H. Mueller    <scott@zorch.SF-Bay.ORG>
  1646.     Boyd Ostroff        <ostroff@oswego.oswego.edu>
  1647.         Arnold Robbins        <arnold@skeeve.ATL.GA.US>
  1648.         Gary W. Sanders        <...!osu-cis!n8emr!gws>
  1649.         Rob Stampfli        <...!osu-cis!n8emr!kd8wk!res>
  1650.         Lenny Tropiano        <lenny@icus.ICUS.COM>
  1651.         Craig Votava        <cmv@ihlpf.att.com>
  1652.         Norman Yarvin        <yarvin-norman@cs.yale.edu>
  1653.  
  1654. ------------------------------------------------------------------------
  1655. Local Variables:
  1656. mode: outline
  1657. outline-regexp: "-- [a-zA-Z]+\\|60\\|[0-9]+)"
  1658. eval: (hide-body)
  1659. End:
  1660. -- 
  1661. Andy Heffernan        $BJ8;z(J
  1662. Bite the wax tadpole.    ahh@moji.uucp (uunet!glyph!moji!ahh)
  1663.  
  1664.  
  1665.