Install the driver: TGZ method

The following procedure can be used in any Linux environment. It is the only choice available for environments which do not support RPM.

Certain commands used in the following procedure need to be entered with the correct package version and revision number. Refer to the release notes for version and revision (release) numbers.

For this command:

Enter:

tar -xvzf dgrp-version revision.tgz
tar -xzvf dgrp-1.0-2.tgzrpm
  1. Download the Linux RealPort TGZ file from the Digi Support site.

    1. Navigate to Digi RealPort support page.

    2. Scroll down to the Product Resources section.

    3. From the Drivers & Patches section, click RealPort Driver. The RealPort Driver page displays.

    4. From the list box, select the Linux option.

    5. Click download for the RealPort Driver for Linux, tgz version option to download the file.

  2. Select a directory (such as /usr/src) where the source tree will reside, and unpack the compressed archive file there. For example:

    cd /usr/src

    tar -xvzf dgrp-version-revision.tgz

    This will create a subdirectory called dgrp-version containing all of the RealPort source files.

  3. Change directory to the root of the source directory tree.

    cd /usr/src/dgrp-version
  4. Create the Makefile script.

    ./configure

    Note Occasionally a Linux vendor will ship a kernel that cannot be autodetected to add the various changes that might be required for that specific kernel. Because of this, there is an option for both srpm and tgz to indicate exactly what distribution you have. Currently, the recognized options are for:

    • Red Hat 7.2 - REDHAT_72
    • Red Hat 7.3 - REDHAT_73
    • Red Hat 8.0 - REDHAT_80
    • Red Hat 9.0 - REDHAT_90
    • Red Hat Fedora Core 1, 2, or 3 - FEDORA
    • Red Hat AS/ES/WS 2.1 - REDHAT_AS_21, REDHAT_ES_21, REDHAT_WS_21
    • Red Hat AS/ES/WS 3.0 - REDHAT_AS_3 / REDHAT_ES_3 / REDHAT_WS_3

    For example, to indicate to srpm that you have Red Hat 9, run this command instead:

    * rpmbuild --rebuild --define DISTRO=REDHAT_9 DRIVER_PACKAGE_NAME.srpm

    To indicate to tgz that you have Red Hat AS 3, run this during the configure phase:

    * ./configure DISTRO=REDHAT_AS_3
  5. Examine the Makefile and make modifications as required by your system environment. Common items to check would include destination directories, naming conventions, and compiler details.

  6. When satisfied with the state of the Makefile and other source files, compile the driver and its support tools by entering:

    make all
  7. Install the package components with:

    make install
  8. Register your module with the system initialization scripts by entering:

    make postinstall

    Note Do not delete the source tree since the makefiles are necessary for the uninstall procedure.