GNURadio: Instalasi RTL-SDR

From OnnoWiki
Jump to navigation Jump to search

Instal Pendukung

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 libcanberra-gtk-module libcanberra-gtk3-module libusb-1.0



Blocklist rtl28xxxu

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

Tambahakan

blacklist dvb_usb_rtl28xxu

Compile rtl-sdr

Bisa di install menggunakan

apt -y install rtl-sdr

atau compile


apt update
apt -y install git libusb-1.0
cd /usr/local/src/
git clone git://git.osmocom.org/rtl-sdr.git
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 gr-osmosdr

Bisa di install menggunakan

apt -y install gr-osmosdr

Atau compile GNURadio + gr-osmosdr

cd /usr/local/src
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

Pranala Menarik