Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Microsoft Network Client Version 2.2: User's Guide for MS-DOS Clients > Appendix B Using NetWare Connectivity

Working with NetWare Connectivity

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

When both LAN Manager and NetWare are running, you can use both LAN Manager and NetWare commands and utilities, and you can make connections to directories and printers on Windows NT computers, and LAN Manager and NetWare servers.

If you use Microsoft Windows version 3.0 or later, you can use the Windows network capabilities to make using the network easier. You can use the Windows File Manager, Print Manager, and other network-oriented dialog boxes with both LAN Manager and NetWare.

If you use command-line commands, you can alternate between LAN Manager commands and NetWare commands, if you want.

Using Microsoft Windows with NetWare Connectivity

When you use the Windows operating system to access the network, you can connect to Windows NT computers, LAN Manager servers, and NetWare servers with ease. You can use File Manager to display your connections to directories on all three types of servers, and also to make new connections. Similarly, you can use Print Manager and Printers from the Control Panel to view your connections to printers on all three types of servers and to make new connections. For more information about using the Windows operating system with your network, see your Microsoft Windows manual(s) and the User's Guide for Microsoft Windows Clients.

When using the Windows operating system to perform certain actions, you may see a dialog box that asks you which network you want to use. When you see this dialog box, simply specify the network on which you want to perform the action.

This dialog box appears only when you browse the network using either the File Manager or Printers from the Control Panel, and when you choose Network from the Control Panel. For all other network-related activities with the Windows operating system, you won't need to specify which network you are using; NetWare Connectivity determines it automatically.

Enabling NetWare Broadcast Messaging

With NetWare Connectivity and the Microsoft Windows operating system, you may need to manually enable messaging if you want to receive NetWare broadcast messages while using the Windows operating system.

To enable broadcast messaging

  1. Open the Windows Control Panel. Several icons appear.

  2. Choose the Network icon.

  3. In the resulting dialog box, choose NetWare.

  4. In the NetWare Utilities dialog box, press the down arrow key until Enable Broadcast Messages appears in the list box, and then choose the OK button.

Messages are now enabled.

Using NetWare Connectivity from the Command Line

If you don't use the Windows operating system, or if you type network commands from an MS-DOS box in the Windows operating system, you can use both LAN Manager and NetWare commands. You use LAN Manager commands when you work with directories and printers on Windows NT computers and LAN Manager servers, and NetWare commands when you work with directories and printers on NetWare servers.

When you use NetWare Connectivity with typed commands, you must be aware of the situations described in the following sections, "Connecting to Network Directories," and "Connecting to Network Printer Queues." The information in these sections also applies when you use the LAN Manager screen (started with the net command) or NetWare menu utilities such as syscon and filer.

If you are experienced with either LAN Manager or NetWare but are using the other network for the first time, you may find it helpful to learn the commands of the new network by referring to the table of commands in "Using NetWare, Windows NT Advanced Server, and LAN Manager Commands," later in this appendix. You can also find information about equivalent NetWare and LAN Manager commands by typing net help netware. You will see a list of common NetWare commands and their LAN Manager equivalents.

Connecting to Network Directories

Because LAN Manager, Windows NT, and NetWare share the drive letters that can be assigned to network directories, be careful when you assign drive letters to network directories.

It is a good idea to use only drive letters from D to P for Windows NT and LAN Manager directories, and drive letters from Q to Z for NetWare directories.

NOTE: Usually, the last drive letter you should assign to LAN Manager or Windows NT directories is P, but your network administrator may have set up your workstation differently. Your administrator can tell you which letters to assign to which networks.

If you try to assign a wrong drive letter to a network directory, you will see an error message. If you use the LAN Manager net use command to try to assign a drive letter that is too close to Z as a Windows NT or LAN Manager directory, you will see this message:

DOS Error 15 has occurred.
SYS0015: The system cannot find the drive specified.

If you use the NetWare map command to try to assign a drive letter too close to A as a NetWare directory, you will see this message:

Drive X is in use by a local drive.Do you want to assign it as 
network drive? (Y/N) Y

If you see this message, press n. Pressing n prevents you from assigning a single drive to two directories simultaneously.

If you do assign a single drive letter to both a Windows NT or LAN Manager directory and a NetWare directory, you will be unable to access the Windows NT or LAN Manager directory. When you use that drive letter in a command, it will always refer to the NetWare directory.

If you find that you have a drive letter assigned to a Windows NT or LAN Manager directory and to a NetWare directory, cancel the connection to one of the directories. You can then reconnect to that directory using a different drive letter.

For example, suppose you have the G drive assigned to both a LAN Manager directory and a NetWare directory (the PUBLIC directory on the NETWARE1 server). You can delete the connection to the NetWare directory by typing:

map del g:

You can then reconnect using a different drive letter, such as V, by typing:

map v: = netware1/sys:/public

Note that on LAN Manager Enhanced workstations, when you use a LAN Manager command to view the drive letters on your workstation that are assigned to network directories, only drive letters assigned to Windows NT and LAN Manager directories appear. Similarly, when you use a NetWare command to do this, only NetWare directories appear.

