Difference between revisions of "OpenBTS: Ubuntu Install"

From OnnoWiki
Jump to navigation Jump to search
 
(29 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 3.3.0]]. Tanpa [[GNURadio]] terinstall maka [[OpenBTS]] tidak mungkin di instalasi.
 +
* [[Instalasi Astersik di Ubuntu]] tanpa Asterisk, tidak bisa melakukan authentikasi.
  
 
Instalasi paket / library pendukung tambahan
 
Instalasi paket / library pendukung tambahan
Line 7: Line 8:
 
==Compile osip==
 
==Compile osip==
  
Tampaknya sebaiknya kita mengandalkan libosip dari Ubuntu supaya smqueue tidak rewel.
+
'''LANGKAH INI SEBAIKNYA DI SKIP'''
  
Kadang kala untuk bisa mengcompile SMS queue tampaknya osip dari Ubuntu tidak bisa di gunakan kita harus compile dari scratch
+
Kadang kala untuk bisa mengcompile [[SMS]] queue tampaknya osip dari [[Ubuntu]] tidak bisa di gunakan kita harus compile dari scratch
  
 
  apt-get remove --purge libosip2-4 libosip2-dev
 
  apt-get remove --purge libosip2-4 libosip2-dev
  
Install osip
+
Download osip
  
  Download osip dari http://ftp.gnu.org/gnu/osip/
+
  http://ftp.gnu.org/gnu/osip/
  tepatnya http://ftp.gnu.org/gnu/osip/libosip2-3.5.0.tar.gz
+
  http://ftp.gnu.org/gnu/osip/libosip2-3.6.0.tar.gz
 +
http://mirrors.kernel.org/gnu/osip/libosip2-3.6.0.tar.gz
 +
ftp://mirrors.kernel.org/gnu/osip/
  
  cp libosip2-3.5.0.tar.gz /usr/local/src
+
Compile
 +
 
 +
  cp libosip2-3.6.0.tar.gz /usr/local/src
 
  cd /usr/local/src
 
  cd /usr/local/src
  tar zxvf libosip2-3.5.0.tar.gz
+
  tar zxvf libosip2-3.6.0.tar.gz
 
  mkdir linux-build
 
  mkdir linux-build
 
  cd /usr/local/src/linux-build/
 
  cd /usr/local/src/linux-build/
  ../libosip2-3.5.0/configure  
+
  ../libosip2-3.6.0/configure  
 
  make clean
 
  make clean
 
  make all
 
  make all
Line 72: Line 77:
 
Compile
 
Compile
  
 +
cd /usr/local/src/openbts-2.6.0Mamou/
 
  ./configure  
 
  ./configure  
 
  make clean
 
  make clean
Line 98: Line 104:
  
 
Instalasi OpenBTS Selesai :)
 
Instalasi OpenBTS Selesai :)
 +
 +
OpenBTS 2.6 masih belum sempurna, setiap kali kita mengubah user di asterisk, kita perlu mengcompile ulang smqueue, silahkan baca-baca [[OpenBTS: SMS]]
  
  
Line 106: Line 114:
 
  smnet.cpp:423: error: invalid conversion from ‘const char*’ to ‘char*’
 
  smnet.cpp:423: error: invalid conversion from ‘const char*’ to ‘char*’
 
  make: *** [smqueue] Error 1
 
  make: *** [smqueue] Error 1
 +
 +
 +
Di OpenBTS 2.6 masih belum sempurna, setiap kali kita mengubah user di asterisk, kita perlu mengcompile ulang smqueue, silahkan baca-baca [[OpenBTS: SMS]]
 +
 +
 +
==Edit Konfigurasi smqueue==
 +
 +
 +
Copy smqueue.config.example ke smqueue.config
 +
 +
cd /usr/local/src/openbts-2.6.0Mamou/smqueue/
 +
cp smqueue.config.example smqueue.config
 +
 +
Konfigurasi smqueue berada di ./smqueue/smqueue.config. Tambahkan sedikit di smqueue.config agar:
 +
 +
vi /usr/local/src/openbts-2.6.0Mamou/smqueue/smqueue.config
 +
 +
tambahkan supaya tidak crash waktu mengirim [[SMS]] registrasi
 +
 +
Log.Alarms.Max 10
 +
 +
buat savedqueue.txt di directory ./smqueue
 +
 +
touch /usr/local/src/openbts-2.6.0Mamou/smqueue/savedqueue.txt
  
 
==Pranala Menarik==
 
