Difference between revisions of "OpenBTS: RangeNetwork Instalasi UHD"

From OnnoWiki
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 29: Line 29:
 
  wget -c http://launchpadlibrarian.net/38689168/sdcc-libraries_2.9.0-5_all.deb
 
  wget -c http://launchpadlibrarian.net/38689168/sdcc-libraries_2.9.0-5_all.deb
 
  dpkg -i sdcc_2.9.0-5_amd64.deb sdcc-libraries_2.9.0-5_all.deb
 
  dpkg -i sdcc_2.9.0-5_amd64.deb sdcc-libraries_2.9.0-5_all.deb
 +
 +
Atau mengcompile. Download source code dari
 +
 +
http://sourceforge.net/projects/sdcc/files/sdcc/
 +
 +
Compile menggunakan perintah
 +
 +
cp sdcc-src-2.8.0.tar.bz2 /usr/local/src
 +
cd /usr/local/src
 +
tar jxvf sdcc-src-2.8.0.tar.bz2
 +
cd sdcc
 +
./configure
 +
make
 +
make install
  
 
==Download Source Code UHD==
 
==Download Source Code UHD==
Line 48: Line 62:
 
  make install
 
  make install
 
  ldconfig
 
  ldconfig
 
  
 
  /usr/local/lib/uhd/utils/uhd_images_downloader.py
 
  /usr/local/lib/uhd/utils/uhd_images_downloader.py
Line 56: Line 69:
 
==Install UHD USRP ke udev==
 
==Install UHD USRP ke udev==
  
  cd /usr/local/share/uhd/utils
+
  cd /usr/local/src/uhd.git/host/utils/
 
  sudo cp uhd-usrp.rules /etc/udev/rules.d/
 
  sudo cp uhd-usrp.rules /etc/udev/rules.d/
 
  sudo udevadm control --reload-rules
 
  sudo udevadm control --reload-rules
  
 +
==Cek==
 +
 +
Lakukan
 +
 +
uhd_usrp_probe
  
 +
Akan keluar
 +
 +
linux; GNU C++ version 4.7.3; Boost_104900; UHD_003.005.004-140-gfb32ed16
 +
 +
-- Opening a USRP1 device...
 +
-- Using FPGA clock rate of 64.000000MHz...
 +
  _____________________________________________________
 +
  /
 +
|      Device: USRP1 Device
 +
|    _____________________________________________________
 +
|    /
 +
|  |      Mboard: USRP1
 +
|  | 
 +
|  |  Time sources: none
 +
|  |  Clock sources: internal
 +
|  |  Sensors:
 +
|  |    _____________________________________________________
 +
|  |    /
 +
|  |  |      RX Dboard: A
 +
|  |  |    _____________________________________________________
 +
|  |  |    /
 +
|  |  |  |      RX Frontend: 0
 +
|  |  |  |  Name: Unknown (0xffff) - 0
 +
|  |  |  |  Antennas:
 +
|  |  |  |  Sensors:
 +
|  |  |  |  Freq range: 0.000 to 0.000 Mhz
 +
|  |  |  |  Gain Elements: None
 +
|  |  |  |  Connection Type: IQ
 +
|  |  |  |  Uses LO offset: No
 +
|  |  |    _____________________________________________________
 +
|  |  |    /
 +
|  |  |  |      RX Codec: A
 +
|  |  |  |  Name: ad9522
 +
|  |  |  |  Gain range pga: 0.0 to 20.0 step 1.0 dB
 +
|  |    _____________________________________________________
 +
|  |    /
 +
|  |  |      RX Dboard: B
 +
|  |  |    _____________________________________________________
 +
|  |  |    /
 +
|  |  |  |      RX Frontend: 0
 +
|  |  |  |  Name: Unknown (0xffff) - 0
 +
|  |  |  |  Antennas:
 +
|  |  |  |  Sensors:
 +
|  |  |  |  Freq range: 0.000 to 0.000 Mhz
 +
