Installing RealPort: CD

Use this procedure to install and configure the DG/UX RealPort device driver from the Digi Realport CD. For instructions on how to install RealPort from a file or diskette, see the release notes or http://supportold.digi.com/techsupport/unix/dgux/dguxrp.html.

Procedure

  1. Place the CD in the system CD drive.
  2. If it does not already exist, create a /usr/digi directory using this command at a root prompt:

    mkdir /usr/digi

    The directory /usr/digi MUST be used.

  3. Mount the CD drive using the command

    mount -t cdrom [devicename] /usr/digi

    where devicename is the name of the CD on your system. A common CD device name is /dev/pdsk/2.

  4. Change to the /usr/digi directory: 

    cd /usr/digi

  5. If you want to use the X Window System version of the Menu Program, ensure that the X Windows System is running.
  6. Enter one of the following at the command prompt:

    unix_xwin (X Windows System version)

    unix_char (Curses version)

    The Access Resource Menu appears.

  7. Select the appropriate operating system and Install Drivers from the Access Resource menu.

    The installation script runs and installs the RealPort files.

  8. Unmount the CD by entering this command at a root prompt:

    umount [devicename]

    Be sure that the CD is not being accessed when this command is entered. This is the case if a prompt has a pwd (working directory name) location of /usr/digi, or if a window has a working directory of /usr/digi.

  9. Remove the CD from the CD drive.
  10. Configure the RealPort devices by editing the file /etc/realport.conf.

    If you want to use server-port style short names for RealPort devices (this is suggested, see RealPort Devices), first add the line

    server-port-names on

    Then for each PortServer add a line of the form:

    server [server_number] [server_address] [port_count]

    server_number an id number specifying the server, normally begins at 0 and counts up for each PortServer
    server_address an IP address or hostname for the PortServer-the hostname can be configured in sysadm by choosing Networking > TCP/IP > Databases > Hosts > and Add.
    port_count the number of ports on the PortServer, including all ports on extension modules connected to the PortServer

    Other options to the server command and other commands that can be used in the realport.conf file are described in the comments at the top of /etc/realport.conf.proto and in the release notes.

  11. Add an entry in the /etc/hosts file for each PortServer. It is important that each PortServer have an entry in the /etc/hosts file with an IP address and a name. This can also be done with the sysadm program by selecting Networking > TCP/IP > Databases > Hosts > Add.
  12. Install the RealPort driver in the kernel by running /usr/sbin/realport_install.

    realport_install [system_name]

    The system_name is the name of the kernel where the RealPort driver will be installed; normally this will be aviion. The release notes describe other arguments to realport_install and other methods of installing the RealPort driver in the kernel.

  13. Reboot to start the RealPort driver.

    To reboot use sysadm and choose System, Kernel, and Reboot.

  14. To add or remove PortServers or to change the RealPort configuration repeat the last three steps above: edit /etc/realport.conf, run realport_install, and reboot.