вторник, 11 февраля 2014 г.

Установка сетевого HASP ключа 1С Предприятия на Debian 7.х

Первым делом качаем файлики haspd-modules_ и haspd_ с сайта http://ftp.etersoft.ru/pub/Etersoft/HASP/ и вставляем HASP ключ. У меня они имели следующие названия:
haspd-modules_3.3-eter5debian_i386.deb
haspd_3.3-eter5debian_i386.deb

Устанавливаем их:
dpkg -i haspd-modules_3.3-eter5debian_i386.deb haspd_3.3-eter5debian_i386.deb

Правим настройки в файле /etc/haspd/hasplm.conf . Конкретно, туда надо добавить строку, которая укажет, в какой сети/сетях слушать порт 475
NHS_IP_LIMIT = 192.168.1.0/28, 192.168.1.16/28




Запускаем службу /etc/init.d/haspd start. Проверяем статус /etc/init.d/haspd status


Hardware protection keys support bundle. Etersoft (c) 2008-2012
HASPD package 3.3 with /dev/bus/usb support
Aladdin HASP 4/HL/SRM driver status:
    kernel module aksparlnx is not loaded (WARNING: HASP LPT keys support is disabled! Run service haspd build if needed.)
    aksusbd is running
    winehasp is running
    hasplm is running
    hasplmd is running
Daemon version: 1.14 (#7779) - key API (USB) version: 3.88 (parallel driver not available)
Smartkey 3 USB/LPT driver status:
    skeyd is stopped
SafeNet Sentinel status:
    usbsentinel is stopped
    SntlKeysSrvrlnx is stopped

Проверяем слушается ли порт netstat -lunp | grep hasplm

udp        0      0 0.0.0.0:1947            0.0.0.0:*                           31544/hasplmd
udp        0      0 0.0.0.0:475             0.0.0.0:*                           31535/hasplm
udp        0      0 0.0.0.0:44262           0.0.0.0:*                           31544/hasplmd


Все, теперь только нужно указать на клиентских компьютерах в файле nethasp.ini адрес нашего сервера, в который вставлен HASP ключ.

Комментариев нет:

Отправить комментарий