From: Vladimir Istrati <bob@kp.md>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] HASP на ALS 4.0
Date: Thu, 3 Apr 2008 13:26:05 +0300
Message-ID: <1207726795.20080403132605@kp.md> (raw)
In-Reply-To: <1887466854.20080402231030@kp.md>
VI> Отчет! :))
Продолжение...
VI> А вот здесь - засада:
VI> Starting ASUSB daemon: /etc/init.d/aksusbd: line 18:
VI> /usr/sbin/checkpc: no such file or directory
VI> там:
VI> # run checkpc to fix whatever lpd would complain about
VI> /usr/sbin/checkpc -f
VI> гугление дало, что checkpc - состоит в LPRng, которого в репозитариях
VI> нет. Да и сам checkpc нигде не содержится (в пакетах).
VI> Самое интересное, что сервис стартует (Done). Но я его нигде (ps -aux,
VI> pstree) не наблюдаю!
VI> Ремаркирование "/usr/sbin/checkpc -f" убрало раздражающую надпись, но
VI> процесса я по-прежнему не вижу!
VI> да и modprobe aksparlnx не дает обещанной строчки о наличии драйвера
Каюсь, ступил - время было позднее. :)
После исправления HardLock -> Hardlock все вроде бы заработало.
Но! Вопрос с checkpc остался. "Заработало" - это в том смысле, что
сервисы поднялись. Проверки ( getports, lxdrvver) - как в инструкции.
#getports
Aladdin driver accesses the following 1 ports:
0378 (0001) - parport port
#lxdrvver
Aladdin driver version is: 1.07
Driver's API version is: 3.88
# haspdemo
HASP API demonstration program implemented for C
Copyright (c) 2001, Aladdin Knowledge Systems Ltd.
Select which services you want to perform:
1 - HASP4 Std. HASP4 M1 and HASP4 M4 services
2 - HASP4 Time services
3 - HASP4 Net services
-> 1
Enter the first HASP password (0 for DEMOMA) : 0
Check for any HASP key : HASP key found.
Encoded data is : .Ё6;hъ[T%╢..З║╡Cmм_╧щ╚2шбйI..╩`q...Ь.
Decoded data is : Failed. Error number: -3.
Encoded again : Failed. Error number: -3.
Get HASP status : Memory size: 0, HASP type: 0, Actual LptNum: 0
$ netstat -anp | grep aks
unix 2 [ ACC ] STREAM LISTENING 7521 4467/aksusbd /tmp/.aksusb
unix 3 [ ] STREAM CONNECTED 7520 4467/aksusbd
$ netstat -anp | grep hasp
udp 0 0 0.0.0.0:475 0.0.0.0:* 25341/hasplm
unix 3 [ ] STREAM CONNECTED 7552 4483/hasplm
cat /var/log/syslog/messages | grep aks
Apr 3 09:44:33 kp aksusbd[4467]: loaded, daemon version: 1.5, key API (parallel) version: 3.88 (USB access not available)
Apr 3 09:44:33 kp aksusbd: aksusbd startup succeeded
cat /var/log/syslog/messages | grep hasp
Apr 3 09:44:33 kp hasplm[4483]: HASP LM v8.30 loaded
Apr 3 09:44:33 kp hasplm: hasplm startup succeeded
при ./build --install был warning:
could not find /home/bob/tmp/akspalnx-1.7-i386/.api.o.cmd for
/home/bob/tmp/akspalnx-1.7-i386/api.o
и
strip --strip-debug --discard-all aksparlnx.ko
aksparlnx.ko - сгенерился туда, куда и предполагалось:
/lib/modules/2.6.18-ovz-smp-alt23/misc
Ключ из сети не видится... Это правильно, что порт 475 не LISTENING?
Или его надо еще и явным образом объявить? (где?)
Как снаружи еще можно проверить? (Ни Monitor, ни DiagnostiX из-под XP
сервера лицензий не обнаруживают)
Если здесь все нормально - значит буду пытаться разбираться с
виндовыми машинами... А уверенности нет...
--
Best regards,
Vladimir mailto:bob@kp.md
next prev parent reply other threads:[~2008-04-03 10:26 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-28 18:31 Vladimir Istrati
2008-03-28 18:27 ` Led
2008-03-29 7:57 ` Денис Смирнов
2008-03-29 7:23 ` Alex Moskalenko
2008-03-29 9:52 ` Vladimir Istrati
2008-04-02 20:10 ` Vladimir Istrati
2008-04-03 10:26 ` Vladimir Istrati [this message]
2008-04-03 12:04 ` Konstantin Orloff
2008-04-03 12:37 ` Алексей Шенцев
2008-04-04 9:09 ` Vladimir Istrati
2008-04-22 11:32 ` Вадим Илларионов
2008-04-22 12:06 ` Vladimir Istrati
2008-04-22 14:45 ` Вадим Илларионов
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1207726795.20080403132605@kp.md \
--to=bob@kp.md \
--cc=sysadmins@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git