Difference between revisions of "OpenBTS: RangeNetwork Compile OpenBTS 3.1.3"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 6: | Line 6: | ||
libsqlite3-dev erlang libreadline6-dev libncurses5-dev libortp-dev libortp | libsqlite3-dev erlang libreadline6-dev libncurses5-dev libortp-dev libortp | ||
+ | ==Download== | ||
+ | |||
+ | ROOT_OPENBTS berada di /home/openbts/software/public | ||
+ | |||
+ | mkdir -p /OpenBTS/ | ||
+ | mkdir -p /home/openbts/software/public | ||
+ | cd /home/openbts/software | ||
+ | svn co http://wush.net/svn/range/software/public public | ||
==Install UHD== | ==Install UHD== |
Revision as of 20:46, 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
Download
ROOT_OPENBTS berada di /home/openbts/software/public
mkdir -p /OpenBTS/ mkdir -p /home/openbts/software/public cd /home/openbts/software svn co http://wush.net/svn/range/software/public public
Install UHD
Compatible UHD images di
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 .
cd /home/openbts/software/public/openbts/tags/rP3.1.3/TransceiverRAD1 cp transceiver /OpenBTS/ cp ezusb.ihx /OpenBTS/ cp fpga.rbf /OpenBTS/
cd /home/openbts/software/public/openbts/tags/rP3.1.3/apps cp OpenBTS /OpenBTS/ cp OpenBTSDo /OpenBTS/ cp OpenBTSCLI /OpenBTS/ cp runloop.OpenBTS.sh /OpenBTS/
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
cd /home/openbts/software/public/subscriberRegistry/tags/rP3.1.3 cp comp128 /usr/local/bin/ cp comp128 /OpenBTS/ cp sipauthserve /OpenBTS/ cp runloop.sipauthserve.sh /OpenBTS/
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
cd /home/openbts/software/public/smqueue/tags/rP3.1.3 sudo sqlite3 -init smqueue/smqueue.example.sql /etc/OpenBTS/smqueue.db ".quit"
cd /home/openbts/software/public/smqueue/tags/rP3.1.3/smqueue cp runloop.smqueue.sh /OpenBTS/ cp smqueue /OpenBTS/
Menjalankan OpenBTS
Menjalankan OpenBTS seperti instalasi trunk