It's just my notes, or not?

Showing posts with label usrp1. Show all posts
Showing posts with label usrp1. Show all posts

[Failed] Installing OpenBTS for USRP1 on Ubuntu 16.04

# Firstly, install GNU Radio 3.4.2 for USRP1
# http://blog.puiup.net/2017/05/installing-gnu-radio-342-for-usrp1-on.html

git clone https://github.com/RangeNetworks/dev.git

cd dev

./clone.sh

export PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig

./build.sh USRP1

sudo dpkg -i BUILDS/--YOUR_TIMESTAMP--/*.deb

sudo apt-get -f install

## -- 8th May 2017
## PROBLEM#1: Cannot start OpenBTS daemon
## CAUSE: Compatibility issue: OpenBTS is using "upstart" but Ubuntu uses "systemd"
## SOLUTIONS:
##     - Wait for the OpenBTS to fix this
##     - Convert upstart scripts to systemd scripts by yourself
##     - Change your ubuntu to use upstart
##     - Back to Ubuntu 14.04
##     - Run it manually. <--- This works

## -- Some time after
## PROBLEM#2: OpenBTS process keeps terminating after a few seconds.
## CAUSE: The driver problem?
## SOLUTIONS:
##    - Take time finding and hacking into the obsoleted codes/device?
##    - Throw away the USRP1 and find new equipment.

REF: https://github.com/RangeNetworks/dev/wiki
REF: http://openbts.org/w/index.php?title=USRP1

Installing GNU Radio 3.4.2 for USRP1 on Ubuntu 16.04

sudo apt-get install cc1111 libgsl-dev libaudio-dev libxt-dev libsm-dev libice-dev swig fftw3-dev pkg-config libcppunit-dev libboost-dev libboost-all-dev libusb-dev
## This is on my system, yours may need more.

wget http://gnuradio.org/releases/gnuradio/gnuradio-3.4.2.tar.gz

tar -zxvf gnuradio-3.4.2.tar.gz

cd gnuradio-3.4.2

./configure --with-boost-libdir=/usr/lib/x86_64-linux-gnu --disable-usrp2 --disable-gr-qtgui LDFLAGS="-lboost_system"

vi gnuradio-core/src/lib/filter/qa_gri_mmse_fir_interpolator_cc.cc
## At Line 96, change "intptr_t" to "long".

make

make check

sudo make install