Installation of Gnuradio and HACKRF environments under Ubuntu

Source: Internet
Author: User

Installed successfully under Ubuntu 16.04,17.04

2017-06-05
Ubuntu 17.04
1. Install Pip
https://pip.pypa.io/en/stable/installing/

wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.y install pybombs
sudo pip install pybombs and ...

Https://github.com/gnuradio/gnuradio

Pybombs Recipes Add Gr-recipes git+https://github.com/gnuradio/gr-recipes.git
Pybombs Recipes Add Gr-etcetera git+https://github.com/gnuradio/gr-etcetera.git
mkdir ~/gnuradio-prefix
CD ~/gnuradio-prefix
Pybombs prefix init.
Pybombs Install Gnuradio
source. ./setup_env.sh
Gnuradio-companion

Installing the Gnuradio Module library
Domestic sources are relatively good, refer to http://www.hackrf.net/2016/06/pybombs-mirror-tuna/
Note that only use a few of its libraries, do not use this GNU Radio
Pybombs Recipes Remove Gr-recipes
Pybombs Recipes Remove Gr-etcetera
Pybombs Recipes Add Gr-recipes git+https://mirrors.tuna.tsinghua.edu.cn/pybombs/recipes/gr-recipes.git
Pybombs Recipes Add Gr-etcetera git+https://mirrors.tuna.tsinghua.edu.cn/pybombs/recipes/gr-etcetera.git
Pybombs Install RTL-SDR hackrf bladerf GR-OSMOSDR gr-bluetooth gr-ieee-80211

Test
1) Test HACKRF
Because the hackrf_info needs to access the hardware settings, you need to configure the permissions, if not lazy, you have to add a sudo
root@tdz-vm-1704:/dev#
Hackrf_infohackrf_info VERSION:GIT-72A03CFLIBHACKRF VERSION:GIT-72A03CF (0.5) Found hackrfindex:0serial number: 0000000000000000308066e6241b274bboard ID number:2 (hackrf one) Firmware version:2015.07.2 (api:1.00) part ID number:0xa0 00CB3C 0x00694f5c

) Test Gnuradio
Configure the environment if the non-root account starts gnuradio-companion
SOURCE setup_env.sh
Gnuradio-companion
After startup, add a

Installing XRDP
sudo apt install xrdp
sudo apt install vnc4server
sudo apt-get install Xubuntu-desktop
echo "Xfce4-session" >~/.xsession
sudo service xrdp restart

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.