Solaris Smart Cards Administration Guide

How to Add an iButton Reader (Command Line)

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

  2. Ensure that you have already physically attached 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.

  3. Add the iButton reader by typing the following command on one line. For example:


    # smartcard -c admin -t terminal 
    -j com.ibutton.oc.terminal.jib.iButtonCardTerminalFactory 
    -x add -d /dev/cua/b -r MyButtonReader -n DS1402
    

    -c admin

    Indicates that you are viewing or modifying OCF properties. 

    -t terminal

    Indicates you are configuring a card reader. 

    -j com.ibutton.oc.terminal.jib.iButtonCardTerminalFactory

    Identifies the card terminal factory name of the iButton reader. 

    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/cua/b

    Defines the device port where the card reader is attached. 

    -r MyButtonReader

    Specifies a unique name for the iButton reader. 

    -n DS1402

    Indicates the model name for the iButton card reader. 

  4. Stop ocfserv.


    # pkill ocfserv
    

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