Difference between revisions of "OpenBTS: Ubuntu 11.10 Install"

From OnnoWiki
Jump to navigation Jump to search
 
(48 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
* [[GNURadio: Ubuntu Install | Compile dan Install GNURadio]]. Tanpa [[GNURadio]] terinstall maka [[OpenBTS]] tidak mungkin di instalasi.
 
* [[GNURadio: Ubuntu Install | Compile dan Install GNURadio]]. Tanpa [[GNURadio]] terinstall maka [[OpenBTS]] tidak mungkin di instalasi.
 +
 +
==Instalasi Paket Pendukung dan Asterisk==
  
 
Instalasi paket / library pendukung tambahan
 
Instalasi paket / library pendukung tambahan
  
  apt-get install libortp8 libortp-dev libosip2-4 libosip2-dev libusb-1.0-0-dev \
+
  sudo apt-get install autoconf libtool libosip2-dev libortp-dev \
sqlite3 libsqlite3-dev libsqlite0-dev
+
libusb-1.0-0-dev g++ sqlite3 libsqlite3-dev erlang \
 +
asterisk asterisk-mysql
 +
 
 +
==Install OpenBTS==
  
==Compile osip==
+
Download [[source code]] dari
 +
 
 +
http://www.openbts.org
 +
http://sourceforge.net/projects/openbts/
  
Tampaknya sebaiknya kita mengandalkan libosip dari Ubuntu supaya smqueue tidak rewel.
+
Sebagai root Lakukan
  
Kadang kala untuk bisa mengcompile [[SMS]] queue tampaknya osip dari [[Ubuntu]] tidak bisa di gunakan kita harus compile dari scratch
+
cp openbts-P2.8.0Opelousas.tar.gz /usr/local/src/
 +
cd /usr/local/src/
 +
tar zxvf openbts-P2.8.0Opelousas.tar.gz
 +
cd /usr/local/src/openbts-P2.8.0Opelousas
  
apt-get remove --purge libosip2-4 libosip2-dev
+
Lakukan sedikit debugging untuk sqlite3
  
Install osip
+
vi /usr/local/src/openbts-P2.8.0Opelousas/sqlite3/Makefile.am
  
Download osip dari http://ftp.gnu.org/gnu/osip/
+
kira-kira di line 24 di Makefile.am ubah
tepatnya http://ftp.gnu.org/gnu/osip/libosip2-3.6.0.tar.gz
 
  
  cp libosip2-3.6.0.tar.gz /usr/local/src
+
  AM_CXXFLAGS = -Wall -lpthread
cd /usr/local/src
 
tar zxvf libosip2-3.6.0.tar.gz
 
mkdir linux-build
 
cd /usr/local/src/linux-build/
 
../libosip2-3.6.0/configure
 
make clean
 
make all
 
make
 
make install
 
  
==Install OpenBTS==
+
menjadi
  
Download [[source code]] dari
+
AM_CXXFLAGS = -Wall -lpthread -ldl
  
http://www.openbts.org
 
http://sourceforge.net/projects/openbts/
 
  
Lakukan
+
Save file, lanjutkan proses compile
  
cp openbts-P2.8.0Opelousas.tar.gz /usr/local/src/
 
cd /usr/local/src/
 
tar zxvf openbts-P2.8.0Opelousas.tar.gz
 
 
  cd /usr/local/src/openbts-P2.8.0Opelousas
 
  cd /usr/local/src/openbts-P2.8.0Opelousas
  ./configure  
+
autoreconf -i
 +
  ./configure --with-usrp1
 
  make clean
 
  make clean
 
  make all
 
  make all
Line 49: Line 46:
 
  make install
 
  make install
  
===Modifikasi USRP Device untuk Single Doughterboard===
+
Selanjutnya, inisialisasi konfigurasi database OpenBTS
 +
 
 +
sudo su
 +
cd /usr/local/src/openbts-P2.8.0Opelousas
 +
sudo mkdir /etc/OpenBTS
 +
sudo sqlite3 -init ./apps/OpenBTS.example.sql /etc/OpenBTS/OpenBTS.db
 +
.exit
 +
 
 +
==Instalasi Smqueue==
 +
 
  
Referensi:
+
Download [[source code]] dari
  
  https://github.com/somat/openbts-patch
+
  http://www.openbts.org
  http://github.com/ttsou/openbts-dboard/tarball/master
+
  http://sourceforge.net/projects/openbts/
  
Download [[source code]] ttsou
+
Sebagai root Lakukan
  
  cp ttsou-openbts-dboard-dff7527.tar.gz /usr/local/src/
+
  cp smqueue-2.8.0Opelousas.tar.gz /usr/local/src/
 
  cd /usr/local/src
 
  cd /usr/local/src
  tar zxvf ttsou-openbts-dboard-dff7527.tar.gz  
+
  tar zxvf smqueue-2.8.0Opelousas.tar.gz  
  cd /usr/local/src/ttsou-openbts-dboard-dff7527/public-trunk/
+
  cd /usr/local/src/smqueue-2.8.0Opelousas
cp -Rf * /usr/local/src/openbts-2.6.0Mamou
 
  
Modifikasi file USRPDevice.cpp
+
Edit
  
  cd /usr/local/src/openbts-2.6.0Mamou/Transceiver
+
  vi /usr/local/src/smqueue-2.8.0Opelousas/sqlite3/Makefile.am
  vi USRPDevice.cpp
+
 
 +
Tampahkan -ldl di line berikut
 +
 
 +
  AM_CXXFLAGS = -Wall -O3 -g -lpthread
 +
 
 +
menjadi
  
  const dboardConfigType dboardConfig = TXA_RXA;
+
  AM_CXXFLAGS = -Wall -O3 -g -lpthread -ldl
  
Compile
+
Save, dan lanjutkan proses compile
  
  cd /usr/local/src/openbts-2.6.0Mamou/
+
  cd /usr/local/src/smqueue-2.8.0Opelousas
 +
autoreconf -i
 
  ./configure  
 
  ./configure  
 
  make clean
 
  make clean
Line 80: Line 91:
 
  make install
 
  make install
  
==Compile smqueue==
+
Selanjutnya, inisialisasi konfigurasi database OpenBTS
  
Install g++ 4.3 karena versi 4.4 tidak bisa digunakan untuk compile smqueue
+
cd /usr/local/src/smqueue-2.8.0Opelousas
 +
sudo sqlite3 -init  smqueue/smqueue.example.sql /etc/OpenBTS/smqueue.db
 +
.exit
  
apt-get install g++-4.3
+
==Instalasi Subscriber Register==
  
Edit Makefile.standalone
+
cp SR-P2.8.0.tar.gz /usr/local/src/
 +
cd /usr/local/src/
 +
tar zxvf SR-P2.8.0.tar.gz
 +
cd /usr/local/src/SR-P2.8.0
 +
./configure
 +
make clean
 +
make all
 +
make
 +
make install
  
vi /usr/local/src/openbts-2.6.0Mamou/smqueue/Makefile.standalone
+
Ada error
  
  g++ -o smqueue $(CPPFLAGS) $(INCLUDES) smqueue.cpp smnet.cpp smcommands.cpp ../HLR/HLR.cpp $(LIBS)
+
  make: *** No rule to make target `../../CommonLibs/trunk-public-staging/Logger.cpp', needed by `srmanager.cgi'. Stop.
menjadi
 
g++-4.3 -o smqueue $(CPPFLAGS) $(INCLUDES) smqueue.cpp smnet.cpp smcommands.cpp ../HLR/HLR.cpp $(LIBS)
 
  
Compile smqueue
+
CommonsLibs ada-nya di source code SVN entah kenapa tidak ada di source code dari source forge.
  
cd /usr/local/src/openbts-2.6.0Mamou/smqueue/
+
==Referensi==
make -f Makefile.standalone
 
  
Instalasi OpenBTS Selesai :)
+
* http://www.mentby.com/Group/openbts-discuss/building-openbts-p28-on-ubuntu-1110.html
 +
