Previous PageNext Page

Chapter 2 - NDIS on DOS

Comparing NDIS to Native Drivers

Figure 2-1. DOS Workstation Running Two Protocol Stacks and One LAN Card

Run multiple protocol stacks on the same workstation across a single LAN card. For example, you can run PC/TCP and VINES across a single LAN card simultaneously. Figure 2-1 shows the structure of workstation software that runs two protocol stacks on the same LAN card.
Choose any LAN card on the market that supports NDIS versions between 1.01 and 2.01.
Run two entirely separate protocol stacks on two different LAN cards on the same VINES workstation, as shown in Figure 2-2.
Dynamically bind protocol stacks using NDIS 2.01. This allows you to access a particular protocol stack only when needed.

Note: Dynamic Binding in NDIS version 2.01 is supported by VINES 5.5x and later versions. Dynamic unbinding is not supported.

Figure 2-2. Workstation Running Two Protocol Stacks and Two LAN Cards

NDIS Terminology

MAC Driver

Protocol Manager

Binds MAC drivers and communication stacks together. The Protocol Manager performs this process when the program netbind.exe is run.
Arbitrates between MAC drivers and communication stacks when more than one driver or stack is present. The portion of the Protocol Manager that performs this function is called Vector.

Figure 2-3. DOS Workstation Running Two Protocol Stacks and Receiving a Packet

Communications Protocol

PROTOCOL.INI

[section name]

parameter=value

Note: It is very important that the BINDINGS= value matches the section name to which it refers.

The Protocol Manager, which controls the binding process. The Protocol Manager entry in PROTOCOL.INI is optional, but may be required in the future.
VINES.
The Proteon P1392 adapter's MAC driver.

Example Sample PROTOCOL.INI File

[PROTOCOL MANAGER]
DRIVERNAME=PROTMAN$
DYNAMIC=YES

[VINES_XIF]
DRIVERNAME=NDTOKBAN$
BINDINGS=PROTEON

[PROTEON]
drivername=ndi39xr$
intlevel=11
iobase=0xa20
dmachannel=5
linkspeed=16
media=stp
dmaclock=8
saen=on

Binding

ARSWAIT

NDIS Files

Table 2-1. Required NDIS Files

NDIS in Earlier VINES Revisions

Table 2-2. NDIS Files Available with 4.11(5)-BF-1 and 5.00(5)-AE-1

Table 2-3. NDIS Files Available with 5.52 (5)

Installing a DOS Workstation Using NDIS

You must have one client installed and running VINES 5.5x workstation software. If you do not have at least one client installed in your network, refer to Managing Workstations for instructions on installing the first client in a VINES network.
Your workstation must have a LAN card installed. You should write down the following information about your LAN card:

- I/O port address.

- Hardware interrupt used by the LAN card.

- Any memory addresses required by the LAN card.

- Any additional parameters peculiar to the card. For example, for Token-Ring cards, you must set Source Level Routing on or off, and for some Proteon cards, you must set either Primary or Secondary.

A MAC driver for your LAN card. This driver comes on a diskette supplied by the manufacturer of the LAN card.
A PROTOCOL.INI fragment for your LAN card. This sometimes comes on the same diskette as the MAC driver. Other times, the contents of the fragment may be included in the LAN card documentation.
VINES 5.5x or greater running on your network.
DOS 3.3 or greater running on your workstation.

Collecting Required Software

1. From the installed workstation, change to the directory where the Banyan workstation software resides.

2. Enter the following command at the prompt:

PCCOPY

The PCCOPY Main Menu appears.

Figure 2-4. PCCOPY Main Menu Screen

3. Choose Copy PC Configuration Software and/or LAN Driver. The Driver Selection help screen appears.

4. Press PgDn until the appropriate NDIS driver option appears on the screen.

5. Choose this driver by placing the reverse video bar on your selection and pressing ENTER. An asterisk appears next to the selection, as shown in the following screen.

Figure 2-6. Driver Selection Help Screen

6. Press F10. The Redirector Selection menu appears.

Figure 2-7. Redirector Selection Screen

Figure 2-8. Select Destination Drive Screen

7. Press the arrow keys and ENTER to place an asterisk next to each redirector you want. The redirectors you choose should correspond to the version of DOS that you are running.

When you have placed an asterisk next to all the redirectors you want, press F10. The Select destination drive screen appears.

Note: You can specify either drive A or drive B to create the installation floppy. This procedure assumes that you accept the default.

8. Press ENTER. The following message appears on the screen:

>> Please insert a DOS formatted diskette in drive A.

>> Press ENTER when ready to proceed

9. Insert a formatted DOS diskette in drive A. Press ENTER. PCCOPY copies VINES workstation files to your diskette. The files copied should include the following VINES workstation software for NDIS:

- NDISBAN.COM

- NDISBAN.OVL

- PROTMAN.DOS

- PROTMAN.EXE

- NETBIND.EXE

- ARSWAIT.EXE

10. Remove the diskette from drive A of your workstation.

11. Insert the diskette into drive A of the workstation you are installing.

12. Copy the software onto the boot drive of the workstation into the directory called \banyan.

13. Remove the diskette from the drive.

