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 >
Wrap
Text File
|
1992-08-10
|
18KB
|
456 lines
LANtastic Boot ROM 3-June-1992/bn
───────────────────────────────────────────────────────────────────────
Examples for installation of LANtastic Boot Rom on Artisoft network
cards. Examples are for Artisoft Ethernet adapters, LANtastic NOS, and
MS-DOS 5.00. If you want to have different CONFIG.SYS for different
computers, see second last page in this document.
Documentation
───────────────────────────────────────────────────────────────────────
If you like this document, please ask Artisoft to include it in the
LANtastic manual. If you find any typing errors, please correct them!
Written by: Bengt Nilsson, DATAFANT AB, Sweden, FAX +46-46254414
On a workstation with Artisoft Ethernet Adapter(AE-2/C, AE-2/T or AE-3)
───────────────────────────────────────────────────────────────────────
1. Install the AE-3 Boot ROM chip in socket U8 on the Ethernet adapter
(AE-2/C, AE-2/T or AE-3).
2. Install the AE-3 PAL chip in socket U21 on the adapter.
3a. 8-bit slot: place the IRQ jumper (W1) on IRQ 3 (disable any COM2).
3b. 16-bit slot: place the IRQ jumper (W1) on IRQ 15.
ABCD
4. Place the IO-address jumpers (W4) at IOBASE=300: XX::
5. With the jumpers BOOT CONFIGURATION (W6) you select the memory
address for the Boot ROM chip. Try C800H first. The following
addresses are often free:
EABCD86U EABCD86U EABCD86U EABCD86U EABCD86U
XX:::::: X:X::::: XXX::::: X::X:::: XX:X::::
C800H D000H D800H E000H E800H
On the server
───────────────────────────────────────────────────────────────────────
1. Create a directory on the server's hard disk for all the files that
will be needed. This is only used as a backup copy, because
diskettes that are seldom used tend to disappear by themselves!
MD C:\BOOTROM
CD C:\BOOTROM
2. Copy a number of files and programs to the directory C:\BOOTROM
COPY C:\COMMAND.COM C:\BOOTROM
COPY C:\DOS\ANSI.SYS C:\BOOTROM
COPY C:\DOS\COUNTRY.SYS C:\BOOTROM
COPY C:\DOS\EDLIN.EXE C:\BOOTROM
COPY C:\DOS\EMM386.EXE C:\BOOTROM
COPY C:\DOS\HIMEM.SYS C:\BOOTROM
COPY C:\DOS\KEYB.COM C:\BOOTROM
COPY C:\DOS\KEYBOARD.SYS C:\BOOTROM
COPY C:\LANTASTI\AILANBIO.EXE C:\BOOTROM Not 2Mbps.
COPY C:\LANTASTI\REDIR.EXE C:\BOOTROM
COPY C:\LANTASTI\LANPUP.EXE C:\BOOTROM
COPY C:\LANTASTI\NET.* C:\BOOTROM
COPY C:\LANTASTI\LANCHECK.* C:\BOOTROM
COUNTRY.SYS, KEYB.COM, KEYBOARD.SYS is only for non U.S.A. usage.
3. Sample CONFIG.SYS in the directory C:\BOOTROM:
DEVICE = HIMEM.SYS
DEVICE = EMM386.EXE NOEMS I=E000-EFFF
DOS = HIGH,UMB
DEVICE = ANSI.SYS
COUNTRY = XX,,COUNTRY.SYS Only non US.
SHELL = COMMAND.COM /P /E:256
FILES = 50
BUFFERS = 16
LASTDRIVE = Z
FCBS = 16,8
STACKS = 0,0
Sample 1 of AUTOEXEC.BAT
───────────────────────────────────────────────────────────────────────
4. Follow sample 1 or 2 on AUTOEXEC.BAT. Together with this document
you will find sample AUTOEXEC.BAT and CONFIG.SYS, and other files.
Copy the following files:
COPY AUTOEXEC.BAT C:\BOOTROM
COPY CONFIG.SYS C:\BOOTROM
COPY AIMOVE.EXE C:\BOOTROM Not 2Mbps.
COPY DRIVEFIX.EXE C:\BOOTROM
COPY RBCONFIG.SYS C:\BOOTROM
COPY RPLMEM.EXE C:\LANTASTI Only for Windoes Enh.
Sample 1 of AUTOEXEC.BAT in the directory C:\BOOTROM
───────────────────────────────────────────────────────────────────────
@ECHO OFF
AIMOVE (Not LANtastic 2.0 Mpbs)
AILANBIO/ROM_PATCH (Not LANtastic 2.0 Mpbs)
PROMPT $P$G
VER
REM Keyboard driver only for non U.S.A. users.
REM Change XX to the proper letters.
KEYB XX,,KEYBOARD.SYS
REM Set the name of the computer that user should login to.
SET SERV=SERVER (Set server name.)
SET NAME=???????? (Prepare for username.)
ECHO.
ECHO.
ECHO Key in your username (maximum 8 characters).
ECHO.
:REPEAT
NET STRING NAME ?"Name: "
IF %NAME%. == . GOTO REPEAT
REDIR %NAME% BUFFERS=2 SIZE=4096 LOGINS=5
LANPUP (LANPUP may be excluded.)
ECHO.
REM NOTE: ^"Password:" can be excluded.
NET LOGIN \\%SERV% %NAME% ^"Password: "
IF ERRORLEVEL 1 GOTO END
ECHO.
NET USE C: \\%SERV%\C-DRIVE (May need to be changed.)
IF ERRORLEVEL 1 GOTO END
NET USE LPT1 \\%SERV%\@PRINTER (May need to be changed.)
NET CLOCK \\%SERV%
ECHO.
NET SHOW
ECHO.
NET POSTBOX
ECHO.
C:
SET COMSPEC=C:\COMMAND.COM
PATH C:\DOS;C:\BAT;C:\;C:\LANTASTI
REM
REM RPLMEM is only useful if you run Windows Enhanced mode.
REM C:\LANTASTI\RPLMEM
REM
REM Start an unique batch file for the user on the server.
ECHO Starts the batch file %NAME%.BAT
%NAME%
REM
:END
The POSITIVE things about the above sample is:
a. The computer gets a personal name.
b. Different people will be able to use the same machine because they
have to key in their name every time it starts.
c. You get high security because the user has to key in his password
(can be excluded).
d. You never have to change the Boot Image when you add more diskless
computers to the network.
The NEGATIVE things about the above sample is:
a. You have to key in your name each time you start the computer.
b. You may need to add (not necessary) a batch file (i.e. BOB.BAT) in
C:\BAT on server's disk for each new user that logs in.
Sample 2 of AUTOEXEC.BAT
───────────────────────────────────────────────────────────────────────
5. Follow sample 1 or 2 on AUTOEXEC.BAT. Together with this document
you will find sample AUTOEXEC.BAT and CONFIG.SYS, and other files.
Copy the following files:
COPY AUTO2.BAT C:\BOOTROM\AUTOEXEC.BAT
COPY START.BAT C:\BOOTROM
COPY CONFIG.SYS C:\BOOTROM
COPY AIMOVE.EXE C:\BOOTROM Not 2Mbps.
COPY DRIVEFIX.EXE C:\BOOTROM
COPY RBCONFIG.SYS C:\BOOTROM
COPY RPLMEM.EXE C:\LANTASTI Only for Windoes Enh.
Sample 2 of AUTOEXEC.BAT in the directory C:\BOOTROM
───────────────────────────────────────────────────────────────────────
@ECHO OFF
AIMOVE (Not LANtastic 2.0 Mpbs)
AILANBIO/ROM_PATCH (Not LANtastic 2.0 Mpbs)
PROMPT $P$G
VER
REM Keyboard driver only for non U.S.A. users.
REM Change XX to the proper letters.
KEYB XX,,KEYBOARD.SYS
REM Set NUMBER to the unique node number that every network card has.
SET NUMBER=????????
NET STRING/LEFT-8/RIGHT=-1 NUMBER !"NODEID"
ECHO This computer has the NODEID: %NUMBER%
REM Start an unique batch file for each diskless computer in
REM the network.
%NUMBER%
ECHO.
ECHO Error: %NUMBER%.BAT has not been found...
ECHO This is a new computer in the network (or a new network card).
SET TEMP=????????
ECHO Key in the name of this computer (maximum 8 characters).
ECHO Sample: BOB, EVE, PATRIC, PAMELA, MACHINE1, MACHINE2,...
:REPEAT
NET STRING TEMP ?"Name: "
IF .%TEMP% == . GOTO REPEAT
ECHO %NUMBER%.BAT will now be made...
ECHO>%NUMBER%.BAT START %TEMP%
ECHO Did you see any error messages? If not, then everything is OK.
ECHO Press Ctrl-Alt-Del to try again...
Sample START.BAT
───────────────────────────────────────────────────────────────────────
SET NAME=%1
SET SERV=SERVER
REDIR %NAME% BUFFERS=2 SIZE=4096 LOGINS=5
LANPUP (LANPUP may be excluded.)
ECHO.
NET LOGIN \\%SERV% %NAME%
IF ERRORLEVEL 1 GOTO END
ECHO.
NET USE C: \\%SERV%\C-DRIVE (May need to be changed.)
IF ERRORLEVEL 1 GOTO END
NET USE LPT1 \\%SERV%\@PRINTER (May need to be changed.)
NET CLOCK \\%SERV%
ECHO.
NET SHOW
ECHO.
NET POSTBOX
ECHO.
C:
SET COMSPEC=C:\COMMAND.COM
PATH C:\DOS;C:\BAT;C:\;C:\LANTASTI
REM
REM The program RPLMEM is only useful if you run Windows Enhanced mode.
REM RPLMEM
REM
REM Try to start a menu program on the server.
MENU
:END
The POSITIVE things about the above sample is:
a. The computer gets a personal name.
b. The computer starts automatically, because you don't have to key in
your name each time.
c. It's possible to get high security by asking for the password in
the end of the line "NET LOGIN".
The NEGATIVE things about the above sample is:
a. You have to create a new batch file for each new diskless computer
in the network (12345678.BAT, 87654321.BAT, etc), that is named
after node number from the network adapter.
b. All these node number batch files have to reside on the boot image.
c. Every diskless computer will be personal (a computer with a special
number will be connected with a certain person).
6. FORMAT A SYSTEM DISKETTE. Use a 360 kbyte, 1.2 Mbyte, 720 kbyte or
1.44 Mbyte diskette.
Example with 360 kbyte 5.25" diskette: FORMAT A: /N:9 /T:40 /S
Example with 720 kbyte 3.5" diskette: FORMAT A: /N:9 /T:80 /S
Example with 1.2 or 1.44 Mbyte 3.5": FORMAT A: /S
7. Copy all files to the system diskette: COPY C:\BOOTROM\*.* A:
8. Start the server machine without starting the network. Insert
the system diskette you have made in drive A: and do the
following things:
Type NET_MGR and press Enter.
Select "Boot Image Maintenance" and press Enter.
Select "Build Boot Image" and press Enter.
Select "A:" and press Enter.
The file C:\LANTASTI.NET\SYSTEM.NET\BOOT.IMG will be created. It is
copy of the diskette, sector by sector.
Select "Server Startup Parameters" and press Enter.
Change "Maximum users" to number of users that will log in.
NOTE: Computers with Boot ROM will be counted as two users.
Increase "Network buffer" to at least 8192.
Change "Remote Booting" to READ-WRITE
Select "User Account Management" and key in the users that should be
able to login to this server.
9. Only ONE server in the network will act as a boot server. Even if
multiple servers have "Remote Booting" set to READ-ONLY or
READ-WRITE. (The first server booted with Remote Booting enabled will
be the boot server.) The server will simulate A: for the diskless
computers that start with Boot ROM. READ-ONLY means that the simulated
diskette is write protected and READ-WRITE means that you are able to
write on it.
10. A server with LANtastic Enhanced 2Mbps network adapters has to start
the NetBIOS program in the following way:
LANBIOS2 NODE=1
The server has to have the node number equal 1 to make it possible
for the computers with Boot ROM to start through the network. If you
have A2Mbps adapters, the server doesn't have to be node number 1.
(If you have both E2Mbps and A2Mbps please read the A2Mbps manual).
11. Start the server. Start the workstation.
12. If you want to change anything in the batch files and CONFIG.SYS
that belongs to the diskless computer, set "Remote Booting" to
READ-WRITE (see "Server Startup Parameters"). Make the changes on
A: (that is simulated by the server) on the DISKLESS computer and
copy the changes to C:\BOOTROM (on the server). When everything is
finished you may change READ-WRITE to READ-ONLY.
13. The program AIMOVE that is started in AUTOEXEC.BAT means that the
main part of AILANBIO in the Boot ROM is copied to RAM, which
increase the performance about 50%. AILANBIO/ROM_PATCH is available
in AILANBIO version 2.03 or higher and is needed if you want to run
Windows Enhanced mode on the diskless computer.
14. If a workstation has one or more floppy drives you may want to issue
the NET UNLINK command to get access to physical A: (and B:). NET
UNLINK cannot be placed in AUTOEXEC.BAT, but it works fine in a
batch file that starts on C:. See next page for more information.
NOTE: Issue the command SET COMSPEC=C:\COMMAND.COM before you do
NET UNLINK.
15. If you want to run Windows Enhanced mode on a diskless computer,
please read about it in the end of this document.
"Diskless" computer with disk drives
───────────────────────────────────────────────────────────────────────
If the computer with Boot ROM has 1.44 Mbyte or 1.2 Mbyte disk drives,
use DRIVPARM in CONFIG.SYS and DRIVEFIX after NET UNLINK. DRIVPARM is
a MS-DOS command. DRIVEFIX.EXE has to be available for the workstation
on the server. Here is sample CONFIG.SYS for a computer with two disk
drives:
DEVICE = HIMEM.SYS
DEVICE = EMM386.EXE NOEMS I=E000-EFFF
DOS = HIGH,UMB
DEVICE = ANSI.SYS
COUNTRY = XX,,COUNTRY.SYS Only non US.
SHELL = COMMAND.COM /P /E:256
FILES = 50
BUFFERS = 16
LASTDRIVE = Z
FCBS = 16,8
STACKS = 0,0
DRIVPARM = /D:0 /C /F:7 /D:0 = A: /F:7 = 1.44 Mbyte
DRIVPARM = /D:1 /C /F:1 /D:1 = B: /F:1 = 1.2 Mbyte
When the computer has logged in to a server, do the following:
1. SET COMSPEC=C:\COMMAND.COM or check that it has been performed.
2. Make sure that DRIVEFIX.EXE is available on the server.
3. Do the following commandans to access A: (and B:):
C:
NET UNLINK
DRIVEFIX
DIR A:
Different CONFIG.SYS for different computers with BootROM
───────────────────────────────────────────────────────────────────────
With the device driver RBCONFIG.SYS is it possible to control what
parts of CONFIG.SYS, different computers with Boot ROM perform.
Sample CONFIG.SYS with RBCONFIG.SYS (empty lines are only for better
readability):
DEVICE=RBCONFIG.SYS RBCONFIG.SYS is started first.
SHELL=COMMAND.COM /P /E:256 All computer with BootROM
DEVICE=HIMEM.SYS start COMMAND.COM, HIMEM.SYS,
DOS=HIGH and DOS=HIGH.
REM !NODE 00006E249D3D Only two computers start
REM !NODE 00006E241234 EMM386.EXE and DOS=UMB.
DEVICE=EMM386.EXE NOEMS
DOS=UMB
REM !NODE 00006E249D3D Only one computer starts
DRIVPARM = /D:0 /C /F:7 DRIVPARM.
DRIVPARM = /D:1 /C /F:1
REM !GLOBAL All computers will perform
DEVICE=ANSI.SYS the following commands.
COUNTRY=46,,COUNTRY.SYS
FILES=50
BUFFERS=16
LASTDRIVE=Z
FCBS=16,8
STACKS=0,0
REM !END Has to be the last command.
Short explaination
------------------
REM !NODE Selects a specific computer by its node number.
REM !GLOBAL All computers.
REM !END Has to be on the last line in CONFIG.SYS.
The following text comes from ERB.DOC (a document made by Artisoft).
USING REMOTE BOOTING WITH MICROSOFT WINDOWS RUNNING IN ENHANCED MODE
====================================================================
To use Windows in Enhanced mode on a diskless workstation, complete the
steps below.
1. Exclude the memory addresses for the ROM or PEROM chip. This is done
with the EMMExclude= command. For example, to exclude addresses C400h
through C800h, place this command in the "[386enh]" section of
your SYSTEM.INI file:
EMMExclude=C800-CFFF
Use an ASCII editor such as EDLIN or NOTEPAD to edit your SYSTEM.INI
file. Do not use a word processor such as WordPerfect or Word for
Windows since they can add formatting to the file, making it unusable
for Windows.
2. After your computer boots up, but before you run Windows, issue the
command:
AILANBIO/ROM_PATCH <Enter>
This will modify the version of AILANBIO.EXE that is already loaded
into memory from the ROM or PEROM chip. You must be using AILANBIO.EXE
V2.03 or above to use the ROM_PATCH switch.
3. Load the Windows RPLMEM.EXE program.
RPLMEM <Enter>
This TSR allows the NETBIOS loaded from the ROM or PEROM to function
correctly with Windows running in Enhanced mode. RPLMEM.EXE is
included on the diskette that ships with the Artisoft PEROM.
4. Do not attempt to use the A: drive while Windows is running.
5. In the AUTOEXEC.BAT file for the diskless workstations, set the
COMSPEC to use a drive other than the A: drive. For example:
SET COMSPEC=C:\COMMAND.COM
The version of COMMAND.COM contained in the boot image and the one
the server uses must be the same.
6. Make sure the PATH statement in the diskless workstations'
AUTOEXEC.BAT does not include the A: drive. For example:
PATH C:\DOS;C:\LANTASTI
7. Store and run the RPLMEM.EXE from the C: drive. When running in
Enhanced mode, Windows must be able to access this program at all
times.
Run Windows from the C: drive, never from the A: drive.