Difference between revisions of "GNURadio: Instalasi RTL-SDR"

From OnnoWiki
Jump to navigation Jump to search
Line 25: Line 25:
 
Bisa di install menggunakan
 
Bisa di install menggunakan
  
  apt -y install rtl-sdr
+
  apt -y install rtl-sdr librtlsdr-dev librtlsdr0 soapysdr-module-rtlsdr soapysdr0.6-module-rtlsdr
  
 
atau compile
 
atau compile

Revision as of 05:15, 7 March 2020

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 librtlsdr-dev librtlsdr0 soapysdr-module-rtlsdr soapysdr0.6-module-rtlsdr

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

-- ######################################################
-- # Gnuradio enabled components                         
-- ######################################################
--   * Python support
--   * Osmocom IQ Imbalance Correction
--   * FUNcube Dongle
--   * FUNcube Dongle Pro+
--   * IQ File Source & Sink
--   * Osmocom RTLSDR
--   * RTLSDR TCP Client
--   * RFSPACE Receivers
--   * Red Pitaya SDR
-- 
-- ######################################################
-- # Gnuradio disabled components                        
-- ######################################################
--   * sysmocom OsmoSDR
--   * Ettus USRP Devices
--   * Osmocom MiriSDR
--   * HackRF & rad1o Badge
--   * nuand bladeRF
--   * AIRSPY Receiver
--   * SoapySDR support
--   * FreeSRP support
-- 
-- Building for version: 0.1.5 / 0.1.5
-- Using install prefix: /usr/local
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/src/gr-osmosdr/build

Compile

make
sudo make install
sudo ldconfig

Pranala Menarik