# NetCon Menu Utility

## Introduction

The "NetCon" menu utility is designed to provide the user with a familiar - friendly NetWare like menu driven interface to the NetCon networking software. With this utility you can perform all the tasks necessary to effectively use, administer and configure NetCon. The "NetCon" menu utility utilizes the AT&T CURSES library and should function properly on almost any type of terminal which has the correct entries in either "/etc/termcap" or the "terminfo" library.

## The Keyboard

Many keys and key combinations have special meanings in the NetCon menu utility. These have names that are unique and may not correspond to the keytop labels on your keyboard. To help you find these keys, the following table shows which keys on a typical terminal correspond to those NetCon menu system names.

In this table a plus (+) between keys means "hold down the first key while pressing the second."

KeyTop Action

Ctrl+Q Exits the current menu or data-entry

or screen, if on the MAIN MENU exits NetCon,

Esc if on a data-entry screen the data is saved if update is set to "Yes" otherwise no changes are made.

Enter Selects the current (HIGHLIGHTED) menu

or item, or completes a data-entry field. If Return

Return is hit on the last field of a data-entry screen and update is set to "Yes" the data is saved.

Ins (SCO) On item selection menus such as network

or users and groups Ins or Space bar will ADD a

Space Bar (SUN) new user or group. On data-entry screens Ins toggles between the INSERT and OVERWRITE modes and the space bar functions as normal.

KeyTop Action

Del (SCO) On item selection menus such as network

or users and groups, Del or Backspace will

Backspace (SUN) DELETE the current item. On data-entry screens the current character is DELETED.

Home Moves the cursor to the FIRST menu selection or data-entry field.

End Moves the cursor to the LAST menu selection or data-entry field.

Pg Up Moves the cursor to the FIRST menu item, on data-entry screens Pg Up toggles through multiple choice items such as "Yes" "No" etc....

Pg Dn Moves the cursor to the LAST menu selection. On data-entry screens Pg Dn toggles through multiple choice selections such as "Yes" "No" etc.

Ctrl+N Moves the cursor to the next menu

or selection or data-entry field.

Down Arrow

Ctrl+P Moves the cursor to the previous menu

or selection or data-entry field.

Up Arrow

Right Arrow Moves cursor position to the RIGHT on data-entry fields.

Left Arrow Moves cursor position to the LEFT on data-entry fields.

A complete list of all Keys used by NetCon can be found at the end of this section along with their Hex equivalent and the required termcap/terminfo entry.

To Select a Menu Item

You can either type the letter next to the item and press (Enter) or use the arrow keys to highlight the item and press (Enter).

## Starting NetCon

To start the NetCon administration utility, login as root to any UNIX terminal and type

`# netcon (Enter)`

In order to maintain network security you are required to login to the NetCon server the first time you use the netcon menu utility.

NOTE: If the correct password has been added for the default user mapping you will not be prompted for a login and password.

         NETCON 6.0     Mon Feb 27 14:46:45 1995
    Connected to File Server NETCON
    UNIX User root On NetCon Client NETCON

    Login To File Server
    User Name:  root
    Password:

You are now presented with the login screen.

Enter your correct root login and password (passwords are not displayed) and press (Enter), if you enter an incorrect login/password combination the cursor will return to the login field for a retry. If the login is successful you will be presented with the "MAIN MENU".

## Main Menu

From the "MAIN MENU" you can directly select the most commonly used utilities:

Selection "A. Change Current Server" Allows you to change and login to any server on the network.

Selection "B. File Server Information" Displays information on the selected server.

         NETCOnN 6.0     Mon Feb 27 14:46:45 1995
    Network User SUPERVISOR On File Server FILE_SERVER_1
    UNIX User root On NetCon Client NETCON

    MAIN MENU

    A. Change Current Server
    B. File Server Information
    C. Mount Network Server/Volumes
    D. Mounted Network Server/Volumes Information
    E. Map Users and Groups To Unix
    F. Mapped User/Group Information
    G. User Information
    H. Group Information
    I. Network Information
    J. Exit/Quit

Selection "C. Mount Network Server/Volumes" Allows you to mount any file server on the network as a UNIX directory.

Selection "D. Mounted Network Server/Volumes Information" Displays information on the currently mounted volumes for the selected server.

Selections "E. Map Users and Groups To Unix" and selection "F. Mapped User/Group Information" Allows you to map NetWare users and groups to UNIX and display the currently mapped users for the selected server.

Selection "G. User Information" and selection "H. Group Information" Allows you to display, add and modify NetWare user and groups with functionality similar to the familiar NetWare "syscon" utility.

Selection "I. Network Information" Displays a wealth of network information. Each of these selections are discussed in detail on the following pages.

         NETCON 6.0     Mon Feb 27 14:46:45 1995
    Network User SUPERVISOR On File Server FILE_SERVER_1
    UNIX User root On NetCon Client NETCON

    File Server Information For FILE_SERVER_1
    Server Name:     FILE_SERVER_1
    Network Version:     Novell Netware v3.11 (25 user)
    OS Revision:       2/20/91
    Connections Supported:     250
    Connections In Use:      3
    Volumes Supported:       64
    Serial Number:      03290061
    Application Number:         2736

