Solaris Smartcard Administration Guide

To Add a Sun SCRI External Card Reader 1

  1. Attach the external card reader to the system.

    Physically attach the external smart card reader to the serial port, following instructions in the card reader documentation.

  2. Become superuser on the system where you are attaching the card reader.

  3. Add the Sun SCRI External Card Reader 1 by typing, for example, the following command on one line:


    # smartcard -c admin -t terminal 
    -j com.sun.opencard.terminal.scm.SCMStc.SCMStcCardTerminalFactory 
    -x add -d /dev/cua/b -r MyExternalReader -n SunSCRI
    

    -c admin

    Indicates that you are viewing or modifying OCF properties. 

    -t terminal

    Indicates you are configuring a card reader. 

    -j

    com.sun.opencard.terminal.scm.SCMStc.SCMStcCardTerminalFactory

    The card terminal factory name of the Sun SCRI External Card Reader 1. 

    Be careful to type the card terminal factory name following -j option exactly as shown in the procedure above, with no spaces or returns between characters.

    -x add

    Indicates that you want to add a card reader. 

    -d /dev/scmi2c0

    Defines the device port where the card reader is attached. 

    -r MyExternalReader

    Specifies a unique name for the SCRI External Card Reader 1. 

    -n SunSCRI

    Indicates the model name for the SCRI External Card Reader 1. 

  4. Stop ocfserv.


    # pkill ocfserv
    

    The ocfserv process is restarted the next time you use the Smartcard Console or execute the smartcard command.