HackRF/June 2016: Difference between revisions
From charlesreid1
(→Flags) |
|||
| Line 55: | Line 55: | ||
{{HackRFFlag}} | {{HackRFFlag}} | ||
[[Category:June 2016]] | |||
Revision as of 22:56, 4 June 2016
Notes from June 2016 - getting the HackRF up and operational, in preparation for a ham shack, antenna, and Defcon.
I was running a MacBook Pro, OS X 10.11.4. The HackRF was running the 2014-08 firmware.
Installing
To get the HackRF working, you need to install GnuRadio - not a trivial task. A bit of advice:
- Check that you will have the latest-and-greatest Gnuradio, 3.7.8. Even minor version numbers like 3.7.5 can cause other things to break.
- Some operating systems only have the latest-and-greatest in the unstable/bleeding-edge repositories (like Debian - the stable branch installs Gnuradio 3.7.5 and breaks all your hackrf stuff, while the unstable Sid branch installs Gnuradio 3.7.8, and will probably break everything except your hackrf stuff.)
- If you can abstract away the details, and avoid installing everything from source, by all means do it. Choose your operating system wisely.
- HackRF folks recommend using Pentoo. Take the hint.
Mac
Instructions for using the HackRF via the Mac: HackRF/Mac
VirtualBox
Instructions for using the HackRF via a VirtualBox (only if you have a beefy machine): HackRF/VirtualBox
The Tools
There were a few links I found useful. But first, an explanation of how different tools separate out and how they are organized.
HackRF
The HackRF is the hardware we're using - it enables conversion of analog to digital signals. The creator is Michael Ossmann - no connection to Osmo, the Open Source Mobile project.
- Getting started notes for the HackRF: https://github.com/mossmann/hackrf/wiki/Getting-Started-with-HackRF-and-GNU-Radio
GnuRadio
GnuRadio is the software - it implements digital signal processing and other signal analysis functions in software. (This replaces the radio.)
Osmo
Osmo - Open Source Mobile project - provides the Osmocom and Osmosdr software, which provide a bridge for signals passing between hardware and software. This provides the door through which signals on the HackRF enter and exit GnuRadio.
- Getting started notes for osmocom blocks/modules: http://gmr.osmocom.org/trac/wiki/GettingStarted
- osmocom transmission? I don't know: https://github.com/osmocom/osmo-trx
GnuRadio Companion
GnuRadio Companion is the drag-and-drop gui. This is not GnuRadio - GnuRadio is a library of signal processing functions, while GnuRadio Companion is a graphical interface that enables you to use it in one particular way.
- Gnuradio (Companion) tutorials (meh): http://gnuradio.org/redmine/projects/gnuradio/wiki/Guided_Tutorials
Gqrx
Gqrx is also a software tool. It utilizes GnuRadio to provide a GUI interface for interacting with and modifying signals. Think of this as an alternative interface to the GnuRadio Companion, that uses the same powerful signal processing library under the hood.
Links
- GSM sniffing (do this later): http://www.instructables.com/id/SMART-SNIFFING-GSM-TRAFFIC-ON-WINDOWS-WORKSTATION-/