User Tools

Site Tools

A PCRE internal error occured. This might be caused by a faulty plugin

===== Introduction ===== If you want to read/write Mifare Desfire or Mifare Desfire EV1 cards, then you have to install the latest version of [[ libnfc] and [|libfreefare]]. ==== Getting things ready ==== Before you start installing these libraries, you need to add some installation and run-time dependencies: <code> sudo apt-get install autoconf automake libtool sudo apt-get install libssl-dev libusb-0.1-4 libusb-dev </code> ==== Installing libnfc ==== Get the source code, compile it and install it: <code> wget tar xvjf libnfc-1.7.0.tar.bz2 cd libnfc-1.7.0 </code> Arygon's APPD: <code> ./configure --prefix=/usr --with-drivers=arygon --sysconfdir=/etc </code> Adafruit's PN532 breakout board: <code> ./configure --prefix=/usr --with-drivers=pn532_uart --sysconfdir=/etc </code> For either: <code> make sudo make install </code> ==== Configuration ==== Add the following files: <code> sudo mkdir /etc/nfc sudo cp libnfc.conf.sample /etc/nfc/libnfc.conf sudo nano /etc/nfc/libnfc.conf </code> For Arygon's APPD add to the end: <code> = "arygon" device.connstring = "arygon:/dev/ttyUSB0" </code> For Adafruit and's PN532 Breakout Board: <code> = "" device.connstring = "pn532_uart:/dev/ttyUSB0" </code> ==== Test ==== That's it, you are ready! Go on and test it: <code> cd utils sudo ./nfc-list </code> ==== Installing libfreefare ==== <code> wget tar xvjf libfreefare-0.4.0.tar.bz2 cd libfreefare-0.4.0 ./configure --prefix=/usr make sudo make install </code>

installing_libnfc_libfreefare.txt · Last modified: 2017/01/03 21:25 by admin