From charlesreid1

Instructions

These are instructions for how to get the HackRF working with a Macbook Pro running OS X.

Download KB1OIQ Andy's Ham Radio Linux

Start by downloading Andy's Ham Radio Linux. This is a Debian distribution with a slew of useful radio programs, including NEC, the antenna simulation software. This also comes with gnuradio, gqrx, and other useful sdr tools, so this is a good candidate operating system to get the HackRF working.

Alternatively, you can use Pentoo, which is recommended by the HackRF folks, or Kali, although I understand some people have had a harder time with SDR after the January 2016 rolling release of Kali. You can also use the Gnu Radio Companion virtualbox provided by the Gnu Radio project, which runs Ubuntu.

https://github.com/mossmann/hackrf/wiki/Getting-Started-with-HackRF-and-GNU-Radio

Install KB1OIQ Linux

Once you've downloaded Andy's Ham Radio Linux and run it, you'll see that it is relatively spartan - it's using icewm, good for older, junky machines. Everything has an early 90s feel. You can take a look around at all the programs available: Andys Ham Radio Linux

Install Libhackrf

apt-get install libhackrf0 libhackrf-dev

Install GnuRadio Osmo SDR Stuff

To successfully use a HackRF with Gnu Radio, you need version 3.7 or later, and GnuRadio Osmo SDR block.

Follow these instructions for installing the block: http://sdr.osmocom.org/trac/wiki/GrOsmoSDR

git clone git://git.osmocom.org/gr-osmosdr
cd gr-osmosdr
mkdir build
cd build
cmake ../

Testing

To test that the Osmo sdr stuff was installed correctly, open Gnu Radio Companion, and look for an Osmo source block, listed under "Sources":

GnuRadioOsmocom.png

Links

https://github.com/mossmann/hackrf/wiki/Getting-Started-with-HackRF-and-GNU-Radio

http://gmr.osmocom.org/trac/wiki/GettingStarted

http://gnuradio.org/redmine/projects/gnuradio/wiki/Guided_Tutorials

https://github.com/osmocom/osmo-trx

Flags