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

From OnnoWiki
Jump to navigation Jump to search
Line 101: Line 101:
 
Parameter yang perlu di ubah
 
Parameter yang perlu di ubah
  
  SIP.Proxy.Registration 127.0.0.1:5064
+
  config SIP.Local.IP 192.168.0.22
  SIP.Proxy.SMS 127.0.0.1:5063
+
config SIP.Proxy.Registration 192.168.0.3:5064
  SIP.Proxy.Speech 127.0.0.1:5060
+
  config SIP.Proxy.SMS 192.168.0.3:5063
 +
  config SIP.Proxy.Speech 192.168.0.3:5060
 +
config GSM.CellSelection.BSIC.BCC 101
 +
config GSM.Identity.LAC 1001
 +
config GSM.Identity.CID 101
 +
 
 
  SubscriberRegistry.Manager.Title Subscriber Registry
 
  SubscriberRegistry.Manager.Title Subscriber Registry
 
  SubscriberRegistry.Manager.Url http://127.0.0.1/cgi/srmanager.cgi
 
  SubscriberRegistry.Manager.Url http://127.0.0.1/cgi/srmanager.cgi

Revision as of 15:54, 10 August 2012

Lakukan Ubah Master Clock ke 52MHz


Set IP Adddress Statik

Edit

vi /etc/network/interfaces

Isi dengan

# Wired or wireless interfaces
auto eth0
; iface eth0 inet dhcp
iface eth1 inet dhcp

iface eth0 inet static  
	address 192.168.0.22
	netmask 255.255.255.0
	network 192.168.0.0
	gateway 192.168.0.222

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

Cek sqlite3

sqlite3 --version

Harusnya keluar seperti

3.6.23.1

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

cd ~
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 -Rf /etc/OpenBTS/OpenBTS.db
sudo sqlite3 -init ./apps/OpenBTS.example.sql /etc/OpenBTS/OpenBTS.db ".quit"

Menjalankan OpenBTS

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


Edit Konfigurasi

cd ~/src/openbts-2.8.0/openbts/trunk/apps/
./OpenBTSCLI

Parameter yang perlu di ubah

config SIP.Local.IP 192.168.0.22
config SIP.Proxy.Registration 192.168.0.3:5064
config SIP.Proxy.SMS 192.168.0.3:5063
config SIP.Proxy.Speech 192.168.0.3:5060
config GSM.CellSelection.BSIC.BCC 101
config GSM.Identity.LAC 1001
config GSM.Identity.CID 101
SubscriberRegistry.Manager.Title Subscriber Registry
SubscriberRegistry.Manager.Url http://127.0.0.1/cgi/srmanager.cgi
SubscriberRegistry.Manager.VisibleColumns name username type context host
SubscriberRegistry.db /var/lib/asterisk/sqlite3dir/sqlite3.db
SubscriberRegistry.Port 5064

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