Microsoft Network Client Version 2.2 User’s Guide for MS-DOS Clients HP Part No. J2716-90006 Printed in U.S.A.
Legal Notices Legal Notices Information in this document is subject to change without notice. Companies, names, and data used in examples herein are fictitious unless otherwise noted. No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of Microsoft Corporation. Copyright 1992-1993 Microsoft Corporation. All rights reserved.
Legal Notices International Business Machines Corporation. Microcom is a registered trademark of Microcom Systems, Inc. Novell and NetWare are registered trademarks of Novell, Inc. Stacker is a registered trademark of STAC Electronics. SMC is a registered trademark of Standard Microsystems Corporation. Tulip is a registered trademark of Tulip Computers, International, B.V. Ungermann-Bass is a registered trademark of Ungermann-Bass, Inc.
Preface Preface The User’s Guide for MS-DOS® Clients is for users of Microsoft® LAN Manager for the MS-DOS operating system. This manual describes how to use the LAN Manager Screen menu commands for the Enhanced version and how to use typed commands for the Basic version.
Preface Servers are the computers that control the network resources. Your workstation runs MS-DOS; other workstations on the network may run Windows NT, MS-DOS, Operating System/2® (OS/2®), Microsoft Windows, or Windows for Workgroups. Resources are made available to you and to other network users through a process called sharing. The servers on a network share resources with network users at workstations. First you gain access, or log on, to the network and connect your workstation to a server.
Preface administrator. Basic Version You use LAN Manager Basic by typing commands at the MS-DOS prompt. With LAN Manager Basic, you can: • Add your computer to a network. • Use shared disk drives, directories, files, and printers. • Get online Help. • Display the contents of printer queues. • Pause and continue connections to network resources. • Use client-server applications. To learn how to use LAN Manager Basic, see Part 2 of this manual.
Preface browse, connect to, and disconnect from network resources, all through Microsoft Windows icons. Installation Guide for Clients Provides procedures to install LAN Manager software, and information about the network device drivers used with LAN Manager and about configuring workstations and servers.
Preface 8
Contents 1 Getting Started with LAN Manager Enhanced Starting LAN Manager Enhanced 23 Starting the Workstation Service and Logging On 24 Additional Network Services 25 Using the LAN Manager Screen 26 Using CTRL+BREAK to Break Out of Network Requests Using Menus and Menu Commands 27 View Menu 28 Message Menu 29 Config Menu 29 Accounts Menu 30 Help Menu 30 Using Dialog Boxes 31 Dialog Box Elements 31 Getting Help from the LAN Manager Screen 34 27 Viewing Network Resources 36 Setting the Current Focus 36 V
Contents Continuing LAN Manager Services 46 Pausing and Continuing Connections to Resources 47 Viewing the Workstation Configuration 48 Using Home Directories 49 Exiting the LAN Manager Screen 50 Quitting LAN Manager Enhanced 51 Logging Off from the Network 51 Starting LAN Manager Enhanced Automatically 53 Running Other Network Protocols 54 Using the TEMP Environment Variable 55 2 Using Shared Directories Viewing Shared Directories 59 Connecting to a Shared Directory 60 Connecting to a Shared Directory
Contents Moving Files over the Network 66 Running a Program on a Server 67 Disconnecting from a Shared Directory 68 3 Using Shared Printers Printer Queues 70 Viewing Printer Queues and Print Jobs 71 Connecting to a Printer Queue 72 Connecting to Printer Queues Without Setting the Focus Making a Onetime Connection to a Printer Queue 73 Printing over the Network 74 72 Viewing Your Connections to Printer Queues 75 Holding, Releasing, and Deleting a Print Job 76 Disconnecting from a Shared Printer Queue 78
Contents 4 Sending and Receiving Messages Sending Messages 87 Reading Messages 89 Using the Netpopup Service 89 Reading Your Message Log 90 Renaming the Message Log File 91 Stopping and Starting Message Logging Printing Messages 92 91 Using Aliases 93 Adding an Alias 93 Deleting an Alias 93 5 Enhanced Reference Abbreviating Commands and Options 96 Using the /Yes and /No Options 97 Using Passwords with Commands 98 Controlling a Screen Display 99 Using Commands in Batch Programs 100 Command and Utility Su
Contents Kermit 115 Load 117 Net 119 Net Access 120 Net Config Workstation 124 Net Continue 125 Net Copy 127 Net Help 130 Net Helpmsg 132 Net Log 133 Net Logoff 135 Net Logon 136 Net Move 140 Net Name 142 Net Password 145 Net Pause 148 Net Print 150 Net Send 154 Net Start Encrypt 157 Net Start Messenger 158 Net Start Netpopup 160 Net Start Workstation 161 Net Stop Workstation 163 Net Time 164 Net Use 165 Net Version 170 Net View 171 Net Who 173 Netbind 175 Netrun 176 Nwload 179 Nwunload 180 Ping 181 Prints
Contents Prtsc 189 Uchmod 190 Ud 193 Udir 195 Unload 198 Uren 199 6 Using LAN Manager Basic Starting LAN Manager Basic 203 Getting Help 204 Using Shared Directories 205 Connecting to a Shared Directory 205 Using MS-DOS Commands with Shared Directories Disconnecting From a Shared Directory 208 207 Using Shared Printers 210 Connecting to a Shared Printer Queue 210 Printing over the Network 211 Viewing the Status of a Print Job 211 Disconnecting from a Shared Printer Queue 212 If a Print Job Fails to Send
Contents Maintaining the Link to the Server for Clispool or Clipcach Using the Print Station Utility 219 218 7 Basic Reference Abbreviating Commands and Options 222 Using the /Yes and /No Options 223 Using Passwords with Commands 224 Controlling a Screen Display 225 Using Commands in Batch Programs 226 Command and Utility Summary 227 Using UNIX System Commands 229 Addname 230 Clipcach 232 Clispool 235 Kermit 238 Load 240 Net Continue 242 Net Help 243 Net Name 245 Net Pause 246 Net Print 247 Net Start Wor
Contents Ping 260 Printsta 261 Prtsc 268 Uchmod 269 Ud 272 Udir 274 Unload 277 Uren 278 A Country Codes B Using NetWare Connectivity How NetWare Connectivity Works 285 Starting and Stopping LAN Manager and NetWare 286 Working with NetWare Connectivity 287 Using Microsoft Windows with NetWare Connectivity 287 Enabling NetWare Broadcast Messaging 288 Using NetWare Connectivity from the Command Line 288 Connecting to Network Directories 289 Connecting to Network Printer Queues 290 Using NetWare, Windows NT
Contents Displaying Filenames in the MS-DOS Format 299 Displaying Filenames in the UNIX System Format 299 Using the Udir Command on Local Client Drives 301 Renaming UNIX System Files 302 Using the Uren Command to Move Files 302 Handling Incompatible File Formats 304 Converting Text Files 305 Using the Ud Command 305 Guidelines for Using the Ud Command 306 Options 306 Piping and Redirecting Converted Files 306 Changing UNIX System Permissions for LAN Manager Files 308 Using the Kermit Terminal Emulator
Contents Drive ID Unlinked 320 Keyboard Locked Up 320 E Using Remote Access Service Installing RAS 323 Installing on MS-DOS 323 Installing on Microsoft Windows 324 Installing on Dual-Role Workstations 325 Conserving Memory on MS-DOS Workstations 326 Unloading the RAS Drivers 326 Loading the RAS Drivers Into Upper Memory with LAN Manager Using the Network 328 Connecting to the Network 328 Disconnecting from the Network 329 User Commands 329 Finding Help About Phone Book 330 Modifying Phone Numbers 330 Tr
Contents Understanding MODEMS.INF 339 Adding a New Modem to MODEMS.INF 343 MODEMS.INF Macros 344 Modifying Your Modem Initialization Strings 344 Error Control and Compression 345 Configuration Files 347 CONFIG.SYS 347 LANMAN.INI 347 PROTOCOL.INI 347 Tuning 349 Modifying LANMAN.
Contents 20
1 Getting Started with LAN Manager Enhanced 21
Getting Started with LAN Manager Enhanced This chapter introduces LAN Manager Enhanced and explains how to start your workstation and log on to the network, how to use the LAN Manager screen, how to get Help, and how to quit LAN Manager. If LAN Manager Enhanced is not installed on your workstation, contact your administrator.
Getting Started with LAN Manager Enhanced Starting LAN Manager Enhanced Starting LAN Manager Enhanced Starting LAN Manager Enhanced involves two separate actions: • Starting the Workstation service • Logging on to the network A service is a program that performs one of the major functions of LAN Manager. The Workstation service connects your workstation to the network, so that you can use network resources. The Workstation service must be running in order for other services to run.
Getting Started with LAN Manager Enhanced Starting LAN Manager Enhanced Starting the Workstation Service and Logging On You must start the Workstation service before you can log on to the network or use the LAN Manager screen. To start the Workstation service • At the MS-DOS prompt, type net start workstation. After the Workstation service starts, you must log on to the network. NOTE: When using R:BASE 3.
Getting Started with LAN Manager Enhanced Starting LAN Manager Enhanced If your password is within three weeks of expiring, a warning appears to remind you to change it. If the password has already expired, you must change the password in order to log on. See ‘‘Changing Your Password,’’ later in this chapter. 3 NOTE: Press TAB to move to the Domain box. This box displays the workstation domain. To specify another domain, type a new domain name.
Getting Started with LAN Manager Enhanced Using the LAN Manager Screen Using the LAN Manager Screen Using the LAN Manager screen, you can browse around the network, locate shared resources, and connect to those resources without having to memorize commands or syntax. These are the elements of the LAN Manager screen: Menu bar Displays the names of menus from which you can choose commands.
Getting Started with LAN Manager Enhanced Using the LAN Manager Screen To perform tasks using the LAN Manager screen, you select a menu, which displays a list of commands. When you choose a command, a dialog box appears. In the dialog box you type information necessary to perform a task. Using CTRL+BREAK to Break Out of Network Requests You can stop network requests that were initiated at the MS-DOS command line or in the LAN Manager screen with the CTRL+BREAK key combination.
Getting Started with LAN Manager Enhanced Using the LAN Manager Screen You can also use the following keys to view and select menus and choose commands: Key Action ALT Activates menu names on the menu bar. Highlighted letter When menu names are activated with ALT or menu commands are displayed, selects the menu or chooses the menu command that contains the highlighted letter. ← → When a menu appears, moves from one menu to another. ↑ ↓ When a menu appears, moves from one command to another.
Getting Started with LAN Manager Enhanced Using the LAN Manager Screen Manager servers. Users on a server Displays the users that are logged on to the server of current focus, if that server is a LAN Manager server. Users on a domain Displays the users that are logged on to LAN Manager servers in a domain. Exit Removes the LAN Manager screen. Also, you can press ALT+F4 to exit the screen at any time.
Getting Started with LAN Manager Enhanced Using the LAN Manager Screen These are the Config menu commands: Log on to LAN Logs you on to the network. Log off from LAN Logs you off from the network. Workstation options Displays information about your workstation’s configuration. Accounts Menu With commands from the Accounts menu, you can view information about your account and change your password. These are the Accounts menu commands: Your account Displays information about your account.
Getting Started with LAN Manager Enhanced Using the LAN Manager Screen Glossary of terms Displays an alphabetical list of terms and definitions used with LAN Manager Enhanced. Using Help Explains how to use Help. About LAN Manager Describes the version of LAN Manager installed and displays a copyright notice. Using Dialog Boxes You use dialog boxes to supply information needed for performing a task. Dialog boxes contain as many as five types of areas, or elements.
Getting Started with LAN Manager Enhanced Using the LAN Manager Screen Key Action ENTER Carries out the actions you specify. ESC Cancels any specified actions and closes the dialog box. Text Boxes You type information in a text box. A text box is surrounded by brackets and contains a series of dots that are replaced with characters as you type. A text box sometimes holds more characters than appear between the brackets. You can view these characters by using the right arrow key to scroll to the left.
Getting Started with LAN Manager Enhanced Using the LAN Manager Screen Use the following keys to move around in a list box: Key Action ↑ Moves the cursor up one line. ↓ Moves the cursor down one line. PAGE UP Moves the cursor up one page. A page is the portion of a list that appears on the screen. PAGE DOWN Moves the cursor down one page. HOME Moves the cursor to the top of a list. END Moves the cursor to the bottom of a list. F5 Updates a list.
Getting Started with LAN Manager Enhanced Using the LAN Manager Screen Check Boxes With a check box, you turn an option on or off. When a check box is marked with an X, the option is on. When the cursor is in a check box, you can use the SPACEBAR as a toggle to select or clear the box. To select or clear a check box with the mouse, click inside it. Option Buttons With an option button, you select one option from a group of options.
Getting Started with LAN Manager Enhanced Using the LAN Manager Screen To get information about a menu, command, or dialog box, press F1 while that item is displayed. If you press F1 when no dialog box or menu is displayed, the Help û Using the LAN Manager screen box appears. You can use the arrow keys to scroll the text, or you can use a mouse to scroll. To remove a Help box from the screen, choose the Done button or press ESC.
Getting Started with LAN Manager Enhanced Viewing Network Resources Viewing Network Resources With commands from the View menu, you can view servers and shared resources on the network, and you can view users on a server or in a domain. You can also view Windows for Workgroups resources. After you log on, a list of servers in your workstation domain (or in your logon domain when you specify a domain other than your workstation domain at logon) appears in the list box on the LAN Manager screen.
Getting Started with LAN Manager Enhanced Viewing Network Resources To set the current focus on a server 1 Select the computername of the server you want to focus on by: • Pressing the first letter of the server's computername Or • Scrolling through the list box until the name appears in the Set current focus on text box Or • 2 Typing the server’s computername in the Set current focus on text box Press ENTER, or double-click the server name.
Getting Started with LAN Manager Enhanced Viewing Network Resources it. Network paths are used in dialog boxes and in commands typed at the MSDOS prompt. When you type a network path at the MS-DOS prompt, precede the computername by two backslashes (\\), and precede the sharename by one backslash (\). For example, \\SALES\REPORTS specifies the network path for the REPORTS shared directory on the \\SALES server. For UNIX servers only, computernames for servers end with the suffix .SERVE.
Getting Started with LAN Manager Enhanced Viewing Network Resources 5 Choose the Done button again. To view users logged on in a domain 1 From the View menu, choose Users on a domain. The Select a Domain to View dialog box appears. 2 In the Known domains list box, select the domain that has the users you want to view. 3 Choose the OK button or press ENTER. 4 The Current Users on Domain domainname appears.
Getting Started with LAN Manager Enhanced Understanding User Accounts Understanding User Accounts User accounts control access to shared resources. On a server, user accounts specify which users have access to shared resources. In a Windows NT Advanced Server or LAN Manager domain, user accounts specify which users can log on. Your account on a server includes your username and the password you must supply to gain access to the server’s resources.
Getting Started with LAN Manager Enhanced Understanding User Accounts To view information about your user account 1 To view information about your account in the logon domain, set the current focus on your workstation. To view information about your account at a server, set the current focus on that server. 2 From the Accounts menu, choose Your account. The View Your Account at \\computername dialog box appears.
Getting Started with LAN Manager Enhanced Understanding User Accounts Changing Your Password You sometimes have to change the password for your account--for example, when your password is about to expire. If your account information is kept on a LAN Manager server, LAN Manager alerts you when you need to change your password. See your administrator if you forget your password.
Getting Started with LAN Manager Enhanced Starting LAN Manager Services Starting LAN Manager Services You must start the Workstation service before you can log on to the network, start any other LAN Manager service, or use the LAN Manager screen. When you start the Workstation service, LAN Manager Enhanced automatically starts the Messenger and Netpopup services. Or you can start one of these services individually--if you stopped it temporarily--by specifying its name from the command line.
Getting Started with LAN Manager Enhanced Stopping LAN Manager Services Stopping LAN Manager Services When you stop the Workstation service, all network services stop, and connections to the network end. You must restart the Workstation service and log on if you want to use the network again. Alternatively, you can pause your workstation, which is similar to stopping your workstation but doesn’t log you out or cancel connections.
Getting Started with LAN Manager Enhanced Pausing LAN Manager Services Pausing LAN Manager Services You can pause all running LAN Manager services by pausing the Workstation service. Or you can pause services individually by specifying the service name from the command line. Pausing a service puts it on hold. Unlike stopping, pausing does not cancel connections or change settings.
Getting Started with LAN Manager Enhanced Continuing LAN Manager Services Continuing LAN Manager Services When you continue a service, it resumes running as it was before you paused it. To continue a service • Type net continue service. For more information about continuing a service, see “Net Continue” in Chapter 5, “Enhanced Reference.
Getting Started with LAN Manager Enhanced Pausing and Continuing Connections to Resources Pausing and Continuing Connections to Resources In addition to pausing a service, you can pause your workstation's connections to shared directories and printer queues. When you pause connections, your workstation no longer recognizes the devicenames assigned to the connections.
Getting Started with LAN Manager Enhanced Viewing the Workstation Configuration Viewing the Workstation Configuration Your workstation configuration includes information such as your username and the domains that you participate in. To view your workstation's configuration 1 From the Config menu, select Workstation options. The View Configuration dialog box appears. Xs in the Messenger and Netpopup fields mean the services are running. You cannot change these fields in this dialog box.
Getting Started with LAN Manager Enhanced Using Home Directories Using Home Directories Your administrator may have set aside a directory on a remote server for your own personal use. This directory is your home directory.
Getting Started with LAN Manager Enhanced Exiting the LAN Manager Screen Exiting the LAN Manager Screen Exiting the LAN Manager screen returns you to the MS-DOS prompt but does not log you off from the network or stop LAN Manager Enhanced services. From the command line, you can still use the connections you set up with the LAN Manager screen. For more information about using the command line, see Chapter 5, “Enhanced Reference.” To exit the LAN Manager screen 1 Press ESC to close each open dialog box.
Getting Started with LAN Manager Enhanced Quitting LAN Manager Enhanced Quitting LAN Manager Enhanced Quitting LAN Manager Enhanced involves two steps: • Logging off from the network • Stopping the Workstation service Logging off from the network is described in the next section. For details on stopping the Workstation service, see “Stopping LAN Manager Services,” earlier in this chapter.
Getting Started with LAN Manager Enhanced Quitting LAN Manager Enhanced 2 In the Password box, type your password. 3 Choose the OK button, and then press ENTER. To log on again from the MS-DOS prompt 1 Type net. The Log Onto Network message box appears. 2 In the Password box, type your password. 3 Choose the OK button, and then press ENTER.
Getting Started with LAN Manager Enhanced Starting LAN Manager Enhanced Automatically Starting LAN Manager Enhanced Automatically LAN Manager Enhanced commands that you can type at the MS-DOS prompt can be put in a batch program so that they run automatically. A batch program contains groups of commands. When you run a batch program, you can perform a series of tasks without typing their individual commands.
Getting Started with LAN Manager Enhanced Running Other Network Protocols Running Other Network Protocols The computer resources you need may be on more than one network, each of which uses its own communications protocol. Demand Protocol Architecture (DPA) allows you to load a protocol when you need to connect your workstation to a resource on the network that uses that protocol, and then unload it when you are done, thereby freeing your workstation’s memory for other tasks.
Getting Started with LAN Manager Enhanced Using the TEMP Environment Variable Using the TEMP Environment Variable If you are using MS-DOS version 5.0 and want to set the temp environment variable to an HPFS386 drive on a remote server, be sure you have Create permission on that drive. This is not an issue if you are using a version of MS-DOS earlier than version 5.0, or if you are using a non-HPFS386 drive.
Getting Started with LAN Manager Enhanced Using the TEMP Environment Variable 56
2 Using Shared Directories A shared directory is a disk directory on a server that contains files to which users on a network have access. Using a shared directory, one person can write a report, another person can review it, and a third person can format and print it, all without passing a floppy disk around the office.
Using Shared Directories This chapter explains how to use shared directories. It includes procedures for viewing, connecting to, and disconnecting from a shared directory, and for seeing which shared directories your workstation is connected to. In addition, the command-line syntax for moving and copying files over the network is provided.
Using Shared Directories Viewing Shared Directories Viewing Shared Directories The first step in using a shared directory is seeing which directories and other resources are available to you. To see which shared resources are available to you, the Workstation service must be running, and you must be logged on to the network. For information about starting the Workstation service and logging on, see Chapter 1, “Getting Started with LAN Manager Enhanced.
Using Shared Directories Connecting to a Shared Directory Connecting to a Shared Directory Connecting to a shared directory allows you to use the directory as if it were a disk drive on your workstation. When you connect to a shared directory, you can use files or programs in that directory. You can also copy files or programs to the directory for use by others. When you connect to a shared directory, you assign a devicename to the directory.
Using Shared Directories Connecting to a Shared Directory Connecting to a Shared Directory Without Setting the Focus The LAN Manager screen allows you to connect your workstation to shared directories on servers other than the server of current focus. This includes servers that are not visible on the LAN Manager screen and servers in other domains. LAN Manager Enhanced also lets you connect your workstation to servers on the network that are not running LAN Manager.
Using Shared Directories Connecting to a Shared Directory You use the net use command to control the persistent connections feature. By default, the persistent connections feature is turned on. To change the settings for persistent connections • Type net use /p[ersistent]:{yes | no | freeze | save}. The yes setting saves all connections as they are made, and restores them the next time you log on. This is the default setting. The no setting does not save or restore connections.
Using Shared Directories Connecting to a Shared Directory If You Have Trouble Connecting When you try to connect, you may see this error message: SYS0071: The network request was not accepted. This may mean that the server has reached its limit for simultaneous connections or there may be some problem with the server or with your account. Contact your network administrator for help. In rare cases, you may get an “out of resources” message.
Using Shared Directories Viewing Your Connections to Shared Directories Viewing Your Connections to Shared Directories You can view directories connected to your workstation anytime during a working session. To view directories connected to your workstation 1 From the View menu, choose Used resources. The Resources in Use by username at \\computername dialog box appears. Devicenames D: through Z: in the Device column identify connections to shared directories. 2 64 Choose the Done button.
Using Shared Directories Copying Files over the Network Copying Files over the Network Use the net copy command to copy a file over the network, to or from your workstation, or between servers. The MS-DOS copy command can be used in place of net copy, but net copy is faster when both the source and the destination are on the same server. You can only copy files from the MS-DOS prompt. To copy a file • Type net copy source [destination] For example: net copy \\product\lists\sales.
Using Shared Directories Moving Files over the Network Moving Files over the Network Use the net move command to move a file over the network, to or from your workstation, or between servers. You can only move files from the MS-DOS prompt. The net move command differs from the net copy command in that it deletes a file at its source location when it moves the file. To move a file • Type net move source [destination] If no destination is specified, the file moves to the current directory.
Using Shared Directories Running a Program on a Server Running a Program on a Server NOTE: The netrun command can be used on LAN Manager OS/2 and UNIX servers, but not on Windows NT Advanced Servers or Windows NT workstations. It cannot be used to run interactive programs such as word processors or spreadsheets. Use the netrun command to run a program on a LAN Manager OS/2 or UNIX server. You can run a program on a server only from the command line.
Using Shared Directories Disconnecting from a Shared Directory Disconnecting from a Shared Directory You can disconnect your workstation from a shared directory when you finish using a resource, or when you want to use the devicename for a different connection. To disconnect your workstation from a shared directory 1 From the View menu, choose Used resources. The Resources in Use by username at \\computername dialog box appears.
3 Using Shared Printers With LAN Manager, you can print files by sending them from your workstation to shared printers through shared printer queues. This chapter explains shared printer queues and how to view, connect to, control, and disconnect from them.
Using Shared Printers Printer Queues Printer Queues A shared printer is a printer available to network users on a server. Users send their print jobs to the server, which passes them to a printer queue, where they are held until they are ready to print. Jobs sent to a printer queue print, one by one, usually in the order received. Printer queues can be set up in two ways: One printer can handle jobs from several queues, or one queue can send jobs to several similar printers.
Using Shared Printers Viewing Printer Queues and Print Jobs Viewing Printer Queues and Print Jobs When you view a list of available printer queues, you can determine where to send a print job, or you can monitor jobs that you sent to a particular queue. You cannot view the queue of an MS-DOS workstation running the LAN Manager Print Station utility. To view printer queues and their print jobs 1 Set the current focus on the server sharing the printer queue that you want to view.
Using Shared Printers Connecting to a Printer Queue Connecting to a Printer Queue Connecting to a printer queue allows you to use the queue as if a printer were attached directly to your workstation. You connect to a printer queue by assigning a devicename to the queue. You can use devicenames LPT1 through LPT3. The procedure in this section is for connecting to printer queues on servers on which you can set the current focus. To connect to other queues, see the next section.
Using Shared Printers Connecting to a Printer Queue LAN Manager Enhanced also lets you connect your workstation to servers on the network that are not running Windows NT or LAN Manager. Because these servers have different interfaces, their names do not appear on the LAN Manager screen. Instead, you can connect by specifying the server’s path in a dialog box. To connect to a printer queue on a server other than the server of current focus 1 From the View menu, choose Used resources.
Using Shared Printers Connecting to a Printer Queue For example, if your current directory contains the PHONE.LST file and you want to send the file to the HOLES printer queue on the \\ADMIN server, type: net copy phone.lst \\admin\holes LAN Manager Enhanced connects your workstation to the printer queue and copies the file to the queue for printing. After copying, the connection cancels. Note that this procedure doesn’t work when you need a password to gain access to \\ADMIN\HOLES.
Using Shared Printers Viewing Your Connections to Printer Queues Viewing Your Connections to Printer Queues You can view the printer queues connected to your workstation anytime during a working session. To view your workstation’s connections to printer queues 1 From the View menu, choose Used resources. The Resources in Use by username at \\computername dialog box appears. If you have a connection to a printer queue, you see an LPT devicename under the Device column. 2 Choose the Done button.
Using Shared Printers Holding, Releasing, and Deleting a Print Job Holding, Releasing, and Deleting a Print Job Holding a print job instructs the server to suspend printing until you release it. Deleting a print job removes it from the queue. Your administrator can also hold, delete, or restart a print job. These actions may be necessary when a problem with the printer, such as a paper jam, causes printing to stop.
Using Shared Printers Holding, Releasing, and Deleting a Print Job 3 Select the print job you want to delete. 4 Choose the Delete button. 5 When prompted for confirmation, choose the OK button. 6 Choose the Done button.
Using Shared Printers Disconnecting from a Shared Printer Queue Disconnecting from a Shared Printer Queue You can disconnect your workstation from a printer queue when you finish using the printer, or when you want to use the devicename for a different connection. To disconnect your workstation from a printer queue 1 From the View menu, choose Used resources. The Resources in Use by username at \\computername dialog box appears.
Using Shared Printers Disconnecting from a Shared Printer Queue LAN Manager Enhanced workstations also have a time-out feature that sends an end-of-job signal if no data is sent to the spooler within a specified time.
Using Shared Printers Managing a Shared Printer Managing a Shared Printer NOTE: Read this section only if a shared printer is attached to your workstation. If you have a printer attached to your workstation, but are unsure if it is a shared printer, ask your administrator. If a shared printer is attached to your workstation, follow the guidelines in the next section when using the printer.
Using Shared Printers Managing a Shared Printer job and other jobs from printing. For example, if you have a shared printer attached to the LPT1 (or PRN) port on your workstation, link to the printer queue (or to other shared printer queues) using LPT2 or another port ID. • If you must use your printer locally, use the MS-DOS print command, or disable the printer as a network resource and use it locally. For more information about the MS-DOS print command, see your MS-DOS manual.
Using Shared Printers Managing a Shared Printer For more information about the printsta command, see Chapter 5, “Enhanced Reference.” NOTE: The Print Station utility cannot be added simultaneously with clispool or clipcach; they are mutually exclusive.
Using Shared Printers Managing a Shared Printer exclusive use of the printer or if you must use the printer locally. The printer queue continues to accept jobs, but the jobs will not print until you re-enable the printer. NOTE: If you want to use your printer locally without disabling it, use the print command. For example, type print myfile. At most, one print job from the server may print before your job is printed.
Using Shared Printers Managing a Shared Printer If you load Print Station in nonspooling mode, or if print jobs will be spooled from workstations running OS/2, you should not have messages sent to the host workstation. Loading Print Station in nonspooling mode automatically disables Netpopup or Winpopup. If jobs will be spooled from workstations running OS/2, disable Netpopup or Winpopup manually.
4 Sending and Receiving Messages With LAN Manager Enhanced, you can exchange messages with other network users. Servers can send you messages about conditions that require your attention. You can store your messages in a message log.
Sending and Receiving Messages Workstations using several local area network adapters can exchange messages only through the first adapter. This chapter discusses how to use the message features of LAN Manager Enhanced and provides procedures for sending a message or file, reading and managing your message log, and adding or deleting an alias. NOTE: Do not run the Messenger service on workstations running Norton® Commander 3.0.
Sending and Receiving Messages Sending Messages Sending Messages The Messenger service does not have to be running for you to send a message. However, it must be running for your workstation to receive messages. You can send a message to an alias on the network or to a domain. An alias is a unique name that each user specifies.
Sending and Receiving Messages Sending Messages The messages you send to all the users in a domain cannot exceed 128 characters. 5 88 Choose the OK button.
Sending and Receiving Messages Reading Messages Reading Messages To receive messages from other users and from servers on the network, the Messenger service must be started. The Netpopup service must be started if you want messages to be displayed when you receive them. NOTE: If you are using LAN Manager with Microsoft Windows, your administrator may have configured your workstation to display messages only when the Windows operating system is running.
Sending and Receiving Messages Reading Messages If you ordinarily work only in Microsoft Windows and do not need Netpopup functionality in the MS-DOS environment, you can replace Winpopup with the smaller Minipop utility to save memory. To replace Winpopup with Minipop 1 Exit the Windows operating system. 2 From your LAN Manager root directory, type setup. 3 From the Configuration menu, choose Workstation settings. 4 Make sure Yes is selected under Messaging Services, and then choose the OK button.
Sending and Receiving Messages Reading Messages Renaming the Message Log File You can change the name of your message log by specifying a new path in a dialog box. To change the name of the message log 1 From the Message menu, choose Log messages to file. The Specify Message Log File dialog box appears. 2 In the New file box, type the path of the new file, or use the Contents of path list box and the Dir button to select an existing filename.
Sending and Receiving Messages Reading Messages Printing Messages Instead of storing your messages in a message log, you can print your messages as soon as they arrive. Note that you cannot print and then store messages. Messages that are printed are not stored in the message log. To print messages as they arrive • Type net log devicename. To resume storing messages in a message log • Type net log [drive:path] filename.
Sending and Receiving Messages Using Aliases Using Aliases More than one person can receive messages at the same workstation. But because only one user can log on to a workstation at a time, you have to add an alias for every other person receiving messages at your workstation. You can’t add an alias that is already in use at another workstation. Aliases are deleted when the Messenger service stops.
Sending and Receiving Messages Using Aliases To delete an alias from the workstation 1 From the Message menu, choose Aliases. The Aliases for Messaging dialog box appears. NOTE: 2 Select the alias that you want to delete. 3 Choose the Delete button. 4 Choose the Done button. You cannot delete a workstation’s computername from the alias list.
5 Enhanced Reference This chapter contains a reference page for every LAN Manager Enhanced command and utility. Each page describes the purpose and syntax of the command or utility.
Enhanced Reference Abbreviating Commands and Options Abbreviating Commands and Options The reference pages in this chapter spell out all command and service names. If a command can be abbreviated, its abbreviation is listed on the reference page for the command. You can abbreviate any command option by typing enough letters to distinguish it from the command’s other options.
Enhanced Reference Using the /Yes and /No Options Using the /Yes and /No Options Many LAN Manager Enhanced commands require confirmation to complete a task. To expedite this confirmation, you can append the /yes or /no option to the command. The /yes and /no options can be abbreviated /y and /n. For example, the net logon command logs you on to the network. But when another user is already logged on at the workstation you are using, you must log off that user before you can log on.
Enhanced Reference Using Passwords with Commands Using Passwords with Commands Some commands require a password to connect to a shared resource. With LAN Manager Enhanced, there are two ways to supply a password: • Type the password with the command. For example, to provide the password petunia while assigning LPT1 to the LISTS shared directory on the \\ADMIN server, type: net use lpt1: \\admin\lists petunia • Type an asterisk (*) instead of the password.
Enhanced Reference Controlling a Screen Display Controlling a Screen Display Some commands (for example, net help) produce more than one screenful of text. In these cases, the screen scrolls automatically until you stop it. To stop the display from scrolling • Press PAUSE or CTRL+S. To resume scrolling • Press any key. You can also use the MS-DOS more command to scroll one screen at a time.
Enhanced Reference Using Commands in Batch Programs Using Commands in Batch Programs LAN Manager Enhanced commands can be used in batch programs (.BAT files), such as AUTOEXEC.BAT. For example, you can group the commands for starting the Workstation service, logging on to the network, and making network connections in one executable program. Command options can also be included in batch programs. To avoid confusion, do not abbreviate command options when putting commands in a batch program.
Enhanced Reference Command and Utility Summary Command and Utility Summary The following lists describe the LAN Manager Enhanced commands and utilities.
Enhanced Reference Command and Utility Summary To Use this command Enable a workstation to emulate a terminal kermit** Access resources across a gateway (TCP/IP to TCP/ IP) addname* Print jobs on a shared printer using LaserTools PrintCache software clipcach** Print jobs on a shared printer using the MS-DOS print command clispool** Print jobs on a shared printer without using a server to spool the jobs printsta Flush the print spooler, releasing a print job that has no end-of-job signal prtsc*
Enhanced Reference Command and Utility Summary To Use this command Learn who is logged on a LAN Manager network net who Get information about a user on a LAN Manager network net who Learn about a shared printer queue net print Learn what settings are in effect for the Workstation service net config workstation Get Help with message logging net log See which version of LAN Manager is running net version Learn what workstation connections are in effect net use Learn which services are current
Enhanced Reference Command and Utility Summary To Use this command Control message logging net log Check physical network connections (TCP/IP) ping** *This is a utility.
Enhanced Reference Command and Utility Summary For more information about getting Help with commands, see “Net Help,” later in this chapter. Getting Help with Error Messages When an error occurs while you are using LAN Manager Enhanced, a message box appears that describes the error. To get Help with an error that is displayed while you are using the LAN Manager screen, press F1 while the message box is displayed.
Enhanced Reference Command and Utility Summary Addname Purpose The addname utility lets TCP/IP users access resources of a server on a different TCP/IP network, using a network gateway. Syntax addname computername ipaddress addname computername /delete addname /load | /save [filename] where computername Is the name of the remote server whose entry you want to add or delete. Computernames can have as many as 8 characters (plus the .SERVE extension for LAN Manager for UNIX Systems servers).
Enhanced Reference Command and Utility Summary configuration file, use addname /save after deleting the entry. filename Specifies the name of the file to load or save. When you type addname with no options, the list of current addname entries is displayed. Comments When your computer is configured as a LAN Manager workstation using TCP/IP, you can use the addname utility to access the resources of a server on another TCP/IP network accessible through a network gateway.
Enhanced Reference Command and Utility Summary This command deletes all existing entries before adding all entries from A:\USER\MYHOSTS. If there are more than 63 entries in A:\USER\MYHOSTS, an error occurs, and no changes are made to the list of current entries.
Enhanced Reference Command and Utility Summary Clipcach Purpose The clipcach command enables an MS-DOS workstation to receive network print jobs from a server and to print these jobs on a shared printer physically connected to the workstation, using the LaserTools PrintCache software. This command is only available when you have a LAN Manager for UNIX Systems server on your network.
Enhanced Reference Command and Utility Summary /e Re-enables clipcach. Network print jobs will now be printed. Comments Clipcach is an MS-DOS terminate-and-stay-resident (TSR) program that runs on the workstation to which a shared printer is connected. clipcach requires that the LaserTools PrintCache software be installed and loaded on the workstation to which the printer is connected. To receive print jobs from a server, clipcach automatically links to a shared spool directory on the server.
Enhanced Reference Command and Utility Summary several files as soon as possible. Your coworker will be sending these print requests from the server PRINT1.SERVE. To make sure that his or her files are printed in a timely manner, you allow the shared printer to accept requests from the PRINT1.SERVE server only by typing: clipcach \\print1.
Enhanced Reference Command and Utility Summary Clispool Purpose The clispool command enables an MS-DOS workstation to receive network print jobs from a server and to print these jobs on a shared printer physically connected to the workstation, using the MS-DOS print command. This command is only available when you have a LAN Manager for UNIX Systems server on your network. Syntax clispool /i /s:driveid [any | \\servername] [/r | /c] [/d | /e] where /i Loads clispool into memory.
Enhanced Reference Command and Utility Summary /c Places the MS-DOS print command into cooked mode. In cooked mode, tabs are expanded, and ^Z is interpreted as the end of the file. Graphics files will not print while print is in cooked mode. Cooked mode may be required occasionally to print text files containing tabs if neither the printer nor the application generating the print job expands tabs. /d Temporarily disables clispool.
Enhanced Reference Command and Utility Summary enabled. • When you are done using the printer locally and want it to be used over the network, you enable clispool by typing: clispool /e Network print jobs will now be printed. • The shared printer attached to your workstation accepts print jobs from all the servers on your local area network. One of your coworkers needs to print out several files as soon as possible. Your coworker will be sending these print requests from the server PRINT1.SERVE.
Enhanced Reference Command and Utility Summary Kermit Purpose The kermit command enables an MS-DOS workstation to emulate a terminal in order to log on to a UNIX system host computer, upload and download files with a host that is also running Kermit, or exchange files with another workstation running the Kermit terminal emulator. This command is only available when you have a LAN Manager for UNIX Systems server on your network. Syntax kermit [command, ... ] where command is any valid Kermit command.
Enhanced Reference Command and Utility Summary MS-DOS commands remotely between the workstations. • Use Kermit over the local area network or over a serial port. • Change the type of terminal Kermit emulates, and set terminal attributes. • Use your printer from Kermit. • Customize the colors in the Kermit screen.
Enhanced Reference Command and Utility Summary Load Purpose The load utility loads the specified protocol on workstations using Demand Protocol Architecture (DPA). Syntax load protocol [/i] where protocol Is the name of the protocol to be loaded. Information regarding protocols is placed in the PROTOCOL.INI file and in LANMAN\DRIVERS\PROTOCOL by the installation program. You should not edit these files yourself. /i Displays a list of protocols and the order in which they were bound.
Enhanced Reference Command and Utility Summary NOTE: In order to use DPA to load protocols, the line dynamic = yes must be included in the [protman] section of the PROTOCOL.INI file. Also, in the CONFIG.SYS file, the line specifying the protocols to be used must come before the line that begins device = and contains \protman.dos.
Enhanced Reference Command and Utility Summary Net Purpose The net command starts the LAN Manager screen. Syntax net [/mono] where /mono improves the quality of the LAN Manager screen on a workstation with a monochrome screen display. Use this option if you have difficulty viewing the LAN Manager screen on your workstation. Comments After you type net, the LAN Manager screen appears. From this screen, you can use menus and dialog boxes to perform network tasks.
Enhanced Reference Command and Utility Summary Net Access Purpose The net access command displays the permissions for using a shared directory or file on a LAN Manager server. It can also be used to change the permissions on LAN Manager servers. The net access command does not work with Windows NT servers. Note that you must have P permission for a resource to get information about it with net access. For more information, see your network administrator.
Enhanced Reference Command and Utility Summary revoke permissions for that resource, you must create a set of permissions for a resource. To control the resource, give yourself P permission. /change Changes one or more users’ permissions for a resource. To change more than one user’s permission, type several name:permission strings separated by spaces. /grant Assigns additional permissions to a resource’s existing set.
Enhanced Reference Command and Utility Summary Permission Description P (permissions) Assign or alter permissions for a resource. Your administrator initially must give you this permission for a resource. Once you have it, you can use net access to assign permissions, including P permission, to other users or groups. When you create a new file or directory, be sure to assign yourself P permission. Otherwise you are denied further access to the file or directory you just created.
Enhanced Reference Command and Utility Summary Examples • To view the permissions for the shared directory that connects to the G: devicename, type: net access g: • To add the user jamesro with read and write permissions to the users on the shared directory that connects to the G: devicename, type: net access g: /grant jamesro:rw See Also For information about See Connecting to shared resources Net Use 123
Enhanced Reference Command and Utility Summary Net Config Workstation Purpose The net config workstation command displays the current settings for a workstation. Syntax net config workstation Comments The net config workstation command displays settings for a workstation, such as the logon domain and the username.
Enhanced Reference Command and Utility Summary Net Continue Purpose The net continue command reactivates services or network connections suspended with the net pause command. Syntax net continue {workstation | messenger | netpopup | drdr | prdr} where workstation Continues all workstation connections, including the Messenger and Netpopup services. messenger Continues the Messenger service. netpopup Continues the Netpopup service.
Enhanced Reference Command and Utility Summary For information about See Pausing a service or network connections Net Pause 126
Enhanced Reference Command and Utility Summary Net Copy Purpose The net copy command copies files across the network from a source to a destination. Syntax net copy source[+source[+...]] [/a | /b] [destination [/a | /b] [/v]] where source Specifies one or more files, directories, or devicenames to copy. You can specify multiple files by separating filenames with a plus sign (+) or by using MS-DOS wildcard characters. destination Specifies to which file, directory, or devicename source copies.
Enhanced Reference Command and Utility Summary When source is a filename, the file is assumed to be in the current directory on the current drive. When destination is an existing file, the file is overwritten. If destination is a file that does not already exist, a new file is created. The new file is given the same name, creation date, and creation time as the source file. When you specify only a drive as the destination, LAN Manager Enhanced copies to the current directory on that drive.
Enhanced Reference Command and Utility Summary copied. Using the /v Option The /v option verifies that copied files are properly recorded. This process slows down the process of the net copy command. Examples • To copy the MAIL.DOC file from the LISTS directory on the \\SALES server to the ADDRESS directory on the \\SALES server, type: net copy \\sales\lists\mail.
Enhanced Reference Command and Utility Summary Net Help Purpose The net help command displays a list of commands, utilities, and topics for which you can get Help. It also provides Help with a specific command or topic. Syntax net help [command [/options] | topic] net command {/help | /?} where command Is the command you need help with. (Don’t type net as part of command.) topic Is the topic you need help with. /options Describes the options of the command you need help with.
Enhanced Reference Command and Utility Summary net print /help • To view the syntax for the net print command, type: net print /? • To view the options available for the net continue command, type: net help continue /options See Also For information about See Getting Help while using the LAN Manager screen Chapter 1, “Getting Started with LAN Manager Enhanced” Getting Help with error messages Net Helpmsg 131
Enhanced Reference Command and Utility Summary Net Helpmsg Purpose The net helpmsg command provides Help with a LAN Manager Enhanced error message. Syntax net helpmsg message# where message# is the four-digit number of the LAN Manager Enhanced message that you need help with. Comments When a network operation fails, you see a message similar to the following: NET2182: The requested service has already been started.
Enhanced Reference Command and Utility Summary Net Log Purpose The net log command displays or controls information about message logging. Syntax net log [drive:path] filename | devicename] [/on | /off] where drive:path Tells where the message log file is stored. Without a drive letter and path, LAN Manager Enhanced assumes the file is stored in the LANMAN.DOS\LOGS directory. filename Is the name of the message log file. When filename has a .LOG extension, type only the name, without .LOG.
Enhanced Reference Command and Utility Summary The net log command controls the way messages are saved. You can stop and start message logging, change the name of the file that stores the messages, and print messages as they’re received. You can read the message log file with the MS-DOS type command. Use the MS-DOS more command to read the log file one screen at a time. You can stop message logging with the /off option and still view messages when the Netpopup service is running.
Enhanced Reference Command and Utility Summary Net Logoff Purpose The net logoff command logs a user off from the network. Syntax net logoff Comments The net logoff command removes the username and password associated with a workstation from the network. Logging off does not stop the Workstation service. It simply ensures that no unauthorized person can use a username and password to gain access to shared resources. Logging off cancels all of a workstation’s connections.
Enhanced Reference Command and Utility Summary Net Logon Purpose The net logon command logs a user on to the network and establishes the username, password, and domain for a workstation. Syntax net logon [username [password | *]] [/domain:name] [/y] where username Is the name by which you identify yourself on the network. A username can have as many as 20 characters. password Is the password for your user account. * Produces a password prompt.
Enhanced Reference Command and Utility Summary also log you on in a domain. Logging on also restores connections that existed at a workstation when the last user logged off, if the persistent connections feature is in use. Only one user can log on at a workstation at a time. You can use net logon to log on with a different username or to log on in a different domain to a network that supports domains, but you must first log off.
Enhanced Reference Command and Utility Summary Repeated attempts to log on when you don’t remember your password are not recommended. If, after several tries, you have not supplied the correct password, you may be locked out of the account. Locking out protects your account from anyone who may try to guess your password. Your network administrator can remove the lock by re-enabling your account.
Enhanced Reference Command and Utility Summary LAN Manager Enhanced asks you for a username and then asks for a password. • To log on with the username felix and be prompted for a password, type: net logon felix * You see the following display: Type your password: Your password does not appear when you type it.
Enhanced Reference Command and Utility Summary Net Move Purpose The net move command moves files across the network from a source to a destination. Syntax net move source [destination] where source Is the path of one or more files to move. Specify multiple filenames with MS-DOS wildcard characters. destination Is the path to which source moves. When you are moving more than one file, destination must be a directory. When you omit destination, files move to the current directory.
Enhanced Reference Command and Utility Summary subdirectory in the \\ADMIN server’s REPORTS shared directory, type: net move c:\text\*.
Enhanced Reference Command and Utility Summary Net Name Purpose The net name command adds or deletes a message alias and displays a workstation’s list of aliases. Syntax net name alias [/add | /delete] where alias Is the alias you want to add or delete. An alias is a name to which you can send messages. /add Adds an alias to a workstation. Typing /add is optional; typing net name alias performs the same task. /delete Removes an alias from a workstation.
Enhanced Reference Command and Utility Summary to the message log. When the Netpopup service and message logging are both off, you only hear a beep when your workstation receives a message. In this case, the message is neither saved nor logged in the message log. A workstation receives messages sent to any of its aliases. A user does not have to be logged on to the workstation for the aliases at the workstation to receive messages.
Enhanced Reference Command and Utility Summary See Also For information about See Messages Chapter 4, “Sending and Receiving Messages” Saving your messages in a file Net Log Sending messages Net Send 144
Enhanced Reference Command and Utility Summary Net Password Purpose The net password command changes the password for a user account on a server or in a domain. Syntax net password [\\computername | /domain:name] username oldpass [newpass | *] ] where computername Is the server with the user account for which the password will change. /domain:name Specifies a domain other than the workstation domain in which the password will change. username Is your username. oldpass Is your current password.
Enhanced Reference Command and Utility Summary If you don’t supply a computername or a /domain:name, LAN Manager Enhanced assumes you are changing the password for your account in the workstation domain. On LAN Manager servers, accounts may be set up so that the password expires after a certain length of time, and there may be a limit on how often a given password may be reused. When a password expiration date is approaching or has passed, the LAN Manager server sends a warning message during logon.
Enhanced Reference Command and Utility Summary • To change your password in the accounting domain from magnolia to orchid, type: net password /domain:accounting robertch magnolia orchid See Also For information about See Passwords Chapter 1, “Getting Started with LAN Manager Enhanced” Logging on with a password Net Logon 147
Enhanced Reference Command and Utility Summary Net Pause Purpose The net pause command pauses services or workstation connections to shared resources. Syntax net pause {workstation | messenger | netpopup | drdr | prdr} where workstation Pauses all workstation connections. messenger Pauses the Messenger service. netpopup Pauses the Netpopup service. Type minipop instead if your workstation is configured to display messages only when the Windows operating system is running.
Enhanced Reference Command and Utility Summary See Also For information about See Continuing a paused service or connection Net Continue Stopping the Workstation service Net Stop 149
Enhanced Reference Command and Utility Summary Net Print Purpose The net print command displays information about a shared printer queue or controls a user’s print jobs. Syntax net print {\\computername[\sharename] | devicename} net print {\\computername | devicename} [job# {/hold | /release | /delete}] where computername Is the name of a server sharing the printer queue(s) you want information about. \sharename Is the name of a printer queue you want information about.
Enhanced Reference Command and Utility Summary Sending a job to a printer queue usually requires connecting to the queue with the net use command, and then submitting the print job through an application. You can also send a job to a queue with net copy or the MS-DOS copy command. When you specify a computername (for example, \\SALES) with net print, you get information about the shared printer queues on the server with the computername you specify.
Enhanced Reference Command and Utility Summary An administrator controls the status of a printer queue.
Enhanced Reference Command and Utility Summary net print \\product\dotm • If your workstation’s LPT1 devicename attaches to the \\PRODUCT server’s LASER queue, display the contents of the queue by typing net print lpt1: - Or – net print \\product\laser • To cancel a print job with the job identification number 7 on the \\PRODUCT server that attaches to your workstation’s LPT1 devicename, type: net print \\product 7 /delete - Or – net print lpt1: 7 /delete See Also For information about See Shared pri
Enhanced Reference Command and Utility Summary Net Send Purpose The net send command sends a message or short file to one or more users on a network. Syntax net send {alias | * | /domain[:name] | /broadcast} message where alias Is the username, computername, or other name you want to send a message to. When the alias is a computername that contains blank characters, enclose the alias in quotation marks (" "). * Sends a message to all the aliases in your workstation domain.
Enhanced Reference Command and Utility Summary The simplest way to send a message is to type it from the MS-DOS prompt. You can type a longer message (over several lines) by pressing ENTER after net send alias and after each line of text. To send the message, press CTRL+Z or F6, and then press ENTER. LAN Manager Enhanced provides several ways to broadcast a message, meaning send a message to many users on the network.
Enhanced Reference Command and Utility Summary • To send a message that includes a slash mark, type: net send marcia "Format your disk with FORMAT /4" • To send a message to the user at the SALES 2 workstation, type: net send "sales 2" Meeting in 10 minutes.
Enhanced Reference Command and Utility Summary Net Start Encrypt Purpose The net start encrypt command causes passwords from MS-DOS workstations to be encoded before they are transmitted across the network. Syntax net start encrypt Comments The Encrypt service encrypts passwords before sending them across the network. No special setup is required for servers to decode the passwords. Password encryption is embedded in Windows NT and OS/2.
Enhanced Reference Command and Utility Summary Net Start Messenger Purpose The net start messenger command starts the Messenger service. Syntax net start messenger [options] where options are as follows: /logfile:path | device Assigns a path for the message log file. You can also specify a device, such as LPT1: (to print messages as they arrive) or NUL: (to have no log file at all). The default path for the message log file is LANMAN.DOS\LOGS \MESSAGES.LOG.
Enhanced Reference Command and Utility Summary You send a message to a workstation’s alias with the net send command. LAN Manager Enhanced uses three types of aliases: computernames, usernames, and aliases added with the net name command or through the Aliases option from the Message menu of the LAN Manager screen.
Enhanced Reference Command and Utility Summary Net Start Netpopup Purpose The net start netpopup command starts the Netpopup service. Syntax net start netpopup To display a list of services that are running at a workstation, type net start without options. If your workstation is configured to display messages only when the Windows operating system is running, type net start minipop. Comments With the Netpopup service, you can see messages as they arrive at your workstation.
Enhanced Reference Command and Utility Summary Net Start Workstation Purpose The net start workstation command starts the Workstation service. Syntax net start workstation [options] where options are as follows: /computername:name Is a unique name that identifies a workstation on the network. If the computername matches any of the following on the network, the Workstation service does not start: • A computername on another workstation. • A username on another workstation.
Enhanced Reference Command and Utility Summary /wrkservices:service[,...] Lists the LAN Manager Enhanced services you want to start automatically when the Workstation service starts. When you type this option, separate multiple service names with commas. You cannot abbreviate service names. To display a list of services that are running at a workstation, type net start without options. Comments You can abbreviate workstation as wksta, work, redirector, redir, or rdr.
Enhanced Reference Command and Utility Summary Net Stop Workstation Purpose The net stop workstation command stops the Workstation service. Syntax net stop workstation Comments Stopping the Workstation service cancels all network connections the Workstation service is using and logs you off from the network. It also stops all other services that are running. Stopping the Workstation service differs from pausing the Workstation service. Pausing puts the service on hold and suspends any network connections.
Enhanced Reference Command and Utility Summary Net Time Purpose The net time command synchronizes a workstation’s clock with a server’s, or displays the time and date for a server or domain. Syntax net time [\\computername | /domain[:name]] [/set] where \\computername Is the name of a server with which you want to check or synchronize a workstation’s clock. /domain[:name] Specifies that the domain controller is used as the time source. Use name to specify a domain other than the workstation domain.
Enhanced Reference Command and Utility Summary Net Use Purpose The net use command connects a workstation to or disconnects a workstation from a shared resource, or displays information about workstation connections. It also controls the persistent net connections feature.
Enhanced Reference Command and Utility Summary /home Specifies that the directory is used as a home directory. /p[ersistent] Controls the use of persistent network connections. This switch is used alone; it cannot be combined with any other switch, nor can it be used while adding or removing a connection. The default is yes. yes Saves all connections as they are made and restores them at next logon. no Neither saves nor restores connections at the next logon.
Enhanced Reference Command and Utility Summary You can use a shared directory without assigning a devicename to the connection. You do this at the MS-DOS prompt by using the network path with certain commands and applications. For example, to use Microsoft Word to edit the LIST.DOC file in the shared directory with the network path \\SALES\FARWEST, type: word \\sales\farwest\list.doc Microsoft Word loads the shared file even though you haven’t made a previous connection to \\SALES\FARWEST.
Enhanced Reference Command and Utility Summary Error Ended and must be deleted The Local name is the devicename assigned to the resource; Remote name is its network path. There are two ways to get information about a connection: • Type net use devicename. • Type net use and the network path of the resource. You must type this command twice: first to establish a connection to the resource, and then to get information about it.
Enhanced Reference Command and Utility Summary net use lpt1: /delete • To establish access to the \\FINANCE server’s SCRATCH shared directory, which requires the password meteor, type: net use \\finance\scratch meteor • To cancel your connection to the \\FINANCE\SCRATCH shared directory, type: net use \\finance\scratch /delete You must use quotation marks with a servername that has a space. If you omit the quotation marks, LAN Manager will not accept a servername that includes a space.
Enhanced Reference Command and Utility Summary Net Version Purpose The net version command informs you of the version of LAN Manager running on the computer at which the command is typed. Syntax net version Comments This command helps you determine which computers to upgrade to a higher version of LAN Manager. This command is used primarily to provide data to your administrator or technical support personnel.
Enhanced Reference Command and Utility Summary Net View Purpose The net view command displays a list of servers in a specified domain or the resources that a server in a specified domain is sharing. Syntax net view [\\computername] where computername specifies a server with shared resources you want to view. To display a list of servers in your workstation domain, logon domain, and other domains, type net view without options.
Enhanced Reference Command and Utility Summary Used as The local devicename (if any) assigned to the resource. Comment An optional comment about the resource, which an administrator supplies.
Enhanced Reference Command and Utility Summary Net Who Purpose The net who command lists users logged on in a LAN Manager domain, on a LAN Manager server, or on a workstation. It also lists information about a user. It does not show information about Windows NT Advanced Server domains or servers or Windows NT workstations. Syntax net who [/domain:name | \\computername | username] where /domain:name Lists users on a domain other than the domain in which you’re logged on.
Enhanced Reference Command and Utility Summary NOTE: The net who command provides information about LAN Manager servers that have LAN Manager version 2.2. You must have administrative privilege on a server that has an earlier version of LAN Manager to get information about that server’s users.
Enhanced Reference Command and Utility Summary Netbind Purpose The netbind utility binds protocols that are loaded statically. Syntax netbind Comments The netbind utility binds protocols that have been statically loaded, usually by inclusion in the CONFIG.SYS file. The protocols remain bound until you restart your workstation. Do not use netbind while running the Microsoft Windows operating system.
Enhanced Reference Command and Utility Summary Netrun Purpose The netrun command runs a program or command on a LAN Manager OS/ 2 or UNIX system server. NOTE: The netrun command does not work on Windows NT Advanced Servers or Windows NT workstations. Also, you cannot use the netrun command to run interactive programs such as word processors or spreadsheets. Syntax netrun command where command is the name of a program you want to run. On a LAN Manager OS/2 server, the program file must have a .
Enhanced Reference Command and Utility Summary If the program you are running has options or variables that include filenames, specify the full path for each file. If a drive letter is included in the path, LAN Manager assumes that the drive is one of the server’s drives. Any files, such as data files, that the program is to use must be on the server from which you use the netrun command. Most programs produce some kind of output or data. When you use netrun, this output is sent to your screen.
Enhanced Reference Command and Utility Summary Example • Suppose you want to run a file-comparison program called DIFF.EXE on the \\ADMIN server with the LISTS shared directory. The two files you want to compare are MAILLIST.TXT and ADDRESS.LST in the LISTS directory, and the file you want to receive the output is NEWLIST.TXT on your drive C. To accomplish this comparison, assign a devicename (such as D) to the LISTS directory on the \\ADMIN server.
Enhanced Reference Command and Utility Summary Nwload Purpose The nwload utility starts NetWare Connectivity. Syntax nwload [username] where username is your NetWare username. Comments NetWare Connectivity allows you to use Novell NetWare servers. You will be prompted for your NetWare username, unless you include it on the command line. You cannot use this utility while the Microsoft Windows operating system is running.
Enhanced Reference Command and Utility Summary Nwunload Purpose The nwunload utility unloads NetWare Connectivity. Syntax nwunload Comments NetWare Connectivity allows you to use NetWare servers. After you unload NetWare Connectivity with the nwunload utility, you can start NetWare again with the nwload utility. You cannot use this utility while the Microsoft Windows operating system is running.
Enhanced Reference Command and Utility Summary Ping Purpose The ping utility lets users of Microsoft TCP/IP verify a physical connection to a remote computer. Syntax ping remote_computer [–t [timeout_value]] [–n [num_times]] where remote_computer Is the computername or IP address of a remote computer. -t [timeout_value] Is the number of seconds (timeout_value) that this node waits for an ICMP echo reply from a remote computer. The timeout_value range is from 1 through 300 seconds; the default is 20.
Enhanced Reference Command and Utility Summary Printsta Purpose The printsta command accepts print jobs from other workstations and prints them on a shared printer. Syntax printsta options printsta /D where /N:name Allows you to grant one remote workstation exclusive access to the LAN Manager Print Station printer. If you use this switch, the only remote user who can send print jobs to your printer is the one at the computer with computername name.
Enhanced Reference Command and Utility Summary LAN Manager Print Station loads, it will allocate 2000 bytes for the buffers that receive data that go into the spool files. In this case, when a print job arrives, LAN Manager Print Station will collect data until it has received 200 bytes; then it will write that data into the spool file, empty the buffer, and receive the next 200 bytes of data from that print job. At any one time, it may be doing this for each of the 10 spool files permitted.
Enhanced Reference Command and Utility Summary spooled to the printer in the number of minutes specified. The range is 0 (never auto-disconnect) to 1440 minutes; the default is 1 minute. /R:n If LAN Manager is loaded in spooling mode, this option (retry) specifies the number of seconds to wait between printer status checks. If the printer is slow, this value should be increased.
Enhanced Reference Command and Utility Summary The default is for the host workstation not to send these messages. /F:n Specifies the maximum number of spool files that can be open on the host workstation at once. There is no constraint on how many of these spool files a single remote session can have open. Spool file structures are allocated when LAN Manager Print Station is loaded and take up 64 bytes of memory each.
Enhanced Reference Command and Utility Summary Generally, you should not delete spool files from the working directory, as doing so could disrupt a remote print job. All spool files are deleted at the end of the print job. This option does not affect LAN Manager Print Station in the nonspooling mode. /D Removes LAN Manager Print Station from memory. This option cannot be used with any other options.
Enhanced Reference Command and Utility Summary changed with the wrknets keyword in the [workstation] section of the LANMAN.INI file. The protocol need not be the first protocol on the remote workstation that is sending the job. For example, if NetBEUI is the first protocol on the workstation sharing the printer, workstations sending jobs must use NetBEUI as one of their protocols. The workstation sending a print job must establish a network connection to the LAN Manager Print Station host workstation.
Enhanced Reference Command and Utility Summary Examples • To start Print Station with spooling disabled, type: printsta /f:0 • To start Print Station, giving remote print jobs minimal priority for processing time, type: printsta /t:255 • To start Print Station, allowing up to 5 spool files and 5 buffers, with 500 bytes of cache memory per spool file (2.
Enhanced Reference Command and Utility Summary Prtsc Purpose The prtsc utility is a terminate-and-stay-resident (TSR) program used to flush the print spooler when an application has failed to send an end-of-job signal. Syntax prtsc Comments This loads the utility into memory. To flush the spooler, press CTRL+ALT+PRINT SCREEN. The prtsc utility is used to explicitly flush the spooler. Most applications send a signal that is recognized by the spooler as an end-of-job signal.
Enhanced Reference Command and Utility Summary Uchmod Purpose The uchmod command allows you to change the UNIX system access permissions of a LAN Manager for UNIX Systems file or directory. This command is only available when you have a LAN Manager for UNIX Systems server on your network. Syntax uchmod [who] {{+ | - | = } permissions} pathname uchmod user#group#other# pathname where who Represents the UNIX system user classification for which access permissions are changed.
Enhanced Reference Command and Utility Summary user# Represents the access permission value for the owner of the file or directory. Replace user# with the sum of any combination of the following values: 4 (for read), 2 (for write), 1 (for execute). group# Represents the access permission value for the group. Replace group# with the sum of any combination of the following values: 4 (for read), 2 (for write), 1 (for execute). other# Represents the access permission value for other users.
Enhanced Reference Command and Utility Summary This changes the access permissions to r--r----x. • You want to change the access permissions of all user classifications for the file milton to read-only, using numbers instead of letters. The UNIX system access permissions for milton are currently 644 (rw-r--r--). You type: uchmod 444 milton This changes the access permissions to r--r--r--.
Enhanced Reference Command and Utility Summary Ud Purpose The ud command converts a UNIX system text file to MS-DOS format, or an MS-DOS file to UNIX system format. This command is only available when you have a LAN Manager for UNIX Systems server on your network. Syntax ud [{-d | -m | -u } -z ] file1 [ file2 ] where -d Converts the file to MS-DOS format. If the file is already in MS-DOS format, it is copied to the second file. -u Converts the file to UNIX system format.
Enhanced Reference Command and Utility Summary When entered without the -d or -u parameter, ud converts an MS-DOS file to UNIX system format or a UNIX system file to MS-DOS format. If you do not redirect the output to a second file, the file is converted and its text is displayed on your screen. You can also use a pipe ( | ) to send a reformatted file to a program. Examples • To convert a UNIX system file named text.unx to MS-DOS format, and place the output in a file named text.dos, type: ud -d text.
Enhanced Reference Command and Utility Summary Udir Purpose The udir command lists files and directories, including those not displayed by the MS-DOS dir command, and displays the UNIX system access permissions. This command is only available if you have a LAN Manager for UNIX Systems server on your network. Syntax udir [ -n | -t | -u | -r | -d ] [pathname] where -n Lists file and directory names only. -t Lists the newest files first.
Enhanced Reference Command and Utility Summary If a UNIX system filename contains characters that are invalid in MS-DOS or is longer than the MS-DOS limit, you can use udir to list the file. If the specified resource is on a server running the UNIX operating system, udir displays information in a format like that displayed by the UNIX system ls l command.
Enhanced Reference Command and Utility Summary The following appears: C:\udir Volume in drive C: is DOS401 Directory of C:\. autoexec.bat rw--a 145 6-08-92 config.sys rw--a 344 6-08-92 landoc rw--a
8-10-92 dos3_2 rw-- 6-10-92 ibmdos.com r-hsa 28009 9-12-92 report1.dft rw--a 8128 8-02-92 report2.dft rw--a 9012 8-16-92 res.scr rw--a 2045 8-08-92 tmp rw--a 23606 1-01-92 9 Files 26.Enhanced Reference Command and Utility Summary Unload Purpose The unload utility unloads a specified protocol from a workstation with Demand Protocol Architecture (DPA). Syntax unload protocol where protocol Is the name of the last protocol loaded. Information regarding protocols is placed in the PROTOCOL.INI file and in the LANMAN.DOS\DRIVERS\PROTOCOL directory by the installation program. You should not edit these files.
Enhanced Reference Command and Utility Summary Uren Purpose The uren command renames or moves files on a server running the UNIX operating system. This command is only available if you have a LAN Manager for UNIX Systems server on your network. Syntax uren oldfilename newfilename uren filename1 [ filename2... ] directoryname where oldfilename Represents the original filename. newfilename Is the new filename. filename1 Represents the name of the file you want to move. filename2...
Enhanced Reference Command and Utility Summary Examples • You want to rename TOOBIGFORDOS to OKFORDOS. Type uren toobigfordos okfordos • You want to move files ABC and DEF to the DIR1 directory.
6 Using LAN Manager Basic 201
Using LAN Manager Basic This chapter explains how to start and use LAN Manager Basic, get online Help, connect to directories and printers over a local area network, and print jobs over the network. Instructions for viewing, pausing, and continuing your workstation’s network connections are included. For information about LAN Manager Enhanced, see Part 1, “LAN Manager Enhanced.
Using LAN Manager Basic Starting LAN Manager Basic Starting LAN Manager Basic When you turn on your computer, LAN Manager Basic begins automatically. You can connect to resources on the network, for example, sharing files with other network users and using remote printers as though they were attached directly to your own workstation. Some connections may be made for you automatically; you can make other connections yourself.
Using LAN Manager Basic Getting Help Getting Help LAN Manager Basic gives you two kinds of Help: a listing of all the commands for which Help is available and information about a specific command. To see a list of LAN Manager Basic commands and an explanation of their syntax • Type net help. There are two ways to get Help for a specific command: • Type net help followed by the command name. (Don’t type net as part of the command name.) • Type the full command name followed by help.
Using LAN Manager Basic Using Shared Directories Using Shared Directories With LAN Manager Basic, you can use a shared directory in much the same way you use a directory or disk on your workstation. For example, you can use the files and applications in a shared directory as though they were stored on your workstation’s hard disk. LAN Manager Basic gives you access to shared directories in two ways. You can connect your workstation to a shared directory by assigning a disk devicename to the directory.
Using LAN Manager Basic Using Shared Directories For example, to assign the S: devicename to the MIDWEST shared directory on the \\SALES server, type: net use s: \\sales\midwest If you make a mistake in typing a command or if you specify an incorrect network path when connecting to a shared directory, the following error messages may appear: Connection refused or syntax error Network name not found Some resources require you to supply a password to make a connection.
Using LAN Manager Basic Using Shared Directories There are two ways to supply the password: • Type the password at the end of the net use command. For example, to supply the password region while assigning S: to the MIDWEST shared directory on the \\SALES server, type: net use s: \\sales\midwest region • Type an asterisk (*) instead of the password at the end of the command. LAN Manager Basic then prompts you for a password.
Using LAN Manager Basic Using Shared Directories NOTE: If you want to use a shared directory in an MS-DOS command but the directory requires a password, you must type net use, the network path, and the password. You don’t need to specify a devicename. You cannot use network paths with the following MS-DOS commands: • dir • copy However, after you’ve assigned a devicename to a remote directory (for example, D:), you can use the dir and copy commands as you do with a local subdirectory.
Using LAN Manager Basic Using Shared Directories To disconnect your workstation from a shared directory • Type net use devicename: /delete. You can abbreviate the /delete option as /d.
Using LAN Manager Basic Using Shared Printers Using Shared Printers With LAN Manager Basic, you can use shared printers by connecting your workstation to a shared printer queue. A printer queue manages print jobs by collecting the files that users want to print and sending them to a printer in the order they’re received. Incoming jobs are held in the queue until the printer is ready to print them.
Using LAN Manager Basic Using Shared Printers NOTE: You may need to supply a password with net use to gain access to a shared printer queue. For more information about supplying passwords, see “Using Passwords,” earlier in this chapter. Printing over the Network After you assign a devicename to a shared printer queue, there are two ways to print a file over the network. You can print a file from within an application, or you can send a closed file directly to the devicename.
Using LAN Manager Basic Using Shared Printers You don’t need a connection to a server to view the contents of its queues.
Using LAN Manager Basic Using Shared Printers the [services] section should include the following: prtsc = netprog\prtsc.exe If the workstation has prtsc, you can release the print job by pressing CTRL+ALT+PRINT SCREEN.
Using LAN Manager Basic Listing Connections to Network Resources Listing Connections to Network Resources You can view your connections to shared directories and printer queues during a working session. To view the status of your workstation’s connections or the names of the shared devicenames and resources you’re using • Type net use.
Using LAN Manager Basic Pausing and Continuing Connections Pausing and Continuing Connections Occasionally, you may want to pause network connections to use devicenames for your workstation’s own disk drives or printers. To pause network connections • To pause connections to all shared directories, type net pause drdr. • To pause connections to all shared printer queues, type net pause prdr. • To continue connections to all shared directories, type net continue drdr.
Using LAN Manager Basic Managing a Shared Printer Managing a Shared Printer NOTE: Read this section only if a shared printer is attached to your workstation. If you have a printer attached to your workstation but are unsure if it is a shared printer, ask your administrator. If a shared printer is attached to your workstation, follow the guidelines in the next section when using the printer.
Using LAN Manager Basic Managing a Shared Printer job and other jobs from printing. For example, if you have a shared printer attached to the LPT1 (or PRN) port on your workstation, link to the printer queue (or to other shared printer queues) using LPT2 or another port ID. • If you must use your printer locally, use the MS-DOS print command, or disable the printer as a network resource and use it locally. For more information about the MS-DOS print command, see your MS-DOS manual.
Using LAN Manager Basic Managing a Shared Printer For more information about the printsta command, see Chapter 7, “Basic Reference.” Your Responsibilities You are responsible for the following tasks: • Maintaining the printer’s link to the server • Disabling the printer when necessary When you use the LAN Manager Print Station utility, you are fully responsible for the printer; print jobs come directly to your workstation and not through an intermediary server.
Using LAN Manager Basic Managing a Shared Printer NOTE: If you want to use your printer locally without disabling it, use the print command. For example, type print myfile. At most, one print job from the server may print before your job is printed. Turning Off the Power If you turn off your workstation or printer, any print jobs sent to the printer will accumulate in the printer queue on the server. These jobs will start printing when your workstation and printer are turned on again.
Using LAN Manager Basic Managing a Shared Printer Disabling and Enabling the Printer You can disable the printer by turning it off or by using the printsta command. You may need to turn your printer off if it needs to be serviced. You may want to disable your printer using the printsta /d command if you need exclusive use of the printer or if you must use the printer locally. The printer queue continues to accept jobs, but the jobs will not print until you re-enable the printer.
7 Basic Reference This chapter contains a reference page for every LAN Manager Basic command and utility. Each page describes the purpose and syntax of the command or utility.
Basic Reference Abbreviating Commands and Options Abbreviating Commands and Options The reference pages in this chapter spell out all command and service names. If a command can be abbreviated, its abbreviation is listed on the reference page for the command. You can abbreviate any command option by typing enough letters to distinguish it from the command’s other options.
Basic Reference Using the /Yes and /No Options Using the /Yes and /No Options Many LAN Manager Basic commands require confirmation to complete a task. To expedite this confirmation, you can append the /yes or /no option to the command. The /yes and /no options can be abbreviated /y and /n. For example, the net logon command logs you on to the network. But when another user is already logged on at the workstation you are using, you must log off that user before you can log on.
Basic Reference Using Passwords with Commands Using Passwords with Commands Some commands require a password to connect to a shared resource. With LAN Manager Basic, there are two ways to supply a password: • Type the password with the command. For example, to provide the password petunia while assigning LPT1 to the LISTS shared directory on the \\ADMIN server, type: net use lpt1: \\admin\lists petunia • Type an asterisk (*) instead of the password.
Basic Reference Controlling a Screen Display Controlling a Screen Display Some commands (for example, net help) produce more than one screenful of text. In these cases, the screen scrolls automatically until you stop it. To stop the display from scrolling • Press PAUSE or CTRL+S. To resume scrolling • Press any key. You can also use the MS-DOS more command to scroll one screen at a time.
Basic Reference Using Commands in Batch Programs Using Commands in Batch Programs LAN Manager Basic commands can be used in batch programs (.BAT files), such as AUTOEXEC.BAT. For example, you can group the commands for starting the Workstation service, logging on to the network, and making network connections in one executable program. Command options can also be included in batch programs. To avoid confusion, do not abbreviate command options when putting commands in a batch program.
Basic Reference Command and Utility Summary Command and Utility Summary The following list describes the LAN Manager Basic commands and utilities: To Use this command Connect to a shared resource net use Disconnect from a shared resource net use View a list of Help topics net help Get Help for a specific command net help command See the contents of a shared printer queue net print Learn what workstation connections are in effect net use Start a workstation and assign a computername net start
Basic Reference Command and Utility Summary To Use this command Start NetWare using LAN Manager NetWare Connectivity nwload* Stop NetWare using LAN Manager NetWare Connectivity nwunload* Print jobs on a shared printer using LaserTools PrintCache software clipcach** Print jobs on a shared printer using the MS-DOS print command clispool** Enable a workstation to emulate a terminal when working with a LAN Manager UNIX Systems server kermit** *This is a utility.
Basic Reference Using UNIX System Commands Using UNIX System Commands The following list describes LAN Manager Basic commands you can use to work with a LAN Manager for UNIX Systems server: To Use this command Change a user’s permissions for a directory or file uchmod* Convert a UNIX system text file to MS-DOS ud* List files or directories and display UNIX system access permissions udir* Rename or move a file using the UNIX operating system uren* Run a program or command on a LAN Manager server
Basic Reference Using UNIX System Commands Addname Purpose The addname utility lets users of Microsoft TCP/IP access resources of a server on a different TCP/IP network, using a network gateway. Syntax addname computername ipaddress addname computername /delete addname /load | /save [filename] where computername Is the name of the remote server whose entry you want to add or delete. Computernames can have as many as 15 characters.
Basic Reference Using UNIX System Commands filename Specifies the name of the file to load or save. When you type addname with no options, the list of current addname entries is displayed. Comments When your computer is configured as a LAN Manager workstation using Microsoft TCP/IP, you can use the addname utility to access the resources of a server that are on another TCP/IP network accessible through a network gateway. The addname utility matches remote LAN Manager servernames to their IP addresses.
Basic Reference Using UNIX System Commands Clipcach Purpose The clipcach command enables an MS-DOS workstation to receive network print jobs from a server and to print these jobs on a shared printer physically connected to the workstation, using the LaserTools PrintCache software. This command is only available when you have a LAN Manager for UNIX Systems server on your network.
Basic Reference Using UNIX System Commands /e Re-enables clipcach. Network print jobs will now be printed. Comments Clipcach is an MS-DOS terminate-and-stay-resident (TSR) program that runs on the workstation to which a shared printer is connected. Clipcach requires that the LaserTools PrintCache software be installed and loaded on the workstation to which the printer is connected. To receive print jobs from a server, clipcach automatically links to a shared spool directory on the server.
Basic Reference Using UNIX System Commands several files as soon as possible. Your co-worker will be sending these print requests from the server PRINT1.SERVE. To make sure that his or her files are printed in a timely manner, you allow the shared printer to accept requests from the PRINT1.SERVE server only by typing: clipcach \\print1.
Basic Reference Using UNIX System Commands Clispool Purpose The clispool command enables an MS-DOS workstation to receive network print jobs from a server and to print these jobs on a shared printer physically connected to the workstation, using the MS-DOS print command. This command is only available when you have a LAN Manager for UNIX Systems server on your network. Syntax clispool /i /s:driveid [any | \\servername] [/r | /c] [/d | /e] where /i Loads clispool into memory.
Basic Reference Using UNIX System Commands /c Places the MS-DOS print command into cooked mode. In cooked mode, tabs are expanded, and ^Z is interpreted as the end of the file. Graphics files will not print while print is in cooked mode. Cooked mode may be required occasionally to print text files containing tabs if neither the printer nor the application generating the print job expands tabs. /d Temporarily disables clispool.
Basic Reference Using UNIX System Commands With clispool disabled, you can use your printer locally. Network print jobs will be submitted to the printer’s queue but will only be printed while clispool is enabled. • When you are done using the printer locally and want it to be used over the network, you enable clispool by typing: clispool /e Network print jobs will now be printed. • The shared printer attached to your workstation accepts print jobs from all the servers on your local area network.
Basic Reference Using UNIX System Commands Kermit Purpose The kermit command enables an MS-DOS workstation to emulate a terminal in order to log on to a UNIX system host computer, upload and download files with a host that is also running Kermit, or exchange files with another workstation running the Kermit terminal emulator. This command is only available when you have a LAN Manager for UNIX Systems server on your network. Syntax kermit [command, ... ] where command Is any valid Kermit command.
Basic Reference Using UNIX System Commands communicate with a host computer. • Define Kermit command macros. • Start Kermit and execute Kermit commands from a batch file. • Transfer files between two workstations running Kermit, and execute certain MS-DOS commands remotely between the workstations. • Use Kermit over the local area network or over a serial port. • Change the type of terminal Kermit emulates and set terminal attributes. • Use your printer from Kermit.
Basic Reference Using UNIX System Commands Load Purpose The load utility loads the specified protocol on workstations using Demand Protocol Architecture (DPA). Syntax load protocol [/i] where protocol Is the name of the protocol to be loaded. Information regarding protocols is placed in the PROTOCOL.INI file and in LANMAN.DOS\DRIVERS\PROTOCOL by the installation program. You should not edit these files yourself. /i Displays a list of loaded protocols and the order in which they were bound.
Basic Reference Using UNIX System Commands NOTE: In order to use the Demand Protocol Architecture (DPA) to load protocols, the line dynamic = yes must be included in the [protman] section of the PROTOCOL.INI file. Also, in the CONFIG.SYS file, the line specifying the protocols to be used must come before the line that begins device = and contains \protman.dos.
Basic Reference Using UNIX System Commands Net Continue Purpose The net continue command reactivates network connections suspended with the net pause command. Syntax net continue {drdr | prdr} where drdr Continues a workstation’s connections to all shared directories. prdr Continues a workstation’s connections to all shared printer queues. Comments You can abbreviate the net continue command as net cont.
Basic Reference Using UNIX System Commands Net Help Purpose The net help command provides Help with a specific command and lists commands for which Help is available. Syntax net help [command] net [command] help where command Is the command you need help with. Supported command names are net continue, net name, net pause, net print, net start, and net use. You can just type the action name, leaving off net. For example, for Help with the net print command, type net help print.
Basic Reference Using UNIX System Commands See Also For information about See Getting Help Chapter 6, “Using LAN Manager Basic” 244
Basic Reference Using UNIX System Commands Net Name Purpose The net name command displays the computername assigned to a workstation and assigns a computername to a workstation. Syntax net name [\\computername] where computername Is the name assigned to a workstation or the name you want to assign to a workstation. To display a workstation's computername, type net name. Comments The computername identifies a workstation on the network and is a key for performing network tasks.
Basic Reference Using UNIX System Commands Net Pause Purpose The net pause command pauses connections to shared resources. Syntax net pause {drdr | prdr} where drdr Pauses a workstation’s connections to all shared directories. prdr Pauses a workstation’s connections to all shared printer queues. Comments Pausing a connection allows you to temporarily use a devicename for a device at your workstation that is already assigned to a shared resource.
Basic Reference Using UNIX System Commands Net Print Purpose The net print command displays the contents of shared printer queues and prints a file. Syntax net print {\\computername[\sharename] | devicename} net print [filename] devicename where computername Is the name of the server sharing the printer queue(s) with contents you want to display. sharename Is the name of a printer queue with contents you want to display.
Basic Reference Using UNIX System Commands Specifying either a computername or a devicename produces a display similar to the following: Pos ID Size Date Time Name Status ————————————————————————————————————————————————————————— 001 268 115074 07-15-92 16:20 DANC Printing 002 269 65174 07-15-92 16:22 JOHNSW Waiting This display shows the position, identification number, size (in bytes), date, time, owner, and status of each print job in the printer queue. The Name column lists the owner of each print job.
Basic Reference Using UNIX System Commands Net Start Workstation Purpose The net start workstation command starts a workstation and sets its computername. Syntax net start workstation computername where computername Is the name assigned to a workstation. Comments You can abbreviate workstation as wksta, redirector, or rdr. When you type net start workstation computername, LAN Manager Basic software loads into your workstation's memory and the workstation starts. You will rarely, if ever, use this command.
Basic Reference Using UNIX System Commands Net Use Purpose The net use command connects a workstation to or disconnects a workstation from a shared resource, or displays information about workstation connections. It also controls the persistent net connections feature.
Basic Reference Using UNIX System Commands /p[ersistent] Controls the use of persistent network connections. This switch is used alone; it cannot be combined with any other switch, nor can it be used while adding or removing a connection. The default is yes. yes Saves all connections as they are made and restores them at next logon. no Neither saves nor restores connections at the next logon. freeze Stops saving connections but does not overwrite the existing list of connections.
Basic Reference Using UNIX System Commands You can use a shared directory without assigning a devicename to the connection. You do this at the MS-DOS prompt by using the network path with some commands and applications. For example, to use Microsoft Word to edit the LIST.DOC file in the shared directory with the network path \\SALES\FARWEST, type: word \\sales\farwest\list.doc Microsoft Word loads the shared file even though you haven’t made a previous connection to \\SALES\FARWEST.
Basic Reference Using UNIX System Commands Local name is the devicename assigned to the resource. Remote name is its network path. There are two ways to get information about a connection: • Type net use devicename. • Type net use and the network path of the resource. You must type this command twice: first to establish a connection to the resource, and then to get information about it.
Basic Reference Using UNIX System Commands • To establish access to the \\FINANCE server’s SCRATCH shared directory, which requires the password meteor, type: net use \\finance\scratch meteor • To cancel your connection to the \\FINANCE\SCRATCH shared directory, type: net use \\finance\scratch /delete • To connect to a resource shared on the FINANCE 2 server, type: net use k: "\\finance 2"\memos You must use quotation marks with a servername that has a space.
Basic Reference Using UNIX System Commands Netrun Purpose The netrun command runs a program or command on a LAN Manager OS/ 2 or UNIX system server. NOTE: Netrun does not work on Windows NT Advanced Servers or workstations. You cannot use the netrun command to run interactive programs such as word processors or spreadsheets. Syntax netrun command where command Is the name of a program you want to run. The program file must have a .EXE extension.
Basic Reference Using UNIX System Commands Most programs produce some kind of output or data. When you use netrun, this output is sent to your screen. To send the output to a file, specify a >path to receive the output in the netrun command line. By default, LAN Manager creates this file in the current directory. If you specify a drive letter, netrun assumes the drive is one of the workstation’s drives.
Basic Reference Using UNIX System Commands Example • Suppose you want to run a file-comparison program called DIFF.EXE on the \\ADMIN server with the LISTS shared directory. The two files you want to compare are MAILLIST.TXT and ADDRESS.LST, and the file you want to receive the output is NEWLIST.TXT on your drive C. To accomplish this comparison, assign a devicename (such as D:) to the LISTS directory on the \\ADMIN server. Change to that drive, and start the program using the netrun command.
Basic Reference Using UNIX System Commands Nwload Purpose The nwload utility starts NetWare Connectivity. Syntax nwload [username] where username Is your NetWare username. Comments NetWare Connectivity allows you to use Novell NetWare servers. You will be prompted for your NetWare username, unless you include it on the command line. You cannot use this utility while the Microsoft Windows operating system is running.
Basic Reference Using UNIX System Commands Nwunload Purpose The nwunload utility unloads NetWare Connectivity. Syntax nwunload Comments NetWare Connectivity allows you to use NetWare servers. After you unload NetWare Connectivity with the nwunload utility, you can start NetWare again with the nwload utility. You cannot use this utility while the Microsoft Windows operating system is running.
Basic Reference Using UNIX System Commands Ping Purpose The ping utility lets you verify a physical connection to a remote computer. Syntax ping remote_computer [–t [timeout_value]] [–n [num_times]] where remote_computer Is the computername or IP address of a remote computer. -t [timeout_value] Is the number of seconds (timeout_value) that this node waits for an ICMP echo reply from a remote computer. The timeout_value range is from 1 through 300 seconds; the default is 20.
Basic Reference Using UNIX System Commands Printsta Purpose The printsta command accepts print jobs from other workstations and prints them on a shared printer. Syntax printsta options printsta /D where options are: /N:name Allows you to grant one remote workstation exclusive access to the LAN Manager Print Station printer. If you use this switch, the only remote user who can send print jobs to your printer is the one at the computer with computername name.
Basic Reference Using UNIX System Commands LAN Manager Print Station loads, it will allocate 2000 bytes for the buffers that receive data that go into the spool files. In this case, when a print job arrives, LAN Manager Print Station will collect data until it has received 200 bytes; then it will write that data into the spool file, empty the buffer, and receive the next 200 bytes of data from that print job. At any one time, it may be doing this for each of the 10 spool files permitted.
Basic Reference Using UNIX System Commands The range is 0 (never auto-disconnect) to 1440 minutes; the default is 1 minute. /R:n If LAN Manager is loaded in spooling mode, this option (retry) specifies the number of seconds to wait between printer status checks. If the printer is slow, this value should be increased. If LAN Manager Print Station is loaded in nonspooling mode, this option (retry) instructs the spooler to wait for the specified number of seconds before failing the print request.
Basic Reference Using UNIX System Commands /F:n Specifies the maximum number of spool files that can be open on the host workstation at once. There is no constraint on how many of these spool files a single remote session can have open. Spool file structures are allocated when LAN Manager Print Station is loaded and take up 64 bytes of memory each. Since one cache block is allocated per spool file, the total memory used for each spool file is actually 64 bytes + the size of the cache block.
Basic Reference Using UNIX System Commands Generally, you should not delete spool files from the working directory, as doing so could disrupt a remote print job. All spool files are deleted at the end of the print job. This option does not affect LAN Manager Print Station in the nonspooling mode. /D Removes LAN Manager Print Station from memory. This option cannot be used with any other options.
Basic Reference Using UNIX System Commands changed with the wrknets keyword in the [workstation] section of the LANMAN.INI file. The protocol need not be the first protocol on the remote workstation that is sending the job. For example, if NetBEUI is the first protocol on the workstation sharing the printer, workstations sending jobs must use NetBEUI as one of their protocols. The workstation sending a print job must establish a network connection to the LAN Manager Print Station host workstation.
Basic Reference Using UNIX System Commands Examples • To start Print Station with spooling disabled, type: printsta /f:0 • To start Print Station, giving remote print jobs minimal priority for processing time, type: printsta /t:255 • To start Print Station, allowing up to five spool files and five buffers, with 500 bytes of cache memory per spool file (2.
Basic Reference Using UNIX System Commands Prtsc Purpose The prtsc utility is a terminate-and-stay-resident (TSR) program used to flush the print spooler when an application has failed to send an end-of-job signal. Syntax prtsc Comments This loads the utility into memory. To flush the spooler, press CTRL+ALT+PRINT SCREEN. The prtsc utility is used to explicitly flush the spooler. Most applications send a signal that is recognized by the spooler as an end-of-job signal.
Basic Reference Using UNIX System Commands Uchmod Purpose The uchmod command allows you to change the UNIX system access permissions of a LAN Manager for UNIX Systems file or directory. This command is only available when you have a LAN Manager for UNIX Systems server on your network. Syntax uchmod [who] {{+ | - | = } permission } pathname uchmod user#group#other# pathname where who Represents the UNIX system user classification for which access permissions are changed.
Basic Reference Using UNIX System Commands user# Represents the access permission value for the owner of the file or directory. Replace user# with the sum of any combination of the following values: 4 (for read), 2 (for write), 1 (for execute). group# Represents the access permission value for the group. Replace group# with the sum of any combination of the following values: 4 (for read), 2 (for write), 1 (for execute). other# Represents the access permission value for other users.
Basic Reference Using UNIX System Commands This changes the access permissions to r--r----x. • You want to change the access permissions of all user classifications for the file milton to read-only, using numbers instead of letters. The UNIX system access permissions for milton are currently 644 (rw-r--r--). Type: uchmod 444 milton This changes the access permissions to r--r--r--.
Basic Reference Using UNIX System Commands Ud Purpose The ud command converts a UNIX system text file to MS-DOS format, or an MS-DOS file to UNIX system format. This command is only available when you have a LAN Manager for UNIX Systems server on your network. Syntax ud [{-d | -u } -z ] file1 [file2] where -d Converts the file to MS-DOS format. If the file is already in MS-DOS format, it is copied to the second file. -u Converts the file to UNIX system format.
Basic Reference Using UNIX System Commands When entered without the -d or -u parameter, ud converts a MS-DOS file to UNIX system format or a UNIX system file to MS-DOS format. If you do not redirect the output to a second file, the file is converted, and its text is displayed on your screen. You can also use a pipe ( | ) to send a reformatted file to a program. Examples • To convert a UNIX system file named text.unx to MS-DOS format, and place the output in a file named text.dos, type: ud -d text.
Basic Reference Using UNIX System Commands Udir Purpose The udir command lists files and directories, including those not displayed by the MS-DOS dir command, and displays the UNIX system access permissions. This command is only available when you have a LAN Manager for UNIX Systems server on your network. Syntax udir [ -n | -t | -u | -r | -d ] [pathname] where -n Lists file and directory names only. -t Lists the newest files first.
Basic Reference Using UNIX System Commands If a UNIX system filename contains characters that are invalid in MS-DOS or is longer than the MS-DOS limit, you can use udir to list the file. If the specified resource is on a server running the UNIX operating system, udir displays information in a format like that displayed by the UNIX system ls l command.
Basic Reference Using UNIX System Commands See Also For information about See Using the udir command Appendix C, “Connecting to a LAN Manager for UNIX Systems Server” Other UNIX system commands Uchmod, Ud, Uren Executing UNIX system commands Netrun 276
Basic Reference Using UNIX System Commands Unload Purpose The unload utility unloads a specified protocol from a workstation with Demand Protocol Architecture (DPA). Syntax unload protocol where protocol Is the name of the last protocol loaded. Information regarding protocols is placed in the PROTOCOL.INI file and in LANMAN.DOS\DRIVERS\PROTOCOL directory by the Setup program. You should not edit these files.
Basic Reference Using UNIX System Commands Uren Purpose The uren command renames or moves files on a LAN Manager for UNIX Systems server running the UNIX operating system. This command is only available when you have a LAN Manager for UNIX Systems server on your network. Syntax uren oldfilename newfilename uren filename1 [filename2... ] directoryname where oldfilename Is the original filename. newfilename Is the new filename. filename1 Is the name of the file you want to move. filename2...
Basic Reference Using UNIX System Commands Examples • You want to rename TOOBIGFORDOS to OKFORDOS. Type uren toobigfordos okfordos • You want to move files ABC and DEF to the DIR1 directory.
Basic Reference Using UNIX System Commands 280
A Country Codes A country code in a user account defines the language the system uses to send messages (such as print notifications and alerts) from a server to a user’s workstation. The country code does not affect the language of error and explanation messages that the workstation itself generates.
Country Codes The following table lists available country codes. The default value for a country code is 0. When the default value is specified, messages are sent in the language used in the LANMAN.DOS\NETPROG\NET.MSG file.
B Using NetWare Connectivity 283
Using NetWare Connectivity With NetWare Connectivity, your workstation can run both LAN Manager and Novell NetWare; your computer can function as a workstation on a LAN Manager or Windows NT network and a NetWare network at the same time. You can easily access directories, files, and printers on all three types of servers. This appendix explains actions and situations specific to running LAN Manager, Windows NT, and NetWare Connectivity. It does not explain a NetWare network.
Using NetWare Connectivity How NetWare Connectivity Works How NetWare Connectivity Works If your workstation has NetWare Connectivity, your company’s network has some NetWare servers as well as LAN Manager servers or Windows NT computers. Because your workstation has NetWare Connectivity, you can use directories, files, and printers on all these resources. For example, the database files you work with may be on a LAN Manager server, and the printer you use may be on a NetWare server.
Using NetWare Connectivity Starting and Stopping LAN Manager and NetWare Starting and Stopping LAN Manager and NetWare Your administrator has probably set up your computer in the following way: • LAN Manager starts automatically when the computer is turned on, and you don’t ever need to stop it. • NetWare does not start automatically. When you need to use NetWare, you start it by typing nwload. When you are done, you stop it by typing nwunload. (Be sure that Microsoft Windows is not running.
Using NetWare Connectivity Working with NetWare Connectivity Working with NetWare Connectivity 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.
Using NetWare Connectivity Working with NetWare Connectivity 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.
Using NetWare Connectivity Working with NetWare Connectivity 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.
Using NetWare Connectivity Working with NetWare Connectivity 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.
Using NetWare Connectivity Working with NetWare Connectivity 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.
Using NetWare Connectivity Working with 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.
Using NetWare Connectivity Working with NetWare Connectivity NetWare command ncopy LAN Manager command net copy Explanation and example 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.
Using NetWare Connectivity Working with NetWare Connectivity NetWare command slist LAN Manager command net view Explanation and example 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.
C Connecting to a LAN Manager for UNIX Systems Server 295
Connecting to a LAN Manager for UNIX Systems Server Working with NetWare Connectivity NOTE: The information in this appendix applies to LAN Manager Basic and Enhanced workstations. Also (except for the last section “Using the Kermit Terminal Emulator”), this appendix is for users who are experienced with UNIX system commands.
Connecting to a LAN Manager for UNIX Systems Server Working with NetWare Connectivity Command Section udir “Displaying Files” uren “Renaming UNIX System Files” ud “Converting Text Files” uchmod “Changing UNIX System Permissions for LAN Manager Files” For command reference pages for the special commands described in this appendix, see either Chapter 5, “Enhanced Reference,” or Chapter 7, “Basic Reference.
Connecting to a LAN Manager for UNIX Systems Server FileNaming Conventions FileNaming Conventions Networks running LAN Manager software can include computers running different operating systems: • MS-DOS (client) • Microsoft Windows (client) • OS/2 (client or server) • Macintosh (client) • UNIX system (server) • Windows NT (client or server) These operating systems have different rules for the length of filenames and directory names and the characters that can be used in these names.
Connecting to a LAN Manager for UNIX Systems Server Displaying Files Displaying Files The following sections describe how to list server files from the MS-DOS and UNIX operating system environments. Displaying Filenames in the MS-DOS Format To display the contents of a directory on the server, in MS-DOS format, use the MS-DOS dir command from your client. In this display, all valid MS-DOS filenames appear in all uppercase letters.
Connecting to a LAN Manager for UNIX Systems Server Displaying Files the MS-DOS system [including high-performance file system (HPFS)]x, or when you want to see the UNIX system access permissions and ownership of files and directories. To use the udir command, do the following 1 Link to the shared directory containing the udir command (usually \\server1.serve\DOSUTIL). 2 Link to the shared directory whose contents you want to display. 3 At the MS-DOS prompt, type udir pathname.
Connecting to a LAN Manager for UNIX Systems Server Displaying Files
• The date when the file or directory was most recently modified. • The time when the file or directory was most recently modified. • The UNIX system owner of the file or directory. • The UNIX system group to which the file or directory belongs. • UNIX system access permissions for the file or directory. • UNIX system file and directory names. The file named WORD.Connecting to a LAN Manager for UNIX Systems Server Renaming UNIX System Files Renaming UNIX System Files The uren command enables you to rename a UNIX system file or directory. Specifically, you can use it to change UNIX system filenames on the server that are invalid for the MS-DOS system to filenames that are valid for MS-DOS (see “Filenaming Conventions,” earlier in this appendix for requirements for valid MS-DOS filenames).
Connecting to a LAN Manager for UNIX Systems Server Renaming UNIX System Files NOTE: You cannot use the MS-DOS wildcard characters (* and ?) with the uren command. In addition, you cannot use the uren command to move a file from one drive to another. For more information on the uren command, see Chapter 5, “Enhanced Reference,” or Chapter 7, “Basic Reference.
Connecting to a LAN Manager for UNIX Systems Server Handling Incompatible File Formats Handling Incompatible File Formats Different operating systems store files in different formats. For this reason, even if you can link to a shared directory that contains a file you want to use, you may not be able to open the file; or if you are able to open the file, it may be inappropriately formatted for your environment.
Connecting to a LAN Manager for UNIX Systems Server Converting Text Files Converting Text Files This section describes how to convert text files from one operating system format to the other with the ud command, and how to pipe and redirect reformatted files. The UNIX system executable version of the ud command is stored in the /usr/bin directory, and the MS-DOS executable version is stored in the DOSUTIL shared directory on a LAN Manager for UNIX Systems server.
Connecting to a LAN Manager for UNIX Systems Server Converting Text Files Guidelines for Using the Ud Command When you are not sure of the format of a text file, use the ud command with the -d or -u option to convert the file to the format you need. If the file is already in that format, the command output (filename2) will be identical to the original file. If you do not enter a second filename, the file is converted, and its text is displayed on your screen.
Connecting to a LAN Manager for UNIX Systems Server Converting Text Files ud -d f:unixtext | more In this example, drive F is linked to the server directory, which contains the UNIXTEXT file, and the more utility is in your path. Piping is especially useful with MS-DOS commands, such as sort, which use a carriage return to determine where each line ends in the file.
Connecting to a LAN Manager for UNIX Systems Server Changing UNIX System Permissions for LAN Manager Files Changing UNIX System Permissions for LAN Manager Files Since LAN Manager for UNIX system servers run on the UNIX operating system, all LAN Manager files stored on the server are UNIX system files with UNIX system access permissions.
Connecting to a LAN Manager for UNIX Systems Server Using the Kermit Terminal Emulator Using the Kermit Terminal Emulator You can use terminal emulators on your client to log on to UNIX system computers on your network or outside of your network. Without leaving your client, you can log on to a host computer and perform all operational tasks as if you were sitting at that computer. Remember that logging on to a host computer is not the same as logging on to a server.
Connecting to a LAN Manager for UNIX Systems Server Using the Kermit Terminal Emulator 3 To start the Kermit terminal emulator, at the client prompt type: x:kermit where x is the letter associated with the linked DOSUTIL directory. Kermit startup information is displayed and the Kermit prompt appears. The Kermit prompt looks like this: MS-Kermit> 4 At the Kermit prompt, type: set port net hostname Replace hostname with the name of the host computer to which you want to log on.
Connecting to a LAN Manager for UNIX Systems Server Using the Kermit Terminal Emulator You have now logged on and can work on the UNIX system. NOTE: Because your client is emulating a terminal, some keys do not function as they normally do. For example, PAGE UP and PAGE DOWN are not transmitted to the UNIX system, but they do cause local scrolling of the Kermit screen.
Connecting to a LAN Manager for UNIX Systems Server Using the Kermit Terminal Emulator workstation, or in a shared directory on a server to which your workstation is linked. The files sent to or received from the UNIX system can be in any UNIX system directory to which you have access. A UNIX system version of the Kermit command must be on the host computer.
Connecting to a LAN Manager for UNIX Systems Server Using the Kermit Terminal Emulator Kermit displays the following message: Escape back to your local system and give a RECEIVE command . . . Proceed to step 5. • To send a file from your workstation to the host computer, type: receive/pathname Replace pathname with the UNIX system path and the directory to which you want the file transferred and the name you want to assign to the file.
Connecting to a LAN Manager for UNIX Systems Server Using the Kermit Terminal Emulator Your workstation is reconnected to the UNIX system host. The host Kermit prompt, C-Kermit>, appears. 8 Do one of the following: • To transfer another file, repeat steps 4 through 8. • To exit Kermit on the UNIX system and return to the UNIX system prompt, type quit.
D Troubleshooting This appendix applies to both LAN Manager Enhanced and LAN Manager Basic.
Troubleshooting Using the Kermit Terminal Emulator occurs while you are using the network. • Troubleshoot a shared printer. (Refer to these instructions only if a shared printer is attached to your workstation.) The procedures in this appendix assume that, at some point, your computer and, if applicable, the shared printer were functioning on the network.
Troubleshooting Isolating Problems Isolating Problems Problems at your computer may be caused by trouble with its network adapter or problems in the LAN Manager program loaded on your computer. Problems also may be caused by trouble with the network hardware (other than the network adapter). This section describes how to: NOTE: • Determine if the trouble is in your computer or in the network hardware. • Identify problems with your computer’s LAN Manager program or network adapter.
Troubleshooting Isolating Problems Troubleshooting Your Computer If you suspect your computer is the trouble source, perform the following procedure to identify the problem. To identify a problem with your computer 1 Check the network wiring to your computer’s network adapter. If you are using Microsoft TCP/IP and connect to the server, you can use the ping command to check network server connection (For more information, see Chapter 5, “Enhanced Reference,” or Chapter 7, “Basic Reference.
Troubleshooting Isolating Problems Jobs Not Printing Problem: A shared printer is connected to parallel port LPT1 (PRN) on your workstation. You send print jobs to that printer over the network (rather than locally), but they do not print. The error only applies to workstations using clispool or clipcach with LAN Manager for UNIX Systems servers. Resolution: Type net use.
Troubleshooting Isolating Problems Text Entered Is Not Displayed Problem: A printer is connected to a serial port of your workstation. Your workstation is turned on and linked to the server, but nothing appears onscreen when you type. Resolution: The printer connected to your serial port may be offline. Check the indicator lights on the printer and turn it online if required. For information on turning the printer online, see your printer guide.
E Using Remote Access Service 321
Using Remote Access Service Isolating Problems The Remote Access service (RAS) allows off-site PC users transparent access to network resources via a telephone connection with a network. This appendix describes how to install RAS on a workstation running MS-DOS version 3.3 or later with or without Microsoft Windows versions 3.0 or 3.1. It describes how to use a Windows NT or LAN Manager network from a remote workstation and how to troubleshoot any problems that may occur.
Using Remote Access Service Installing RAS Installing RAS This section includes information on how to install RAS on workstations running MS-DOS, with or without Microsoft Windows, and how to install RAS when you need to use the network in the office and from a remote site. If you will only be using your workstation for dialing in to a network, go directly to the following sections.
Using Remote Access Service Installing RAS The Configuration box appears on the screen. 4 Choose one or more of the following: • To accept the configuration defaults as indicated on the screen, choose the OK button. • To choose a different port, click the Add Port button, and specify the port you want to use (for example, COM2). • To choose a different type of modem, click the Select Modem button, and select your modem type. • To load the RAS drivers manually at startup, click on the X.
Using Remote Access Service Installing RAS 9 Choose the Change Icon. The Select Icon dialog box appears. 10 In the File Name box, enter one of following: • If you are running LAN Manager Enhanced, enter: C:\LANMAN.DOS\NETPROG\RASPHONE.ICO - Or – • If you are running LAN Manager Basic, enter: C:\LANMAN.DOS\BASIC\RASPHONE.ICO If you have installed LAN Manager to a directory other than C:\LANMAN.DOS, replace C:\LANMAN.DOS with that directory name. 11 Choose the OK button.
Using Remote Access Service Installing RAS To set up your workstation to connect to the network from the office 1 Type rasload /u to unload the RAS drivers and to stop the Workstation service. Use rasload /u /y to answer yes to all the questions normally asked when stopping the Workstation service. 2 Type load protocol to load the protocol you need to use to connect to the Windows NT or LAN Manager network.
Using Remote Access Service Installing RAS The LOAD command accepts the following switches: Switch Meaning u When used in the LOAD= line, the program is loaded into upper memory blocks on MS-DOS version 5 or 6, if possible; otherwise the program is loaded into conventional memory. When used in the UNLOAD= line, the program is unloaded. c No attempt is made to load the program into upper memory blocks. b Binds the protocol to the hardware device driver.
Using Remote Access Service Using the Network Using the Network This section includes information on connecting to, using, and disconnecting from the network, and provides a command summary. Connecting to the Network NOTE: You must load RAS before you start the Windows operating system. If you are using your computer to connect sometimes by modem and sometimes by network adapter card, you should not start Windows from your AUTOEXEC.
Using Remote Access Service Using the Network Disconnecting from the Network To disconnect from the network 1 At the MS-DOS prompt, type rasphone to open the Phone Book. -OrFrom the Windows interface, click on the RAS Phone Book icon. 2 Disconnect from the network (use Phone Book Help). User Commands The following commands use RAS to access your LAN Manager or Windows NT network remotely. Command Action rasphone Opens the Phone Book. rasdial Allows you to connect and disconnect.
Using Remote Access Service Using the Network Finding Help About Phone Book While you are using the RAS Phone Book, you can get Help with the following commands. Command Action General Help Select the Help index. Help for Screens Click the screen’s Help button. Help for Error Messages Press F1 when an error message occurs. Modifying Phone Numbers The following characters can be used to modify phone numbers in the RAS Phone Book.
Using Remote Access Service Using the Network CAUTION: Removing LAN Manager deletes this file. Be sure to back up PHONE.INF before removing LAN Manager. Removing the RAS client software while leaving LAN Manager intact does not delete this file.
Using Remote Access Service Troubleshooting Troubleshooting This section explains how to solve common problems and provides a complete list of error codes. Common Problems Network Access Problems If you are denied access to your network, contact your network administrator. You may not have a valid user account on your Windows NT or LAN Manager network, or you may not have permission to dial in.
Using Remote Access Service Troubleshooting Contact your system administrator. • You are disconnected from the network when you start Microsoft Windows version 3.0. When running MS-DOS and Microsoft Windows version 3.0 and using a serial mouse, be sure to start the Windows operating system before connecting. Alternatively, you can upgrade to Microsoft Mouse version 8.0 or later. When using the version 8.0 mouse driver, change the second line in the MOUSE.
Using Remote Access Service Troubleshooting and try again. • There is insufficient storage space on your hard disk. Ensure that your hard disk has a least 1MB of free space. If you encounter problems when unloading the RAS drivers, one of the following may be true: • A telephone connection still exists. Drivers will not unload if a telephone connection exists. This protects you from accidentally hanging up a connection and losing data.
Using Remote Access Service Troubleshooting Error Code Error Level Description ERR_USEDPORT 612 The port is already in use. ERR_BADBAUD 615 The baud rate cannot be set for the port. ERR_NOPORT 620 The port is already in use. ERR_CONNECTION_TIMEOUT 631 A timeout occurred while trying to establish a connection. ERR_REMOTE_DISCONNECTED 632 The remote side has been disconnected. ERR_HARDWARE_FAILURE 633 Hardware (the modem most probably) has failed.
Using Remote Access Service Troubleshooting Error Code Error Level ERR_INVALID_PASSWORD 654 ERR_WKSTA_NOT_STARTED 664 ERR_PHONEBOOK_EMPTY 665 ERR_CANNOT_GET_LANA 669 ERR_INVALID_PHONE_NUMBER 668 ERR_CANNOT_BIND_LANA 670 ERR_CANNOT_UNBIND_LANA 671 ERR_NOT_AUTHENTICATED 672 ERR_COULD_NOT_OPEN_COMDEV_INI 675 ERR_COULD_NOT_OPEN_PHONE_INI 676 ERR_CORRUPT_COMDEVINI_ENTRY 677 ERR_CORRUPT_PHONEINI_ENTRY 678 ERR_ENTRY_NOT_FOUND 682 ERR_CORRUPT_COMDEVINI 683 ERR_CONNECTION_EXISTS 684
Using Remote Access Service Troubleshooting Error Code Error Level Description ERR_CANNOT_GET_COMPUTERNAME 687 The user is running a LAN Manager Basic workstation. Either install LAN Manager Enhanced or specify the computer name when starting the Workstation service.
Using Remote Access Service Troubleshooting Error Code Error Level ERR_PAD_NOT_RESPONDING 6115 ERR_NULL_X25ADD 6116 No X.25 address was supplied to make the connection. PAD_RC_ERROR 6117 The PAD returned a string denoting an error condition.
Using Remote Access Service Modems Modems This section includes information on using nonsupported modems and modifying your modem configuration file, MODEMS.INF, which contains information describing each modem type supported by RAS. You should not modify this file except to add sections for modems that are not already supported. Using Nonsupported Modems If you have a modem that is not supported by RAS, try using the settings for a modem that is supported.
Using Remote Access Service Modems The [default] section contains command strings shared in common by most supported modems. The sections for individual modems contain command strings that differ from those in the [default] section. The following MODEMS.INF listing includes introductory comments, the complete [default] section, and two sample sections for particular modems. #----------------------------------------------------------------# Some normal commands used.
Using Remote Access Service Modems ERROR = *cr*lfERROR*cr*lf LOOP = *cr*lfRINGING*cr*lf NO_CARRIER = *cr*lfNO*blankCARRIER*cr*lf NO_CARRIER = *cr*lfVOICE*cr*lf NO_DIALTONE = *cr*lfNO*blankDIAL*blankTONE*cr*lf NO_DIALTONE = *cr*lfNO*blank*DIALTONE*cr*lf BUSY = *cr*lfBUSY*cr*lf NO_ANSWER = *cr*lfNO*blankANSWER*cr*lf #----------------------------------------------------------------[Hayes_V_Series_9600] # &Q5 -- Error control connection # S36=1 -- Fallback to async, no speed buffering MAXBAUD = 9600 [Hayes_V_9
Using Remote Access Service Modems When you select a modem during RAS installation, the Setup program looks for a section with the name [modemname.INIT]. If it does not find one, it uses the initialization strings defined in the [default] section. For example, the Hayes Smartmodem 2400™ uses the same set of command strings as listed in the [default] section. Therefore, the only line in the [Hayes_Smartmodem_2400] section is the MAXBAUD line.
Using Remote Access Service Modems Adding a New Modem to MODEMS.INF NOTE: Microsoft Product Support Services only supports the version of MODEMS.INF that ships with Microsoft LAN Manager Remote Access service. If you modify the file and your new modem does not work, restore the original version of the file, and use one of the modems listed earlier in this appendix. If you are using a modem that is not explicitly supported in MODEMS.
Using Remote Access Service Modems NOTE: Every modem section must contain a line reading: MAXBAUD = x where x is the baud rate of the modem. The MAXBAUD line must be included, even if the modem is using the same baud rate as that listed in the [default] section. Whether other entries are included depends on whether a modem's init, listen, or dial strings match those in the [default] section. If they match, they do not have to be listed again in the modem's own section. 1 Check to see if the [modem_name.
Using Remote Access Service Modems Refer to your modem manual for the specific commands you use to do the following: • Recall factory settings. • Track presence of data-carrier-detect (DCD high when carrier detected). • Hang up and disable auto-answer when DTR goes from ON to OFF (high to low). • Return result codes. • Return verbose codes. • Enable character echo in command state. • Wait approximately 55 seconds for carrier.
Using Remote Access Service Modems If you decide to enable error control and/or compression, first check the following: • Make sure your workstation can accommodate the higher baud rates required for compression. Your RAS client workstation must have a 80386 or higher processor and also have 16450 or higher serial port chip installed. • Make sure your RAS server has a multiport adapter installed, relieving the main processor of some of the interrupt processing load.
Using Remote Access Service Configuration Files Configuration Files During installation, the RAS Setup program modifies existing MS-DOS and LAN Manager configuration files to enable or to optimize performance. For MS-DOS and Windows client workstations, the RAS Setup program modifies the CONFIG.SYS, LANMAN.INI, and PROTOCOL.INI files. CONFIG.SYS The RAS Setup program adds the following lines to an MS-DOS client’s CONFIG.SYS file: DEVICE = C:\LANMAN.DOS\DRIVERS\ASYNC\ASYMAC\ASYMAC.
Using Remote Access Service Configuration Files The Setup program adds one BINDINGS entry and one [ASY_NIFx] section for each COM port in the system, where x is the COM port number associated with each instance of the driver.
Using Remote Access Service Tuning Tuning This section includes modifications you can make that will increase the performance of RAS. You can tune RAS performance on your system by modifying LANMAN.INI parameters. Modifying LANMAN.INI on MS-DOS-based Workstations On a LAN Manager Enhanced workstation, RAS modifies the wrkheuristics entry of the [workstations] section for optimal performance over a telephone line.
Using Remote Access Service Tuning from the file. • If the client uses raw I/O, file transfer occurs in 64K packets. Sending 64K packets over an asynchronous line is not advisable because other transactions will be delayed, and additional memory will be required at the RAS server to handle the large packets.
Using Remote Access Service Compatibility Issues Compatibility Issues RAS supports only version 2.0 of Stacker. If you are running Stacker version 1.1, upgrade to version 2.0. If your network directory (for example, LANMAN.DOS, WINDOWS, DOS, DOSNET) is on a Stacker drive, make sure that Stacker is started before the protocol manager in your CONFIG.SYS file.
Using Remote Access Service Compatibility Issues 352
Glossary account See user account. administrator The individual responsible for managing the local area network. Typically this person configures the network, maintains the network’s shared resources and security system, creates user accounts, assigns permissions, and helps users. alert message A message sent by a server to a LAN Manager Enhanced workstation informing the user of conditions that require attention.
Glossary callback security A form of network security in which a Remote Access server calls a user back at a preset number after the user has made an initial connection and has been authenticated. check box A small box in a dialog box that can be selected or cleared, representing an option that you can turn on or off. When a check box is selected, an X appears in the box. choose To pick an item that begins an action.
Glossary example, \\SALES or \\MARKET.SERVE). If you are using LAN Manager Basic, the computername identifies your workstation to servers. configuration The way the workstation, server, or local area network is set up to function; pertains to both hardware and software. connect To assign a local devicename to a shared resource so you can use it with LAN Manager commands. See also devicename, shared resource. connected user A user accessing a computer or a resource across the network.
Glossary selecting an option from one dialog box causes another dialog box to appear. directory Part of a structure for organizing your files on a disk. A directory can contain files and other directories (called subdirectories). See also directory tree. directory tree A graphical display of a disk’s directory structure. The directories on the disk are shown as a branching structure. The top-level directory is the root directory. disk device A device that stores information.
Glossary field One of the five areas within a dialog box. See also check box, command button, dialog box, list box, option button, text box. directory can be assigned to an individual user or can be shared by many users. file attribute Special properties of a file. The options are read-only and archive. Assigned to files and directories using the MS-DOS attrib command. HPFS High-performance file system (HPFS); primarily used with the OS/2 operating system version 1.2 or later.
Glossary LAN Manager Enhanced, network tasks can be done from the command line and from the LAN Manager Screen. LAN Manager Screen A menuoriented, full-screen interface for LAN Manager Enhanced. With the LAN Manager Screen, you can use LAN Manager Enhanced without having to memorize command syntax. LANMAN.INI The initialization file that determines default settings for LAN Manager servers and workstations on the local area network.
Glossary logon script runs automatically every time the user logs on. It can be used to configure a user’s working environment at every logon, and it allows an administrator to affect a user’s environment without managing all aspects of it. A logon script can be assigned to one or more user accounts. logon server The server that verifies your username and password when you log on to the network. menu A set of related commands accessible from the LAN Manager Screen.
Glossary MS-DOS Microsoft Disk Operating System. This is the operating system on which LAN Manager Basic and Enhanced run. coordinates communication between the network adapter and the computer’s hardware and other software, controlling the physical function of the network adapters. MS-DOS prompt See prompt. named pipe A connection used to transfer data between separate processes, usually on separate computers. Named pipes are the foundation of interprocess communication (IPC).
Glossary null modem Special cabling that eliminates the need for modems for asynchronous communications between two computers over short distances. MONTHLY.RPT file in the REPORTS\ACCT\NORTH directory is REPORTS\ACCT\NORTH\MONTHL Y.RPT. option Part of a command that can modify how the command or service works but which is not required. pause To suspend a LAN Manager service. See also continue. option button A button in a LAN Manager Screen dialog box used to select one option from a group of options.
Glossary the network administrator. This ensures that no one can borrow a user’s password and connect to the server from a location other than the user’s normal one. primary domain controller The LAN Manager server at which the master copy of a domain’s user accounts database is maintained. The primary domain controller also validates logon requests. See also Net Logon service. print job A file sent to a printer queue to be printed. are currently working. See also local.
Glossary scroll To move through text or graphics (up, down, left, or right) in order to See parts of a file or dialog box that cannot fit on the screen. scroll bar A bar that appears at the right and/or bottom edge of a window or list box whose contents are not completely visible. Each scroll bar contains two scroll arrows and a scroll box, which enable you to scroll through the contents of the window or list box.
Glossary sharing The process by which resources are made available to local area network users. software The programs, routines, or instructions written in a computer language that instruct the computer to perform one or more tasks. source directory The directory that contains the file or files you intend to copy or move. spooled queue A queue used with printers that are configured with a parallel interface. Spooled queues are identified with devicenames LPT1 through LPT9.
Glossary user account The record on a Windows NT Advanced Server or LAN Manager server that contains information about an authorized user, including his or her name, password, and permissions, as determined by the administrator. username A unique name identifying a user account on the network. See also user account. wildcard A character that represents one or more characters.
Glossary Compatibility Issues 366
Index A Abbreviating commands, 96 Accounts menu Change your password command, 42 overview, 30 Your account command, 41 Adding remote computers, 230 addname utility adding entries to LMHOSTS file, 107, 231 description, 106, 107, 230, 231 syntax, 106 Aliases adding, 93, 142, 143 command, 93, 94 deleting, 93, 142, 143 domain names, 87 forwarding, 154 maximum per workstation, 353 sending messages to, 87 usernames, 87 viewing, 142 B b switch, 326 Batch files, 53 Batch programs, 100, 226 Baud rate, 341 Beep from
Index printer, 73, 290, 291 server, 72 Conventional memory, 326 Converting files, 304, 306 Copying files, 65, 127, 129, 294 Country codes, 281 Current focus, 36, 72 D d switch, 326 Date display, 164 Deleting aliases, 93, 142, 143 computernames from alias list, 94 print jobs, 76 remote computers, 230 Demand Protocol Architecture (DPA) defined, 355 load utility, 54, 117, 240 unload utility, 198, 277 unloading before stopping workstation service, 163 Device driver, defined, 355 Devicenames for printer queues,
Index Locking user account, 137 Log file, renaming, 91 Logging off from network, 51, 135, 291 from UNIX from workstation, 311 from workstation service, 163 Logging on equivalent network commands, 291 procedure, 24 security measures, 360 to host computer vs. servers, 309 to network, 136 to UNIX, 115, 309, 311 Logon domain, 136, 138 M Macintosh operating system, 298 Macros in MODEM.INF.
Index net version command, 170 net view command, 171 net who command, 173 netbind command, 175 Netpopup service and message logging, 89 closing a message box, 89 defined, 25, 360 displaying messages, 89 print job notice, 70 receiving messages, 89, 142 starting, 160 Winpopup replacement, 89 netrun command, 67, 176, 255, 257 NetWare Connectivity, 284 defined, 360 directory drive letters shared, 289 overview, 284 printer devicenames shared, 290 unloading, 259 use with Microsoft Windows program, 287 Network pr
Index Protocol(s) binding, 175, 326 listing, 325 loading, 175, 198 registering, 326 unloading, 325 PROTOCOL.
Index viewing resource connections, 64 Users on a server command, 38, 39 Viewing aliases, 142 commands, list of, 243, 291 computername, 245 connections, 64, 165, 171, 214, 250, 254 directory connections, 59, 64, 290 domains, servers in, 59, 171 net view command, 171 printer queue information, 150 servers, 151 status, 75, 211 resources, shared, 36, 38 servers, 36, 38 user accounts, 137 users, 173 workstation setup, 48, 124, 167, 214, 252 W Wildcard characters, 301, 302 Winpopup utility, 89 Workstation servi