SDR: gqrx Ubuntu 12.04: Difference between revisions

From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs)
New page: Building gqrx ubuntu 12.04LTS Contents 1 Preperation 2 Building and Installing GNURadio 3 Building and Installing rtl_sdr 4 Building and Installing gr_osmoSDR 5 Buildi...
 
Onnowpurbo (talk | contribs)
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
Building gqrx ubuntu 12.04LTS
==Persiapan==
Contents


    1 Preperation
Buat directory
    2 Building and Installing GNURadio
    3 Building and Installing rtl_sdr
    4 Building and Installing gr_osmoSDR
    5 Building and installing gqrx


Preperation
mkdir /usr/local/src/SDR
cd /usr/local/src/SDR


First I made a directory to put everything in and entered that directory.
Instalasi paket pendukung


mkdir SDR
sudo apt-get install cmake swig libcppunit-dev python-cheetah doxygen \
cd SDR
libboost-all-dev python-sphinx fftw3-dev python-numpy libqwt-dev \
libusb++-dev libusb-dev libusb-1.0-0-dev libgsl0-dev python-wxgtk2.6 git qtcreator \
libpulse-dev


Some packages will need to be installed to compile everything.
==Install GNURadio==


sudo apt-get install cmake swig libcppunit-dev python-cheetah doxygen \
Lakukan
libboost-all-dev python-sphinx fftw3-dev python-numpy libqwt-dev \
libusb++-dev libusb-dev libusb-1.0-0-dev libgsl0-dev python-wxgtk2.6


Building and Installing GNURadio
cd /usr/local/src/SDR
git clone git://gnuradio.org/gnuradio


Next clone the repo and enter its new directory.
Compile


git clone git://gnuradio.org/gnuradio
cd /usr/local/src/SDR/gnuradio
cd gnuradio
mkdir build
cd build
cmake ../
make
sudo make install
sudo ldconfig


Now make a build directory, enter it, and create the build environment.
==Install rtl_sdr==


mkdir build
Lakukan
cd build
cmake ../


Now build and install GNURadio
cd /usr/local/src/SDR
git clone git://git.osmocom.org/rtl-sdr.git


make
Masuk ke directory rtl-sdr & lakukan
sudo make install
sudo ldconfig


Building and Installing rtl_sdr
cd /usr/local/src/SDR/rtl-sdr/
mkdir build
cd build
cmake ../


Now go back to the SDR directory and clone the rtl_sdr repo
make
sudo make install
sudo ldconfig


cd ../../
Aturan udev yang penting agar USB dongle terdetek dengan baik perlu di copy menggunakan perintah berikut
git clone git://git.osmocom.org/rtl-sdr.git


Now enter the directory, create the build directory, and create the rtl_sdr build environment.
cd /usr/local/src/SDR/rtl-sdr/
sudo cp rtl-sdr.rules /etc/udev/rules.d/40-basic-permissions.rules
/etc/init.d/udev restart


cd rtl-sdr/
Kita dapat meng-unplug & replug USB dongle.
mkdir build
Cek menggunakan perintah
cd build
cmake ../


Time to build and install rtl-sdr
lsusb


make
Keluar
sudo make install
sudo ldconfig


This package includes some important udev rules, so lets take care of them now.
Bus 001 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader
Bus 006 Device 002: ID 1bcf:0005 Sunplus Innovation Technology Inc.
Bus 001 Device 003: ID 0bda:2838 Realtek Semiconductor Corp.


sudo cp rtl-sdr.rules /etc/udev/rules.d/40-basic-permissions.rules
==Install gr_osmoSDR==


After copying these over you need to unplug and replug the dongle.
Masuk ke directory
Building and Installing gr_osmoSDR


Now go back to the SDR directory and clone the gr_osmoSDR repo
cd /usr/local/src/SDR
git clone git://git.osmocom.org/gr-osmosdr


cd ../../
Lakukan
git clone git://git.osmocom.org/gr-osmosdr


Now enter the directory, create the build directory, and create the gr-osmosdr build environment.
cd /usr/local/src/SDR/gr-osmosdr/
mkdir build
cd build/
cmake ../ -Wno-dev


cd gr-osmosdr/
make
mkdir build
sudo make install
cd build/
sudo ldconfig
cmake ../ -Wno-dev


Time to build and install gr_osmoSDR
==Install gqrx==


make
Masuk ke directory
sudo make install
sudo ldconfig