14. Insert the diskette that came with your LAN card into drive A of your workstation.

15. Copy the MAC driver and the PROTOCOL.INI fragment into the \banyan subdirectory on the hard drive of your workstation.

Configuring Workstation Software

AUTOEXEC.BAT - A DOS text file that allows you to run certain programs automatically when the workstation boots.

CONFIG.SYS - A DOS text file used to load device drivers and configure other DOS operating system parameters.

PCCONFIG.DB - A VINES workstation configuration file manipulated through PCCONFIG.EXE.

PROTOCOL.INI - An NDIS text file that contains configuration information for the MAC driver and protocol.

Configuring CONFIG.SYS

Example Declaring 3C509 MAC driver

device=c:\banyan\protman.dos /i:c:\banyan

device=c:\banyan\elnk3.dos

Configuring PROTOCOL.INI

Protocol Manager
The section that comes with your LAN card

Example PROTOCOL.INI for a 3COM 3C509

[PROTOCOL MANAGER]
DRIVERNAME=PROMAN$
DYNAMIC=YES

[VINES_NIF]
drivername=NDISBAN$
bindings=ELNK3_NIF
[ELNK3_NIF]
DRIVERNAME=ELNK3$
IOADDRESS=0x300

Configuring PCCONFIG.DB

1. At the command prompt, enter pcconfig. The PCCONFIG Main menu appears.

2. Choose Network Card Settings. The Network Card Settings screen appears.

Figure 2-9. Select Destination Drive Screen

3. Choose the appropriate NDIS driver and press ENTER. In this example, the NDIS Ethernet screen appears.

Figure 2-10. NDIS Ethernet Screen

4. Enter the interrupt level. Set the interrupt level to the same level in three places:

In hardware, usually through a jumper setting or through a system configuration program, such as the IBM Reference Diskette software.
In PCCONFIG.
In PROTOCOL.INI. Some LAN cards may not have the interrupt level declared in PROTOCOL.INI.

Note: Entering an incorrect value can impair workstation performance.

5. In the PROTOCOL.INI bindings= field, enter the module name that appeared in square brackets in the header of the LAN card section of PROTOCOL.INI. Do not include the brackets.

You can leave this field blank if you specified BINDINGS= in the VINES_NIF section of PROTOCOL.INI.

Example PCCONFIG Bindings= Setting

[ETHERLINKII]
IOADDRESS=0x300
INTERRUPT=3
MAXTRANSMITS=40
DRIVERNAME=ELNKII$

Figure 2-11. NDIS Ethernet Screen

6. Press F10 to save your changes. The Network Card Settings screen appears.

7. Press ESC or F10 to return to the PCCONFIG Main menu.

8. Choose Login Environment Settings. The Login Environment Settings menu appears.

Figure 2-12. Login Environment Settings Screen

9. Choose Select Default Communications Driver. The Default Communications Driver screen appears.

Figure 2-13. Default Communications Driver Screen

Press PgDn until the NDIS Ethernet entry appears.

10. Use the arrow keys to select the entry NDIS Ethernet. Press ENTER. The Login Environment Settings screen appears.

11. Press F10 twice to save your changes and exit the program. You are prompted to boot the workstation so that the changes take effect.

Configuring AUTOEXEC.BAT

cd \banyan
ban /nc
ndisban
netbind
arswait
redirall
rem
rem ***Load other TSRs Here***
rem
rem z:\login

cd \banyan - Changes the current working directory to \banyan, where the VINES workstation software resides.

ban /nc - Loads BAN.EXE, but does not load a communications driver.

ndisban - Loads the VINES NDIS Ethernet driver.

netbind - Sends the request to the Protocol Manager to bind the modules declared in PROTOCOL.INI into a complete communications stack.

arswait - Waits for VINES address resolution.

redirall - Loads the VINES redirector. The redirector gives the workstation access to VINES file and print services. REDIRALL works with any version on DOS. There are many other redirectors, some of which offer support for DOS Named Pipe applications. See Managing Workstations for more information.

Figure 2-14. AUTOEXEC.BAT File Screen

z:\login

Loading NDIS Software High

Note: PROTMAN.DOS version 1.1 cannot be loaded high. Be sure you are running at least PROTMAN.DOS version 2.0 before you attempt to load the NDIS software into high memory.

QEMMTM
386MAX
DOS 6.0 memory utility MemMaker

DOS Workstation Memory Architecture

Figure 2-15. DOS Workstation Memory

DOS applications
DOS device drivers
DOS itself
Terminate and Stay Resident programs

DOS MemMaker

Note: Upper memory area uses extended memory by mapping upper memory addresses to extended memory.

Table 2-4. MemMaker Changes to CONFIG.SYS and AUTOEXEC.BAT

386MAX

Table 2-5. 386MAX Changes to CONFIG.SYS and AUTOEXEC.BAT

QEMM

Table 2-6. QEMM Changes to CONFIG.SYS and AUTOEXEC.BAT

ARCNET NDIS Considerations

Basic Troubleshooting for DOS NDIS Support

Table 2-7. VINES for DOS NDIS Troubleshooting

Previous PageTop Of PageNext Page