* http://wush.net/trac/rangepublic/wiki/BuildInstallRun
  
 +
==Pranala Menarik==
  
===Error g++ 4.4===
+
* [[OpenBTS]]
  
Jika kita menggunakan g++ 4.4 maka akan terjadi error sebagai berikut
+
===Persiapan===
  
smnet.cpp:423: error: invalid conversion from ‘const char*’ to ‘char*
+
* [[USRP: High Precision Clock]]
make: *** [smqueue] Error 1
+
* [[USRP: Menyambungkan ClockTamer ke USRP1]]
 +
* [[USRP: Kalibrasi ClockTamer]]
 +
* [[USRP: ClockTamer Control Protocol]]
 +
* [[USRP: Instalasi Board]]
 +
* [[OpenBTS: GIT Source Code]]
  
==Pranala Menarik==
+
===OpenBTS 2.6===
  
* [[USRP: High Precision Clock]]
+
* [[GNURadio]]
* [[OpenBTS]]
 
 
* [[GNURadio: Ubuntu Install]]
 
* [[GNURadio: Ubuntu Install]]
 +
* [[GNURadio: Ubuntu Install GNURadio 3.4.2]] '''*RECOMMENDED*'''
 +
* [[GNURadio: Contoh Aplikasi]]
 
* [[GNURadio: Spectrum Analizer GSM]]
 
