You are viewing an article about an obsolete product. Information on this page is provided as-is and not supported.

Installing RealPort Source RPM Driver in RedHat Linux

Be sure there are no existing RealPort drivers installed on the system. If so, please remove prior to installing newer versions.

1. Kill all processes running on the ports including gettys.

2. Remove the module:

# rmmod dgrp

3. Remove the driver:

# rpm -e dgrp

Installation preparation in Linux:

Verify your kernel source is installed and matches your running kernel by typing:

# rpm -qa | grep kernel-source
# uname -r

The version numbers and extensions must match.

Log the installation

# script

In the directory where the driver source rpm is located, issue the rpmbuild command with the --define flag to specify the Red Hat distribution version.

The following example is for Red Hat AS 2.1:

# rpmbuild --rebuild --define DISTRO=REDHAT_AS_21 40002086_S.src.rpm

Other valid Red Hat DISTRO flags:

Red Hat 7.2 - REDHAT_72
Red Hat 7.3 - REDHAT_73
Red Hat 8 - REDHAT_8
Red Hat 9 - REDHAT_9
Red Hat Fedora - FEDORA
Red Hat ES 2.1 - REDHAT_AS_21
Red Hat AS 2.1 - REDHAT_AS_21
Red Hat WS - REDHAT_WS_3

*Red Hat ES/WS 5 and 6 do not require an installation distribution flag.

# cd /usr/src/redhat/RPMS/(arch)

Where (arch) refers to the architecture. For example i386, x86_64, etc.

Change to the directory where the rpm package was built:

# cd /usr/src/redhat/RPMS/i386

For Red Hat WS/ES/EL 6:

# cd /root/rpmbuild/RPMS/(arch)

Use rpm to install the new driver package by typing:

# rpm -ivv dgrp-1.9-31.i386.rpm

Replace i386 with the architecture for your system.

Load the module by typing and configure your Digi PortServer units using the graphical tool from an Xterm/graphical session:

# /usr/bin/dgrp/config/dgrp_gui

Configuring from the command line:

# dgrp_cfg_node init (ttyid) (ip_address) (number_of_ports)

The following example configures a 16 port PortServer with device names of ttya00 through ttya15:

# dgrp_cfg_node init a 16

Completing the installation, press:

# [Ctrl] d

If any errors occur during this installation, please send the file named typescript located in the directory where you began this installation to Tech Support for analysis.

Upon successful installation your devices will be labeled /dev/tty[id][00-99]. The id is specified during the dgrp configuration.

Last updated: May 09, 2019

Filed Under


Recently Viewed

No recently viewed articles

Did you find this article helpful?