Difference between revisions of "OpenBTS: RangeNetwork Compile OpenBTS 3.1.3"

From OnnoWiki
Jump to navigation Jump to search
Line 27: Line 27:
 
  sudo ln -s ../Transceiver52M/transceiver .
 
  sudo ln -s ../Transceiver52M/transceiver .
  
You will then need to create the default OpenBTS configuration database.
+
Set database konfigurasi OpenBTS
  
 
  sudo mkdir /etc/OpenBTS  
 
  sudo mkdir /etc/OpenBTS  
 
  sudo sqlite3 -init ./apps/OpenBTS.example.sql /etc/OpenBTS/OpenBTS.db ".quit"  
 
  sudo sqlite3 -init ./apps/OpenBTS.example.sql /etc/OpenBTS/OpenBTS.db ".quit"  
  
Running the following should dump out the default configurations.
+
==Install Subscriber Registry==
  
sqlite3 /etc/OpenBTS/OpenBTS.db .dump
+
Buat directory Asterisk subscriber.
 
 
Subscriber Registry
 
 
 
Make the Asterisk subscriber registry directory. Do not load the default as shown in the Wush guide, it will be automatically populated.
 
  
 
  sudo mkdir -p /var/lib/asterisk/sqlite3dir   
 
  sudo mkdir -p /var/lib/asterisk/sqlite3dir   
  
Build SIPAuthServe. From the public directory:
+
Build SIPAuthServe.  
  
  cd subscriberRegistry/tags/rP3.1.3
+
  cd /home/openbts/software/public/subscriberRegistry/tags/rP3.1.3
 
  sudo make
 
  sudo make
  
Then you will need to initialize the subscriberRegistry config database. Run:
+
Inisialisasi subscriberRegistry config database. Run:
  
 
  cd subscriberRegistry
 
  cd subscriberRegistry
 
  sudo sqlite3 -init subscriberRegistry.example.sql /etc/OpenBTS/sipauthserve.db ".quit"  
 
  sudo sqlite3 -init subscriberRegistry.example.sql /etc/OpenBTS/sipauthserve.db ".quit"  
  
smqueue
+
==Install smqueue==
  
Build SMQueue. From the public directory:
+
Build SMQueue.
  
  cd smqueue/tags/rP3.1.3
+
  cd /home/openbts/software/public/smqueue/tags/rP3.1.3
 
  sudo autoreconf -i
 
  sudo autoreconf -i
 
  sudo ./configure
 
  sudo ./configure
 
  sudo make
 
  sudo make
  
You can now run OpenBTS as you would a normal trunk install.
+
==Menjalankan OpenBTS==
 +
 
 +
Menjalankan OpenBTS seperti instalasi trunk
  
 
==Referensi==
 
==Referensi==
  
 
* http://wush.net/trac/rangepublic/wiki/InstallOpenBTSrP313
 
* http://wush.net/trac/rangepublic/wiki/InstallOpenBTSrP313

Revision as of 19:02, 14 January 2014

Sumber: http://wush.net/trac/rangepublic/wiki/InstallOpenBTSrP313

Install Pendukung

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


Install UHD

Install liba53

cd /home/openbts/software/public
cd a53/trunk
sudo make install

Compile

cd /home/openbts/software/public/openbts/tags/rP3.1.3
sudo autoreconf -i
sudo ./configure --with-uhd --with-resamp 
sudo make

cd apps
sudo ln -s ../Transceiver52M/transceiver .

Set database konfigurasi OpenBTS

sudo mkdir /etc/OpenBTS 
sudo sqlite3 -init ./apps/OpenBTS.example.sql /etc/OpenBTS/OpenBTS.db ".quit" 

Install Subscriber Registry

Buat directory Asterisk subscriber.

sudo mkdir -p /var/lib/asterisk/sqlite3dir  

Build SIPAuthServe.

cd /home/openbts/software/public/subscriberRegistry/tags/rP3.1.3
sudo make

Inisialisasi subscriberRegistry config database. Run:

cd subscriberRegistry
sudo sqlite3 -init subscriberRegistry.example.sql /etc/OpenBTS/sipauthserve.db ".quit" 

Install smqueue

Build SMQueue.

cd /home/openbts/software/public/smqueue/tags/rP3.1.3
sudo autoreconf -i
sudo ./configure
sudo make

Menjalankan OpenBTS

Menjalankan OpenBTS seperti instalasi trunk

Referensi