Building and installing gqrx
cd /usr/local/src/SDR
git clone https://github.com/csete/gqrx.git


Now go back to the SDR directory and clone the gqrx repo
Lakukan


cd ../../
cd /usr/local/src/SDR/gqrx
git clone https://github.com/csete/gqrx.git
qtcreator ./gqrx.pro


Now enter the directory and load the project in qtcreator
Untuk membuat paket klik Build->Build All.
Setelah selesai, masukan SDR dan masuk ke directory build dan jalankan gqrx


cd gqrx
cd /usr/local/src/SDR/gqrx-build-desktop-Qt_4_8_1_in_PATH__System__Release/
qtcreator ./gqrx.pro
./gqrx


To build the package click Build->Build All. After the build finishes plug in your SDR and go into the build directory to execute gqrx.
gqrx akan jalan. Tampilannya seperti di bawah ini.


cd ../gqrx-build-desktop-Qt_4_8_1_in_PATH__System__Release/
[[Image:Tampilan-gqrx-lores2.png|center|400px|thumb|Gqrx sedang monitor pembicaraan di 145.54MHz]]
./gqrx


You should be up and running now.
 
 
 
 
 
 
==Referensi==
 
* https://www.saturnwiki.com/wiki/index.php?title=Building_gqrx_ubuntu_12.04LTS
 
==Pranala Menarik==
 
* [[Software Defined Radio]]
* [[SDR: SDRSharp Ubuntu 12.04]]
* [[SDR: gqrx Ubuntu 12.04]]
* [[SDR: rtl-sdr Ubuntu 12.04]]
* [[SDR: QtRadio Ubuntu 12.04]]

Latest revision as of 04:09, 22 October 2012

Persiapan

Buat directory

mkdir /usr/local/src/SDR
cd /usr/local/src/SDR

Instalasi paket pendukung

sudo apt-get install cmake swig libcppunit-dev python-cheetah doxygen \
libboost-all-dev python-sphinx fftw3-dev python-numpy libqwt-dev \
libusb++-dev libusb-dev libusb-1.0-0-dev libgsl0-dev python-wxgtk2.6 git qtcreator \
libpulse-dev

Install GNURadio

Lakukan

cd /usr/local/src/SDR
git clone git://gnuradio.org/gnuradio

Compile

cd /usr/local/src/SDR/gnuradio
mkdir build
cd build
cmake ../
make
sudo make install
sudo ldconfig

Install rtl_sdr

Lakukan

cd /usr/local/src/SDR
git clone git://git.osmocom.org/rtl-sdr.git

Masuk ke directory rtl-sdr & lakukan

cd /usr/local/src/SDR/rtl-sdr/
mkdir build
cd build
cmake ../
make
sudo make install
sudo ldconfig

Aturan udev yang penting agar USB dongle terdetek dengan baik perlu di copy menggunakan perintah berikut

cd /usr/local/src/SDR/rtl-sdr/
sudo cp rtl-sdr.rules /etc/udev/rules.d/40-basic-permissions.rules
/etc/init.d/udev restart

Kita dapat meng-unplug & replug USB dongle. Cek menggunakan perintah

lsusb

Keluar

Bus 001 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader
Bus 006 Device 002: ID 1bcf:0005 Sunplus Innovation Technology Inc. 
Bus 001 Device 003: ID 0bda:2838 Realtek Semiconductor Corp.

Install gr_osmoSDR

Masuk ke directory

cd /usr/local/src/SDR
git clone git://git.osmocom.org/gr-osmosdr

Lakukan

cd /usr/local/src/SDR/gr-osmosdr/
mkdir build
cd build/
cmake ../ -Wno-dev
make
sudo make install
sudo ldconfig

Install gqrx

Masuk ke directory

cd /usr/local/src/SDR
git clone https://github.com/csete/gqrx.git

Lakukan

cd /usr/local/src/SDR/gqrx
qtcreator ./gqrx.pro

Untuk membuat paket klik Build->Build All. Setelah selesai, masukan SDR dan masuk ke directory build dan jalankan gqrx

cd /usr/local/src/SDR/gqrx-build-desktop-Qt_4_8_1_in_PATH__System__Release/
./gqrx

gqrx akan jalan. Tampilannya seperti di bawah ini.

Gqrx sedang monitor pembicaraan di 145.54MHz




Referensi

Pranala Menarik