|  |  |  |  Gain Elements: None
 +
|  |  |  |  Connection Type: IQ
 +
|  |  |  |  Uses LO offset: No
 +
|  |  |    _____________________________________________________
 +
|  |  |    /
 +
|  |  |  |      RX Codec: B
 +
|  |  |  |  Name: ad9522
 +
|  |  |  |  Gain range pga: 0.0 to 20.0 step 1.0 dB
 +
|  |    _____________________________________________________
 +
|  |    /
 +
|  |  |      TX Dboard: A
 +
|  |  |    _____________________________________________________
 +
|  |  |    /
 +
|  |  |  |      TX Frontend: 0
 +
|  |  |  |  Name: Unknown (0xffff) - 0
 +
|  |  |  |  Antennas:
 +
|  |  |  |  Sensors:
 +
|  |  |  |  Freq range: 0.000 to 0.000 Mhz
 +
|  |  |  |  Gain Elements: None
 +
|  |  |  |  Connection Type: IQ
 +
|  |  |  |  Uses LO offset: No
 +
|  |  |    _____________________________________________________
 +
|  |  |    /
 +
|  |  |  |      TX Codec: A
 +
|  |  |  |  Name: ad9522
 +
|  |  |  |  Gain range pga: -20.0 to 0.0 step 0.1 dB
 +
|  |    _____________________________________________________
 +
|  |    /
 +
|  |  |      TX Dboard: B
 +
|  |  |    _____________________________________________________
 +
|  |  |    /
 +
|  |  |  |      TX Frontend: 0
 +
|  |  |  |  Name: Unknown (0xffff) - 0
 +
|  |  |  |  Antennas: 
 +
|  |  |  |  Sensors:
 +
|  |  |  |  Freq range: 0.000 to 0.000 Mhz
 +
|  |  |  |  Gain Elements: None
 +
|  |  |  |  Connection Type: IQ
 +
|  |  |  |  Uses LO offset: No
 +
|  |  |    _____________________________________________________
 +
|  |  |    /
 +
|  |  |  |      TX Codec: B
 +
|  |  |  |  Name: ad9522
 +
|  |  |  |  Gain range pga: -20.0 to 0.0 step 0.1 dB
  
 
==Pranala Menarik==
 
==Pranala Menarik==
Line 158: Line 264:
 
* [[OpenBTS: Database SQLite]]
 
* [[OpenBTS: Database SQLite]]
 
* [[OpenBTS: Set SQLite Subscriber Registry secara manual]]
 
* [[OpenBTS: Set SQLite Subscriber Registry secara manual]]
 +
* [[OpenBTS: Set SQLite parameter smqueue]]
 
* [[OpenBTS: FreeSWITCH]]
 
* [[OpenBTS: FreeSWITCH]]
  
Line 164: Line 271:
 
* [[OpenBTS: Pola Multi OpenBTS]] '''RECOMMENDED'''
 
* [[OpenBTS: Pola Multi OpenBTS]] '''RECOMMENDED'''
 
* [[Multi OpenBTS: Catatan Konfigurasi]] '''RECOMMENDED'''
 
* [[Multi OpenBTS: Catatan Konfigurasi]] '''RECOMMENDED'''
 +
* [[Multi OpenBTS: Catatan BSIC=NCC+BCC]]
 +
* [[Multi OpenBTS: Catatan Frekuensi Planning di GSM]]
 +
* [[Multi OpenBTS: Catatan BTS Color Code BCC di GSM]]
 +
* [[Multi OpenBTS: Catatan Network Color Code NCC di GSM]]
 +
* [[Multi OpenBTS: Catatan BCCH]]
 +
* [[Multi OpenBTS: Catatan Public Land Mobile Network PLMN]]
  
 
===OpenBTS 3.1.x===
 
===OpenBTS 3.1.x===
Line 204: Line 317:
 
===RangeNetworks===
 
===RangeNetworks===
  
 +
