home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / l / lanboot.zip / !BOOT.DOC next >
Text File  |  1992-08-10  |  18KB  |  456 lines

  1. LANtastic Boot ROM                                       3-June-1992/bn
  2. ───────────────────────────────────────────────────────────────────────
  3. Examples for installation of LANtastic Boot Rom on Artisoft network 
  4. cards. Examples are for Artisoft Ethernet adapters, LANtastic NOS, and
  5. MS-DOS 5.00. If you want to have different CONFIG.SYS for different 
  6. computers, see second last page in this document.
  7.  
  8.  
  9. Documentation
  10. ───────────────────────────────────────────────────────────────────────
  11. If you like this document, please ask Artisoft to include it in the
  12. LANtastic manual. If you find any typing errors, please correct them!
  13. Written by: Bengt Nilsson, DATAFANT AB, Sweden, FAX +46-46254414
  14.  
  15.  
  16. On a workstation with Artisoft Ethernet Adapter(AE-2/C, AE-2/T or AE-3)
  17. ───────────────────────────────────────────────────────────────────────
  18. 1.  Install the AE-3 Boot ROM chip in socket U8 on the Ethernet adapter
  19.     (AE-2/C, AE-2/T or AE-3).
  20.  
  21. 2.  Install the AE-3 PAL chip in socket U21 on the adapter.
  22.  
  23. 3a. 8-bit slot: place the IRQ jumper (W1) on IRQ 3 (disable any COM2).
  24.  
  25. 3b. 16-bit slot: place the IRQ jumper (W1) on IRQ 15.
  26.                                                              ABCD
  27. 4.  Place the IO-address jumpers (W4) at IOBASE=300:         XX::
  28.  
  29. 5.  With the jumpers BOOT CONFIGURATION (W6) you select the memory
  30.     address for the Boot ROM chip. Try C800H first. The following
  31.     addresses are often free:
  32.  
  33.     EABCD86U     EABCD86U     EABCD86U     EABCD86U     EABCD86U
  34.     XX::::::     X:X:::::     XXX:::::     X::X::::     XX:X::::
  35.      C800H        D000H        D800H        E000H        E800H
  36.  
  37.  
  38. On the server
  39. ───────────────────────────────────────────────────────────────────────
  40. 1.  Create a directory on the server's hard disk for all the files that
  41.     will be needed. This is only used as a backup copy, because
  42.     diskettes that are seldom used tend to disappear by themselves!
  43.  
  44.             MD  C:\BOOTROM
  45.             CD  C:\BOOTROM
  46.  
  47.  
  48. 2.  Copy a number of files and programs to the directory C:\BOOTROM
  49.  
  50.             COPY C:\COMMAND.COM              C:\BOOTROM
  51.             COPY C:\DOS\ANSI.SYS             C:\BOOTROM
  52.             COPY C:\DOS\COUNTRY.SYS          C:\BOOTROM
  53.             COPY C:\DOS\EDLIN.EXE            C:\BOOTROM
  54.             COPY C:\DOS\EMM386.EXE           C:\BOOTROM
  55.             COPY C:\DOS\HIMEM.SYS            C:\BOOTROM
  56.             COPY C:\DOS\KEYB.COM             C:\BOOTROM
  57.             COPY C:\DOS\KEYBOARD.SYS         C:\BOOTROM
  58.             COPY C:\LANTASTI\AILANBIO.EXE    C:\BOOTROM     Not 2Mbps.
  59.             COPY C:\LANTASTI\REDIR.EXE       C:\BOOTROM
  60.             COPY C:\LANTASTI\LANPUP.EXE      C:\BOOTROM
  61.             COPY C:\LANTASTI\NET.*           C:\BOOTROM
  62.             COPY C:\LANTASTI\LANCHECK.*      C:\BOOTROM
  63.  
  64.     COUNTRY.SYS, KEYB.COM, KEYBOARD.SYS is only for non U.S.A. usage.
  65.  
  66. 3.  Sample CONFIG.SYS in the directory C:\BOOTROM:
  67.  
  68.             DEVICE    = HIMEM.SYS
  69.             DEVICE    = EMM386.EXE NOEMS I=E000-EFFF
  70.             DOS       = HIGH,UMB
  71.             DEVICE    = ANSI.SYS
  72.             COUNTRY   = XX,,COUNTRY.SYS                 Only non US.
  73.             SHELL     = COMMAND.COM /P /E:256
  74.             FILES     = 50
  75.             BUFFERS   = 16
  76.             LASTDRIVE = Z
  77.             FCBS      = 16,8
  78.             STACKS    = 0,0
  79.  
  80.  
  81. Sample 1 of AUTOEXEC.BAT
  82. ───────────────────────────────────────────────────────────────────────
  83. 4.  Follow sample 1 or 2 on AUTOEXEC.BAT. Together with this document
  84.     you will find sample AUTOEXEC.BAT and CONFIG.SYS, and other files.
  85.     Copy the following files:
  86.  
  87.       COPY  AUTOEXEC.BAT          C:\BOOTROM
  88.       COPY  CONFIG.SYS            C:\BOOTROM
  89.       COPY  AIMOVE.EXE            C:\BOOTROM                 Not 2Mbps.
  90.       COPY  DRIVEFIX.EXE          C:\BOOTROM
  91.       COPY  RBCONFIG.SYS          C:\BOOTROM
  92.       COPY  RPLMEM.EXE            C:\LANTASTI      Only for Windoes Enh.
  93.  
  94.  
  95. Sample 1 of AUTOEXEC.BAT in the directory C:\BOOTROM
  96. ───────────────────────────────────────────────────────────────────────
  97. @ECHO  OFF
  98. AIMOVE                                         (Not LANtastic 2.0 Mpbs)
  99. AILANBIO/ROM_PATCH                             (Not LANtastic 2.0 Mpbs)
  100. PROMPT  $P$G
  101. VER
  102. REM  Keyboard driver only for non U.S.A. users.
  103. REM  Change XX to the proper letters.
  104. KEYB  XX,,KEYBOARD.SYS
  105. REM  Set the name of the computer that user should login to.
  106. SET  SERV=SERVER                               (Set server name.)
  107. SET  NAME=????????                             (Prepare for username.)
  108. ECHO.
  109. ECHO.
  110. ECHO Key in your username (maximum 8 characters).
  111. ECHO.
  112. :REPEAT
  113. NET  STRING  NAME  ?"Name: "
  114. IF  %NAME%.  ==  .  GOTO  REPEAT
  115. REDIR  %NAME%  BUFFERS=2  SIZE=4096  LOGINS=5
  116. LANPUP                                        (LANPUP may be excluded.)
  117. ECHO.
  118. REM NOTE: ^"Password:" can be excluded.
  119. NET  LOGIN  \\%SERV%  %NAME%  ^"Password: "
  120. IF  ERRORLEVEL  1  GOTO  END
  121. ECHO.
  122. NET  USE  C:  \\%SERV%\C-DRIVE                (May need to be changed.)
  123. IF  ERRORLEVEL  1  GOTO  END
  124. NET  USE  LPT1  \\%SERV%\@PRINTER             (May need to be changed.)
  125. NET  CLOCK  \\%SERV%
  126. ECHO.
  127. NET  SHOW
  128. ECHO.
  129. NET  POSTBOX
  130. ECHO.
  131. C:
  132. SET  COMSPEC=C:\COMMAND.COM
  133. PATH  C:\DOS;C:\BAT;C:\;C:\LANTASTI
  134. REM 
  135. REM  RPLMEM is only useful if you run Windows Enhanced mode.
  136. REM  C:\LANTASTI\RPLMEM
  137. REM
  138. REM  Start an unique batch file for the user on the server.
  139. ECHO Starts the batch file %NAME%.BAT
  140. %NAME%
  141. REM
  142. :END
  143.  
  144. The POSITIVE things about the above sample is:
  145. a. The computer gets a personal name.
  146. b. Different people will be able to use the same machine because they
  147.    have to key in their name every time it starts.
  148. c. You get high security because the user has to key in his password
  149.    (can be excluded).
  150. d. You never have to change the Boot Image when you add more diskless
  151.    computers to the network.
  152.  
  153. The NEGATIVE things about the above sample is:
  154. a. You have to key in your name each time you start the computer.
  155. b. You may need to add (not necessary) a batch file (i.e. BOB.BAT) in
  156.    C:\BAT on server's disk for each new user that logs in.
  157.  
  158.  
  159. Sample 2 of AUTOEXEC.BAT
  160. ───────────────────────────────────────────────────────────────────────
  161. 5.  Follow sample 1 or 2 on AUTOEXEC.BAT. Together with this document
  162.     you will find sample AUTOEXEC.BAT and CONFIG.SYS, and other files.
  163.     Copy the following files:
  164.  
  165.       COPY  AUTO2.BAT             C:\BOOTROM\AUTOEXEC.BAT
  166.       COPY  START.BAT             C:\BOOTROM
  167.       COPY  CONFIG.SYS            C:\BOOTROM
  168.       COPY  AIMOVE.EXE            C:\BOOTROM                Not 2Mbps.
  169.       COPY  DRIVEFIX.EXE          C:\BOOTROM
  170.       COPY  RBCONFIG.SYS          C:\BOOTROM
  171.       COPY  RPLMEM.EXE            C:\LANTASTI      Only for Windoes Enh.
  172.  
  173.  
  174. Sample 2 of AUTOEXEC.BAT in the directory C:\BOOTROM
  175. ───────────────────────────────────────────────────────────────────────
  176. @ECHO  OFF
  177. AIMOVE                                         (Not LANtastic 2.0 Mpbs)
  178. AILANBIO/ROM_PATCH                             (Not LANtastic 2.0 Mpbs)
  179. PROMPT $P$G
  180. VER
  181. REM  Keyboard driver only for non U.S.A. users.
  182. REM  Change XX to the proper letters.
  183. KEYB  XX,,KEYBOARD.SYS
  184. REM  Set NUMBER to the unique node number that every network card has.
  185. SET  NUMBER=????????
  186. NET  STRING/LEFT-8/RIGHT=-1 NUMBER !"NODEID"
  187. ECHO  This computer has the NODEID: %NUMBER%
  188. REM  Start an unique batch file for each diskless computer in
  189. REM  the network.
  190. %NUMBER%
  191. ECHO.
  192. ECHO  Error: %NUMBER%.BAT has not been found...
  193. ECHO  This is a new computer in the network (or a new network card).
  194. SET  TEMP=????????
  195. ECHO  Key in the name of this computer (maximum 8 characters).
  196. ECHO  Sample: BOB, EVE, PATRIC, PAMELA, MACHINE1, MACHINE2,...
  197. :REPEAT
  198. NET  STRING  TEMP  ?"Name: "
  199. IF  .%TEMP%  ==  .  GOTO  REPEAT
  200. ECHO  %NUMBER%.BAT  will now be made...
  201. ECHO>%NUMBER%.BAT  START  %TEMP%
  202. ECHO  Did you see any error messages? If not, then everything is OK.
  203. ECHO  Press Ctrl-Alt-Del to try again...
  204.  
  205.  
  206. Sample START.BAT
  207. ───────────────────────────────────────────────────────────────────────
  208. SET  NAME=%1
  209. SET  SERV=SERVER
  210. REDIR  %NAME%  BUFFERS=2  SIZE=4096  LOGINS=5
  211. LANPUP                                        (LANPUP may be excluded.)
  212. ECHO.
  213. NET  LOGIN  \\%SERV%  %NAME%
  214. IF  ERRORLEVEL  1  GOTO  END
  215. ECHO.
  216. NET  USE  C:  \\%SERV%\C-DRIVE                (May need to be changed.)
  217. IF  ERRORLEVEL  1  GOTO  END
  218. NET  USE  LPT1  \\%SERV%\@PRINTER             (May need to be changed.)
  219. NET  CLOCK  \\%SERV%
  220. ECHO.
  221. NET  SHOW
  222. ECHO.
  223. NET  POSTBOX
  224. ECHO.
  225. C:
  226. SET  COMSPEC=C:\COMMAND.COM
  227. PATH  C:\DOS;C:\BAT;C:\;C:\LANTASTI
  228. REM 
  229. REM  The program RPLMEM is only useful if you run Windows Enhanced mode.
  230. REM  RPLMEM
  231. REM 
  232. REM  Try to start a menu program on the server.
  233. MENU
  234. :END
  235.  
  236. The POSITIVE things about the above sample is:
  237. a. The computer gets a personal name.
  238. b. The computer starts automatically, because you don't have to key in
  239.    your name each time.
  240. c. It's possible to get high security by asking for the password in
  241.    the end of the line "NET LOGIN".
  242.  
  243. The NEGATIVE things about the above sample is:
  244. a. You have to create a new batch file for each new diskless computer
  245.    in the network (12345678.BAT, 87654321.BAT, etc), that is named
  246.    after node number from the network adapter.
  247. b. All these node number batch files have to reside on the boot image.
  248. c. Every diskless computer will be personal (a computer with a special
  249.    number will be connected with a certain person).
  250.  
  251.  
  252. 6.  FORMAT A SYSTEM DISKETTE. Use a 360 kbyte, 1.2 Mbyte, 720 kbyte or
  253.     1.44 Mbyte diskette.
  254.  
  255.     Example with 360 kbyte 5.25" diskette:  FORMAT A: /N:9 /T:40 /S
  256.     Example with 720 kbyte 3.5" diskette:   FORMAT A: /N:9 /T:80 /S
  257.     Example with 1.2 or 1.44 Mbyte 3.5":    FORMAT A: /S
  258.  
  259. 7.  Copy all files to the system diskette:  COPY  C:\BOOTROM\*.*  A:
  260.  
  261. 8.  Start the server machine without starting the network. Insert
  262.     the system diskette you have made in drive A: and do the
  263.     following things:
  264.  
  265.     Type NET_MGR and press Enter.
  266.     Select "Boot Image Maintenance" and press Enter.
  267.     Select "Build Boot Image" and press Enter.
  268.     Select "A:" and press Enter.
  269.  
  270.     The file C:\LANTASTI.NET\SYSTEM.NET\BOOT.IMG will be created. It is
  271.     copy of the diskette, sector by sector.
  272.  
  273.     Select "Server Startup Parameters" and press Enter.
  274.     Change "Maximum users" to number of users that will log in.
  275.            NOTE: Computers with Boot ROM will be counted as two users.
  276.     Increase "Network buffer" to at least 8192.
  277.     Change "Remote Booting" to READ-WRITE
  278.     Select "User Account Management" and key in the users that should be
  279.            able to login to this server.
  280.  
  281. 9.  Only ONE server in the network will act as a boot server. Even if 
  282.     multiple servers have "Remote Booting" set to READ-ONLY or 
  283.     READ-WRITE. (The first server booted with Remote Booting enabled will
  284.     be the boot server.) The server will simulate A: for the diskless
  285.     computers that start with Boot ROM. READ-ONLY means that the simulated
  286.     diskette is write protected and READ-WRITE means that you are able to
  287.     write on it.
  288.  
  289. 10. A server with LANtastic Enhanced 2Mbps network adapters has to start
  290.     the NetBIOS program in the following way:
  291.             LANBIOS2  NODE=1
  292.     The server has to have the node number equal 1 to make it possible
  293.     for the computers with Boot ROM to start through the network. If you
  294.     have A2Mbps adapters, the server doesn't have to be node number 1. 
  295.     (If you have both E2Mbps and A2Mbps please read the A2Mbps manual).
  296.  
  297. 11. Start the server. Start the workstation.
  298.  
  299. 12. If you want to change anything in the batch files and CONFIG.SYS
  300.     that belongs to the diskless computer, set "Remote Booting" to
  301.     READ-WRITE (see "Server Startup Parameters"). Make the changes on
  302.     A: (that is simulated by the server) on the DISKLESS computer and
  303.     copy the changes to C:\BOOTROM (on the server). When everything is
  304.     finished you may change READ-WRITE to READ-ONLY.
  305.  
  306. 13. The program AIMOVE that is started in AUTOEXEC.BAT means that the
  307.     main part of AILANBIO in the Boot ROM is copied to RAM, which
  308.     increase the performance about 50%. AILANBIO/ROM_PATCH is available
  309.     in AILANBIO version 2.03 or higher and is needed if you want to run
  310.     Windows Enhanced mode on the diskless computer.
  311.  
  312. 14. If a workstation has one or more floppy drives you may want to issue
  313.     the NET UNLINK command to get access to physical A: (and B:). NET
  314.     UNLINK cannot be placed in AUTOEXEC.BAT, but it works fine in a
  315.     batch file that starts on C:. See next page for more information.
  316.     NOTE: Issue the command SET COMSPEC=C:\COMMAND.COM before you do
  317.     NET UNLINK.
  318.  
  319. 15. If you want to run Windows Enhanced mode on a diskless computer,
  320.     please read about it in the end of this document.
  321.  
  322.  
  323. "Diskless" computer with disk drives
  324. ───────────────────────────────────────────────────────────────────────
  325. If the computer with Boot ROM has 1.44 Mbyte or 1.2 Mbyte disk drives,
  326. use DRIVPARM in CONFIG.SYS and DRIVEFIX after NET UNLINK. DRIVPARM is
  327. a MS-DOS command. DRIVEFIX.EXE has to be available for the workstation
  328. on the server. Here is sample CONFIG.SYS for a computer with two disk
  329. drives:
  330.  
  331.     DEVICE    = HIMEM.SYS
  332.     DEVICE    = EMM386.EXE NOEMS I=E000-EFFF
  333.     DOS       = HIGH,UMB
  334.     DEVICE    = ANSI.SYS
  335.     COUNTRY   = XX,,COUNTRY.SYS            Only non US.
  336.     SHELL     = COMMAND.COM /P /E:256
  337.     FILES     = 50
  338.     BUFFERS   = 16
  339.     LASTDRIVE = Z
  340.     FCBS      = 16,8
  341.     STACKS    = 0,0
  342.     DRIVPARM  = /D:0 /C /F:7               /D:0 = A:  /F:7 = 1.44 Mbyte
  343.     DRIVPARM  = /D:1 /C /F:1               /D:1 = B:  /F:1 = 1.2 Mbyte
  344.  
  345. When the computer has logged in to a server, do the following:
  346. 1.  SET COMSPEC=C:\COMMAND.COM or check that it has been performed.
  347. 2.  Make sure that DRIVEFIX.EXE is available on the server.
  348. 3.  Do the following commandans to access A: (and B:):
  349.           C:
  350.           NET UNLINK
  351.           DRIVEFIX
  352.           DIR A:
  353.  
  354.  
  355. Different CONFIG.SYS for different computers with BootROM
  356. ───────────────────────────────────────────────────────────────────────
  357.  
  358. With the device driver RBCONFIG.SYS is it possible to control what
  359. parts of CONFIG.SYS, different computers with Boot ROM perform.
  360. Sample CONFIG.SYS with RBCONFIG.SYS (empty lines are only for better
  361. readability):
  362.  
  363. DEVICE=RBCONFIG.SYS                      RBCONFIG.SYS is started first.
  364. SHELL=COMMAND.COM /P /E:256              All computer with BootROM
  365. DEVICE=HIMEM.SYS                         start COMMAND.COM, HIMEM.SYS,
  366. DOS=HIGH                                 and DOS=HIGH.
  367.  
  368. REM !NODE 00006E249D3D                   Only two computers start
  369. REM !NODE 00006E241234                   EMM386.EXE and DOS=UMB.
  370. DEVICE=EMM386.EXE NOEMS
  371. DOS=UMB
  372.  
  373. REM !NODE 00006E249D3D                   Only one computer starts
  374. DRIVPARM = /D:0 /C /F:7                  DRIVPARM.
  375. DRIVPARM = /D:1 /C /F:1
  376.  
  377. REM !GLOBAL                              All computers will perform
  378. DEVICE=ANSI.SYS                          the following commands.
  379. COUNTRY=46,,COUNTRY.SYS
  380. FILES=50
  381. BUFFERS=16
  382. LASTDRIVE=Z
  383. FCBS=16,8
  384. STACKS=0,0
  385.  
  386. REM !END                                 Has to be the last command.
  387.  
  388.  
  389. Short explaination
  390. ------------------
  391. REM !NODE            Selects a specific computer by its node number.
  392. REM !GLOBAL          All computers.
  393. REM !END             Has to be on the last line in CONFIG.SYS.
  394.  
  395.  
  396.  
  397. The following text comes from ERB.DOC (a document made by Artisoft).
  398.  
  399.  
  400. USING REMOTE BOOTING WITH MICROSOFT WINDOWS RUNNING IN ENHANCED MODE
  401. ====================================================================
  402.  
  403. To use Windows in Enhanced mode on a diskless workstation, complete the
  404. steps below.
  405.  
  406. 1. Exclude the memory addresses for the ROM or PEROM chip.  This is done
  407.    with the EMMExclude= command.  For example, to exclude addresses C400h
  408.    through C800h, place this command in the "[386enh]" section of
  409.    your SYSTEM.INI file:
  410.  
  411.    EMMExclude=C800-CFFF
  412.  
  413.    Use an ASCII editor such as EDLIN or NOTEPAD to edit your SYSTEM.INI
  414.    file.  Do not use a word processor such as WordPerfect or Word for
  415.    Windows since they can add formatting to the file, making it unusable
  416.    for Windows.
  417.  
  418. 2. After your computer boots up, but before you run Windows, issue the
  419.    command:
  420.  
  421.    AILANBIO/ROM_PATCH <Enter>
  422.  
  423.    This will modify the version of AILANBIO.EXE that is already loaded
  424.    into memory from the ROM or PEROM chip.  You must be using AILANBIO.EXE
  425.    V2.03 or above to use the ROM_PATCH switch.
  426.  
  427. 3. Load the Windows RPLMEM.EXE program.
  428.  
  429.    RPLMEM <Enter>
  430.  
  431.    This TSR allows the NETBIOS loaded from the ROM or PEROM to function
  432.    correctly with Windows running in Enhanced mode.  RPLMEM.EXE is
  433.    included on the diskette that ships with the Artisoft PEROM.
  434.  
  435. 4. Do not attempt to use the A: drive while Windows is running.
  436.  
  437. 5. In the AUTOEXEC.BAT file for the diskless workstations, set the
  438.    COMSPEC to use a drive other than the A: drive.  For example:
  439.  
  440.       SET COMSPEC=C:\COMMAND.COM
  441.  
  442.    The version of COMMAND.COM contained in the boot image and the one
  443.    the server uses must be the same.
  444.  
  445. 6. Make sure the PATH statement in the diskless workstations'
  446.    AUTOEXEC.BAT does not include the A: drive.  For example:
  447.  
  448.       PATH C:\DOS;C:\LANTASTI
  449.  
  450. 7. Store and run the RPLMEM.EXE from the C: drive.  When running in
  451.    Enhanced mode, Windows must be able to access this program at all
  452.    times.
  453.  
  454.       Run Windows from the C: drive, never from the A: drive.
  455.  
  456.