Editing RFID Hacking/usrp/

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
'''''notes about the install procedure for Gen2 RFID USRP Project (modified gnuradio library)'''''
notes about the install procedure for someone's modified gnuradio library:


This software/hardware allows the operator to read Gen2 RFIDs in the 900Mhz range.<BR>
This project has not yet been publicly distributed but the author tells us<BR>
it will be released soon. These notes are not an install recipe... rather they are<BR>
clarification to help describe the install procedure.<BR>
According to the README, this project was tested with gnuradio subversion changeset 10532...
<pre>
$ svn co -r 10532 http://gnuradio.org/svn/gnuradio/trunk gnuradio
$ svn co -r 10532 http://gnuradio.org/svn/gnuradio/trunk gnuradio
</pre>


'''step #1'''<BR>
step #1 Copy gen2_reader/gnuradio/misc_files/grc_gr_gen2_rfid.m4 to gnuradio/config
Copy gen2_reader/gnuradio/misc_files/grc_gr_gen2_rfid.m4 to gnuradio/config


<pre>
cp gen2_reader/gnuradio/misc_files/grc_gr_gen2_rfid.m4 gnuradio/config
cp gen2_reader/gnuradio/misc_files/grc_gr_gen2_rfid.m4 gnuradio/config
</pre>


'''step #2'''
step #2


<pre>
cp -a gen2_reader/gnuradio/gr-gen2-rfid gnuradio/
cp -a gen2_reader/gnuradio/gr-gen2-rfid gnuradio/
</pre>


'''step #4'''<BR>
step #4
add the following to line 304ish:
line 304:
GRC_GR_GEN2_RFID
GRC_GR_GEN2_RFID


 
--
----
 


This here are software dependencies from a different gnuradio project
This here are software dependencies from a different gnuradio project
so it should contain most gnuradio dependencies :
so it should contain most gnuradio dependencies :
<pre>
apt-get install -y libboost-dev python python2.5-dev libfftw3-dev swig sdcc-nf libusb-dev guile-1.8-dev libcppunit-dev libosip2-dev libortp7-dev asterisk
apt-get install -y python python2.5-dev libfftw3-dev swig sdcc-nf libusb-dev guile-1.8-dev libcppunit-dev libosip2-dev libortp7-dev asterisk
</pre>


gnuradio dependencies:
gnuradio dependencies:


* built/installed the latest libboost and then install libgsl :
* built/installed the latest libboost
<pre>
apt-get install libgsl0-dev
apt-get install libgsl0-dev
</pre>


gnuradio build:
gnuradio build:
<pre>
./configure --prefix=/usr/local/gnuradio-rfid --enable-gr-gen2-rfid --enable-gnuradio-core --enable-gr-audio-oss
./configure --prefix=/usr/local/gnuradio-rfid --enable-gr-gen2-rfid --enable-gnuradio-core --enable-gr-audio-oss


Line 54: Line 32:


make install
make install
</pre>


'''step #8'''
step #8
<pre>
cp gen2_reader/gnuradio/misc_files/gen2_reader.rbf /usr/local/gnuradio-rfid/share/usrp/rev4
cp gen2_reader/gnuradio/misc_files/gen2_reader.rbf /usr/local/gnuradio-rfid/share/usrp/rev4
</pre>


'''step #9'''
 
<pre>
step #9
cd gnuradio/gr-gen2-rfid/src/lib
cd gnuradio/gr-gen2-rfid/src/lib
make clean
</pre>


apply this patch:
apply this patch:


'''gnuradio/gr-gen2-rfid/src/lib/rfid_gen2_reader.cc'''
gnuradio/gr-gen2-rfid/src/lib/rfid_gen2_reader.cc
<PRE>
<PRE>
42,48d41
42,48d41
Line 88: Line 61:
</PRE>
</PRE>


<pre>
make
make install
make install
</pre>
----
=== And finally run the program ===


<pre>
--
sudo -s
sudo -s


PYTHONPATH=/usr/local/gnuradio-rfid/lib/python2.5/site-packages GR_SCHEDULER=STS nice -n -20 ./gen2_reader.py
PYTHONPATH=/usr/local/gnuradio-rfid/lib/python2.5/site-packages GR_SCHEDULER=STS nice -n -20 ./gen2_reader.py
</pre>
Please note that all contributions to Noisebridge are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see Noisebridge:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)