mifare-tool

pouik at kernsh.org pouik at kernsh.org
Sat Oct 13 12:30:11 UTC 2007


> I am trying to work with the mifare-tool included in the librfid utilities
> and I am having a problem.  I can read sectors with it fine but when I try
> to write a sector I get an error.  I am using the OpenPCD mifare-classic
> cards to write to.  Here is my output.
>
> kn1ghtl0rd at david-linux:~/librfid/utils> sudo ./mifare-tool -w 1 12 34
> lt-mifare-tool - (C) 2006 by Harald Welte
> This program is Free Software and has ABSOLUTELY NO WARRANTY
>
> initializing librfid
> opening reader handle
> No Omnikey Cardman 5121 found
> write(key=' ff ff ff ff ff ff',page=1): ' 12'(1):opening layer2 handle
> running layer2 anticol
> ISO14443-3A anticollision succeeded
> running layer3 (ats)
> we now have layer3 up and running
> Mifare card available
> mifare auth succeeded!
>
> error during write
>
> Can anyone help me out?  Thanks.
>
> David
>

Check the access on the sector trailer, and you must use mifare-tool
(example : -w 1 11111111111111111111111111111111) with goods arguments.

Pouik




More information about the openpcd-devel mailing list