==Pranala Menarik==
  
 
* [[OpenBTS]]
 
* [[OpenBTS]]
 +
* [[OpenBTS: Arsitektur secara umum]]
 +
 +
===Persiapan===
 +
 +
* [[USRP: High Precision Clock]]
 +
* [[USRP: Menyambungkan ClockTamer ke USRP1]]
 +
* [[USRP: Kalibrasi ClockTamer]]
 +
* [[USRP: ClockTamer Control Protocol]]
 +
* [[USRP: Instalasi Board]]
 +
* [[OpenBTS: GIT Source Code]]
 +
* [[USRP: Rangkaian Board USRP]]
 +
* [[OpenBTS: Tethr untuk Bencana Alam]]
 +
 +
===OpenBTS 2.6===
 +
 +
* [[GNURadio]]
 
* [[GNURadio: Ubuntu Install]]
 
* [[GNURadio: Ubuntu Install]]
 +
* [[GNURadio: Menggunakan UHD]]
 +
* [[GNURadio: Ubuntu Install GNURadio 3.4.2]] '''RECOMMENDED'''
 +
* [[GNURadio: Ubuntu Install GNURadio 3.4.2 Clock 52MHz]] '''RECOMMENDED'''
 +
* [[GNURadio: Contoh Aplikasi]]
 
* [[GNURadio: Spectrum Analizer GSM]]
 
* [[GNURadio: Spectrum Analizer GSM]]
* [[OpenBTS: Ubuntu Install]]
+
* [[GNURadio: Mengubah board RFX1800 menjadi RFX900]]
* [[OpenBTS: Konfigurasi]]
+
* [[GNURadio: Programming Untuk Pemula]]
* [[OpenBTS: Konfigurasi Asterisk untuk OpenBTS]]
+
* [[OpenBTS: Ubuntu Install]] '''RECOMMENDED'''
 +
* [[OpenBTS: Ubuntu Install OpenBTS 2.6 Clock 52MHz]] '''RECOMMENDED'''
 +
* [[OpenBTS: Konfigurasi]] '''RECOMMENDED'''
 +
* [[OpenBTS: Kalibrasi]]
 +
* [[OpenBTS: Konfigurasi Asterisk untuk OpenBTS]] '''RECOMMENDED'''
 
* [[OpenBTS: Menjalankan smqueue]]
 
* [[OpenBTS: Menjalankan smqueue]]
* [[OpenBTS: Mengoperasikan BTS]]
+
* [[OpenBTS: Mengoperasikan BTS]] '''RECOMMENDED'''
 +
* [[OpenBTS: Tampilan di Nokia saat pakai OpenBTS]]
 +
* [[OpenBTS: Operasi 1800 MHz]]
 +
* [[OpenBTS: Beberapa Tips]]
 
* [[OpenBTS: USRP2]]
 
* [[OpenBTS: USRP2]]
 
* [[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: Download GNURadio]]
 +
* [[GNURadio: Install UHD]]
 +
* [[GNURadio: Ubuntu 11.10 Instal GNURadio 3.3.0]]
 +
* [[GNURadio: Ubuntu 11.10 Instal GNURadio 3.4.2]] '''RECOMMENDED'''
 +
* [[GNURadio: Ubuntu 12.04 Instal GNURadio 3.4.2]] '''RECOMMENDED'''
 +
* [[GNURadio: Ubuntu 11.10 Instal GNURadio 3.5.0]] ''NOT RECOMMENDED''
 +
* [[GNURadio: Ubuntu 11.10 Instal GNURadio 3.5.3.2]] ''NOT RECOMMENDED''
 +
* [[GNURadio: Ubuntu 11.10 Instal GNURadio 3.6.0]] ''NOT RECOMMENDED''
 +
* [[GNURadio: Ubuntu 11.10 Install dari GIT GNURadio]] ''NOT RECOMMENDED''
 +
* [[GNURadio: Ubuntu 11.10 cek USRP Daughter Board]]
 +
* [[GNURadio: UHD]] ''NOT RECOMMENDED''
 +
* [[GNURadio: UHD Image]] ''NOT RECOMMENDED''
 +
* [[GNURadio: UHD burn EEPROM RFX Board di USRP1]] ''NOT RECOMMENDED''
 +
* [[GNURadio: UHD Identifikasi Device]]
 +
* [[OpenBTS: Ubuntu 11.10 Install]]
 +