* [[GNURadio: Spectrum Analizer GSM]]
 
* [[GNURadio: Mengubah board RFX1800 menjadi RFX900]]
 
* [[GNURadio: Mengubah board RFX1800 menjadi RFX900]]
 +
* [[GNURadio: Programming Untuk Pemula]]
 
* [[OpenBTS: Ubuntu Install]]
 
* [[OpenBTS: Ubuntu Install]]
 
* [[OpenBTS: Konfigurasi]]
 
* [[OpenBTS: Konfigurasi]]
Line 128: Line 154:
 
* [[OpenBTS: Amplifier]]
 
* [[OpenBTS: Amplifier]]
 
* [[OpenBTS: SMS]]
 
* [[OpenBTS: SMS]]
 +
* [[AirProbe]]
 +
 +
===OpenBTS 2.8===
 +
 +
* [[GNURadio: Ubuntu 11.10 Install]] '''*NOT RECOMMENED*'''
 +
* [[GNURadio: Ubuntu 11.10 instalasi menggunakan Repo]] '''NOT RECOMMENDED'''
 +
* [[GNURadio: Ubuntu 11.10 Instal GNURadio 3.3.0]]
 +
* [[GNURadio: Ubuntu 11.10 Instal GNURadio 3.4.2]]
 +
* [[GNURadio: Ubuntu 11.10 Install dari GIT GNURadio]]
 +
* [[GNURadio: Ubuntu 11.10 cek USRP Daughter Board]]
 +
* [[OpenBTS: Ubuntu 11.10 Install]]
 +
* [[OpenBTS: 2.8 dari SVN Install]] '''RECOMMENDED'''
 +
* [[OpenBTS: 2.8 Instalasi Real Time Asterisk]]
 +
* [[OpenBTS: 2.8 Konfigurasi]]
 +
* [[OpenBTS: Database SQLite]]
 +
 +
===Ettus E110===
 +
 +
* [[OpenBTS: E110 Cara Login]]
 +
* [[OpenBTS: E110 Install Image di MicroSD]]
 +
* [[OpenBTS: E110 Cek Daughter Board]]
 +
* [[OpenBTS: E110 Mengubah Master Clock]]
 +
* [[OpenBTS: E110 Kalibrasi Clock]]
 +
* [[OpenBTS: E110 Bekerja dengan opkg]]
 +
* [[OpenBTS: E110 GNURadio]]
 +
* [[OpenBTS: E110 Install UHD Image]]
 +
* [[OpenBTS: E110 Instalasi OpenBTS]]
 +
* [[OpenBTS: E110 Instalasi OpenBTS 2.6]] '''*NOT RECOMMENDED*'''
 +
 +
===Lain Lain===
 +
 +
* [[OpenBTS: Materi Magang di ICTWATCH]]
 +
* [[OpenBTS: Seminar Outline]]
 +
* [[OpenBTS: Workshop Outline]]
 
* [[Membuat Base Station GSM Open Source]]
 
* [[Membuat Base Station GSM Open Source]]
 
* [[Teknologi Selular]]
 
* [[Teknologi Selular]]
Line 138: Line 198:
 
* [[Asterisk]]
 
* [[Asterisk]]
 
* [[Mobile phone]]
 
* [[Mobile phone]]
 +
 +
===Catatan Legal dan Pendukung===
 +
 +
* [[Siapa Bilang OpenBTS Ilegal?]]
 +