## File Server Information

Select "B. File Server Information" from the "MAIN MENU".

Press (Enter) or (Esc) to return to the "MAIN MENU".

## Mount Network Server/Volumes

NOTE You must be logged in as UNIX user "root" and NetWare user "SUPERVISOR" to use this option.

Select "C. Mount Network Server/Volumes" from the "MAIN MENU" and press (Enter). This option allows NetWare volumes and directories to be mounted and used as UNIX directories.

         NETCON 6.0     Mon Feb 27 14:46:45 1995
    Network User SUPERVISOR On File Server FILE_SERVER_1
    UNIX User root On NetCon Client NETCON

    Mount File Server FILE_SERVER_1 Volume As UNIX Directory
     Network Server To Mount     FILE_SERVER_1
     Volume To Mount:      sys
     Directory To Mount:      /
     Enter UNIX directory:      /netware
     Make Directory Read Only:      No
     Make This Entry Permanent:      Yes
     Update Configuration:      Yes

When you select this option you will be presented with a list of all the available servers on the network, use the ARROW keys to select the desired server and press (Enter). If the sever you selected is different than the original server you logged into when you started "netcon" you will be prompted for a new login and password. You should login as "SUPERVISOR".

"Network Server To Mount" Defaults to the selected server and cannot be changed from this screen. If the server is not correct exit this screen by pressing (Esc) and select "A. Change Current Server" from the "MAIN MENU" to change server.

"Volume To Mount" Can be any valid volume on the selected server. Enter the correct volume and press (Enter).

"Directory to Mount" Can be any valid subdirectory in the selected volume. Enter the full path name using the UNIX directory delimiters "/", not the DOS delimiter "\", and press (Enter).

"UNIX directory" Enter the full UNIX pathname where you want the NetWare server/volume/directory mounted and press (Enter).

"Make Directory Read only" prevents any changes to the NetWare server. The Default is "No". Toggle this entry to the correct setting and press (Enter).

NOTE Use the (Ctrl+A), (Pg Up) or (Pg Dn) keys to toggle from "Yes" to "No"

"Make This Entry Permanent" When set to "Yes" the NetCon startup script "/usr/bin/netcon.rc" is updated with this entry so this directory will automatically mount every time the UNIX machine restarts. Toggle this entry to the correct setting and press (Enter).

"Update Configuration" Toggles this to "Yes" for the directory to be mounted and press (Enter). If the mount is successful you will be returned to the "MAIN MENU", otherwise correct the entry and retry.

## Mapping NetWare Users and Groups to UNIX

         NETCON 6.0     Mon Feb 27 14:46:45 1995
    Network User SUPERVISOR On File Server FILE_SERVER_1
    UNIX User root On NetCon Client NETCON

    Map SERVER_FILE_1 Network User/Group To UNIX
     Network Server:      SERVER_FILE_1
     UNIX User/Group Name:      root
     Network User/Group Equivalent :      SUPERVISOR
     Network User Password:(groups="-")
     Is This A user, group or world:      user
     Make This Entry The Default:      Yes
     Update Configuration:      Yes

Select "E. Map Users and Groups To Unix" from the "MAIN MENU" and press (Enter). Then select and login to the server you wish to map your UNIX user names to. If you are logged into Unix and NetWare with the user names you wish to map they will automatically become the defaults.

"NetWare Server" Defaults to the selected NetWare server and cannot be changed from this screen. If the server is not correct, exit this screen by pressing (Esc) (Esc) and select and login to the correct server from the "Names of File Servers On File Server X" menu.

"UNIX User/Group Name" Enter the UNIX user or group name you wish to map, which defaults to the name you used to log into UNIX, and press (Enter).

"Network User/Group Equivalent" Enter the NetWare user or group name you wish to map to the UNIX user, which defaults to the name you used to log into the NetWare server and press (Enter).

"Is This A user, group or world" "user" Indicates the entry is for a user, "group" indicates the entry is a group. There should be only one "world" entry for each server and it is automatically created during startup. Use the (Ctrl+A), (Pg Up) or (Pg Dn) keys to toggle from "user" to "group" to "world" and press (Enter).

"Make This Entry The Default" Every Network server you wish to mount must have one and only one default user and default group entry. The default entries are used internally by the NetCon software and should map the UNIX user 'root' to the NetWare user 'SUPERVISOR' the default UNIX group should be mapped to the NetWare group 'EVERYONE'. Use the (Ctrl+A), (Pg Up) or (Pg Dn) keys to toggle from "Yes" to "No" and press (Enter).

"Update Configuration" must be toggled to "Yes" for the changes to take effect. Use the (Ctrl+A), (Pg Up) or (Pg Dn) keys to toggle between "No" & "Yes", and press (Enter).

         NETCON 6.0     Mon Feb 27 14:46:45 1995
    Network User SUPERVISOR On File Server FILE_SERVER_1
    UNIX User root On NetCon Client NETCON

    Names of Users On File Server FILE_SERVER_1
     -SUPERVISOR          1
    GUEST          2000001
    JOSE          6000006
    TONY          8000002
    FRANK          D000003
    JENNIFER          E000003
    BILL          F000003
    JIM          10000002

