Install Omnikey 3121 in Debian Difficulty

There are 8 replies in this Thread which was already clicked 2,400 times. The last Post () by master G.

  • I followed this guide the Debian way
    http://linuxsat-support.com/li…key-readers-linux-pc.html
    And I get this
    root@????:~# opensc-tool list-readers -l
    [opensc-tool] ctx.c:628:process_config_file: scconf_parse failed: Line 54: not expecting '0..3'
    Error: can't open /var/run/openct/status: No such file or directory
    Error: can't open /var/run/openct/status: No such file or directory
    Error: can't open /var/run/openct/status: No such file or directory
    Error: can't open /var/run/openct/status: No such file or directory
    Error: can't open /var/run/openct/status: No such file or directory
    Error: can't open /var/run/openct/status: No such file or directory
    Error: can't open /var/run/openct/status: No such file or directory
    Error: can't open /var/run/openct/status: No such file or directory
    Error: can't open /var/run/openct/status: No such file or directory
    Error: can't open /var/run/openct/status: No such file or directory
    Error: can't open /var/run/openct/status: No such file or directory
    Error: can't open /var/run/openct/status: No such file or directory
    Error: can't open /var/run/openct/status: No such file or directory
    Error: can't open /var/run/openct/status: No such file or directory
    Error: can't open /var/run/openct/status: No such file or directory
    Error: can't open /var/run/openct/status: No such file or directory
    [opensc-tool] reader-pcsc.c:906:pcsc_detect_readers: SCardEstablishContext failed: 0x8010001d
    [opensc-tool] reader-pcsc.c:1015:pcsc_detect_readers: returning with: No readers found
    Readers known about:
    Nr. Driver Name
    0 openct OpenCT reader (detached)
    1 openct OpenCT reader (detached)"


    I may have interpreted these lines incorrectly:



    And change thise lines by removing # from front and reader_drivers lines u delete one comand too:


    reader_drivers = pcsc, ctapi;
    try_emulation_first = yes;
    lock_login = false;


    What command do I delete ?
    This what I did for line 54(seems to be error) :


    reader_driver ctapi {
    module /usr/local/towitoko/lib/libtowitoko.so {
    CT-API ports:
    0..3 COM1..4
    4 Printer
    5 Modem
    6..7 LPT1..2
    There is no module /usr/local/towitoko/lib/libtowitoko.so
    Help very much appreciated

  • Thanks very much for quick reply. i get this after I FTP and reboot. The card reader-Omnikey 3121. On front it has LH led lit but RH one is not
    root@?????:~# opensc-tool -l
    [opensc-tool] reader-pcsc.c:906:pcsc_detect_readers: SCardEstablishContext failed: 0x8010001d
    [opensc-tool] reader-pcsc.c:1015:pcsc_detect_readers: returning with: No readers found
    No smart card readers found.

    • Official Post

    Try swapping reader so you know that neither are faulty, if ok then its probably best to reinstall the omnikeys from scratch.
    The output should look like this




    Uninstall with this command

    Code
    apt-get remove opensc pcscd libccid


    Reboot then reinstall opensc pcscd libccid, the file i gave you should be good to use again it was only created yesterday on debiam 6.0.5.

  • I'm using Debian GNU/Linux 6.0 \n \l with automatic update on
    I have followed your instructions and very grateful for help and I get this:


    root@?????:~# apt-get remove opensc pcscd libccid
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
    libopenct1 libopensc2 hal hal-info
    Use 'apt-get autoremove' to remove them.
    The following packages will be REMOVED:
    libccid opensc pcscd
    0 upgraded, 0 newly installed, 3 to remove and 2 not upgraded.
    2 not fully installed or removed.
    After this operation, 1,270 kB disk space will be freed.
    Do you want to continue [Y/n]? y
    (Reading database ... 127005 files and directories currently installed.)
    Removing pcscd ...
    /etc/init.d/pcscd: 150: Syntax error: Unterminated quoted string
    invoke-rc.d: initscript pcscd, action "stop" failed.
    dpkg: error processing pcscd (--remove):
    subprocess installed pre-rem***l script returned error exit status 2
    configured to not write apport reports
    insserv: warning: script 'noip2' missing LSB tags and overrides
    /etc/init.d/pcscd: 150: Syntax error: Unterminated quoted string
    invoke-rc.d: initscript pcscd, action "start" failed.
    dpkg: error while cleaning up:
    subprocess installed post-installation script returned error exit status 2
    Removing libccid ...
    /etc/init.d/pcscd: 150: Syntax error: Unterminated quoted string
    invoke-rc.d: initscript pcscd, action "restart" failed.
    dpkg: error processing libccid (--remove):
    subprocess installed post-rem***l script returned error exit status 2
    configured to not write apport reports
    Removing opensc ...
    Processing triggers for man-db ...
    Errors were encountered while processing:
    pcscd
    libccid
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    reboot and then


    # apt-get install opensc pcscd libccid
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    libccid is already the newest version.
    pcscd is already the newest version.
    The following NEW packages will be installed:
    opensc
    0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
    2 not fully installed or removed.
    Need to get 0 B/423 kB of archives.
    After this operation, 680 kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Selecting previously deselected package libccid.
    (Reading database ... 126956 files and directories currently installed.)
    Preparing to replace libccid 1.3.11-2 (using .../libccid_1.3.11-2_i386.deb) ...
    Unpacking replacement libccid ...
    Selecting previously deselected package opensc.
    Unpacking opensc (from .../opensc_0.11.13-1.1_i386.deb) ...
    Processing triggers for man-db ...
    Setting up libccid (1.3.11-2) ...
    /etc/init.d/pcscd: 150: Syntax error: Unterminated quoted string
    invoke-rc.d: initscript pcscd, action "restart" failed.
    dpkg: error processing libccid (--configure):
    subprocess installed post-installation script returned error exit status 2
    configured to not write apport reports
    dpkg: dependency problems prevent configuration of pcscd:
    pcscd depends on libccid | pcsc-ifd-handler; however:
    Package libccid is not configured yet.
    Package pcsc-ifd-handler is not installed.
    Package libccid which provides pcsc-ifd-handler is not configured yet.
    dpkg: error processing pcscd (--configure):
    dependency problems - leaving unconfigured
    Setting up opensc (0.11.13-1.1) ...
    configured to not write apport reports
    Errors were encountered while processing:
    libccid
    pcscd
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    Also Pcsc-tools not working now although I reinstalled it i get similar to above
    Nice to learn a bit of linux but totally lost now. Reinstall Debian ??

  • Its stil giving same errors. I have disconnected the omnikey reader and tried also and I reboot after each try. I also tried Synaptic packet manager without sucess but it is reporting it as a 'broken package'. can i safely delete the files associated and reinstall. But i would need info on the specific files or directories. Or do the get out quick approach and reinstall Debian. done it so many times now my comp is even getting it done almost automatically

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!