Hi Wei,

I have muscle working on a Sunblade with Solaris 9 (sparc) and the internal reader.

You will need to use the PCSCShim package supplied by Sun ("PCSCshim-1.0-sol9-sun4u-local"), which you can get from : http://www.linuxnet.com/middleware/files/PCSCshim-1.0-sol9-sun4u-local.tgz

This package provides a PCSC interface to the Solaris OCF smartcard framework so your internal reader has to be registered with ocfserv.

To register your reader you must:

1) Make sure ocfserv is running (ps -ef | grep ocfserv). If its not then execute "/usr/sbin/ocfserv" 2) Open the "Solaris SmartCard Console" found in "/usr/dt/bin/sdtsmartcardadmin"
3) Select "Card Readers"  then "Add Reader"
- Reader type: "IFD Card Terminal Reader"
- Device port: "/dev/scmi2c0"
- IFDHandler: "/usr/lib/smartcard/ifdh_scmi2c.so"

The PCSCshim libs usually install in /opt/PCSCshim/lib so make sure you add this to your LDFLAGS when configuring and compiling libmusclecard. You want libmusclecard to link to the PCSCshim version of libpcsclite NOT your own compiled version.

You will also need the correct include files so you can compile libmusclecard. I just downloaded "pcsc-lite-1.2.9-beta7" and added -Ipcsc-lite-1.2.9-beta7/src/PCSC to my CFLAGS.

After all that its standard setup..

Hope that helps
Sim

From: "Wei Hu" <[EMAIL PROTECTED]>
Reply-To: MUSCLE  <[email protected]>
To: "MUSCLE" <[email protected]>
Subject: RE: [Muscle] pkcslite and libmusclecard on solaris box
Date: Tue, 2 Aug 2005 11:37:45 -0700

Hi Simon,


>> What kind of driver should I specify
>> in /etc/reader.conf?

>None. You should configure the library to use Sun's SmartCard services,
>then you don't need the daemon as Sun's stuff can already provide
>transactions (and has the general advantage of granting access to the
>local user only).

How do I configure the library to use Sun's SmartCard services? Is there
a document on how to do that?

Thanks,
Wei

<< winmail.dat >>
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to