## User Information

When you select "G. User Information" or "H. Group Information" from the "MAIN MENU" you are presented with a list of the current users or groups on the selected file server. At this menu you have three options.

> 1.) Add a new NetWare User. To add a new user/group press the (Ins) or (Space Bar) key and enter the new users name at the prompt and press (Enter).

> 2.) Delete a NetWare User. To delete a user/group select that user/group with the ARROW keys and press the (Del) or (Backspace) key. You will be asked to confirm the deletion; select "Yes" or "No" and press (Enter).

> 3.) Select a user and edit that users properties. Use the ARROW key to select a user and press (Enter). You will be presented with the User Information Menu.

         NETCON 6.0     Mon Feb 27 14:46:45 1995
    Network User SUPERVISOR On File Server FILE_SERVER_1
    UNIX User root On NetCon Client NETCON

    User SUPERVISOR Information
    -A. Change Password
    B. Full Name
    C. Groups Belonged To

## Edit User Information

From the User Information Menu you can change passwords, add or edit the users full name, add or delete group membership.

To add or delete group membership, make the desired menu selection with the ARROW keys and press (Enter). The selected list will display. You can add members to or delete members from this list.

         NETCON 6.0     Mon Feb 27 14:46:45 1995
    Network User SUPERVISOR On File Server FILE_SERVER_1
    UNIX User root On NetCon Client NETCON

    INFORMATION
    -A. Server Information
    B. Mapped User/Group Information
    C. User Information
    D. Group Information
    E. Print Server Information
    F. Print Queue Information
    G. Routing/Gateway Information
    H. Connection Information
    I. NetWork Stats
    J. Exit/Quit  quit menu

To ADD members to a list, press the (Ins) or (Space Bar) key and a list of non members will display, select the desired member to add with the ARROW keys and press (Enter). The original list will redisplay with the new member added.

To Delete a member, select the member with the ARROW keys and press the (Del) or (Backspace) key. You will be asked to confirm the deletion. Select "Yes" or "No" and press (Enter).

## Information

To display the desired Network information use the ARROW keys to make the desired selection and press (Enter). The information will display. Press ANY key to return to the "INFORMATION" menu.

## Key Mapping For Menus

Key Hex Action Terminfo/Termcap

Ctrl+Q 0x11 QUIT

Esc 0x1b ESCAPE

Ctrl+N 0x0e NEXT ITEM

Ctrl+I 0x09 NEXT ITEM

Ctrl+P 0x10 PREVIOUS ITEM

HOME FIRST ITEM khome/kH

Pg Dn LAST ITEM

END LAST ITEM kend/@7

LEFT ARROW LEFT ITEM kcub1/kl

RIGHT ARROW RIGHT ITEM kcuf1/kr

UP ARROW UP ITEM kcui1/ku

DOWN ARROW DOWN ITEM kcud1/kd

Ctrl+U 0x15 SCROLL UP LINE

Ctrl+D 0x04 SCROLL DOWN LINE

Ctrl+F 0x06 SCROLL DOWN PAGE

Ctrl+B 0x02 SCROLL UP PAGE

Ctrl+X 0x18 CLEAR PATTERN

Ctrl+A 0x01 NEXT MATCH

Ctrl+J 0x0a PREVIOUS MATCH

Ctrl+T 0x14 TOGGLE ITEM

SPACE BAR 0x20 INSERT ITEM

Ins 0x20 INSERT ITEM

Del 0x7f DELETE ITEM

BACKSPACE 0x08 DELETE ITEM

## Key Mapping for Data Entry Forms

Key Hex Action Terminfo/Termcap

Ctrl+Q 0x11 QUIT

Ctrl+F 0x06 NEXT PAGE

Ctrl+B 0x02 PREVIOUS PAGE

Ctrl+N 0x0e NEXT FIELD

Ctrl+I 0x09 NEXT FIELD

Ctrl+P 0x10 PREVIOUS FIELD

HOME FIRST FIELD khome/kH

END LAST FIELD kend/@7

Ctrl+L 0x0c LEFT FIELD

Ctrl+R 0x12 RIGHT FIELD

Ctrl+U 0x15 UP FIELD

Ctrl+D 0x04 DOWN FIELD

Ctrl+W 0x17 NEXT FIELD

Ctrl+T 0x14 PREVIOUS FIELD

Ctrl+S 0x13 BEG FIELD

Ctrl+E 0x05 END FIELD

LEFT ARROW LEFT CHARACTER kcub1/kl

RIGHT ARROW RIGHT CHARACTER kcuf1/kr

DOWN ARROW NEXT FIELD kcud1/kd

UP ARROW PREVIOUS FIELD kcuu1/ku

Ctrl+O 0x0f INSERT LINE

Ctrl+V 0x16 DELETE CHAR

Del 0x7f DELETE CHAR kdch1/kD

Ctrl+H 0x08 DELETE PREV