Difference between revisions of "OpenBTS: Ubuntu Install OpenBTS 2.6 Clock 52MHz"

From OnnoWiki
Jump to navigation Jump to search
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
* [[GNURadio: Ubuntu Install| Compile dan Install GNURadio 3.3.0]]. Tanpa [[GNURadio]] terinstall maka [[OpenBTS]] tidak mungkin di instalasi.
+
==Pastikan==
 +
* Sistem Operasi Ubuntu 10.10 karena kita harus menginstalasi g++-4.3 ini tampaknya susah di versi yang lebih tinggi.
 +
* [[GNURadio: Ubuntu Install GNURadio 3.4.2 Clock 52MHz | Compile dan Install GNURadio 3.4.2 untuk Clock 52MHz]]. Tanpa [[GNURadio]] terinstall maka [[OpenBTS]] tidak mungkin di instalasi.
 
* [[Instalasi Astersik di Ubuntu]] tanpa Asterisk, tidak bisa melakukan authentikasi.
 
* [[Instalasi Astersik di Ubuntu]] tanpa Asterisk, tidak bisa melakukan authentikasi.
  
Line 118: Line 120:
 
'''SOLUSI:'''
 
'''SOLUSI:'''
  
 +
Edit file
  
 +
openbts-2.6.0Mamou/Transceiver52M/USRPDevice.cpp
  
jl*******
+
Pada line 607 Edit
*** openbts-2.6.0Mamou.orig/Transceiver52M/USRPDevice.cpp    2010-07-16 17:01:45.000000000 -0700
+
 
--- openbts-2.6.0Mamou/Transceiver52M/USRPDevice.cpp    2011-04-05 15:59:06.279967994 -0700
+
//  if (!tx_setFreq(wFreq+9*LO_OFFSET,&actFreq)) return false;
***************
+
    if (!tx_setFreq(wFreq+LO_OFFSET,&actFreq)) return false;
