How to install Omnikey readers on Linux PC

    • Official Post

    ClearOs/Fedora/CentOS way


    Code
    yum install opensc pcsc-lite ccid


    Code
    chkconfig pcscd on


    Code
    service pcscd start


    Debian way


    Code
    apt-get install opensc pcscd libccid


    Next command:


    Code
    nano /etc/opensc/opensc.conf


    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;


    Remove this line;


    provider_library = /lib/libpcsclite.so.1


    If that is done hit from keyboard ctrl+o and enter, then ctrl+x to exit


    Next give command:


    Quote

    opensc-tool --list-drivers


    And you should see your reader there present like so, but with your reader info. Example:


    Readers known about:
    Nr. Driver Name
    0 pcsc Omnikey 1020


    How to disable pcscd never ending login to /var/log/messages what can write your /var partition full after some time.
    Please enter next commands under putty or over terminal command line as root:
    nano /etc/init.d/pcscd


    There look next lines:

    Code
    # if you need to pass arguments to pcscd you should edit the file
    # /etc/default/pcscd and add a line
    # DAEMON_ARGS=??your-option?


    And please change it to:

    Code
    # if you need to pass arguments to pcscd edit to:
    # /etc/default/pcscd and add a line
    DAEMON_ARGS="-e"


    And hit from the keyboard ctrl+o and enter to save the changes and ctrl+x to exit


    Next command to restart pcsc:


    Code
    /etc/init.d/pcscd restart


    Done. No more log from pcsc except start up log if you restart the PC and if there is error.


    ????????-


    Ubuntu way


    Code
    sudo apt-get install opensc pcscd libccid


    Next command:


    Code
    nano /etc/opensc/opensc.conf


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

    Code
    reader_drivers = pcsc, ctapi;
    try_emulation_first = yes;
    lock_login = false;
    provider_library = /lib/libpcsclite.so.1


    If that is done hit from keyboard ctrl+o and enter, then ctrl+x to exit


    Next give command:


    Code
    opensc-tool list-readers


    And you should see your reader there present like so, but with your reader info. Example:


    Readers known about:

    Code
    Nr. Driver Name
    0 pcsc Omnikey 1020


    How to disable pcscd never ending loggin to /var/log/messages what can write your /var partion full after some time.
    Please enter next commands under putty or over terminal command line as root:
    nano /etc/init.d/pcscd


    There look next lines:

    Code
    # if you need to pass arguments to pcscd you should edit the file
    # /etc/default/pcscd and add a line
    # DAEMON_ARGS=??your-option?


    And please change it to:

    Code
    # if you need to pass arguments to pcscd edit to:
    # /etc/default/pcscd and add a line
    DAEMON_ARGS="-e"


    And hit from the keyboard ctrl+o and enter to save the changes and ctrl+x to exit


    Next command to restart pcsc:

    Code
    /etc/init.d/pcscd restart


    Done. No more log from pcsc except start up log if you restart the PC and if there is error

  • master G

    Added the Label Article

Participate now!

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