* [[OpenBTS: Catatan MNC dan MCC Indonesia]]
 +
* [[OpenBTS : Alokasi Frekuensi Operator GSM Indonesia]]
  
 
===Catatan Sejarah===
 
===Catatan Sejarah===
  
 
* [[2011/04/30 - Workshop OpenBTS Pertama di Indonesia dilakukan di Univ Gajah Putih Takengon Aceh Tengah]]
 
* [[2011/04/30 - Workshop OpenBTS Pertama di Indonesia dilakukan di Univ Gajah Putih Takengon Aceh Tengah]]
 +
* [[OpenBTS: Daftar Workshop atau Seminar yang pernah dilakukan]]
 +
* [[OpenBTS: Daftar Artikel di Media]]
  
 
[[Category: Wireless]]
 
[[Category: Wireless]]
 
[[Category: Selular]]
 
[[Category: Selular]]

Latest revision as of 16:58, 1 April 2012

Instalasi Paket Pendukung dan Asterisk

Instalasi paket / library pendukung tambahan

sudo apt-get install autoconf libtool libosip2-dev libortp-dev \
libusb-1.0-0-dev g++ sqlite3 libsqlite3-dev erlang \
asterisk asterisk-mysql

Install OpenBTS

Download source code dari

http://www.openbts.org
http://sourceforge.net/projects/openbts/

Sebagai root Lakukan

cp openbts-P2.8.0Opelousas.tar.gz /usr/local/src/
cd /usr/local/src/
tar zxvf openbts-P2.8.0Opelousas.tar.gz
cd /usr/local/src/openbts-P2.8.0Opelousas

Lakukan sedikit debugging untuk sqlite3

vi /usr/local/src/openbts-P2.8.0Opelousas/sqlite3/Makefile.am

kira-kira di line 24 di Makefile.am ubah

AM_CXXFLAGS = -Wall -lpthread

menjadi

AM_CXXFLAGS = -Wall -lpthread -ldl


Save file, lanjutkan proses compile

cd /usr/local/src/openbts-P2.8.0Opelousas
autoreconf -i
./configure --with-usrp1
make clean
make all
make 
make install

Selanjutnya, inisialisasi konfigurasi database OpenBTS

sudo su
cd /usr/local/src/openbts-P2.8.0Opelousas
sudo mkdir /etc/OpenBTS
sudo sqlite3 -init ./apps/OpenBTS.example.sql /etc/OpenBTS/OpenBTS.db
.exit

Instalasi Smqueue

Download source code dari

http://www.openbts.org
http://sourceforge.net/projects/openbts/

Sebagai root Lakukan

cp smqueue-2.8.0Opelousas.tar.gz /usr/local/src/
cd /usr/local/src
tar zxvf smqueue-2.8.0Opelousas.tar.gz 
cd /usr/local/src/smqueue-2.8.0Opelousas

Edit

vi /usr/local/src/smqueue-2.8.0Opelousas/sqlite3/Makefile.am 

Tampahkan -ldl di line berikut

AM_CXXFLAGS = -Wall -O3 -g -lpthread

menjadi

AM_CXXFLAGS = -Wall -O3 -g -lpthread -ldl

Save, dan lanjutkan proses compile

cd /usr/local/src/smqueue-2.8.0Opelousas
autoreconf -i
./configure 
make clean
make all
make 
make install

Selanjutnya, inisialisasi konfigurasi database OpenBTS

cd /usr/local/src/smqueue-2.8.0Opelousas
sudo sqlite3 -init  smqueue/smqueue.example.sql /etc/OpenBTS/smqueue.db
.exit

Instalasi Subscriber Register

cp SR-P2.8.0.tar.gz /usr/local/src/
cd /usr/local/src/
tar zxvf SR-P2.8.0.tar.gz 
cd /usr/local/src/SR-P2.8.0
./configure
make clean
make all
make 
make install

Ada error

make: *** No rule to make target `../../CommonLibs/trunk-public-staging/Logger.cpp', needed by `srmanager.cgi'.  Stop.

CommonsLibs ada-nya di source code SVN entah kenapa tidak ada di source code dari source forge.

Referensi

Pranala Menarik

Persiapan

OpenBTS 2.6

OpenBTS 2.8

Ettus E110

Lain Lain

Catatan Legal dan Pendukung

Catatan Sejarah