Previous PageNext Page

Chapter 7 - Interprocess Communications for DOS Workstations

Overview

Providing Netbios Support for DOS Workstations

Loading Netbios emulation software on the workstation using PCCONFIG or PCNETB
Registering with a Netbios name service on a network server using the SETNETB command

Loading Netbios Software Using PCCONFIG

To Provide Access to the Netbios Name Service

1. From the Banyan workstation directory, enter pcconfig. The Configuring a PC for the Network menu appears.

2. Select Special Software Settings. The Special Software Settings menu, Figure 7-1, appears.

Figure 7-1. Special Software Settings Menu Screen

3. Select Load Resident Netbios Emulation Software. The Netbios Emulation screen, Figure 7-2, appears.

Figure 7-2. Netbios Emulation Screen

4. Enter Y and press F10. You return to the Special Software Settings menu.

5. Press ESC to exit the Special Software Settings menu and return to the Configuring A PC for Network menu.

6. Press F10 to exit the PCCONFIG program and save your changes.

7. Reboot the workstation. You are now ready to run SETNETB.

Loading Netbios Software Using the PCNETB Command

To Use PCNETB to Load Netbios

1. Boot the workstation.

2. Run BAN to load network software.

3. At a DOS prompt, enter the PCNETB command or create a batch file containing the PCNETB command.

Configuring Netbios Using the PCNETB Command

PCNETB [/SES:n] [/CMD:n] [/PKT:n] [/NAM:n]

Table 7-1. PCNETB Command Switches

Connecting to the Netbios Name Service with SETNETB

Note: All users of any given program requiring the Netbios interface must use the same Netbios name service.

SETNETB [/PERMID:hex-value]

[/NAME:machine-name | /NONAME] service-name

Table 7-2. SETNETB Command Switches

To Use SETNETB on a DOS Workstation

1. At a DOS workstation on which Banyan networking software is installed, use the CD command to change to the Banyan workstation directory, and enter ban.

2. Log in using your StreetTalk name and user password.

3. At the command prompt, enter the SETNETB command with the workstation name and name of the Netbios name service the workstation will access. For example:

setnetb /name:machine1 netb@accounting@WCTUS

Your workstation is now ready to run your Netbios applications.

Cautions When Using SETNETB

Naming Conflicts

Naming Service Issues

WARNING: Permanent node id not set correctly.

Providing Netbios Connections

Enter the SETNETB and PCNETB commands from the DOS prompt.
Set PCCONFIG to provide Netbios support each time the workstation boots, then manually enter SETNETB to connect to a name registration service.
Set PCCONFIG for Netbios support, then use the workstation's AUTOEXEC.BAT file or a batch file to connect with the Netbios name service. This batch file can execute the Netbios application if desired.

Example Providing Support Manually

Load Netbios support software.
Provide the machine name Berber to the Netbios name service Names@Sales@WCTUS:

pcnetb

setnetb /name:berber names@sales@WCTUS

Example Using a SETNETB Batch File

Log in to the network.
Connect to the Netbios name service.
Launch an application.

c:
cd bandir
ban
setnetb /name:DOS_CL1 NBNames@MIS@WCTUSj:
cd myapp
myapp

Table 7-3. Batch File Elements

Creating a Binary Trace Output from PCNETB Using NBTRACER

PCNETB [/SES:n] [/CMD:n] [/NAM:n] [/PKT:n] [/TRC:n] [/TRCFILE:n] [/TRCBUF:n] [/TRCDIR:directory] [/TRCKEY:c] [/EMS or /XMS] or [/U]

Table 7-4. NBTRACER Command Switches

Using NBTRACER to Display a Trace Analysis

NBTRACER PCNETB_Trace_Output_Filename

NBTRACER PCNETB1.TRC > PCNETB1.OUT

Setting Up Named Pipe Support

1. Use PCCOPY to copy a Named Pipe redirector to the workstation's drive Z. See Chapter 6 for a complete description of PCCOPY. Use REDIRNP4 with DOS versions 4.x and 5.x, and 6.x

2. Use PCCONFIG to load Netbios software. See Chapter 3 for a complete description of PCCONFIG.

3. Use PCCONFIG to load Named Pipe software.

To Provide Named Pipe Support for a DOS Workstation

1. At the DOS prompt, enter pccopy. The PCCOPY Main menu appears.

2. Select Copy Redirectors Only. The DOS Redirector screen appears.

3. Select REDIRNP4.EXE and press F10. The Destination Directory Selection screen appears.

4. Enter the full pathname of the Banyan workstation directory. When PCCOPY finishes copying files, the DOS command prompt appears.

5. Enter pcconfig. The Configuring a PC for the Network menu appears.

6. Select Special Software Settings. The Special Software Settings menu appears.

7. Select Load Resident Netbios Emulation Software.

8. Enter Y and press F10. You return to the Special Software Settings menu.

9. Select Load Named Pipe Support Software and press ENTER. The Named Pipe Support screen appears.

10. To load Named Pipe software support, enter Y and press F10. You return to Special Software Settings screen.

11. Press ESC to return to the Configuring a PC for the Network menu.

12. Press F10 to save your changes and exit the program.

13. Reboot your workstation.

14. If you did not do so already, create a login batch file that contains the BAN command and the SETNETB command, like the following example:

ban

setnetb /name:machine_name service_name@group@org

Previous PageTop Of PageNext Page