Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated for Linux 8

...

  1. Login as the superuser ("root") on the host system. Because Sentinel HASP runtime relies on 32-bit compatibility libraries to run on Linux, the 32-bit compatibility libraries must be installed before continuing. If the emulator host has access to a package repository, either local or remote, use the following command:

    # yum install glibc.i686

    (info) Sometimes it is not possible to use an online repository for the installation of 32-bit glibc package. In this case the procedure described in the appendixes has to be used: glibc.i686 installation without Internet connection

    .

  2. Create a directory for the CHARON-AXP distribution as shown in the following example:

    # mkdir /charon_dist

    .

  3. On RHEL/CentOS 7 and 8, the "libev" package is required. If it is reported as missing during CHARON installation on RHEL 7/8, check that the repository "extras" is included and enabled, if not, include and enable it. Please refer to your Linux distribution administrator's guide.
    Example for RHEL 7.x:

    yum-config-manager --enable rhel-7-server-extras-rpms


...

# cp /tmp/charon-axp-<VER>-<BN>.<ZZ>.tar.gz /charon_dist
# cd /charon_dist

where:

ItemDescription

VER

Version of CHARON-AXP product, for example 4.11

BN

Build Number of CHARON-AXP product, for example 20404

ZZ

CHARON-AXP target operating system identifier where:

  • ZZ = "el8" for CentOS/Red Hat Enterprise Linux 8
  • ZZ = "el74" for CentOS/Red Hat Enterprise Linux 7
  • ZZ = "el65" for Red Hat Enterprise Linux 6

Extract the contents of the distribution .tar.gz file to the current directory:

# cd /charon_dist
tar -xvzf charon-axp-<VER>-<BN>.<ZZ>.tar.gz

Example:

tar -xvzf charon-axp-4.11-20404.el74.tar.gz 

...

The distribution directory contains the following RPM files:

File nameDescription
aksusbd-7.63-1.i386.rpmHASP Run-time
charon-axp-VER-BN.ZZ.x86_64.rpmCHARON-AXP

charon-license-VER-BN.ZZ.x86_64.rpm

CHARON Libraries

charon-mtd-VER-BN.ZZ.x86_64.rpmMTD utility

charon-utils-VER-BN.ZZ.x86_64.rpm

CHARON Utilities

Example:

# ls
aksusbd-7.63-1.i386.rpm
charon-axp-4.11-20404.el74.x86_64.rpm
charon-license-4.11-20404.el74.x86_64.rpm
charon-mtd-4.11-20404.el74.x86_64.rpm
charon-utils-4.11-20404.el74.x86_64.rpm

...

To choose an interface to be used for CHARON networking, do the following:

# ifconfigifconfig
eth0 Link encap:Ethernet HWaddr 00:60:52:0A:A9:1E
... 
eth1 Link encap:Ethernet HWaddr 00:C0:26:60:FB:15 
...
eth2 Link encap:Ethernet HWaddr 00:1A:92:E1:3F:7F

...

Determine what additional parameters are currently set to "on" on the host network adapter to be used by CHARON using the following command:

# eethtool -k <device>

Example:

# ethtool ethtool -k eth1
Offload parameters for eth1:
rx-checksumming: on
tx-checksumming: on
scatter-gather: on
tcp-segmentation-offload: off
udp-fragmentation-offload: off
generic-segmentation-offload: on
generic-receive-offload: off
large-receive-offload: off

Use "ethtool" to switch off all the offload parameters:

# e# ethtool -K <device> <parameter> off

Example:

# ethtool ethtool -k eth1
Offload parameters for eth1:
rx-checksumming: on
tx-checksumming: on
scatter-gather: on
tcp-segmentation-offload: off
udp-fragmentation-offload: off
generic-segmentation-offload: on
generic-receive-offload: off
large-receive-offload: off

...

Let's suppose the name of the file is "offload_off_eth1.txt". To execute it on system startup, execute the following command (example):

cat offload_off_eth1.txt >> /etc/rc.d/rc.local

...