In January 2021, ATOL stopped the development of the HUB-UTM project. The site has a firmware for Atol-Hub20 with the ability to install UTM 4.x, but UTM does not start. We launch UTM4 by replacing the Java binaries and libraries and the PKCS # 11 library.
All actions for installing the image and subsequent manipulations for installing and configuring the software are your own initiative. Atol licenses are not retained.
Download the system image from the ATOL Download Center website .
We unpack the archive. We need the "Debian9.img" image. We write it to a USB flash drive (for this I used Rufus).
Turn off Atol (do not forget to accept and send all UTM documents, if necessary, archive the database). Insert the USB flash drive into any port and turn on Atol. You will boot Linux armbian OS. At boot time, you will be prompted to change the root password (default password is 1234) and create a limited user.
We connect via SSH, enter the password 1234, then the new password
The system will reboot. We enter under the created user.
The first step is to add the x86 package architecture and update
sudo bash
dpkg --add-architecture i386
apt update
apt upgrade
install the smart card access service
apt-get install pcscd
install x86 smart card access middleware
apt-get install libpcsclite1:i386
install the supervisor service with a package from the Debian repository
apt-get install supervisor
Installing x86 Application Support Libraries
apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 libssl1.0.2:i386
( u-trans-4.2.0-2403)
wget http://egais.ru/files/u-trans-4.2.0-2403-i386-test.deb
( JaCarta, Rutoken ).
dpkg -i u-trans-4.2.0-2400-i386-test.deb
supervisorctl stop utm
Java
apt-get install openjdk-8-jdk
apt-get install default-jre
java
cp -v /usr/lib/jvm/java-8-openjdk-arm64/jre/bin/* /opt/utm/jre/bin
cp -Rv /usr/lib/jvm/java-8-openjdk-arm64/jre/lib /opt/utm/jre
Rutoken
wget https://download.rutoken.ru/Rutoken/PKCS11Lib/2.1.1.0/Linux/others.zip
unzip others.zip
cp -v /home/user/ARM/aarch64/librtpkcs11ecp.so /opt/utm/lib/librtpkcs11ecp.so
cp -v /home/user/ARM/aarch64/librtpkcs11ecp.so /opt/utm/lib/librtpkcs11ecp-replica.so
supervisorctl start utm
USB.
. . !!!
nand-sata-install
Remove installed Transport Module
Rename UTM catalog
Install new version
Copy jre and lib folders from old directory
wget http://egais.ru/files/u-trans-4.2.0-2403-i386.deb
dpkg --purge u-trans
cp -R /opt/utm /opt/utm_old
rm /opt/utm
dpkg -i u-trans-4.2.0-2403-i386.deb
supervisorctl stop utm
cp -Rv /opt/utm_old/jre /opt/utm
cp -Rv /opt/utm_old/lib /opt/utm
supervisorctl start utm
Link to the image of a flash drive with a test circuit installed (9GB)