install gnuRadio Linux [source]
langsung aja ya yg ga tau gnuradio bisa searching :P
nah kali ini ketemu untuk menginstallasi gnuradio pada pc server atau pc sendiri
gnuradio di gunakan untuk menangkap signyal gsm yang di bantu dengan alat usrp *CMIIW
library tambahan
download openbts source di sini
nah kali ini ketemu untuk menginstallasi gnuradio pada pc server atau pc sendiri
gnuradio di gunakan untuk menangkap signyal gsm yang di bantu dengan alat usrp *CMIIW
library tambahan
sebaiknya sebelum menginstall gnuradio usrp sudah terhubung ke portusb nyaUpdatesudo apt-get updateInstal untuk Maverick (11.4)
sudo apt-get -y install libfontconfig1-dev libxrender-dev libpulse-dev swig g++ automake libtool python-dev libfftw3-dev libcppunit-dev libboost-all-dev libusb-dev fort77 sdcc sdcc-libraries libsdl1.2-dev python-wxgtk2.8 subversion git-core guile-1.8-dev libqt4-dev python-numpy ccache python-opengl libgsl0-dev python-cheetah python-lxml doxygen qt4-dev-tools libqwt5-qt4-dev libqwtplot3d-qt4-dev pyqt4-dev-tools libpcre3 libpcre3-dbg libpcre3-dev libpcrecpp0
download openbts source di sini
verifikasi gnuradioInstall gnuRadiocp gnuradio-3.3.0.tar.gz /usr/local/src/cd /usr/local/src/tar zxvf gnuradio-3.3.0.tar.gzcd /usr/local/src/gnuradio-3.3.0/./configuremake cleanmake allmakemake checkmake installsudo ldconfigJika saat menjalankan aplikasi gnuradio ada error sepertiImportError: libgnuradio-core-3.3.0.so.0: cannot open shared object file: No such file or directoryLakukan / ketiksudo ldconfig
Selanjutnya kita perlu memverifikasi apakah GNURadio dapat bekerja dengan USRP. Untuk tahapan ini kita perlu menyambungkan USRP ke komputer.
Cek kecepatan sambungan USB ke USRP
cd /usr/local/src/gnuradio-3.3.0/gnuradio-examples/python/usrp
./usrp_benchmark_usb.py
Akan keluar sbb:Testing 2MB/sec... usb_throughput = 2Mntotal = 1000000nright = 999918runlength = 999918delta = 82OKTesting 4MB/sec... usb_throughput = 4Mntotal = 2000000nright = 1999492runlength = 1999492delta = 508OKTesting 8MB/sec... usb_throughput = 8Mntotal = 4000000nright = 3998860runlength = 3998860delta = 1140OKTesting 16MB/sec... usb_throughput = 16Mntotal = 8000000nright = 7997680runlength = 7997680delta = 2320OKTesting 32MB/sec... usb_throughput = 32Mntotal = 16000000nright = 15995986runlength = 15995986delta = 4014OKMax USB/USRP throughput = 32MB/sec
Error libgnuradio-core
Jika ada error
ImportError: libgnuradio-core-3.3.0.so.0: cannot open shared object file: No such file or directory
lakukan
sudo ldconfig
Cek C++ Interface ke USRP
C++ interface ke USRP, memberikan estimasi throughput maksimum antara PC ke USRP
cd /usr/local/src/gnuradio-3.3.0/usrp/host/apps
./test_usrp_standard_tx
./test_usrp_standard_rx
hasil dari USRP_standard_tx testwhich: 0interp: 16rf_freq: -1amp: 10000.000000nsamples: 3.2e+07Subdevice name is Flex 900 Tx MIMO BSubdevice freq range: (7.5e+08, 1.05e+09)mux: 0x000098baseband rate: 8e+06target_freq: 900000000.000000ok: truer.baseband_freq: 904000000.000000r.dxc_freq: -4000000.000000r.residual_freq: 0.000000r.inverted: 0tx_underruntx_underruntx_underruntx_underruntx_underruntx_underruntx_underruntx_underruntx_underrunxfered 3.2e+07 bytes in 1.01 seconds. 3.154e+07 bytes/sec. cpu time = 0.169 underrunshasil USRP standard RX testxfered 1.34e+08 bytes in 4.19 seconds. 3.2e+07 bytes/sec. cpu time = 0.8681noverruns = 0
Jika Error :
Can't find firmware: std.ihx
die: lt-test_usrp_standard_tx: usrp_standard_tx::make
Patch:
root@rndc-945GCMX-S2:/usr/local/share# mkdir usrp
root@rndc-945GCMX-S2:/usr/local/share# cp -r /usr/share/usrp/* /usr/local/share/
root@rndc-945GCMX-S2:/usr/local/share# cp -r /usr/share/usrp/* /usr/local/share/usrp/
root@rndc-945GCMX-S2:/usr/local/share# cd ../src/gnuradio-3.3.0/usrp/host/apps/
Comments
Post a Comment