*** 607,613 ****
+
 
  bool USRPDevice::setTxFreq(double wFreq) {
+
Pada line 621 edit
    // Tune to wFreq+LO_OFFSET, to prevent LO bleedthrough from interfering with transmitted signal.
+
 
    double actFreq;
+
  //  if (!rx_setFreq(wFreq-5*LO_OFFSET,&actFreq)) return false;
!   if (!tx_setFreq(wFreq+9*LO_OFFSET,&actFreq)) return false;
+
    if (!rx_setFreq(wFreq-2*LO_OFFSET,&actFreq)) return false;
    bool retVal = m_uTx->set_tx_freq(0,(wFreq-actFreq));
 
    LOG(INFO) << "set TX: " << wFreq-actFreq << " actual TX: " << m_uTx->tx_freq(0);
 
    return retVal;
 
--- 607,613 ----
 
  bool USRPDevice::setTxFreq(double wFreq) {
 
    // Tune to wFreq+LO_OFFSET, to prevent LO bleedthrough from interfering with transmitted signal.
 
    double actFreq;
 
if (!tx_setFreq(wFreq+LO_OFFSET,&actFreq)) return false;
 
    bool retVal = m_uTx->set_tx_freq(0,(wFreq-actFreq));
 
    LOG(INFO) << "set TX: " << wFreq-actFreq << " actual TX: " << m_uTx->tx_freq(0);
 
    return retVal;
 
***************
 
*** 621,627 ****
 
    //        in front of the ADC. This possibly gives us an extra 10-20dB Tx/Rx isolation.
 
    double actFreq;
 
    // FIXME -- This should bo configurable.
 
!   if (!rx_setFreq(wFreq-5*LO_OFFSET,&actFreq)) return false;
 
    bool retVal = m_uRx->set_rx_freq(0,(wFreq-actFreq));
 
    LOG(DEBUG) << "set RX: " << wFreq-actFreq << " actual RX: " << m_uRx->rx_freq(0);
 
    return retVal;
 
--- 621,627 ----
 
    //        in front of the ADC.  This possibly gives us an extra 10-20dB Tx/Rx isolation.
 
    double actFreq;
 
    // FIXME -- This should bo configurable.
 
if (!rx_setFreq(wFreq-2*LO_OFFSET,&actFreq)) return false;
 
    bool retVal = m_uRx->set_rx_freq(0,(wFreq-actFreq));
 
    LOG(DEBUG) << "set RX: " << wFreq-actFreq << " actual RX: " << m_uRx->rx_freq(0);
 
    return retVal;
 
  
 
Referensi
 
Referensi
Line 165: Line 141:
  
 
* [[OpenBTS]]
 
* [[OpenBTS]]
 +
* [[OpenBTS: Arsitektur secara umum]]
  
 
===Persiapan===
 
===Persiapan===
Line 174: Line 151:
 
* [[USRP: Instalasi Board]]
 
* [[USRP: Instalasi Board]]
 
* [[OpenBTS: GIT Source Code]]
 
* [[OpenBTS: GIT Source Code]]
 +
* [[USRP: Rangkaian Board USRP]]
 +
* [[OpenBTS: Tethr untuk Bencana Alam]]
 +
* [[USRP: Tip Pemesanan]]
  
 
===OpenBTS 2.6===
 
===OpenBTS 2.6===
Line 179: Line 159:
 
* [[GNURadio]]
 
* [[GNURadio]]
 
* [[GNURadio: Ubuntu Install]]
 
* [[GNURadio: Ubuntu Install]]
* [[GNURadio: Ubuntu Install GNURadio 3.4.2]] '''*RECOMMENDED*'''
+
* [[GNURadio: Menggunakan UHD]]
 +
* [[GNURadio: Ubuntu Install GNURadio 3.4.2]] '''RECOMMENDED'''
 +
* [[GNURadio: Ubuntu Install GNURadio 3.4.2 Clock 52MHz]] '''RECOMMENDED'''
 +
* [[GNURadio: Ubuntu 13.04 Install GNURadio 3.4.2 Clock 52MHz]] ''NOT RECOMMENDED''
 
* [[GNURadio: Contoh Aplikasi]]
 
* [[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]]
 
* [[GNURadio: Programming Untuk Pemula]]
* [[OpenBTS: Ubuntu Install]]
+
* [[OpenBTS: Ubuntu Install]] '''RECOMMENDED'''
* [[OpenBTS: Konfigurasi]]
+
* [[OpenBTS: Ubuntu Install OpenBTS 2.6 Clock 52MHz]] '''RECOMMENDED'''
 +
* [[OpenBTS: Ubuntu 13.04 Install OpenBTS 2.6 Clock 52MHz]] ''NOT RECOMMENDED''
 +
* [[OpenBTS: Konfigurasi]] '''RECOMMENDED'''
 
* [[OpenBTS: Kalibrasi]]
 
* [[OpenBTS: Kalibrasi]]
* [[OpenBTS: Konfigurasi Asterisk untuk OpenBTS]]
+
* [[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: Tampilan di Nokia saat pakai OpenBTS]]
 
* [[OpenBTS: Operasi 1800 MHz]]
 
* [[OpenBTS: Operasi 1800 MHz]]
Line 200: Line 185:
 
===OpenBTS 2.8===
 
===OpenBTS 2.8===
  
* [[GNURadio: Ubuntu 11.10 Install]] '''*NOT RECOMMENED*'''
+
* [[GNURadio: Ubuntu 11.10 Install]] ''NOT RECOMMENED''
* [[GNURadio: Ubuntu 11.10 instalasi menggunakan Repo]] '''NOT RECOMMENDED'''
+
* [[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.3.0]]
* [[GNURadio: Ubuntu 11.10 Instal GNURadio 3.4.2]]
+
* [[GNURadio: Ubuntu 12.10 Instal GNURadio 3.3.0]]
* [[GNURadio: Ubuntu 11.10 Install dari GIT GNURadio]]
+
* [[GNURadio: Ubuntu 12.10 Instal GNURadio 3.4.1]] ''NOT RECOMMENDED''
 +
* [[GNURadio: Ubuntu 11.10 Instal GNURadio 3.4.2]] '''RECOMMENDED'''
 +
* [[GNURadio: Ubuntu 12.04 Instal GNURadio 3.4.2]] '''RECOMMENDED'''
 +
* [[GNURadio: Ubuntu 12.04.1 Instal GNURadio 3.4.2]] '''RECOMMENDED'''
 +
* [[GNURadio: Ubuntu 12.10 Instal GNURadio 3.4.2]] ''NOT RECOMMENDED''
 +
* [[GNURadio: Ubuntu 13.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: 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: Ubuntu 11.10 Install]]
* [[OpenBTS: 2.8 dari SVN Install]] '''RECOMMENDED'''
+
* [[OpenBTS: dari GIT ttsou]]
* [[OpenBTS: 2.8 Instalasi Real Time Asterisk]]
+
* [[OpenBTS: 2.8 dari SVN Install]]
 +
* [[OpenBTS: 2.8 dari SVN Install Clock 52MHz]] '''RECOMMENDED'''
 +
* [[OpenBTS: 2.8 dari SVN Install Clock 52MHz di Ubuntu 12.10]] '''RECOMMENDED'''
 +
* [[OpenBTS: 2.8 dari SVN Install Clock 52MHz di Ubuntu 13.04]] '''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 Softswitch install Ubuntu 12.10]] '''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]]
 +