* [[OpenBTS: RangeNetwork Foto]]
 +
* [[OpenBTS: RangeNetwork menggunakan USB recovery image]]
 
* [[OpenBTS: RangeNetwork Default Setting]]
 
* [[OpenBTS: RangeNetwork Default Setting]]
 +
* [[OpenBTS: RangeNetwork Instalasi UHD]]
 
* [[OpenBTS: RangeNetwork Compile GNURadio UHD]]
 
* [[OpenBTS: RangeNetwork Compile GNURadio UHD]]
 
* [[OpenBTS: RangeNetwork Compile]]
 
* [[OpenBTS: RangeNetwork Compile]]
* [[OpenBTS: RangeNetwork Compile OpenBTS 3.1.3]] '''*RECOMMENDED*'''
+
* [[OpenBTS: RangeNetwork Compile OpenBTS 2.8.0]]
 +
* [[OpenBTS: RangeNetwork Compile OpenBTS 3.1.3]]
 
* [[OpenBTS: RangeNetwork Yate Compile]] '''*RECOMMENDED*'''
 
* [[OpenBTS: RangeNetwork Yate Compile]] '''*RECOMMENDED*'''
 
* [[OpenBTS: RangeNetwork Web Interface]]
 
* [[OpenBTS: RangeNetwork Web Interface]]
 
* [[OpenBTS: RangeNetwork Trunk ke Asterisk Lain]]
 
* [[OpenBTS: RangeNetwork Trunk ke Asterisk Lain]]
 
* [[VoIP: Trunk]]
 
* [[VoIP: Trunk]]
 
  
 
===GPRS===
 
===GPRS===

Latest revision as of 14:08, 2 March 2014

Instalasi Pendukung

sudo apt-get -y install libfontconfig1-dev libxrender-dev libpulse-dev \
gcc-4.7 g++ automake libtool python-dev libfftw3-dev \
libcppunit-dev libboost-all-dev libusb-dev fort77 \
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 \
python-wxgtk2.8 python-wxtools wx2.8-i18n libwxgtk2.8-dev libgtk2.0-dev \
autoconf libtool libosip2-dev libortp-dev \
libusb-1.0-0-dev g++ erlang bison flex \
apache2 php5 php5-xmlrpc php5-mysql php5-gd php5-cli php5-curl \
mysql-client mysql-server libphp-adodb libgd2-xpm libgd2-xpm-dev \
php5-curl php-pear autoconf libtool libosip2-dev libortp-dev \
libusb-1.0-0-dev g++ erlang libreadline6-dev libboost-all-dev \
cmake build-essential subversion \
build-essential autoconf cvs sox pkg-config git-core subversion \
libgsm1-dev libgsm1 php5-cli python-setuptools python-pip

Install SDCC

Sebaiknya jangan mengcompile dari source code karena membuat pusing kepala. Install sdcc sebaiknya langsung dari file .deb saja.

cd /usr/local/src
wget -c http://launchpadlibrarian.net/38703081/sdcc_2.9.0-5_amd64.deb
wget -c http://launchpadlibrarian.net/38689168/sdcc-libraries_2.9.0-5_all.deb
dpkg -i sdcc_2.9.0-5_amd64.deb sdcc-libraries_2.9.0-5_all.deb

Atau mengcompile. Download source code dari

http://sourceforge.net/projects/sdcc/files/sdcc/

Compile menggunakan perintah

cp sdcc-src-2.8.0.tar.bz2 /usr/local/src
cd /usr/local/src
tar jxvf sdcc-src-2.8.0.tar.bz2
cd sdcc
./configure
make
make install

Download Source Code UHD

apt-get update
apt-get install git
echo "/usr/local/lib" >> /etc/ld.so.conf
cd /usr/local/src
git clone git://ettus.sourcerepo.com/ettus/uhd.git uhd.git

Compile UHD

