Home > Support > Knowledge Base > Knowledge Base Article

How to Install RealPort in Red Hat or CentOS 6


First ensure the following package dependencies are installed on your system:

make, rpm-build, bash, gcc, glibc-devel, kernel-devel, kernel-headers, ncurses-devel, perl, and tcsh.

The kernel-devel and kernel-headers packages must match your running kernel exactly (as shown from the uname -r command).

Installed packages can be checked using rpm.  For example:

#  rpm -qa | grep rpm-build

Linux packages are typically installed using yum.  For example:

#  yum install [package_name]


Download the latest source rpm driver package:

http://www.digi.com/support/productdetail?pid=2247&type=drivers

Capture and begin the driver compilation/installation:

# script 

# rpmbuild --rebuild 40002086_[X.]src.rpm

Change to directory /root/rpmbuild/RPMS/(arch):

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

Where (arch) represents your system architecture (for example:  i386, x86_64, etc...).  

Use rpm to install the new driver package by typing:

# rpm -ivv dgrp-(version).(arch).rpm

Configure the adapters and load the module by typing the following from an XWindow or Xterm session:

# dgrp_gui

Alternatively, to configure the adapter from the command line (non-GUI):

# 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 192.168.1.1 16

Completing the installation, press:

# [Ctrl] d

A successful installation will create devices labeled /dev/ttyx## (where x represents the ttyid selected during the configuration). The adapter and port status can be confirmed with DPA (Digi Port Authority):

# dpa.dgrp

If the installation failed, a file called "typescript" will have been created in the directory you were in when you typed the "script" command.  Please send this to Digi Tech. Support for analysis.

Contact a Digi expert and get started today! CONTACT US

Desktop Site