* [[OpenBTS: 2.8 Konfigurasi Subscriber Registery]]
 
* [[OpenBTS: Database SQLite]]
 
* [[OpenBTS: Database SQLite]]
 +
 +
===Multi OpenBTS 2.8===
 +
 +
* [[OpenBTS: Pola Multi OpenBTS]] '''RECOMMENDED'''
 +
* [[Multi OpenBTS: Catatan Konfigurasi]] '''RECOMMENDED'''
  
 
===Ettus E110===
 
===Ettus E110===
  
 
* [[OpenBTS: E110 Cara Login]]
 
* [[OpenBTS: E110 Cara Login]]
* [[OpenBTS: E110 Install Image di MicroSD]]
+
* [[OpenBTS: E110 Install Image di MicroSD]] '''*RECOMMENDED*'''
 
* [[OpenBTS: E110 Cek Daughter Board]]
 
* [[OpenBTS: E110 Cek Daughter Board]]
 
* [[OpenBTS: E110 Mengubah Master Clock]]
 
* [[OpenBTS: E110 Mengubah Master Clock]]
Line 221: Line 237:
 
* [[OpenBTS: E110 Bekerja dengan opkg]]
 
* [[OpenBTS: E110 Bekerja dengan opkg]]
 
* [[OpenBTS: E110 GNURadio]]
 
* [[OpenBTS: E110 GNURadio]]
* [[OpenBTS: E110 Install UHD Image]]
+
* [[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]]
* [[OpenBTS: E110 Instalasi OpenBTS 2.6]] '''*NOT RECOMMENDED*'''
+
* [[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]]
 +
* [[OpenBTS: Menaikan Jangkauan OpenBTS]]
  
 
===Lain Lain===
 
===Lain Lain===
Line 245: Line 275:
 
* [[Siapa Bilang OpenBTS Ilegal?]]
 
* [[Siapa Bilang OpenBTS Ilegal?]]
 
* [[OpenBTS: Catatan MNC dan MCC Indonesia]]
 
* [[OpenBTS: Catatan MNC dan MCC Indonesia]]
 +
* [[OpenBTS: Catatan MNC dan MCC COOL]]
 
* [[OpenBTS : Alokasi Frekuensi Operator GSM Indonesia]]
 
* [[OpenBTS : Alokasi Frekuensi Operator GSM Indonesia]]
 +
* [[GSM: Daftar Channel Frekuensi]]
  
 
===Catatan Sejarah===
 
===Catatan Sejarah===
Line 252: Line 284:
 
* [[OpenBTS: Daftar Workshop atau Seminar yang pernah dilakukan]]
 
* [[OpenBTS: Daftar Workshop atau Seminar yang pernah dilakukan]]
 
* [[OpenBTS: Daftar Artikel di Media]]
 
* [[OpenBTS: Daftar Artikel di Media]]
 +
* [[OpenBTS: Permohonan Kanal dan DID untuk OpenBTS]]
 +
* [[OpenBTS: 2013/02/19 - OpenBTS TelkomSel Mengudara di Muscat Oman]]
 +
 +
===Dokumentasi Video===
 +
 +
* http://www.metrotvnews.com/read/newsprograms/2012/10/14/14624/212/Teknologi-BTS
 +
* 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 09:09, 5 June 2013

Pastikan

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

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

Error

Error: TX failed to tune

Ada error

1334320383.8824 ALARM 3079592816 Transceiver.cpp:551:driveControl: TX failed to tune
1334320383.8827 ALARM 3079555296 TRXManager.cpp:349:tune: TXTUNE failed with status 1

SOLUSI:

Edit file

openbts-2.6.0Mamou/Transceiver52M/USRPDevice.cpp

Pada line 607 Edit

//   if (!tx_setFreq(wFreq+9*LO_OFFSET,&actFreq)) return false;
    if (!tx_setFreq(wFreq+LO_OFFSET,&actFreq)) return false;

Pada line 621 edit

//   if (!rx_setFreq(wFreq-5*LO_OFFSET,&actFreq)) return false;
    if (!rx_setFreq(wFreq-2*LO_OFFSET,&actFreq)) return false;

Referensi

http://www.mentby.com/Group/openbts-discuss/openbts-error-tx-failed-to-tune-with-52m-clock.html

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