Difference between revisions of "OpenBTS: E110 Instalasi OpenBTS 2.8 untuk MultiBTS"

From OnnoWiki
Jump to navigation Jump to search
Line 66: Line 66:
  
  
===Error File System Kurang Baik===
 
  
Kalau microSD yang kita gunakan kurang baik, ada beberapa sector yang Read-only, maka kita akan melihat error di bawah ini.
 
 
 
Preparing build ... autom4te: cannot open autom4te.cache/requests: Read-only file system
 
automake: autoconf failed with exit status: 1
 
ERROR: automake failed
 
rm: cannot remove `COPYING.5934.protect_from_automake.backup': Read-only file  system
 
rm: cannot remove `INSTALL.5934.protect_from_automake.backup': Read-only file system
 
rm: cannot remove `./config.sub.backup': Read-only file system
 
rm: cannot remove `./ltmain.sh.backup': Read-only file system
 
 
'''SOLUSI:'''
 
* reboot & ulang proses compile.
 
* Kalau tetap gagal, maka kita perlu membuat ulang [[microSD]] tersebut.
 
  
 
===Error autoreconf===
 
===Error autoreconf===

Revision as of 09:37, 10 August 2012

Lakukan Ubah Master Clock ke 52MHz


Instalasi Aplikasi Pendukung

Instal aplikasi pendukung

opkg update
opkg install libosip2-6 libosip2-dev libortp8 libortp-dev sqlite3

Jika dibutuhkan kita dapat menset di shell

setenv PERL5LIB /usr/share/autoconf/Autom4te:/usr/share/automake-1.11/Automake


Instalasi OpenBTS

Cek apakah ada OpenBTS

updatedb &
locate openbts

Kalau tidak ketemu berarti kita perlu instalasi.

Download OpenBTS

Download di PC source code openbts bisa melalui

cd /usr/local/src
apt-get install subversion
svn co http://wush.net/svn/range/software/public openbts-2.8.0
scp -r openbts-2.8.0 root@<ip-address-E110>:

Compile OpenBTS

Compile menggunakan perintah

mv openbts-2.8.0 ~/src
vi ~/src/openbts-2.8.0/openbts/trunk/apps/OpenBTS.cpp 

pastikan

sleep(15);

lanjutkan proses compile

cd ~/src/openbts-2.8.0/openbts/trunk
./autogen.sh 
./configure --with-uhd CFLAGS="-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -O3" CXXFLAGS="-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -O3" 
make clean
make 
make install
cd ~/src/openbts-2.8.0/openbts/trunk/apps
ln -s ../Transceiver52M/transceiver .

Instalasi Database Konfigurasi OpenBTS

cd ~/src/openbts-2.8.0/openbts/trunk
sudo mkdir /etc/OpenBTS
rm /etc/OpenBTS/OpenBTS.db
sudo sqlite3 -init ./apps/OpenBTS.example.sql /etc/OpenBTS/OpenBTS.db
.exit




Error autoreconf

Sebaiknya jangan menggunakan autoreconf seperti di bawah ini karena akan meminta perl yang tidak ada di E110.

mv openbts ~/src
cd ~/src/openbts/openbts/trunk
autoreconf -i

Akan keluar error sebagai berikut

can't locate Autom4te/ChannelDefs.pm in @INC (@INC contains: @autom4te_perllibdir@ /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl   .) at /usr/bin/gnu-configize line 40.
BEGIN failed--compilation aborted at /usr/bin/gnu-configize line 40.
autoreconf: gnu-configize failed with exit status: 2

SOLUSI:

  • autoreconf -i cukup aman kalau di lakukan di Ubuntu 11.10. Caranya SD card di mount ke ubuntu 11.10, di lakukan di mesin host Ubuntu 11.10 bukan di E110.
  • Alternatif lain menggunakan ./autogen.sh kemungkinan berhasil lebih tinggi.

Compile Smqueue

Lakukan

cd ~/src/openbts/smqueue/trunk
./autogen.sh
./configure 
make clean
make 
make install

Selanjutnya, inisialisasi konfigurasi database OpenBTS

cd ~/src/openbts/smqueue/trunk
rm -Rf /etc/OpenBTS/smqueue.db
sudo sqlite3 -init  smqueue/smqueue.example.sql /etc/OpenBTS/smqueue.db
.exit


Menjalankan OpenBTS

cd ~/src/openbts-2.8.0/openbts/trunk/apps/
./OpenBTS &

Referensi

Pranala Menarik

Persiapan

OpenBTS 2.6

OpenBTS 2.8

Multi OpenBTS 2.8

Ettus E110

Power Amplifier

Lain Lain

Catatan Legal dan Pendukung

Catatan Sejarah

Dokumentasi Video