cd /usr/local/src/uhd.git/host/
mkdir build
cd /usr/local/src/uhd.git/host/build
cmake -DENABLE_LIBUHD=ON -DENABLE_EXAMPLES=ON -DENABLE_UTILS=ON -DENABLE_TESTS=ON ../
make
make test
make install
ldconfig
/usr/local/lib/uhd/utils/uhd_images_downloader.py

Image UHD ada di /usr/local/share/uhd/images

Install UHD USRP ke udev

cd /usr/local/src/uhd.git/host/utils/
sudo cp uhd-usrp.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules

Cek

Lakukan

uhd_usrp_probe

Akan keluar

linux; GNU C++ version 4.7.3; Boost_104900; UHD_003.005.004-140-gfb32ed16

-- Opening a USRP1 device...
-- Using FPGA clock rate of 64.000000MHz...
  _____________________________________________________
 /
|       Device: USRP1 Device
|     _____________________________________________________
|    /
|   |       Mboard: USRP1
|   |   
|   |   Time sources: none
|   |   Clock sources: internal
|   |   Sensors: 
|   |     _____________________________________________________
|   |    /
|   |   |       RX Dboard: A
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       RX Frontend: 0
|   |   |   |   Name: Unknown (0xffff) - 0
|   |   |   |   Antennas: 
|   |   |   |   Sensors: 
|   |   |   |   Freq range: 0.000 to 0.000 Mhz
|   |   |   |   Gain Elements: None
|   |   |   |   Connection Type: IQ
|   |   |   |   Uses LO offset: No
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       RX Codec: A
|   |   |   |   Name: ad9522
|   |   |   |   Gain range pga: 0.0 to 20.0 step 1.0 dB
|   |     _____________________________________________________
|   |    /
|   |   |       RX Dboard: B
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       RX Frontend: 0 
|   |   |   |   Name: Unknown (0xffff) - 0
|   |   |   |   Antennas: 
|   |   |   |   Sensors: 
|   |   |   |   Freq range: 0.000 to 0.000 Mhz
|   |   |   |   Gain Elements: None
|   |   |   |   Connection Type: IQ
|   |   |   |   Uses LO offset: No
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       RX Codec: B
|   |   |   |   Name: ad9522
|   |   |   |   Gain range pga: 0.0 to 20.0 step 1.0 dB
|   |     _____________________________________________________
|   |    /
|   |   |       TX Dboard: A
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       TX Frontend: 0
|   |   |   |   Name: Unknown (0xffff) - 0
|   |   |   |   Antennas: 
|   |   |   |   Sensors: 
|   |   |   |   Freq range: 0.000 to 0.000 Mhz
|   |   |   |   Gain Elements: None
|   |   |   |   Connection Type: IQ
|   |   |   |   Uses LO offset: No
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       TX Codec: A
|   |   |   |   Name: ad9522
|   |   |   |   Gain range pga: -20.0 to 0.0 step 0.1 dB
|   |     _____________________________________________________
|   |    /
|   |   |       TX Dboard: B
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       TX Frontend: 0
|   |   |   |   Name: Unknown (0xffff) - 0
|   |   |   |   Antennas:  
|   |   |   |   Sensors: 
|   |   |   |   Freq range: 0.000 to 0.000 Mhz
|   |   |   |   Gain Elements: None
|   |   |   |   Connection Type: IQ
|   |   |   |   Uses LO offset: No
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       TX Codec: B
|   |   |   |   Name: ad9522
|   |   |   |   Gain range pga: -20.0 to 0.0 step 0.1 dB

Pranala Menarik

Persiapan

Script

OpenBTS 2.6

OpenBTS 2.8

Multi OpenBTS 2.8

OpenBTS 3.1.x

Ettus E110

Ettus N210

RangeNetworks

GPRS

Briker OpenBTS

FreeSWITCH OpenBTS

Power Amplifier

Lain Lain

Catatan Legal dan Pendukung

Catatan Sejarah

Dokumentasi Video

Perjuangan OpenBTS