For example, suppose you have assigned drive F to a Windows NT Advanced Server directory, and assigned drives Q and Z to NetWare directories. If you type net use (the LAN Manager command to view directories your workstation has connections to), only F appears. If you type map (the NetWare equivalent), only drives Q and Z appear.

Connecting to Network Printer Queues

LAN Manager, Windows NT, and NetWare must share the printer devicenames (such as LPT1 and LPT2) available on your workstation. Do not assign a single printer devicename to printer queues or more than one network at the same time. If you do, you can use only the LAN Manager queue referred to by that devicename.

The LAN Manager command that lists devicenames assigned to network printers (net use) shows only Windows NT and LAN Manager printer queues. The NetWare command (capture) shows only NetWare printer queues. When you need to connect to a new printer, first check your current connections to both types of queues, and then use a devicename not already in use.

For example, suppose you need to connect to the printer queue LASER2 on the server PRODUCT. First, check your current connections with the net use and capture commands.

Typing the LAN Manager command net use displays:

Status      Local name        Remote name
--------------------------------------------------------
OK LPT2 \\LMSERVER\PRINTER

Typing the NetWare command capture displays:

Device LPT1: re-routed to queue QUEUE_1 on server NWSERVER

Now that you see that the LPT1 and LPT2 devicenames on your workstation are already being used, you should assign LPT3 to the new printer queue.

NOTE: Be cautious before you assign LPT1 to a Windows NT or LAN Manager printer queue. On most NetWare networks, when you log on to a NetWare server, the LPT1 devicename is automatically assigned to a NetWare printer queue. If you assign LPT1 to a Windows NT or LAN Manager printer queue, you will be unable to access the NetWare printer queue.

If you have assigned a devicename to both a Windows NT or LAN Manager printer queue and a NetWare printer queue, cancel the connection to one of the printer queues, and then connect to that printer queue using another devicename. For example, if you find that LPT1 is assigned to a LAN Manager printer queue (the LASER printer queue on the SALES server) and to a NetWare printer queue, cancel the connection to the LAN Manager printer queue by typing:

net use lpt1 /d

You can then reconnect to that printer queue using a different devicename, such as LPT2:

net use lpt2 \\sales\laser

Using NetWare, Windows NT Advanced Server, and LAN Manager Com mands

With NetWare Connectivity, when both NetWare and LAN Manager are running, you can easily use LAN Manager commands and NetWare commands. When you type a LAN Manager command, a Windows NT computer or LAN Manager server processes it; when you type a NetWare command, NetWare processes it.

The following table shows equivalent commands in NetWare and LAN Manager. If you are an experienced NetWare user new to LAN Manager (or vice versa), use this table to find the correct commands.

You can also see this table onscreen by typing net help netware at a computer that has LAN Manager and NetWare Connectivity.

NetWare command

LAN Manager command

Explanation and example

attach

none

Establishes a link between your workstation and a server, so that you can connect to that server's resources. In LAN Manager, this is not necessary because you can connect to a resource without first attaching to the server.

capture

net use lptx

Connects to a network printer.

capture l=2 s=product q=laser1
net use lpt2 \\product\laser1

endcap

net use lptx /d

Ends a connection to a network printer.

endcap l=2 
net use lpt2 /d

help

net help

Displays Help information.

help
net help

login

net logon

Logs you on to the network. With NetWare, you usually must be switched to a network drive (such as Q) to log in; with LAN Manager, you can log on from the C drive.

login
net logon

logout

net logoff

Logs you off from the network.

logout
net logoff

map

net use x:

Connects to a network directory.

map h: = product/sys
net use h: \\product\sys

map del

net use x: /d

Deletes a connection to a network directory.

map del h:
net use h: /d

ncopy

net copy

Copies files from one location to another on a server, or from one network computer to another.

ncopy memo.doc sales/sys:word
net copy memo.doc \\sales\sys\word

nprint

net use lptx: net copy

Prints a file on a network printer. With LAN Manager, you must first use net use to connect to a printer (if you aren't already connected), and then use net copy to send the file to the printer.

nprint memo.txt s=product p=1
net use lpt2 \\product\laser1
net copy memo.txt lpt2

pstat (NetWare 2.x only)

net print

Displays information about printers attached to a server. LAN Manager's net print command lists the jobs in each print queue; NetWare's pstat command does not.

pstat s=product
net print \\product

send

net send

Sends a message to another user. With Windows NT and LAN Manager, the message can usually have as many as 256 characters (depending on the value of sizmessbuf in the LANMAN.INI file). With NetWare, the message is limited to 45 characters.

send "Meeting canceled" terryn
net send terryn Meeting canceled

setpass

net password

Changes your password.

setpass
net password

slist

net view

Lists the servers on the network. With LAN Manager, it lists only the servers in your Windows NT Advanced Server or LAN Manager workstation domains (and the additional domains that your workstation is monitoring, if any). With NetWare, it lists all NetWare servers on the network.

slist
net view

slist server

net view \\server

Checks if a specific server is active on the network. With Windows NT and LAN Manager, it also lists resources that the server shares; with NetWare, it does not list resources.

slist product
net view \\product

systime

net time /set

Sets your workstation's time to match the time of the specified server.

systime product
net time \\product /set

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1996 Hewlett-Packard Development Company, L.P.