I'm trying to use smartcard pam login and i bought a chipdrive towitoko smartcard reader. Well, i configured the reader.conf and when i run testpcsc i get successful

*******************************************
damian root # /usr/local/bin/testpcsc

MUSCLE PC/SC Lite Test Program

Testing SCardEstablishContext    : Command successful.
Testing SCardGetStatusChange
Please insert a working reader   : Command successful.
Testing SCardListReaders         : Command successful.
Reader 01: Towitoko Chipdrive Micro 0 0
Enter the reader number          : 01

Waiting for card insertion
                                 : Command successful.
Testing SCardConnect             : Command successful.
Testing SCardStatus              : Command successful.
Current Reader Name              : Towitoko Chipdrive Micro 0 0
Current Reader State             : 34
Current Reader Protocol          : ffffffff
Current Reader ATR Size          : 4
Current Reader ATR Value         : 82 2B 10 84
Testing SCardDisconnect          : Command successful.
Testing SCardReleaseContext      : Command successful.

PC/SC Test Completed Successfully !
***********************************************************************

I use the M16 card and in the tester.....



*********************************************************************
Initializing terminal at COM1...
Starting terminal monitoring job...

Towitoko CT-API tester utility
Copyright (C) 2000 2001 Carlos Prados <[EMAIL PROTECTED]>
Initilized CardTerminals: 1

COM1
Status: Memory smartcard present. Memory size: 2048 bytes
ATR: 82 2B 10 84

Select option:
in: Initialize new terminal
ch: Change current terminal
cl: Close current terminal
ep: Enter PIN
cp: Change PIN
rd: Read Data
wd: Write Data
*: Refresh Menu
q: Quit
**************************************************************************



But when i try to clean the card to manage user and password i get this:

************************************************************************
damian root # cleancard
pc/sc error: Card protocol mismatch.
************************************************************************


The card is detected because if i switch off the card, the cleancard program say me....


***********************************************************************
damian root # cleancard
pc/sc error: No smartcard inserted.
************************************************************************


�Any idea?


--
Dami�n Fern�ndez Molinos
Departamento de Sistemas        SoftMed
[EMAIL PROTECTED]

Advertencia /Confidentiality Notice
Este correo electr�nico contiene informaci�n privada
y estrictamente confidencial. Si usted no es el destinatario,
no est� autorizado a leerlo, retenerlo o difundirlo.
Si ha recibido este mensaje por error, le rogamos lo
notifique a su emisor y borre los documentos adjuntos.
This message is intended exclusively for the individual or
entity to which it is addressed. If you are not the named
addressee, you are not authorized to read, print, retain, copy
disseminate this message or any part of it.
If you have received this message in error, please notify the
immediately by e-mail and delete all copies of the message.

_______________________________________________
Muscle mailing list
[EMAIL PROTECTED]
http://lists.musclecard.com/mailman/listinfo/muscle

Reply via email to