* [[OpenBTS: dari GIT ttsou]]
 +
* [[OpenBTS: 2.8 dari SVN Install]]
 +
* [[OpenBTS: 2.8 dari SVN Install Clock 52MHz]] '''RECOMMENDED'''
 +
* [[OpenBTS: 2.8 dari SVN Install Clock 52MHz dengan UHD tanpa GNURadio]] ''NOT RECOMMENDED''
 +
* [[OpenBTS: 2.8 Edit User di sqlite3.db]] '''RECOMMEND'''
 +
* [[OpenBTS: Yate Softswitch]] '''RECOMMENDED'''
 +
* [[OpenBTS: Yate Config Test]]
 +
* [[OpenBTS: 2.8 Instalasi Real Time Asterisk]] '''RECOMMENDED'''
 +
* [[OpenBTS: 2.8 Menjalankan]] '''RECOMMENDED'''
 +
* [[OpenBTS: 2.8 Konfigurasi]]
 +
* [[OpenBTS: 2.8 Konfigurasi Subscriber Registery]]
 +
* [[OpenBTS: Database SQLite]]
 +
 +
===Multi OpenBTS 2.8===
 +
 +
* [[OpenBTS: Pola Multi OpenBTS]] '''RECOMMENDED'''
 +
* [[Multi OpenBTS: Catatan Konfigurasi]] '''RECOMMENDED'''
 +
 +
===Ettus E110===
 +
 +
* [[OpenBTS: E110 Cara Login]]
 +
* [[OpenBTS: E110 Install Image di MicroSD]] '''*RECOMMENDED*'''
 +
* [[OpenBTS: E110 Cek Daughter Board]]
 +
* [[OpenBTS: E110 Mengubah Master Clock]]
 +
* [[OpenBTS: E110 Kalibrasi Clock]]
 +
* [[OpenBTS: E110 Bekerja dengan opkg]]
 +
* [[OpenBTS: E110 GNURadio]]
 +
* [[OpenBTS: E110 Compile UHD]] '''*RECOMMENDED*'''
 +
* [[OpenBTS: E110 UHD burn EEPROM RFX Board]] '''*RECOMMENDED*'''
 +
* [[OpenBTS: E110 Install UHD Image]] '''*RECOMMENDED*'''
 +
* [[OpenBTS: E110 Instalasi OpenBTS]]
 +
* [[OpenBTS: E110 Instalasi OpenBTS 2.6]] ''NOT RECOMMENDED''
 +
* [[OpenBTS: E110 Instalasi OpenBTS 2.8 untuk MultiBTS]] '''*RECOMMENDED*'''
 +
 +
===GPRS===
 +
 +
* [[OpenBTS: GPRS]]
 +
 +
===Power Amplifier===
 +
 +
* [[Driver 900MHz]]
 +
* [[Power Amplifier 900MHz]]
 +
* [[Duplexer]]
 +
 +
===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]]
 +
* [[GSM: Daftar Channel Frekuensi]]
 
* [[Wireless Internet]]
 
* [[Wireless Internet]]
 +
* [[OpenBSC]]
 +
* [[AirProbe]]
 +
* [[Base station subsystem]]
 +
* [[GSM]]
 +
* [[Asterisk]]
 +
* [[Mobile phone]]
 +
 +
===Catatan Legal dan Pendukung===
 +
 +
* [[Siapa Bilang OpenBTS Ilegal?]]
 +
* [[OpenBTS: Catatan MNC dan MCC Indonesia]]
 +
* [[OpenBTS: Catatan MNC dan MCC COOL]]
 +
* [[OpenBTS : Alokasi Frekuensi Operator GSM Indonesia]]
 +
* [[GSM: Daftar Channel Frekuensi]]
 +
 +
===Catatan Sejarah===
 +
 +
* [[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]]
 +
 +
===Dokumentasi Video===
 +
 +
* http://youtu.be/8ogOcUSpINU (1/6)
 +
* http://youtu.be/F5d7HGuhppk (2/6)
 +
* http://youtu.be/90Jgq6bOgrQ (3/6)
 +
* http://youtu.be/cNkx_qNqdfc (4/6)
 +
* http://youtu.be/6LCuoeI57ak (5/6)
 +
* http://youtu.be/-dEqcHoIlYk (6/6)
  
 
[[Category: Wireless]]
 
[[Category: Wireless]]
 
[[Category: Selular]]
 
[[Category: Selular]]

