Solaris Smartcard Administration Guide

ProcedureTo Add a Card Reader (Console)

Instructions for adding a card reader from the Smartcard Console are shown here.

Steps
  1. Verify that the ocfserv daemon is enabled.

    The following command provides the status of the service.


    % svcs network/rpc/ocfserv
    

    Note –

    Before you make any changes to Smartcard, you must make sure that the ocfserv daemon is enabled.


  2. (Optional) If necessary, as root, enable the ocfserv daemon.


    # svcadm enable network/rpc/ocfserv
    
  3. Start the Solaris Smartcard Console.

    Run sdtsmartcardadmin from the command line or select sdtsmartcardadmin from the Workspace menu.

  4. Click Card Readers in the Navigation pane.

    The Add Reader and IFD Terminal icons are displayed in the Console pane. Icons for any other enabled card reader types are also displayed.

  5. Double-click Add Reader in the Console pane.

    The Add Reader dialog box is displayed. You can also display the Add Reader dialog box by selecting Add Reader in the Console pane and choosing Properties in the Action menu.

  6. Double-click the IFD Card Terminal Reader, select the card reader, and click OK.

    The Card-Readers dialog box is displayed.

  7. Select the Basic Configuration tab.

    This tab is selected by default.

  8. Type a name for the reader in the Unique Card Terminal Name field.

    Leave the current name if you do not want to change the name. Do not include any spaces in the name.

  9. From the Device Port pulldown menu, select the port that the card reader is attached to.

    The Sun Internal Card Reader is attached to /dev/scmi2c0 by default.

  10. Enter the IFD handler location in the IFD Handler field.

    This is the full-path location of the IFD handler. The IFD handler for the internal reader is in /usr/lib/smartcard/ifdh_scmi2c.so.

  11. Click Apply or OK.

    The IFD Terminal is displayed in the Console pane. A dialog is displayed, stating that the OCF Server must be restarted to complete the operation.

  12. Click Restart OCF Now to add the internal reader.

    The internal reader is not added until OCF is killed and restarted.


    Note –

    If you do not restart OCF now, you must restart OCF from the command line to add the internal reader.


    # svcadm restart network/rpc/ocfserv
    

    The ocfserv process is restarted the next time you start the Smartcard Console or issue the smartcard command.


See Also

For command-line instructions, see Adding a Card Reader.