(Page 6 of 6 in this chapter)


3.5 Installing Under UnixWare 2.1

To install the AG Connect board driver software under UnixWare 2.1, run the installation program as described in this procedure:

Note: Install your AG Connect boards in your system before installing the software. (See Chapter 2 to learn how to do this.) Make a note of the base I/O addresses at which you installed the boards. The installation program will prompt you for these addresses.

  1. If you are installing over earlier versions of AG Connect or AG Connect With Ringing driver software, remove the earlier version and rebuild the kernel before you install the new software.

    
    See section 3.4.2 to learn how to remove driver software from your system.
    
    
  2. Access a command prompt, and log in as root.

    
    
  3. Insert the AG Connect board installation diskette into your floppy disk drive.

    
    
  4. Enter this command to invoke the pkgadd utility:

      pkgadd -d diskette1
    
    pkgadd starts up, and displays a list of software packages available for installation.
  5. Select the "agcx" software package, and press Enter.

    
    pkgadd copies the driver software from the disk onto your system. 
    When pkgadd has finished copying files, it displays the following message:
    You will now provide the base addresses of the agcx
    Boards you are installing in your system. When you are prompted for
    a base address, a list of possible choices will be given.

    If installing more than one board into your system,
    the choices already selected during this installation will be
    marked, and the device node name that will be used to access the
    agcx board is listed.

    Enter c to continue or enter q to quit:
  6. Enter "c".

    
    pkgadd displays a menu of base I/O addresses. 
  7. Mark the addresses of the AG Connect boards in your system.

    
    To select an address, enter its number. The menu reappears with the address marked "already selected".
    As you select addresses, make a note of the order in which you select them. The install program assigns device numbers to your boards based on the order in which they are selected. When you create your application using SwitchPath or the SW Utility, you will use these numbers to refer to your boards in software.
    For example, if you mark address 0x0640 first and then address 0x2140, the board at address 0x0640 is assigned device number 0. The board at address 0x2140 is assigned device number 1.
  8. When you have selected the addresses of all of your boards, enter 0.

    
    pkgadd displays this message:
    1.  MU-law
    2. A-law
    Please select idle code, q to quit.
    pkgadd is asking you to select an encoding scheme. The encoding law you select applies to every AG Connect board in the system.
  9. Enter "1" or "2" to select the encoding scheme to use.

    
    pkgadd rebuilds the kernel.
    Note: pkgadd may warn you that it is about to overwrite newer versions of files on your system with older ones. This warning may appear even if the files you are installing are actually newer than the ones on your system. This is because files installed with earlier versions of the install script were marked with the installation date, not their creation dates. Later versions of the script preserve the creation date.

    This warning may appear particularly if you have installed SwitchPath. If you have SwitchPath 1.1 or earlier, direct pkgadd to overwrite the "newer" files. If you have a later version of SwitchPath, do not overwrite files.
    When the kernel rebuild is complete, the following message appears:
    Installation of AG Connect for UnixWare 2.1 (agcx) was successful.
    
  10. Type "q" to quit.

    
    
  11. Shut down your system, and reboot.

    
    The driver will not be available until you reboot.

3.5.1 Changing The Configuration After Installation (UnixWare 2.1)

You may need to modify your driver configuration after you have completed the install process. For example, you may wish to add additional boards to your system, or you may need to change the base I/O address of a board.

To change your driver configuration, do the following:

  1. Access a command prompt, and log in as root.

    
    
  2. Execute the confdrvr shell script by entering this command:

    sh /opt/nms/agcx/drv/confdrvr
    
    confdrvr starts up. It displays this message:
    Warning! A version of the Natural MicroSystems agcx device driver
    is already installed.

    Do you want to continue? (y/n)
  3. Enter "y".

    
    The following message appears:
    You will now provide the base addresses of the agcx
    Boards you are installing in your system. When you are prompted for
    a base address, a list of possible choices will be given.

    If installing more than one board into your system,
    the choices already selected during this installation will be
    marked, and the device node name that will be used to access the
    agcx board is listed.

    Enter c to continue or enter q to quit:
  4. Enter "c".

    
    confdrvr displays a menu of base I/O addresses.
  5. Mark the base I/O addresses of ALL boards in your system, just as you did during the initial install procedure. (See section 3.4 for more information.)

    
    Note:  Even if you are adding a new board to a system which already includes AG Connect boards, you must specify the base addresses of all boards. 
    
    Remember the order in which you select the addresses, so you know what device number each board is given.
  6. When you have selected the addresses of all of your boards, enter 0.

    
    
  7. Now follow steps 9 through 11 in section 3.5 above to select a coding scheme, rebuild the kernel and reboot the system.

3.5.2 Uninstalling The Driver Software (UnixWare 2.1)

To remove the driver software from your system, follow this procedure:

  1. Access a command prompt, and log in as root.

    
    
  2. Direct the pkgrm utility to remove the "agcx" package. To do so, enter:

    pkgrm agcx
    
    pkgrm removes the package. The following message appears:
    Rebuild the kernel now? (y/n)
    
  3. Enter "y".

    
    The kernel build proceeds. The following message appears:
    Do you want this kernel to boot by default? (y/n)
    
  4. Enter "y".

    
    The following message appears:
    Do you want the kernel environment rebuilt? (y/n)
    
  5. Enter "y".

    
    pkgrm completes its tasks, and terminates.
  6. When pkgrm terminates, shut down your system, and reboot.



(Page 6 of 6 in this chapter)


Tech_Support@nmss.com
Copyright © 1996, Natural MicroSystems, Inc. All rights reserved.