HOW TO: Install the RealPort Driver rpm in Ubuntu Linux

The latest source rpm driver supporting the latest kernels is available for download from:

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

Make certain the rpm, alien, kernel-headers and the libncurses5-devel packages are installed on the system.

Driver installation:

Make a symbolic link the bash shell in place of dash (there are problems using dash):

sudo rm /bin/sh
sudo ln -s /bin/bash /bin/sh

sudo script
sudo rpmbuild --rebuild (driver-ver).src.rpm
sudo alien -d --scripts /usr/src/rpm/RPMS/(arch)/dgrp-(ver).(arch).rpm
sudo dpkg -i dgrp_(ver+1)_(arch).deb


Where (arch) represents the system architecture and (ver) represents the driver version. The (ver+1) represents alien incrementing the version number by 1. For example, dgrp-1.9-36.x86_64.rpm will be labeled dgrp_1.9-37.x86_64.deb.

exit

Configure the daemon/ports:

sudo dgrp_gui

or for non-graphical configuration:

dgrp_cfg_node init [tty ID] [Digi IP] [Number of ports]

Example:

# dgrp_cfg_node init a 192.168.0.4 16

The above command configures the Digi unit with IP address 192.168.0.4 and 16 ports to have tty ID's of ttya00 through ttya15.

If errors are seen, the file called typescript residing in the directory where the script command can be used for debugging.

Last updated: Jan 03, 2024

Filed Under

Network

Recently Viewed

No recently viewed articles

Did you find this article helpful?