Difference between revisions of "GNURadio: Instalasi"

From OnnoWiki
Jump to navigation Jump to search
Line 19: Line 19:
  
 
==Tambahan Untuk RTL-SDR==
 
==Tambahan Untuk RTL-SDR==
 +
 +
Blocklist rtl28xxxu
 +
 +
cd /etc/modprobe.d/
 +
sudo vi ban-rtl.conf
 +
 +
blacklist dvb_usb_rtl28xxu
 +
 +
Install rtl-sdr
  
 
  apt update
 
  apt update

Revision as of 20:44, 26 December 2019

Instalasi

sudo su
apt update

Install compiler dkk

apt -y install git cmake g++ libboost-all-dev libgmp-dev swig python3-numpy \
python3-mako python3-sphinx python3-lxml doxygen libfftw3-dev libcomedi-dev \
libsdl1.2-dev libgsl-dev libqwt-qt5-dev libqt5opengl5-dev python3-pyqt5 \
liblog4cpp5-dev libzmq3-dev python3-yaml python3-click python3-click-plugins \
python3-zmq 

Install gnuradio

sudo apt install libcanberra-gtk-module libcanberra-gtk3-module
apt -y install gnuradio gnuradio-dev


Tambahan Untuk RTL-SDR

Blocklist rtl28xxxu

cd /etc/modprobe.d/
sudo vi ban-rtl.conf
blacklist dvb_usb_rtl28xxu

Install rtl-sdr

apt update
apt -y install git libusb-1.0
cd /usr/local/src/
git clone git://git.osmocom.org/rtl-sdr.git

Compile

cd /usr/local/src/
cd rtl-sdr/
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON
make
sudo make install
sudo ldconfig
sudo make install-udev-rules


Compile GNURadio + gr-osmosdr

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

Pastikan ada

-- ######################################################
-- # gr-osmosdr enabled components                         
-- ######################################################
--   * Python support
--   * Osmocom IQ Imbalance Correction
--   * sysmocom OsmoSDR
--   * FunCube Dongle
--   * IQ File Source
--   * Osmocom RTLSDR
--   * RTLSDR TCP Client
--   * Ettus USRP Devices
--   * Osmocom MiriSDR
--   * HackRF Jawbreaker
-- 
-- ######################################################
-- # gr-osmosdr disabled components                        
-- ######################################################
-- 
-- Building for version: 4c101ea4 / 0.0.1git
-- Using install prefix: /usr/local

Compile

make
sudo make install
sudo ldconfig

Referensi

Pranala Menarik