Beruflich Dokumente
Kultur Dokumente
SLOTNUM=2
DEVNUM=3
BUSNUM=0
The NICNUM= reported by NICFIND is a combination of the Vendor and Device IDs,
thus providing a ID unique to a specific NIC. The other values are sometimes req
uired by a
NICs driver at the bottom of the PROTOCOL.INI file.
The Tool comes with two TXT files. One contains the VID's (Vendor ID) and DID's
both contain descriptions.
Example of VID's :
10B7 3COM Corp
10EC Realtek Semiconductor
8086 Intel
Example of DID's
10B79050 3C905 Fast Etherlink 10/100
10B79051 3C905-T4 Fast Etherlink XL 10/100
10EC8129 RT8129 Fast Ethernet Adapter
10EC8139 RT8139 Fast Ethernet Adapter
80861000 82542 Gigabit Ethernet Adapter
80861226 82596 EtherExpress PRO/10
The first four digits of the DID is the VID. There is a complete list of VID and
DID with descriptions with the NICFIND utility.
AUTOEXEC.BAT
@ECHO OFF
@CLS
REM
REM NICFIND supports PCI 2.0 and higher network adapters
REM
REM the order in which the following lines reside are essential to their functio
nality
REM
REM the redirects to null "> NUL" are to suppress echoing to the screen,
REM make sure you don't put the them on lines where you want to see output,
REM such as the NICFIND tool which will prompt when multiple nics found,
REM or the DOMNAME tool as it prompts for a Domain Name
REM
SET PATH=A:\DOS;A:\;%PATH%
REM
REM following tool runs and sets the RAMDRVL environment variable
REM RAMDRVL is used to locate the MS RAMDRIVE elsewhere in this batch file
@ECHO Locating RAM Drive...
@A:\DOS\RAMDFIND.EXE > NUL
REM
REM following lines sets environment variables for MS Client NET path and INI Re
place Path
REM INI Replace Path has an extra colon to accomodate the command line tool GSAR
.EXE
@SET NETPATH=%RAMDRVL%\MSNET
REM the RNETPATH is the environment variable representing the replacement path f
or the INI
@SET RNETPATH=%RAMDRVL%:\MSNET
REM
REM following creates the tool path, adds it to the PATH variable, and extracts
tools into it
@MD %RAMDRVL%\TOOLS
@SET PATH=%RAMDRVL%\TOOLS;%RAMDRVL%\;%PATH%
@MD %RAMDRVL%\TEMP
@SET TEMP=%RAMDRVL%\TEMP
REM
REM copy the extract.exe to the tools folder of ram drive for faster extract
@COPY A:\DOS\EXTRACT.EXE %RAMDRVL%\TOOLS > NUL
REM
REM copy the command.com to the root of ram drive then set COMSPEC to it for fas
ter command.com
@COPY COMMAND.COM %RAMDRVL%\ > NUL
@SET COMSPEC=%RAMDRVL%\COMMAND.COM
REM
REM Change current directory to the root of the RAM Drive for speedy COMMAND.COM
REM first to the RAM drive letter by executing the drive letter with colon from
environment variable
@%RAMDRVL%
REM then be sure to be in the root so CD \
@CD \
REM
@ECHO Extracting tools...
REM extract tools to tools folder on ram drive
@EXTRACT /L %RAMDRVL%\TOOLS A:\TOOLS.CAB *.* > NUL
REM
REM following tool runs and sets the NICNUM environment variable
REM NICNUM is used to uniquely identify the PCI network adapter in the system
REM In version 2 of NICFIND it sets the DEVNUM, BUSNUM and SLOTNUM variables to
aid in
REM dynamically setting the PCI NICs additional PROTOCOL.INI settings.
REM BUSNUM - is the PCI Bus number at a base of zero
REM DEVNUM - is the PCI Device number at a base of one (unlike the base 0 that P
CI BIOS uses)
REM SLOTNUM - is the PCI Device number at a base of zero (like PCI BIOS uses)
REM Initialize the variable to avoid null/blank environment variable
@SET NICNUM=XXXXXXXX
@ECHO Running NIC Find tool...
@NICFIND.EXE
REM
REM create the net directory
@MD %NETPATH%
REM
REM in the following some NICs are set to use identical network drivers and GOTO
same place
REM following lines check nicnum and goto applicable nic section based on NICNUM
variable
IF %NICNUM%==10D90531 GOTO 10D90531
IF %NICNUM%==10EC8139 GOTO 10EC8139
IF %NICNUM%==80861229 GOTO 80862449
IF %NICNUM%==80862449 GOTO 80862449
IF %NICNUM%==10B79050 GOTO 10B79050
IF %NICNUM%==10B79051 GOTO 10B79050
IF %NICNUM%==10B79056 GOTO 10B79050
IF %NICNUM%==10B79058 GOTO 10B79050
IF %NICNUM%==10B7905A GOTO 10B79050
IF %NICNUM%==10B79055 GOTO 10B79050
IF %NICNUM%==10B79200 GOTO 10B79050
IF %NICNUM%==11AD0002 GOTO 11AD0002
@ECHO.
@%NETPATH%\net initialize
@%NETPATH%\netbind.com
@%NETPATH%\umb.com
@%NETPATH%\tcptsr.exe
@%NETPATH%\tinyrfc.exe
@%NETPATH%\nmtsr.exe
@%NETPATH%\emsbfr.exe
rem following lines are remmed to free memory, required for dns name and sockets
rem @%NETPATH%\dnr.exe
rem @%NETPATH%\sockets.exe
@%NETPATH%\net start
@ECHO.
GOTO DOLOGON
REM
REM following is the do disk image label of the batch file
:DOLOGON
REM the logon start here
@%NETPATH%\NET LOGON /SAVEPW:NO
GOTO END
REM
REM following is the end label of the batch file
:END
ECHO.
CONFIG.SYS
DOS=AUTO
DOS=HIGH,UMB
DEVICE=A:\DOS\HIMEM.SYS
DEVICE=A:\DOS\EMM386.EXE NOEMS
DEVICE=A:\DOS\IFSHLP.SYS
REM Following creates a 16MB RAM drive in
REM Extended Memory (/E), largest RAMDRIVE is 32767
DEVICE=A:\DOS\RAMDRIVE.SYS 16384 /E
REM following is dos environment settings
STACKS=9,256
FILES=60
BUFFERS=30
FCBS=16,0
SHELL=A:\COMMAND.COM /E:1024 /P
LASTDRIVE=Z