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

From OnnoWiki
Jump to navigation Jump to search
Line 21: Line 21:
 
  blacklist dvb_usb_rtl28xxu
 
  blacklist dvb_usb_rtl28xxu
  
==Install rtl-sdr untuk gnuradio-companion==
+
==Compile rtl-sdr==
 +
 
 +
Bisa di install menggunakan
 +
 
 +
apt -y install rtl-sdr
 +
 
 +
atau compile
 +
 
  
 
  apt update
 
  apt update
Line 42: Line 49:
  
  
Compile GNURadio + gr-osmosdr
+
==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
 
  git clone git://git.osmocom.org/gr-osmosdr
 
  cd gr-osmosdr/
 
  cd gr-osmosdr/
Line 79: Line 93:
 
  sudo make install
 
  sudo make install
 
  sudo ldconfig
 
  sudo ldconfig
 
 
  
 
==Pranala Menarik==
 
==Pranala Menarik==
  
 
* [[GNURadio]]
 
* [[GNURadio]]

Revision as of 08:44, 4 January 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

atau compile


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 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