Latest revision as of 07:21, 14 August 2012

Instalasi paket / library pendukung tambahan

apt-get install libortp8 libortp-dev libosip2-4 libosip2-dev

Compile osip

LANGKAH INI SEBAIKNYA DI SKIP

Kadang kala untuk bisa mengcompile SMS queue tampaknya osip dari Ubuntu tidak bisa di gunakan kita harus compile dari scratch

apt-get remove --purge libosip2-4 libosip2-dev

Download osip

http://ftp.gnu.org/gnu/osip/
http://ftp.gnu.org/gnu/osip/libosip2-3.6.0.tar.gz
http://mirrors.kernel.org/gnu/osip/libosip2-3.6.0.tar.gz
ftp://mirrors.kernel.org/gnu/osip/

Compile

cp libosip2-3.6.0.tar.gz /usr/local/src
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

Download source code dari

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

Lakukan

cp openbts-2.6.0Mamou.tar.gz /usr/local/src/
cd /usr/local/src/
tar zxvf openbts-2.6.0Mamou.tar.gz
cd /usr/local/src/openbts-2.6.0Mamou/
./configure 
make clean
make all
make 
make install

Modifikasi USRP Device untuk Single Doughterboard

Referensi:

https://github.com/somat/openbts-patch
http://github.com/ttsou/openbts-dboard/tarball/master

Download source code ttsou

cp ttsou-openbts-dboard-dff7527.tar.gz /usr/local/src/
cd /usr/local/src
tar zxvf ttsou-openbts-dboard-dff7527.tar.gz 
cd /usr/local/src/ttsou-openbts-dboard-dff7527/public-trunk/
cp -Rf * /usr/local/src/openbts-2.6.0Mamou

Modifikasi file USRPDevice.cpp

cd /usr/local/src/openbts-2.6.0Mamou/Transceiver
vi USRPDevice.cpp
const dboardConfigType dboardConfig = TXA_RXA;

Compile

cd /usr/local/src/openbts-2.6.0Mamou/
./configure 
make clean
make all
make 
make install

Compile smqueue

Install g++ 4.3 karena versi 4.4 tidak bisa digunakan untuk compile smqueue

apt-get install g++-4.3

Edit Makefile.standalone

vi /usr/local/src/openbts-2.6.0Mamou/smqueue/Makefile.standalone 
g++ -o smqueue $(CPPFLAGS) $(INCLUDES) smqueue.cpp smnet.cpp smcommands.cpp ../HLR/HLR.cpp $(LIBS)

menjadi

g++-4.3 -o smqueue $(CPPFLAGS) $(INCLUDES) smqueue.cpp smnet.cpp smcommands.cpp ../HLR/HLR.cpp $(LIBS)

Compile smqueue

cd /usr/local/src/openbts-2.6.0Mamou/smqueue/
make -f Makefile.standalone

Instalasi OpenBTS Selesai :)

OpenBTS 2.6 masih belum sempurna, setiap kali kita mengubah user di asterisk, kita perlu mengcompile ulang smqueue, silahkan baca-baca OpenBTS: SMS


Error g++ 4.4

Jika kita menggunakan g++ 4.4 maka akan terjadi error sebagai berikut

smnet.cpp:423: error: invalid conversion from ‘const char*’ to ‘char*’
make: *** [smqueue] Error 1


Di OpenBTS 2.6 masih belum sempurna, setiap kali kita mengubah user di asterisk, kita perlu mengcompile ulang smqueue, silahkan baca-baca OpenBTS: SMS


Edit Konfigurasi smqueue

Copy smqueue.config.example ke smqueue.config

cd /usr/local/src/openbts-2.6.0Mamou/smqueue/
cp smqueue.config.example smqueue.config

Konfigurasi smqueue berada di ./smqueue/smqueue.config. Tambahkan sedikit di smqueue.config agar:

vi /usr/local/src/openbts-2.6.0Mamou/smqueue/smqueue.config

tambahkan supaya tidak crash waktu mengirim SMS registrasi

Log.Alarms.Max 10

buat savedqueue.txt di directory ./smqueue

touch /usr/local/src/openbts-2.6.0Mamou/smqueue/savedqueue.txt

Pranala Menarik

Persiapan

OpenBTS 2.6

OpenBTS 2.8

Multi OpenBTS 2.8

Ettus E110

GPRS

Power Amplifier

Lain Lain

Catatan Legal dan Pendukung

Catatan Sejarah

Dokumentasi Video